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

350 pages for documentation.

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

Escalate hard decisions with the advisor tool Claude Code CLI · in the page advisor …-and-tools/tool-use/advisor-tool#usage-and-billing) in the Claude API documentation. ## Impact on prompt caching Enabling or disabling the advisor mid-session does not invalidate your main model's [… Track cost and usage Claude Code CLI · in the page agent-sdk/cost-tracking …th parallel tool uses and multi-step conversations. For complete API documentation, see the [TypeScript SDK reference](/docs/en/agent-sdk/typescript) and [Python SDK reference](/docs/en/agent-sdk/pyt… Rewind file changes with checkpointing Claude Code CLI · in the page agent-sdk/file-checkpointing …This complete example creates a small utility file, has the agent add documentation comments, shows you the changes, then asks if you want to rewind. Before you begin, make sure you have the [Claude… Intercept and control agent behavior with hooks Claude Code CLI · in the page agent-sdk/hooks …oks reference](/docs/en/hooks): full JSON input/output schemas, event documentation, and matcher patterns * [Claude Code hooks guide](/docs/en/hooks-guide): shell command hook examples and walkthrough… Connect to external tools with MCP Claude Code CLI · in the page agent-sdk/mcp …on-scopes). ## Quickstart This example connects to the [Claude Code documentation](https://code.claude.com/docs) MCP server using [HTTP transport](#http%2Fsse-servers) and uses [`allowedTools`](#all… Migrate to Claude Agent SDK Claude Code CLI · in the page agent-sdk/migration-guide …Claude Code SDK has been renamed to the **Claude Agent SDK** and its documentation has been reorganized. This change reflects the SDK's broader capabilities for building AI agents beyond coding tasks… Observability with OpenTelemetry Claude Code CLI · in the page agent-sdk/observability …e for the full list of attributes and redaction behavior. ## Related documentation These guides cover adjacent topics for monitoring and deploying agents: * [Track cost and usage](/docs/en/agent-sd… Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …print(message) asyncio.run(main()) ``` ## Tool Input/Output Types Documentation of input/output schemas for built-in Claude Code tools. While the Python SDK doesn't export these as types, they rep… Securely deploying AI agents Claude Code CLI · in the page agent-sdk/secure-deployment …ral security features that address common concerns. See the [security documentation](/docs/en/security) for full details. * **Permissions system**: Every tool and bash command can be configured to al… Extend agents with skills Claude Code CLI · in the page agent-sdk/skills …## Commands in Agent SDK sessions This section is the SDK's command documentation. A command is anything you run by sending `/<name>` in a prompt. Entries on the command surface differ in what backs… Get structured output from agents Claude Code CLI · in the page agent-sdk/structured-outputs …to know what output to produce. ## Related resources * [JSON Schema documentation](https://json-schema.org/): learn JSON Schema syntax for defining complex schemas with nested objects, arrays, enums… Subagents in the SDK Claude Code CLI · in the page agent-sdk/subagents …rep tools, ensuring it can analyze but never accidentally modify your documentation files. ## Create subagents ### Programmatic definition (recommended) Define subagents directly in your code using… Track todos Claude Code CLI · in the page agent-sdk/todo-tracking …hentication system with todos") asyncio.run(main()) ``` ## Related documentation * [Agent SDK reference - TypeScript](/docs/en/agent-sdk/typescript): the options, types, and tool schemas for the T… Scale to many tools with tool search Claude Code CLI · in the page agent-sdk/tool-search …Configure tool search](#configure-tool-search) describes. ## Related documentation * [Tool search in the API](https://platform.claude.com/docs/en/agents-and-tools/tool-use/tool-search-tool): Full AP… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …displayContent?: string; }; }; ``` ## Tool Input Types Documentation of input schemas for built-in Claude Code tools. These types are exported from `@anthropic-ai/claude-agent-sdk/sdk-t… TypeScript SDK V2 session API (removed) Claude Code CLI · in the page agent-sdk/typescript-v2-preview …ript SDK reference (V1)](/docs/en/agent-sdk/typescript) - Full V1 SDK documentation * [SDK overview](/docs/en/agent-sdk/overview) - General SDK concepts * [V2 examples on GitHub](https://github.com/an… Handle approvals and user input Claude Code CLI · in the page agent-sdk/user-input …rence](/docs/en/agent-sdk/typescript#canusetool): full canUseTool API documentation Claude Code on Amazon Bedrock Claude Code CLI · in the page amazon-bedrock …uide/prompt-caching.html#prompt-caching-models) in the Amazon Bedrock documentation. #### Map each model version to an inference profile The `ANTHROPIC_DEFAULT_*_MODEL` environment variables configu… Best practices for Claude Code Claude Code CLI · in the page best-practices …py/paste or drag and drop images into the prompt. * **Give URLs** for documentation and API references. Use `/permissions` to allowlist frequently used domains. * **Pipe in data** by running `cat erro… Champion kit Claude Code CLI · in the page champion-kit …es drawn from your own codebase are more persuasive than any external documentation, because colleagues can see exactly how the tool applies to the problems they share with you. | | Be the person peop… Use Claude Code with Chrome Claude Code CLI · in the page chrome …com/en/articles/12012173-getting-started-with-claude-in-chrome): full documentation for the Chrome extension, including shortcuts, scheduling, and permissions Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry Claude Code CLI · in the page claude-apps-gateway …ares one block. Replace `203.0.113.0/24` with your own block. It is a documentation range, and Claude Code refuses those. ```json theme={null} { "gatewayInternalNetworks": ["203.0.113.0/24"] } ```… Claude apps gateway configuration Claude Code CLI · in the page claude-apps-gateway-config …drock/latest/userguide/guardrails-tagging.html) in the Amazon Bedrock documentation. Also grant `bedrock:ApplyGuardrail` on the guardrail to the principal that signs this upstream's requests: the gat… Claude apps gateway deployment and operations Claude Code CLI · in the page claude-apps-gateway-deploy …`, three by default. A managed service can reserve more, so check its documentation. For example, take an autoscaling maximum of six, rolling updates that start at most two extra replicas, and the de… Use Claude Code in the cloud Claude Code CLI · in the page claude-code-on-the-web …d "Fix the flaky test in auth.spec.ts" claude --cloud "Update the API documentation" claude --cloud "Refactor the logger to use structured output" ``` When a session completes, you can create a PR fr… Claude Code on Claude Platform on AWS Claude Code CLI · in the page claude-platform-on-aws …rkspace setup that comes before this, see the [Claude Platform on AWS documentation](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws). > [!NOTE] > > Subscribing through A… claude-tag Claude Code CLI · in the page claude-tag …3Jmttbiqsq" async=""></script><title>Work with Claude Tag - Claude.ai Documentation</title><meta name="description" content="Claude Tag puts Claude in your Slack channels with admin-governed access. S… CLI reference Claude Code CLI · in the page cli-reference …| See the [Claude Code MCP documentation](/docs/en/mcp). | | `claude mcp login <name>` | Run a configured MCP server's OAuth flow without ope… Code Review Claude Code CLI · in the page code-review …ry's `CLAUDE.md` apply only to files under that path. See the [memory documentation](/docs/en/memory) for more on how `CLAUDE.md` works. For review-specific guidance that you don't want applied to ge… Common workflows Claude Code CLI · in the page common-workflows …ipes) for exploring code, fixing bugs, refactoring, testing, PRs, and documentation * [Resume previous conversations](#resume-previous-conversations) so a task can span multiple sittings * [Run parall… Communications kit Claude Code CLI · in the page communications-kit …model-fallback) | | Sonnet | Everyday feature work, bug fixes, tests, documentation, code review. Recommended default. On Sonnet 5.5, cybersecurity or biology content triggers [automatic model fallbac… Manage costs effectively Claude Code CLI · in the page costs …### Delegate verbose operations to subagents Running tests, fetching documentation, or processing log files can consume significant context. Delegate these to [subagents](/docs/en/sub-agents#isolate-… Desktop application Claude Code CLI · in the page desktop …external sites The Browser pane is a tabbed browser, so you can open documentation, issue trackers, or any other site next to your running app. To open the Browser, press **Cmd+Shift+B** on macOS or… Development containers Claude Code CLI · in the page devcontainer …I](https://github.com/devcontainers/cli), or your IDE's dev container documentation. **3. Sign in to Claude Code** Open a terminal in the rebuilt container and run `claude`, then follow the authenti… Error reference Claude Code CLI · in the page errors …aude-tag/admins/set-spend-limit#per-channel-limits) in the Claude Tag documentation * If the message names a reset time for your plan's window, you can wait for it instead * Run `/usage` to see your p… Extend Claude Code Claude Code CLI · in the page features-overview …xt. **Use skills** for content Claude only needs sometimes, like API documentation or a deployment checklist you trigger with `/<name>`. **Subagent vs Dynamic workflow** Both do work outside your m… Claude Code GitHub Actions Claude Code CLI · in the page github-actions …n limits what Claude can do with these permissions, see the [security documentation](https://github.com/anthropics/claude-code-action/blob/main/docs/security.md). ## Interactive and automation modes… Use Claude Code GitHub Actions with cloud providers Claude Code CLI · in the page github-actions-cloud-providers …our Google Cloud project, following the [Workload Identity Federation documentation](https://cloud.google.com/iam/docs/workload-identity-federation): * Enable three APIs: IAM Credentials, Security To… Claude Code on Google Cloud's Agent Platform Claude Code CLI · in the page google-vertex-ai …thentication. For more information, see [Google Cloud authentication documentation](https://cloud.google.com/docs/authentication). Claude Code supports [X.509 certificate-based Workload Identity Fed… Run Claude Code programmatically Claude Code CLI · in the page headless …proval callbacks, and native message objects, see the [full Agent SDK documentation](/docs/en/agent-sdk/overview). ## Basic usage Add the `-p` (or `--print`) flag to any `claude` command to run it n… How Claude Code works Claude Code CLI · in the page how-claude-code-works …start servers, run tests, use git | | **Web** | Search the web, fetch documentation, look up error messages | | **Code intelligence** | See type errors and warnings after edits, jump to definitions, f… Interactive mode Claude Code CLI · in the page interactive-mode …rd to your checker's personal dictionary, following the checker's own documentation. Claude Code picks up the new word after you restart it. ### When Claude Code underlines nothing Claude Code under… Customize keyboard shortcuts Claude Code CLI · in the page keybindings …onal JSON Schema URL for editor autocompletion | | `$docs` | Optional documentation URL | | `bindings` | Array of binding blocks by context | This example binds `Ctrl+E` to open an external editor in… Set up Claude Code in a monorepo or large codebase Claude Code CLI · in the page large-codebases …* **Review in pull requests**: treat CLAUDE.md edits like any other documentation change so conventions track the code * **Revisit after major model releases**: instructions that worked around an ol… Other LLM gateways Claude Code CLI · in the page llm-gateway …aude models through any gateway. Deploy the gateway following its own documentation, then complete the Claude Code side with the [rollout steps below](#roll-out-a-gateway). ## What a gateway provides… Claude Code gateway compatibility guide Claude Code CLI · in the page llm-gateway-protocol …config) variables. ## Related resources For the rest of the gateway documentation set and the underlying API references: * [Gateway overview](/docs/en/gateways): what a gateway is and how to choose… Roll out an LLM gateway for your organization Claude Code CLI · in the page llm-gateway-rollout …cific product isn't covered here; deploy yours following its vendor's documentation. > [!NOTE] > > * To connect Claude Code on your own machine to an existing gateway, see [Connect Claude Code to an… Connect Claude Code to tools via MCP Claude Code CLI · in the page mcp …amable-http` for this transport, so configurations copied from server documentation work without modification. A JSON entry that has a `url` but no `type` is a configuration error, because Claude Cod… Connect to MCP servers Claude Code CLI · in the page mcp-quickstart …d and verify a server The example below connects to the [Claude Code documentation MCP server](https://code.claude.com/docs/mcp), a hosted server with full-text search over the Claude Code docs. It d… How Claude remembers your project Claude Code CLI · in the page memory …validation - Use the standard error response format - Include OpenAPI documentation comments ``` Rules without a `paths` field are loaded unconditionally and apply to all files. A path-scoped rule lo…
Feedback