Back to Skills

Live Documentation Sources

skills/claude-api/shared/live-sources.md

latest10.5 KB
Original Source

Live Documentation Sources

This file contains WebFetch URLs for fetching current information from platform.claude.com and Agent SDK repositories. Use these when users need the latest data that may have changed since the cached content was last updated.

When to Use WebFetch

  • User explicitly asks for "latest" or "current" information
  • Cached data seems incorrect
  • User asks about features not covered in cached content
  • User needs specific API details or examples

Claude API Documentation URLs

Models & Pricing

TopicURLExtraction Prompt
Models Overviewhttps://platform.claude.com/docs/en/about-claude/models/overview.md"Extract current model IDs, context windows, and pricing for all Claude models"
Pricinghttps://platform.claude.com/docs/en/pricing.md"Extract current pricing per million tokens for input and output"

Core Features

TopicURLExtraction Prompt
Extended Thinkinghttps://platform.claude.com/docs/en/build-with-claude/extended-thinking.md"Extract extended thinking parameters, budget_tokens requirements, and usage examples"
Adaptive Thinkinghttps://platform.claude.com/docs/en/build-with-claude/adaptive-thinking.md"Extract adaptive thinking setup, effort levels, and Claude Opus 4.6 usage examples"
Effort Parameterhttps://platform.claude.com/docs/en/build-with-claude/effort.md"Extract effort levels, cost-quality tradeoffs, and interaction with thinking"
Tool Usehttps://platform.claude.com/docs/en/agents-and-tools/tool-use/overview.md"Extract tool definition schema, tool_choice options, and handling tool results"
Streaminghttps://platform.claude.com/docs/en/build-with-claude/streaming.md"Extract streaming event types, SDK examples, and best practices"
Prompt Cachinghttps://platform.claude.com/docs/en/build-with-claude/prompt-caching.md"Extract cache_control usage, pricing benefits, and implementation examples"

Media & Files

TopicURLExtraction Prompt
Visionhttps://platform.claude.com/docs/en/build-with-claude/vision.md"Extract supported image formats, size limits, and code examples"
PDF Supporthttps://platform.claude.com/docs/en/build-with-claude/pdf-support.md"Extract PDF handling capabilities, limits, and examples"

API Operations

TopicURLExtraction Prompt
Batch Processinghttps://platform.claude.com/docs/en/build-with-claude/batch-processing.md"Extract batch API endpoints, request format, and polling for results"
Files APIhttps://platform.claude.com/docs/en/build-with-claude/files.md"Extract file upload, download, and referencing in messages, including supported types and beta header"
Token Countinghttps://platform.claude.com/docs/en/build-with-claude/token-counting.md"Extract token counting API usage and examples"
Rate Limitshttps://platform.claude.com/docs/en/api/rate-limits.md"Extract current rate limits by tier and model"
Errorshttps://platform.claude.com/docs/en/api/errors.md"Extract HTTP error codes, meanings, and retry guidance"

Tools

TopicURLExtraction Prompt
Code Executionhttps://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool.md"Extract code execution tool setup, file upload, container reuse, and response handling"
Computer Usehttps://platform.claude.com/docs/en/agents-and-tools/tool-use/computer-use.md"Extract computer use tool setup, capabilities, and implementation examples"

Advanced Features

TopicURLExtraction Prompt
Structured Outputshttps://platform.claude.com/docs/en/build-with-claude/structured-outputs.md"Extract output_config.format usage and schema enforcement"
Compactionhttps://platform.claude.com/docs/en/build-with-claude/compaction.md"Extract compaction setup, trigger config, and streaming with compaction"
Citationshttps://platform.claude.com/docs/en/build-with-claude/citations.md"Extract citation format and implementation"
Context Windowshttps://platform.claude.com/docs/en/build-with-claude/context-windows.md"Extract context window sizes and token management"

Claude API SDK Repositories

SDKURLDescription
Pythonhttps://github.com/anthropics/anthropic-sdk-pythonanthropic pip package source
TypeScripthttps://github.com/anthropics/anthropic-sdk-typescript@anthropic-ai/sdk npm source
Javahttps://github.com/anthropics/anthropic-sdk-javaanthropic-java Maven source
Gohttps://github.com/anthropics/anthropic-sdk-goGo module source
Rubyhttps://github.com/anthropics/anthropic-sdk-rubyanthropic gem source
C#https://github.com/anthropics/anthropic-sdk-csharpNuGet package source
PHPhttps://github.com/anthropics/anthropic-sdk-phpComposer package source

Agent SDK Documentation URLs

Core Documentation

TopicURLExtraction Prompt
Agent SDK Overviewhttps://platform.claude.com/docs/en/agent-sdk.md"Extract the Agent SDK overview, key features, and use cases"
Agent SDK Pythonhttps://github.com/anthropics/claude-agent-sdk-python"Extract Python SDK installation, imports, and basic usage"
Agent SDK TypeScripthttps://github.com/anthropics/claude-agent-sdk-typescript"Extract TypeScript SDK installation, imports, and basic usage"

SDK Reference (GitHub READMEs)

TopicURLExtraction Prompt
Python SDKhttps://raw.githubusercontent.com/anthropics/claude-agent-sdk-python/main/README.md"Extract Python SDK API reference, classes, and methods"
TypeScript SDKhttps://raw.githubusercontent.com/anthropics/claude-agent-sdk-typescript/main/README.md"Extract TypeScript SDK API reference, types, and functions"

npm/PyPI Packages

PackageURLDescription
claude-agent-sdk (Python)https://pypi.org/project/claude-agent-sdk/Python package on PyPI
@anthropic-ai/claude-agent-sdk (TS)https://www.npmjs.com/package/@anthropic-ai/claude-agent-sdkTypeScript package on npm

GitHub Repositories

ResourceURLDescription
Python SDKhttps://github.com/anthropics/claude-agent-sdk-pythonPython package source
TypeScript SDKhttps://github.com/anthropics/claude-agent-sdk-typescriptTypeScript/Node.js package source
MCP Servershttps://github.com/modelcontextprotocolOfficial MCP server implementations

Fallback Strategy

If WebFetch fails (network issues, URL changed):

  1. Use cached content from the language-specific files (note the cache date)
  2. Inform user the data may be outdated
  3. Suggest they check platform.claude.com or the GitHub repos directly