368 pages for /code.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Review locally with /code-review
Claude Code CLI · title
code-review-local
code-execution-tool
Claude Developer Platform · path
agents-and-tools/tool-use/code-execution-tool
Code
Claude Developer Platform · path
api/compliance/apps/code
Artifacts
Claude Developer Platform · path
api/compliance/apps/code/artifacts
Delete Code Artifact
Claude Developer Platform · path
api/compliance/apps/code/artifacts/delete
Download Code Artifact Content
Claude Developer Platform · path
api/compliance/apps/code/artifacts/download
List Code Artifacts
Claude Developer Platform · path
api/compliance/apps/code/artifacts/list
Download Code Artifact Version Content
Claude Developer Platform · path
api/compliance/apps/code/artifacts/retrieve_version
Code intelligence plugins
Claude Code CLI · path
plugins/code-intelligence
Code in Claude Desktop on 3P
Claude Documentation · path
third-party/claude-desktop/code
api-credits-for-subscribers
Claude Developer Platform · in the page
about-claude/api-credits-for-subscribers
…s/en/managed-agents/overview) | Yes | | [Claude Agent SDK](https://code.claude.com/docs/en/agent-sdk/overview) | Yes | | [Playground](https://platform.claude.com/playground) in t…
Or, for the model with the same capabilities and no access approval requirement:
Claude Developer Platform · in the page
about-claude/models/migration-guide
…{ role: "user", content: "..." } ] ) ``` </CodeGroup> After (Claude Mythos 5): <CodeGroup> ```bash cURL curl https://api.anthropic.com/v1/messages \…
optimizing-for-cost-and-intelligence
Claude Developer Platform · in the page
about-claude/models/optimizing-for-cost-and-intelligence
…-H "content-type: application/json" \ --data-binary @- ``` </CodeGroup> #### Turn on caching Setup takes little work. [Automatic caching](https://platform.claude.com/docs/en/build-with-cla…
commerce-agents
Claude Developer Platform · in the page
about-claude/use-case-guides/commerce-agents
…ild-with-claude/working-with-messages), the [Claude Agent SDK](https://code.claude.com/docs/en/agent-sdk/overview), and [Claude Managed Agents](https://platform.claude.com/docs/en/managed-agents/overv…
content-moderation
Claude Developer Platform · in the page
about-claude/use-case-guides/content-moderation
…l Content", "Specialized Advice", "Violent Crimes" ] ``` </CodeGroup> Effectively moderating these examples requires a nuanced understanding of language. In the comment, `This movie was g…
customer-support-chat
Claude Developer Platform · in the page
about-claude/use-case-guides/customer-support-chat
…mat("Quote generated: $%.2f per month", premium) end end ``` </CodeGroup> ### Build your user interface Test deploying this code with Streamlit using a main function. This `main()` function…
legal-summarization
Claude Developer Platform · in the page
about-claude/use-case-guides/legal-summarization
…visions (furniture, parking, and subletting restrictions)" ] ``` </CodeGroup> ### Establish success criteria Evaluating the quality of summaries is a notoriously challenging task. Unlike many ot…
overview
Claude Developer Platform · in the page
about-claude/use-case-guides/overview
…run your own tools and infrastructure. The [Claude Agent SDK](https://code.claude.com/docs/en/agent-sdk/overview) sits in between, providing the agent loop and tool execution in a process you operate…
ticket-routing
Claude Developer Platform · in the page
about-claude/use-case-guides/ticket-routing
…"> <CodeGroupItem language="cURL"> Build the prompt in code. </CodeGroupItem> <CodeGroupItem language="CLI"> Build the prompt in code. </CodeGroupItem> ```python Python def class…
PDF Processing
Claude Developer Platform · in the page
agents-and-tools/agent-skills/best-practices
…on tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool) documentation. ### Runtime environment Skills run in a code execution environment with filesystem access,…
claude-api-skill
Claude Developer Platform · in the page
agents-and-tools/agent-skills/claude-api-skill
…P, Ruby, and cURL. The skill comes bundled with [Claude Code](https://code.claude.com/docs/en/overview) and is also available in the open-source [Anthropic skills repository](https://github.com/anthr…
PDF Processing
Claude Developer Platform · in the page
agents-and-tools/agent-skills/overview
…on tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool). **Prerequisites:** Using Skills through the API requires the [code execution tool](https://platform.claude…
quickstart
Claude Developer Platform · in the page
agents-and-tools/agent-skills/quickstart
…do |skill| puts "#{skill.id}: #{skill.display_name}" end ``` </CodeGroup> You see the following Skills: `pptx`, `xlsx`, `docx`, and `pdf`. This API returns each Skill's metadata: its name an…
mcp-connector
Claude Developer Platform · in the page
agents-and-tools/mcp-connector
…], betas: ["mcp-client-2025-11-20"] ) puts response ``` </CodeGroup> ## MCP server configuration Each MCP server in the `mcp_servers` array defines the connection details: ```json {…
overview
Claude Developer Platform · in the page
agents-and-tools/mcp-tunnels/overview
…], betas: ["mcp-client-2025-11-20"] ) puts response ``` </CodeGroup> For authenticating to the upstream MCP server (`authorization_token`) and other `mcp_servers` options, see [MCP conne…
advisor-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/advisor-tool
…], betas: ["advisor-tool-2026-03-01"] ) puts response ``` </CodeGroup> The response `content` includes an `advisor_tool_result` block carrying the advisor's guidance. With `claude-opus-5-5…
bash-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/bash-tool
…n files in the current directory."} ] ) puts response ``` </CodeGroup> Claude responds with `stop_reason: "tool_use"` and a `tool_use` block that contains the command for your application…
browser-use-sdk
Claude Developer Platform · in the page
agents-and-tools/tool-use/browser-use-sdk
…g(message); } } finally { await browser.close(); } ``` </CodeGroup> Pass the driver instance itself as the `tools` entry. The runner never closes the toolset, so one instance can serve…
browser-use-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/browser-use-tool
…ell me how to get started." } ] ) puts response ``` </CodeGroup> Claude's first response ends with `stop_reason: "tool_use"` and carries one or more member `tool_use` blocks, each na…
build-a-tool-using-agent
Claude Developer Platform · in the page
agents-and-tools/tool-use/build-a-tool-using-agent
…latform.claude.com/docs/en/cli-sdks-libraries/overview) to run it. </CodeGroupItem> <CodeGroupItem language="CLI"> This workflow needs more logic than a single shell command. Use the [Claude…
computer-use-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/computer-use-tool
…picture of a cat to my desktop." } ] ) puts response ``` </CodeGroup> When Claude acts on the desktop, the response has a `stop_reason` of `tool_use` and contains one or more member `tool…
define-tools
Claude Developer Platform · in the page
agents-and-tools/tool-use/define-tools
…the weather like in San Francisco?" } ] ) puts message ``` </CodeGroup> Examples are included in the prompt alongside your tool schema, showing Claude concrete patterns for well-formed tool…
fine-grained-tool-streaming
Claude Developer Platform · in the page
agents-and-tools/tool-use/fine-grained-tool-streaming
…e tool input: #{block.input}" if block.type == :tool_use end ``` </CodeGroup> Each input fragment arrives the moment Claude writes it, and the fragments join into the full tool input, so the poem…
how-tool-use-works
Claude Developer Platform · in the page
agents-and-tools/tool-use/how-tool-use-works
…cution`](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool), and [`tool_search`](https://platform.claude.com/docs/en/agents-and-tools/tool-use/tool-search-tool), Anthro…
memory-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/memory-tool
…0818", name: "memory" } ] ) puts message ``` </CodeGroup> ## Implement the memory handler Claude's reply to a request like the previous one ends with a `tool_use` block that…
overview
Claude Developer Platform · in the page
agents-and-tools/tool-use/overview
…s the latest on the Mars rover?" }] ) puts message.content ``` </CodeGroup> Claude runs the search on Anthropic's infrastructure and returns the cited results in the same response. To have Clau…
parallel-tool-use
Claude Developer Platform · in the page
agents-and-tools/tool-use/parallel-tool-use
…st it sends is a standard tool use request with two tools defined. </CodeGroupItem> <CodeGroupItem language="CLI"> This end-to-end test needs more logic than a single shell command. Use the […
Process results programmatically
Claude Developer Platform · in the page
agents-and-tools/tool-use/programmatic-tool-calling
…version](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool#tool-versions). - Claude Haiku 4.5 accepts the `code_execution_20260120` and later tool versions but does…
server-tools
Claude Developer Platform · in the page
agents-and-tools/tool-use/server-tools
…] ) puts continuation else puts response end ``` </CodeGroup> When handling `pause_turn`: * **Continue the conversation:** Pass the paused response back as-is in a subsequent req…
strict-tool-use
Claude Developer Platform · in the page
agents-and-tools/tool-use/strict-tool-use
…ties: false } } ] ) puts message.content ``` </CodeGroup> **Response format:** Tool use blocks with validated inputs in `response.content[x].input` ```text Output wrap { "t…
text-editor-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/text-editor-tool
…e. Can you help me fix it?" } ] ) puts response ``` </CodeGroup> Use the text editor tool in the following way: <Steps> <Step title="Provide Claude with the text editor tool and a…
tool-reference
Claude Developer Platform · in the page
agents-and-tools/tool-use/tool-reference
…on tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool) | `code_execution_20260521`<br />`code_execution_20260120`<br />`code_execution_20250825` | Serve…
tool-search-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/tool-search-tool
…defer_loading: true } ] ) puts message ``` </CodeGroup> Claude searches the catalog, discovers `get_weather`, and calls it. The response ends with `stop_reason: "tool_use"`.…
tool-use-with-prompt-caching
Claude Developer Platform · in the page
agents-and-tools/tool-use/tool-use-with-prompt-caching
…ecution](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool) | Container state is independent of prompt cache…
web-fetch-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/web-fetch-tool
…on tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool), which the API enables automatically for the request. You don't need to add the code execution tool to the `…
web-search-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/web-search-tool
…ecution](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool): on `web_search_20260209` and later, the tool's `allowed_callers` field defaults to `["code_execution_202601…
beta-headers
Claude Developer Platform · in the page
api/beta-headers
…["context-management-2025-06-27"] ) puts(message.content) ``` </CodeGroup> <Warning> Beta features are experimental and may: * Have breaking changes with notice * Be deprecated or remov…
routines-fire
Claude Developer Platform · in the page
api/claude-code/routines-fire
…s, and token semantics might change. </Warning> [Claude Code](https://code.claude.com/docs) is Anthropic's agentic coding tool. [Claude Code on the web](https://code.claude.com/docs/en/claude-code-on…
Apps
Claude Developer Platform · in the page
api/compliance/apps
…ode › Artifacts ### List Code Artifacts **GET** `/v1/compliance/apps/code/artifacts` List Claude Code Artifacts owned by organizations under the parent organization. Results are sorted by Artifact…
errors
Claude Developer Platform · in the page
api/errors
…uestid")); console.log("Anthropic request ID:", request_id); ``` </CodeGroup> For Claude Platform on AWS request-ID examples in other languages, see [Request IDs](https://platform.claude.com/docs…