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

1,116 pages for message.

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

console Claude Developer Platform · in the page agents-and-tools/mcp-tunnels/console …server to a Managed Agent session. To call the same servers from the Messages API instead, see [Use the tunneled MCP servers](https://platform.claude.com/docs/en/agents-and-tools/mcp-tunnels/overview… Edit docker-compose.yaml: increment the integer in the setup service's Claude Developer Platform · in the page agents-and-tools/mcp-tunnels/deploy-compose …servers"> Attach an upstream MCP server to a Managed Agent or the Messages API. </Card> <Card title="Security" icon="lock" href="https://platform.claude.com/docs/en/agents-and-tools/mcp-tunne… deploy-helm Claude Developer Platform · in the page agents-and-tools/mcp-tunnels/deploy-helm …/<route>.<your-tunnel-domain>/<path>` in a Managed Agent session or a Messages API request, where `<route>` is a key from `gateway.config.routes` and `<path>` is whatever the upstream MCP server serve… overview Claude Developer Platform · in the page agents-and-tools/mcp-tunnels/overview …to a Managed Agent session in the Claude Console, or pass them to the Messages API through the [MCP connector](https://platform.claude.com/docs/en/agents-and-tools/mcp-connector). ## Prerequisites B… security Claude Developer Platform · in the page agents-and-tools/mcp-tunnels/security …t use them, and stop passing their URLs in the `mcp_servers` block of Messages API requests. </Step> <Step title="Archive the tunnel"> Archiving invalidates the tunnel token and detaches the… troubleshooting Claude Developer Platform · in the page agents-and-tools/mcp-tunnels/troubleshooting …stream. | Verify through a [Managed Agent or the Messages API](https://platform.claude.com/docs/en/agents-and-tools/mcp-tunnels/overview#use-the-tunneled-mcp-servers) instead. |… advisor-tool Claude Developer Platform · in the page agents-and-tools/tool-use/advisor-tool …Note> <CodeGroup> ```bash cURL curl https://api.anthropic.com/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "anthropic-beta: advisor-tool-… bash-tool Claude Developer Platform · in the page agents-and-tools/tool-use/bash-tool …start <CodeGroup> ```bash cURL curl https://api.anthropic.com/v1/messages \ -H "content-type: application/json" \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-0… browser-use-sdk Claude Developer Platform · in the page agents-and-tools/tool-use/browser-use-sdk …opic() with ExampleBrowser() as browser: runner = client.beta.messages.tool_runner( model="claude-opus-5-5", max_tokens=1024, tools=[browser], messages=… browser-use-tool Claude Developer Platform · in the page agents-and-tools/tool-use/browser-use-tool …browser_toolset_20260801`, with no `name`, to the `tools` array of a [Messages API](https://platform.claude.com/docs/en/api/messages/create) request. <CodeGroup> ```bash cURL curl https://api.ant… build-a-tool-using-agent Claude Developer Platform · in the page agents-and-tools/tool-use/build-a-tool-using-agent …le turn The smallest possible tool-using program: one tool, one user message, one tool call, one result. The code is heavily commented so you can map each line to the [tool use lifecycle](https://pla… code-execution-tool Claude Developer Platform · in the page agents-and-tools/tool-use/code-execution-tool …result with a non-zero `return_code` and a `detection_timeout` status message in its output. This is separate from the `execution_time_exceeded` [error code](https://platform.claude.com/docs/en/agents… computer-use-tool Claude Developer Platform · in the page agents-and-tools/tool-use/computer-use-tool …Quick start Add the computer use toolset to the `tools` array of a [Messages API](https://platform.claude.com/docs/en/api/messages/create) request as `{"type": "computer_toolset_20260801"}`. The req… define-tools Claude Developer Platform · in the page agents-and-tools/tool-use/define-tools …x names with the service (for example, `github_list_prs`, `slack_send_message`). This makes tool selection unambiguous as your library grows, and is especially important when using [tool search](https… fine-grained-tool-streaming Claude Developer Platform · in the page agents-and-tools/tool-use/fine-grained-tool-streaming …a block of code, and the fragments arrive through the same [Streaming messages](https://platform.claude.com/docs/en/build-with-claude/streaming) events as standard tool use. <Warning> Because the A… handle-tool-calls Claude Developer Platform · in the page agents-and-tools/tool-use/handle-tool-calls …g in the tool `input`. 3. Continue the conversation by sending a new message with the `role` of `user`, and a `content` block containing the `tool_result` type and the following information: * `t… how-tool-use-works Claude Developer Platform · in the page agents-and-tools/tool-use/how-tool-use-works …stop_reason`: 1. Send a request with your `tools` array and the user message. 2. Claude responds with `stop_reason: "tool_use"` and one or more `tool_use` blocks. 3. Run each tool. Format the outputs… memory-tool Claude Developer Platform · in the page agents-and-tools/tool-use/memory-tool …usage <CodeGroup> ```bash cURL curl https://api.anthropic.com/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: application/jso… overview Claude Developer Platform · in the page agents-and-tools/tool-use/overview …you: <CodeGroup> ```bash cURL curl https://api.anthropic.com/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: application/jso… parallel-tool-use Claude Developer Platform · in the page agents-and-tools/tool-use/parallel-tool-use …se description: Enable, format, and disable parallel tool calls, with message-history guidance and troubleshooting. --- By default, Claude may call multiple tools in a single response. This page cove… Process results programmatically Claude Developer Platform · in the page agents-and-tools/tool-use/programmatic-tool-calling …ld)): <CodeGroup> ```bash cURL curl https://api.anthropic.com/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: application/jso… server-tools Claude Developer Platform · in the page agents-and-tools/tool-use/server-tools …turn by re-sending the request with the assistant content appended to messages. curl https://api.anthropic.com/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-… strict-tool-use Claude Developer Platform · in the page agents-and-tools/tool-use/strict-tool-use …start <CodeGroup> ```bash cURL curl https://api.anthropic.com/v1/messages \ -H "content-type: application/json" \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-0… text-editor-tool Claude Developer Platform · in the page agents-and-tools/tool-use/text-editor-tool …editor tool (named `str_replace_based_edit_tool`) to Claude using the Messages API. You can optionally specify a `max_characters` parameter to control truncation when viewing large files. <Note> `… tool-reference Claude Developer Platform · in the page agents-and-tools/tool-use/tool-reference …(which accepts only `["direct"]`) are optional. Client toolsets are Messages API tools. They aren't currently available as agent tools in [Claude Managed Agents](https://platform.claude.com/docs/en/… Log at info level Claude Developer Platform · in the page agents-and-tools/tool-use/tool-runner …mber """ return str(a + b) runner = client.beta.messages.tool_runner( model="claude-opus-5-5", max_tokens=1024, tools=[get_weather, calculate_sum],… tool-search-tool Claude Developer Platform · in the page agents-and-tools/tool-use/tool-search-tool …ntically to the Claude API. Claude Platform on AWS uses the Anthropic Messages API directly, so there is no InvokeModel or Converse distinction. </Note> ## Model compatibility Both tool search varia… tool-use-with-prompt-caching Claude Developer Platform · in the page agents-and-tools/tool-use/tool-use-with-prompt-caching …ur cache The cache follows a prefix hierarchy (`tools` → `system` → `messages`), so a change at one level invalidates that level and everything after it: | Change | Inv… troubleshooting-tool-use Claude Developer Platform · in the page agents-and-tools/tool-use/troubleshooting-tool-use …- | | Claude calls tools sequentially when parallel would be better | Message history formatting | Send multiple `tool_result` blocks in ONE user message, not one per turn. See [Parallel tool us… web-fetch-tool Claude Developer Platform · in the page agents-and-tools/tool-use/web-fetch-tool …URLs that have previously appeared in the conversation: URLs in user messages, URLs in client-side tool results, and URLs from previous web search or web fetch results (see [URL validation](https://p… web-search-tool Claude Developer Platform · in the page agents-and-tools/tool-use/web-search-tool …318`: <CodeGroup> ```bash cURL curl https://api.anthropic.com/v1/messages \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "content-type: application/jso… Beta Claude Developer Platform · in the page api/beta …a ## Domain types ### Anthropic Beta - `AnthropicBeta = string or "message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 49 more` - `string` - `"message-b… beta-headers Claude Developer Platform · in the page api/beta-headers …e the `anthropic-beta` header in your API requests: ```http POST /v1/messages Authorization: Bearer YOUR_API_KEY anthropic-version: 2023-06-01 anthropic-beta: BETA_FEATURE_NAME content-type: applicat… Agents Claude Developer Platform · in the page api/beta/agents …send `managed-agents-2026-04-01` in this header. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"`… Archive Agent Claude Developer Platform · in the page api/beta/agents/archive …send `managed-agents-2026-04-01` in this header. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"`… Create Agent Claude Developer Platform · in the page api/beta/agents/create …send `managed-agents-2026-04-01` in this header. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"`… List Agents Claude Developer Platform · in the page api/beta/agents/list …send `managed-agents-2026-04-01` in this header. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"`… Get Agent Claude Developer Platform · in the page api/beta/agents/retrieve …send `managed-agents-2026-04-01` in this header. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"`… Update Agent Claude Developer Platform · in the page api/beta/agents/update …send `managed-agents-2026-04-01` in this header. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"`… Versions Claude Developer Platform · in the page api/beta/agents/versions …send `managed-agents-2026-04-01` in this header. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"`… List Agent Versions Claude Developer Platform · in the page api/beta/agents/versions/list …send `managed-agents-2026-04-01` in this header. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"`… Deployment Runs Claude Developer Platform · in the page api/beta/deployment_runs …send `managed-agents-2026-04-01` in this header. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"`… List Deployment Runs Claude Developer Platform · in the page api/beta/deployment_runs/list …send `managed-agents-2026-04-01` in this header. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"`… Get Deployment Run Claude Developer Platform · in the page api/beta/deployment_runs/retrieve …send `managed-agents-2026-04-01` in this header. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"`… Deployments Claude Developer Platform · in the page api/beta/deployments …send `managed-agents-2026-04-01` in this header. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"`… Archive Deployment Claude Developer Platform · in the page api/beta/deployments/archive …send `managed-agents-2026-04-01` in this header. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"`… Create Deployment Claude Developer Platform · in the page api/beta/deployments/create …send `managed-agents-2026-04-01` in this header. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"`… List Deployments Claude Developer Platform · in the page api/beta/deployments/list …send `managed-agents-2026-04-01` in this header. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"`… Pause Deployment Claude Developer Platform · in the page api/beta/deployments/pause …send `managed-agents-2026-04-01` in this header. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"`… Get Deployment Claude Developer Platform · in the page api/beta/deployments/retrieve …send `managed-agents-2026-04-01` in this header. - `string` - `"message-batches-2024-09-24"` - `"prompt-caching-2024-07-31"` - `"computer-use-2024-10-22"` - `"computer-use-2025-01-24"`…
Feedback