888 pages for tools.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Stream responses in real-time
Claude Code CLI · in the page
agent-sdk/streaming-output
…ntOptions( include_partial_messages=True, allowed_tools=["Bash", "Read"], ) async for message in query(prompt="List the files in my project", options=options):…
Streaming Input
Claude Code CLI · in the page
agent-sdk/streaming-vs-single-mode
…with ability to interrupt * **Tool integration**: full access to all tools and custom MCP servers during the session * **Real-time feedback**: see responses as they're generated, not just final resul…
Get structured output from agents
Claude Code CLI · in the page
agent-sdk/structured-outputs
…xact shape of data you want back from an agent. The agent can use any tools it needs to complete the task, and you still get validated JSON matching your schema at the end. Define a [JSON Schema](http…
Subagents in the SDK
Claude Code CLI · in the page
agent-sdk/subagents
…ctions. * **Tool restrictions**: subagents can be limited to specific tools, reducing the risk of unintended actions. A `doc-reviewer` subagent might only have access to Read and Grep tools, ensuring…
Track todos
Claude Code CLI · in the page
agent-sdk/todo-tracking
…n from structured tool calls Claude Code provides the [task-tracking tools](/docs/en/tools-reference#task-tool-availability) by default only on the models listed under [Model availability](#model-ava…
Troubleshoot the Agent SDK
Claude Code CLI · in the page
agent-sdk/troubleshooting
…ent-sdk/skills#troubleshooting) | | MCP server shows `failed` status, tools not being called, connection timeouts, tool output that exceeds the maximum allowed tokens | [MCP troubleshooting](/docs/en/…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…ons: { name: string; version?: string; instructions?: string; tools?: Array<SdkMcpToolDefinition<any>>; alwaysLoad?: boolean; timeout?: number; }): McpSdkServerConfigWithInstance; ``` ###…
Handle approvals and user input
Claude Code CLI · in the page
agent-sdk/user-input
…ame == "AskUserQuestion"` to handle it differently. If you specify a `tools` array, include `AskUserQuestion` for this to work. See [Handle clarifying questions](#handle-clarifying-questions) for deta…
Orchestrate teams of Claude Code sessions
Claude Code CLI · in the page
agent-teams
…ough messages, plus a shared task list for [agents that have the Task tools](/docs/en/tools-reference#task-tool-availability) | | **Best for** | Focused tasks where only the result matters | Complex w…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…| | :- | :- | :- | | Working | Animated | Claude is actively running tools or generating a response | | Needs input | Yellow | Claude is waiting on something only you can provide: an answer to a ques…
Run agents in parallel
Claude Code CLI · in the page
agents
…ol, expose it to Claude as an [MCP server](/docs/en/mcp). Three more tools support this work without being a way to run agents themselves: * [Worktrees](/docs/en/worktrees) give each session a separ…
Claude Code on Amazon Bedrock
Claude Code CLI · in the page
amazon-bedrock
…t available on Amazon Bedrock. See [WebSearch tool behavior](/docs/en/tools-reference#websearch-tool-behavior). * You can use settings files for environment variables like `AWS_PROFILE` that you don't…
Track team usage with analytics
Claude Code CLI · in the page
analytics
…cept code editing tool usage, including Edit, Write, and NotebookEdit tools. * **Activity**: daily active users and sessions shown on a chart. * **Spend**: daily API costs in dollars alongside user co…
Share session output as artifacts
Claude Code CLI · in the page
artifacts
…ch, including your codebase and data it pulls through your [connected tools](/docs/en/mcp), so the page can show things that would take paragraphs to describe. For example, ask Claude to: * Walk a re…
Authentication
Claude Code CLI · in the page
authentication
…ude for Teams**: self-service plan with collaboration features, admin tools, SSO, billing management, and [server-managed settings](/docs/en/server-managed-settings) for organization-wide Claude Code…
Configure auto mode
Claude Code CLI · in the page
auto-mode-config
…nterpreters, together with every rule that names [`Monitor`](/docs/en/tools-reference#monitor-tool), because Monitor commands run through the shell. This means a narrow rule can still let a destructiv…
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…needs**. Tell Claude to pull context itself using Bash commands, MCP tools, or by reading files. *** ## Configure your environment A few setup steps make Claude Code significantly more effective a…
Champion kit
Claude Code CLI · in the page
champion-kit
…s Healthy skepticism is expected; engineers should be cautious about tools that touch their code. The most effective response is rarely to argue the general case. Instead, acknowledge the concern, of…
Claude Code changelog
Claude Code CLI · in the page
changelog
…an MCP server added mid-session in SDK and `-p` sessions leaving its tools available * Fixed `claude -p --permission-prompt-tool`: a background subagent's permission request now goes to the prompt…
Push events into a running session with channels
Claude Code CLI · in the page
channels
…till apply. When you run channels in non-interactive mode with `-p`, tools that need terminal input, such as multiple-choice questions and plan mode approval, are disabled so the session never stalls…
Channels reference
Claude Code CLI · in the page
channels-reference
…channel contract: capability declaration, notification events, reply tools, sender gating, and permission relay. <Note> Channels are in [research preview](/docs/en/channels#research-preview). Team…
Checkpointing
Claude Code CLI · in the page
checkpointing
…tic tracking Claude Code tracks all changes made by its file editing tools: * Every prompt you send that starts a turn creates a new checkpoint * Claude Code keeps file snapshots for the 100 most re…
Use Claude Code with Chrome
Claude Code CLI · in the page
chrome
…de waits for the install, connects the extension, and enables browser tools in the same session. When the connection is ready, select "Continue with browser tools" and Claude resumes the task in your…
Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry
Claude Code CLI · in the page
claude-apps-gateway
…/settings#settings-precedence). Different teams get different models, tools, and permissions, and a developer can't override what their policy locks. * **Settings delivery**: the gateway delivers mana…
Claude apps gateway configuration
Claude Code CLI · in the page
claude-apps-gateway-config
…gateway config: * The model list, from `availableModels` * Disabled tools, from bare tool-name `permissions.deny` entries. If you set `disabledBuiltinTools` in the policy's `desktop` block, the gate…
Claude apps gateway deployment and operations
Claude Code CLI · in the page
claude-apps-gateway-deploy
…n in the redirect chain to `oidc.form_action_origins`. Open Chrome DevTools → Console on the Approve page to see which origin was blocked. | | Sign-in completes at the IdP but the callback fails, with…
Use Claude Code in the cloud
Claude Code CLI · in the page
claude-code-on-the-web
…ironment allows, set variables, or add a setup script, and [Installed tools](/docs/en/cloud-environments#installed-tools) for what sessions include without any configuration. ## GitHub authentication…
Explore the .claude directory
Claude Code CLI · in the page
claude-directory
…el Context Protocol (MCP) servers that give Claude access to external tools: databases, APIs, browsers, and more. This file holds the project-scoped servers your whole team uses. Personal servers you…
Let Claude coordinate ongoing work with Projects
Claude Code CLI · in the page
claude-projects
…and hooks too * The [connectors](#get-skills-plugins-connectors-and-tools-into-threads) on your claude.ai account * A [cloud environment](#choose-an-environment-for-threads) that sets its network…
Scan your codebase for vulnerabilities
Claude Code CLI · in the page
claude-security
…low inbound connections. The plugin is also distinct from the review tools already in Claude Code: the [security guidance plugin](/docs/en/security-guidance) reviews code as Claude writes it, [`/secu…
CLI reference
Claude Code CLI · in the page
cli-reference
…rously-skip-permissions` | | `--allowedTools`, `--allowed-tools` | Tools that execute without prompting for permission. See [permission rule syntax](/docs/en…
Configure cloud environments
Claude Code CLI · in the page
cloud-environments
…ables or setup script, so sessions start with just the [pre-installed tools](#installed-tools). With only **Default** available, every session runs in it. When you have more than one environment, ses…
Code Review
Claude Code CLI · in the page
code-review
…ts the review's findings through the [`ReportFindings` tool](/docs/en/tools-reference) instead. Claude Code renders the report as a findings list, and each entry shows the file location, a one-sentenc…
Commands
Claude Code CLI · in the page
commands
…e as a colored grid. Shows optimization suggestions for context-heavy tools, memory bloat, and capacity warnings. When the conversation exceeds the context window, the output includes a [warning](/doc…
Common workflows
Claude Code CLI · in the page
common-workflows
…d code. The `.claude/` directory and `CLAUDE.md` sit alongside other tools' config directories without conflict. Claude reads files fresh on each tool call, so it sees edits you make in another appli…
Communications kit
Claude Code CLI · in the page
communications-kit
…→ https://code.claude.com/docs/en/checkpointing ``` ### Connect your tools **MCP connectors** ```markdown theme={null} 🔌 *Tip: Let Claude read your issue tracker so you don't have to paste tickets*…
Let Claude use your computer from the CLI
Claude Code CLI · in the page
computer-use
…n macOS. Test native apps, debug visual issues, and automate GUI-only tools without leaving your terminal. <Note> Computer use is a research preview on macOS that requires a Pro or Max plan. It is…
Explore the context window
Claude Code CLI · in the page
context-window
…link: null }, { t: 0.08, kind: 'auto', label: 'MCP tools (deferred)', tokens: 120, color: '#9B7BC4', vis: 'hidden', desc: 'MCP tool names listed so Claude knows what…
Manage costs effectively
Claude Code CLI · in the page
costs
…or your own team, start with a small pilot group and use the tracking tools below to establish a baseline before wider rollout. This page covers how to [track your costs](#track-your-costs), [manage…
Message your other Claude Code sessions
Claude Code CLI · in the page
cross-session-messaging
…can still open a mentioned path on the receiving machine with its own tools, subject to that session's permissions. Claude Code refuses a message in the following cases: * The message is [over the s…
Data usage
Claude Code CLI · in the page
data-usage
…h, are retained for 5 years. With [Claude-drafted feedback](/docs/en/tools-reference#sendfeedback-tool-behavior), Claude can also draft a feedback report and queue it on your machine for you to revie…
Debug your configuration
Claude Code CLI · in the page
debug-your-config
…r the current session, broken down by category: system prompt, system tools, MCP tools, custom subagents with the source each loaded from, memory files, skills, and conversation messages. Run it first…
Launch sessions from links
Claude Code CLI · in the page
deep-links
…b rather than a terminal window. See [Launch a VS Code tab from other tools](/docs/en/vs-code#launch-a-vs-code-tab-from-other-tools) for that URL's parameters. ## Troubleshooting ### Clicking the li…
Desktop application
Claude Code CLI · in the page
desktop
…chive your other sessions](#work-across-sessions) * [Connect external tools](#connect-external-tools) like GitHub, Slack, and Linear * Let Claude [open apps and control your screen](#let-claude-use-yo…
Test iOS apps in the simulator
Claude Code CLI · in the page
desktop-ios-simulator
…e two ways to turn it off for everyone: * The `disableMobileSimulatorTools` [managed setting](/docs/en/desktop#managed-settings) blocks Claude's simulator tools. The simulator pane stays usable for y…
Get started with the desktop app
Claude Code CLI · in the page
desktop-quickstart
…ion inside a [WSL 2 distribution](/docs/en/desktop-wsl); Claude Code, tools, and git execute on the Linux side with native paths. </Step> <Step title="Choose a model"> Select a model from the…
Schedule recurring tasks in Claude Code Desktop
Claude Code CLI · in the page
desktop-scheduled-tasks
…local task runs on your machine with direct access to your files and tools, but only fires while the app is open and your computer is awake. A remote routine runs in the cloud even when your computer…
Claude Code Desktop in WSL
Claude Code CLI · in the page
desktop-wsl
…instead of on Windows itself. The session's Claude Code process, its tools, and git all execute inside the distribution, using its Linux toolchain and native Linux paths, the same environment your pr…
Development containers
Claude Code CLI · in the page
devcontainer
…cting to a Docker dev container. Claude Code, the terminal, and build tools run inside the container. The host repository is bind-mounted into the container as the workspace." width="640" height="300"…
Environment variables
Claude Code CLI · in the page
env-vars
…ting, Claude Code ignores this variable. See [Output limits](/docs/en/tools-reference#output-limits)…