Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

92 pages for webfetch.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

server-tools Claude Developer Platform · in the page agents-and-tools/tool-use/server-tools …```typescript TypeScript const client = new Anthropic(); const webFetchTool = { type: "web_fetch_20250910", name: "web_fetch", max_uses: 5 } as const; const runCommandTool: Anth… web-fetch-tool Claude Developer Platform · in the page agents-and-tools/tool-use/web-fetch-tool …r and extract the key findings." }], Tools = [new ToolUnion(new WebFetchTool20260318())] }; var message = await client.Messages.Create(parameters); Console.WriteLine(message); ``` ``… Beta Claude Developer Platform · in the page api/beta …ool. - `BetaServerToolCaller20260120 object` - `BetaWebFetchToolResultBlockParam object` - `type: "web_fetch_tool_result"` - `content: BetaWebFetchToolResultErrorBl… Agents Claude Developer Platform · in the page api/beta/agents …not reach a judgement on evaluates to ask. - `BetaManagedAgentsWebFetchToolConfigParams object` Configuration override for the web_fetch tool. - `type: optional "web_fetch"`… Archive Agent Claude Developer Platform · in the page api/beta/agents/archive …t reach a judgement on evaluates to ask. - `BetaManagedAgentsWebFetchToolConfig object` Configuration for the web_fetch tool. - `type: "web_fetch"` - `enabled… Create Agent Claude Developer Platform · in the page api/beta/agents/create …not reach a judgement on evaluates to ask. - `BetaManagedAgentsWebFetchToolConfigParams object` Configuration override for the web_fetch tool. - `type: optional "web_fetch"`… List Agents Claude Developer Platform · in the page api/beta/agents/list …t reach a judgement on evaluates to ask. - `BetaManagedAgentsWebFetchToolConfig object` Configuration for the web_fetch tool. - `type: "web_fetch"` - `enabled… Get Agent Claude Developer Platform · in the page api/beta/agents/retrieve …t reach a judgement on evaluates to ask. - `BetaManagedAgentsWebFetchToolConfig object` Configuration for the web_fetch tool. - `type: "web_fetch"` - `enabled… Update Agent Claude Developer Platform · in the page api/beta/agents/update …not reach a judgement on evaluates to ask. - `BetaManagedAgentsWebFetchToolConfigParams object` Configuration override for the web_fetch tool. - `type: optional "web_fetch"`… Versions Claude Developer Platform · in the page api/beta/agents/versions …t reach a judgement on evaluates to ask. - `BetaManagedAgentsWebFetchToolConfig object` Configuration for the web_fetch tool. - `type: "web_fetch"` - `enabled… List Agent Versions Claude Developer Platform · in the page api/beta/agents/versions/list …t reach a judgement on evaluates to ask. - `BetaManagedAgentsWebFetchToolConfig object` Configuration for the web_fetch tool. - `type: "web_fetch"` - `enabled… Messages Claude Developer Platform · in the page api/beta/messages …ool. - `BetaServerToolCaller20260120 object` - `BetaWebFetchToolResultBlockParam object` - `type: "web_fetch_tool_result"` - `content: BetaWebFetchToolResultErrorBl… Batches Claude Developer Platform · in the page api/beta/messages/batches …- `BetaServerToolCaller20260120 object` - `BetaWebFetchToolResultBlockParam object` - `type: "web_fetch_tool_result"` - `content: BetaWebFetchToolResul… Create a Message Batch Claude Developer Platform · in the page api/beta/messages/batches/create …- `BetaServerToolCaller20260120 object` - `BetaWebFetchToolResultBlockParam object` - `type: "web_fetch_tool_result"` - `content: BetaWebFetchToolResul… Retrieve Message Batch results Claude Developer Platform · in the page api/beta/messages/batches/results …- `BetaServerToolCaller20260120 object` - `BetaWebFetchToolResultBlock object` - `type: "web_fetch_tool_result"` default: web_fetch_tool_result… Count tokens in a Message Claude Developer Platform · in the page api/beta/messages/count_tokens …ool. - `BetaServerToolCaller20260120 object` - `BetaWebFetchToolResultBlockParam object` - `type: "web_fetch_tool_result"` - `content: BetaWebFetchToolResultErrorBl… Create a Message Claude Developer Platform · in the page api/beta/messages/create …ool. - `BetaServerToolCaller20260120 object` - `BetaWebFetchToolResultBlockParam object` - `type: "web_fetch_tool_result"` - `content: BetaWebFetchToolResultErrorBl… Sessions Claude Developer Platform · in the page api/beta/sessions …reach a judgement on evaluates to ask. - `BetaManagedAgentsWebFetchToolConfigParams object` Configuration override for the web_fetch tool. - `type: optional "web_f… Archive Session Claude Developer Platform · in the page api/beta/sessions/archive …judgement on evaluates to ask. - `BetaManagedAgentsWebFetchToolConfig object` Configuration for the web_fetch tool. - `type: "web_fetch"`… Create Session Claude Developer Platform · in the page api/beta/sessions/create …reach a judgement on evaluates to ask. - `BetaManagedAgentsWebFetchToolConfigParams object` Configuration override for the web_fetch tool. - `type: optional "web_f… Events Claude Developer Platform · in the page api/beta/sessions/events …dgement on evaluates to ask. - `BetaManagedAgentsWebFetchToolConfig object` Configuration for the web_fetch tool. - `type: "web_fetch… List Events Claude Developer Platform · in the page api/beta/sessions/events/list …dgement on evaluates to ask. - `BetaManagedAgentsWebFetchToolConfig object` Configuration for the web_fetch tool. - `type: "web_fetch… Stream Events Claude Developer Platform · in the page api/beta/sessions/events/stream …dgement on evaluates to ask. - `BetaManagedAgentsWebFetchToolConfig object` Configuration for the web_fetch tool. - `type: "web_fetch… List Sessions Claude Developer Platform · in the page api/beta/sessions/list …judgement on evaluates to ask. - `BetaManagedAgentsWebFetchToolConfig object` Configuration for the web_fetch tool. - `type: "web_fetch"`… Get Session Claude Developer Platform · in the page api/beta/sessions/retrieve …judgement on evaluates to ask. - `BetaManagedAgentsWebFetchToolConfig object` Configuration for the web_fetch tool. - `type: "web_fetch"`… Threads Claude Developer Platform · in the page api/beta/sessions/threads …ach a judgement on evaluates to ask. - `BetaManagedAgentsWebFetchToolConfig object` Configuration for the web_fetch tool. - `type: "web_fetch"`… Archive Session Thread Claude Developer Platform · in the page api/beta/sessions/threads/archive …ach a judgement on evaluates to ask. - `BetaManagedAgentsWebFetchToolConfig object` Configuration for the web_fetch tool. - `type: "web_fetch"`… Events Claude Developer Platform · in the page api/beta/sessions/threads/events …dgement on evaluates to ask. - `BetaManagedAgentsWebFetchToolConfig object` Configuration for the web_fetch tool. - `type: "web_fetch… List Session Thread Events Claude Developer Platform · in the page api/beta/sessions/threads/events/list …dgement on evaluates to ask. - `BetaManagedAgentsWebFetchToolConfig object` Configuration for the web_fetch tool. - `type: "web_fetch… Stream Session Thread Events Claude Developer Platform · in the page api/beta/sessions/threads/events/stream …dgement on evaluates to ask. - `BetaManagedAgentsWebFetchToolConfig object` Configuration for the web_fetch tool. - `type: "web_fetch… List Session Threads Claude Developer Platform · in the page api/beta/sessions/threads/list …ach a judgement on evaluates to ask. - `BetaManagedAgentsWebFetchToolConfig object` Configuration for the web_fetch tool. - `type: "web_fetch"`… Get Session Thread Claude Developer Platform · in the page api/beta/sessions/threads/retrieve …ach a judgement on evaluates to ask. - `BetaManagedAgentsWebFetchToolConfig object` Configuration for the web_fetch tool. - `type: "web_fetch"`… Update Session Claude Developer Platform · in the page api/beta/sessions/update …t reach a judgement on evaluates to ask. - `BetaManagedAgentsWebFetchToolConfigParams object` Configuration override for the web_fetch tool. - `type: optional "web_fetch… Messages Claude Developer Platform · in the page api/messages …r-side tool. - `ServerToolCaller20260120 object` - `WebFetchToolResultBlockParam object` - `type: "web_fetch_tool_result"` - `content: WebFetchToolResultErrorBlockP… Batches Claude Developer Platform · in the page api/messages/batches …ool. - `ServerToolCaller20260120 object` - `WebFetchToolResultBlockParam object` - `type: "web_fetch_tool_result"` - `content: WebFetchToolResultErr… Create a Message Batch Claude Developer Platform · in the page api/messages/batches/create …ool. - `ServerToolCaller20260120 object` - `WebFetchToolResultBlockParam object` - `type: "web_fetch_tool_result"` - `content: WebFetchToolResultErr… Retrieve Message Batch results Claude Developer Platform · in the page api/messages/batches/results …tring` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - `WebFetchToolResultBlock object` - `type: "web_fetch_tool_result"` default: web_fetch_tool_result… Count tokens in a Message Claude Developer Platform · in the page api/messages/count_tokens …r-side tool. - `ServerToolCaller20260120 object` - `WebFetchToolResultBlockParam object` - `type: "web_fetch_tool_result"` - `content: WebFetchToolResultErrorBlockP… Create a Message Claude Developer Platform · in the page api/messages/create …r-side tool. - `ServerToolCaller20260120 object` - `WebFetchToolResultBlockParam object` - `type: "web_fetch_tool_result"` - `content: WebFetchToolResultErrorBlockP… apple-foundation-models Claude Developer Platform · in the page cli-sdks-libraries/libraries/apple-foundation-models …Search(maxUses: 5), .codeExecution, ] ) ``` `.webSearch` and `.webFetch` accept optional `allowedDomains`, `blockedDomains`, and `maxUses`. Server tool activity surfaces in the transcript as `C… budgets Claude Developer Platform · in the page managed-agents/budgets …ced into list cost per request, and `web_fetch_requests` (java, php: `webFetchRequests`; csharp, go: `WebFetchRequests`), which reads `0` because web fetch requests carry no per-request charge and are… secure-deployment Claude Developer Platform · in the page managed-agents/secure-deployment …entsAutoPolicy(), }, new BetaManagedAgentsWebFetchToolConfigParams { Enabled = true, AllowedDomains = ["help.example.com"]… tools Claude Developer Platform · in the page managed-agents/tools …Configs = [ new BetaManagedAgentsWebFetchToolConfigParams { Enabled = false }, ], }, ], }); ``` ```go Go agent, err := clien… tools-web-restrictions Claude Developer Platform · in the page managed-agents/tools-web-restrictions …}, }, new BetaManagedAgentsWebFetchToolConfigParams { BlockedDomains = ["ads.example.com"], Max… Set up Claude Code for your organization Claude Code CLI · in the page admin-setup …ion. Permission rules and sandboxing cover different layers. Denying WebFetch blocks Claude's fetch tool, but if Bash is allowed, `curl` and `wget` can still reach any URL. Sandboxing closes that gap… How the agent loop works Claude Code CLI · in the page agent-sdk/agent-loop …n shell commands, scripts, git operations | | **Web** | `WebSearch`, `WebFetch` | Search the web, fetch and parse pages | | **Discovery** | `ToolSearch` | Dynamically find and load tools on-demand ins… Intercept and control agent behavior with hooks Claude Code CLI · in the page agent-sdk/hooks …lt-in tools include `Bash`, `Read`, `Write`, `Edit`, `Glob`, `Grep`, `WebFetch`, `Agent`, and others. See [Tool Input Types](/docs/en/agent-sdk/typescript#tool-input-types) for the full list. MCP tool… Observability with OpenTelemetry Claude Code CLI · in the page agent-sdk/observability …laude_code.tool` with file contents, Bash output, and what MCP tools, WebFetch, and WebSearch return, truncated at 60 KB by default, configurable via `CLAUDE_CODE_OTEL_CONTENT_MAX_LENGTH`, which requi… Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …"updated_file": str, # Notebook content after the edit } ``` ### WebFetch **Tool name:** `WebFetch` **Input:** ```python theme={null} { "url": str, # The URL to fetch content from "pr… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …subagents, and MCP tool calls. On v2.1.287 or later it also includes WebFetch and WebSearch calls. When Claude is only writing a response, or the work it is running can't move, Claude Code interrupts…
Feedback