1,081 pages for value.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Set up Claude Code for your organization
Claude Code CLI · in the page
admin-setup
…admin-only Windows sources. Whichever mechanism you choose, managed values take precedence over user and project settings, apart from a few security-sensitive [exceptions](/docs/en/settings.md#excep…
Escalate hard decisions with the advisor tool
Claude Code CLI · in the page
advisor
…independently checked before Claude declares them done. It adds less value on short tasks where there is little to plan, or on work where every turn needs the strongest model. For those, [switch the…
How the agent loop works
Claude Code CLI · in the page
agent-sdk/agent-loop
…indicating why the model stopped generating on its final turn. Common values are `end_turn` (model finished normally), `max_tokens` (hit the output token limit), and `refusal` (the model declined the…
Use Claude Code features in the SDK
Claude Code CLI · in the page
agent-sdk/claude-code-features
…project, and local settings. A few inputs are read regardless of its value: | Input | Behavior | To disable | | :- | :- | :- | | Managed policy settings | Endpoint-managed policy, such as an MDM pli…
Configure your agent
Claude Code CLI · in the page
agent-sdk/configuration
…cific model, or to pick a smaller one for faster, cheaper agents. The value takes a model alias or a full model name; aliases and the versions they resolve to are listed under [Model aliases](/docs/en…
Track cost and usage
Claude Code CLI · in the page
agent-sdk/cost-tracking
…timated total, you can ignore the per-step usage and read this single value. If you make multiple independent `query()` calls, each result reflects only the cost of that individual call. A call that…
Give Claude custom tools
Claude Code CLI · in the page
agent-sdk/custom-tools
…ull parameter details, including JSON Schema input formats and return value structure. ### Make a parameter optional To make a parameter optional, declare it optional in the schema and apply the def…
Rewind file changes with checkpointing
Claude Code CLI · in the page
agent-sdk/file-checkpointing
…b): return a * b def divide(a, b): if b == 0: raise ValueError("Cannot divide by zero") return a / b ``` ```typescript utils.ts theme={null} export function add(a: number, b: nu…
Intercept and control agent behavior with hooks
Claude Code CLI · in the page
agent-sdk/hooks
…able-hooks) such as `'PreToolUse'`, `'PostToolUse'`, and `'Stop'` * **Values**: arrays of [matchers](#matchers), each containing an optional filter pattern and your [callback functions](#callback-func…
Hosting the Agent SDK
Claude Code CLI · in the page
agent-sdk/hosting
…ser declare const sessionStore: SessionStore; // an object store, key-value store, database, or your own adapter for await (const message of query({ prompt: userInput, options: { resume: sessionI…
Connect to external tools with MCP
Claude Code CLI · in the page
agent-sdk/mcp
…and plugin server. Tool search is off when your [`ENABLE_TOOL_SEARCH` value or model](/docs/en/agent-sdk/tool-search#configure-tool-search) turns it off, or when you exclude the `ToolSearch` tool, for…
Observability with OpenTelemetry
Claude Code CLI · in the page
agent-sdk/observability
…DK uses > as its message channel. Do not set `console` as an exporter value when running > through the SDK. To inspect telemetry locally, point > `OTEL_EXPORTER_OTLP_ENDPOINT` at a local OpenTelemetry…
Configure permissions
Claude Code CLI · in the page
agent-sdk/permissions
…you set. Even then, Claude Code never applies a `"bypassPermissions"` value, and applies an `"auto"` value only when [auto mode is available](/docs/en/permission-modes.md#eliminate-prompts-with-auto-m…
Plugins in the SDK
Claude Code CLI · in the page
agent-sdk/plugins
…r options configuration. The `type` field must be `"local"`, the only value the SDK accepts. The SDK supports loading multiple plugins from different locations. To use a plugin distributed through a…
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…rgument: the MCP class accepts extra fields, and the SDK forwards the value to Claude Code. All fields are optional. Clients shouldn't rely on the hints for security decisions. | Field | Type | Defa…
Persist sessions to external storage
Claude Code CLI · in the page
agent-sdk/session-storage
…> Mirror Agent SDK session transcripts to your own object store, key-value store, or database so other hosts can resume your sessions. By default, the SDK writes session transcripts to JSONL files u…
Extend agents with skills
Claude Code CLI · in the page
agent-sdk/skills
…1, the SDK didn't run this check. **Python** The Python SDK raises `ValueError` stating the rule the entry broke. For example, `skills=["docs:*"]` raises: ```text theme={null} ValueError: Invalid s…
Get structured output from agents
Claude Code CLI · in the page
agent-sdk/structured-outputs
…result can also end with subtype `success` but no `structured_output` value, for example when the run completes without the agent producing a structured output. Treat that case as a failure as well. T…
Subagents in the SDK
Claude Code CLI · in the page
agent-sdk/subagents
…t `"Task"`. To keep detection working across SDK versions, match both values in `block.name`. The message structure differs between SDKs. In Python, you access content blocks directly via `message.co…
Track todos
Claude Code CLI · in the page
agent-sdk/todo-tracking
…open tasks\n"); return; } const items = [...this.tasks.values()]; const completed = items.filter((t) => t.status === "completed").length; const inProgress = items.filter((t) =>…
Scale to many tools with tool search
Claude Code CLI · in the page
agent-sdk/tool-search
…K loads tool definitions upfront instead, and no `ENABLE_TOOL_SEARCH` value overrides that. On Google Cloud's Agent Platform, the SDK decides by model generation: * **Claude Opus 4.5, Sonnet 4.5, Hai…
Troubleshoot the Agent SDK
Claude Code CLI · in the page
agent-sdk/troubleshooting
…e` re-parses the whole command line at execution time, so an argument value can execute injected commands. Most Windows installs never reach this error. The Windows x64 wheel of `claude-agent-sdk` bu…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…ars). Pass a whole number of at least 1000. Claude Code ignores other values. Requires TypeScript Agent SDK v0.3.248 or later | ### `listSessions()` Discovers and lists past sessions with light meta…
Handle approvals and user input
Claude Code CLI · in the page
agent-sdk/user-input
…rs` object as a record where each key is the `question` text and each value is the selected option's `label`: | From the question object | Use as | | - | - | | `question` field (for example, `"How sh…
Orchestrate teams of Claude Code sessions
Claude Code CLI · in the page
agent-teams
…ams are most effective for tasks where parallel exploration adds real value. See [use case examples](#use-case-examples) for full scenarios. The strongest use cases are: * **Research and review**: mu…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…Detector test" ``` The prompt is the positional argument, not a `-p` value. Claude Code rejects `--bg` combined with `-p` or `--print` before any session is created, because `--print` never starts th…
Claude Code on Amazon Bedrock
Claude Code CLI · in the page
amazon-bedrock
…ormat: ```json theme={null} { "Credentials": { "AccessKeyId": "value", "SecretAccessKey": "value", "SessionToken": "value", "Expiration": "2026-01-01T00:00:00Z" } } ``` The flat…
Share session output as artifacts
Claude Code CLI · in the page
artifacts
…input fields bound to whatever you are adjusting, so you can explore values directly instead of describing them. ```text wrap theme={null} Build an artifact with sliders for the easing curve, durati…
Authentication
Claude Code CLI · in the page
authentication
…ed-sources). `forceLoginOrgUUID` and the `"claudeai"` and `"console"` values of `forceLoginMethod` aren't among those exceptions, so keep them in both places. In a [gateway](/docs/en/claude-apps-gate…
Configure auto mode
Claude Code CLI · in the page
auto-mode-config
…ude writes another way, such as `git -C <dir> push` or `git -c <key>=<value> push`, [doesn't match the rule](/docs/en/permissions.md#bash-rule-limits), so it isn't checkpointed. For a checkpoint that…
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…CLAUDE.md into git so your team can contribute. The file compounds in value over time. CLAUDE.md files can import additional files using `@path/to/import` syntax. For import rules and where CLAUDE.md…
Champion kit
Claude Code CLI · in the page
champion-kit
…e is a terminal command rather than a platform. If it does not return value within the first session, it is reasonable to set it aside. | A two-minute install followed by one real bug. | ## Quick-ref…
Claude Code changelog
Claude Code CLI · in the page
changelog
…minal, else refuses; scripts pass `--trust-workspace`, which takes no value (put a PR number or base branch before it), or set `CLAUDE_CODE_DISABLE_ULTRAREVIEW_TRUST_CHECK=1` * Changed the dangerous `…
Channels reference
Claude Code CLI · in the page
channels-reference
…* Claude Code relays text whole up to 3,500 code points. For a longer value, you receive its start and its end around a counted `⋯ N code points elided ⋯` marker. The end of a long command still reach…
Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry
Claude Code CLI · in the page
claude-apps-gateway
…ongside each Claude Code release, so it forwards the `anthropic-beta` values and request fields Claude Code sends without operators maintaining a separate allowlist. Once deployed it gives you: * **C…
Claude apps gateway configuration
Claude Code CLI · in the page
claude-apps-gateway-config
…erence them with one of the forms below, and the gateway resolves the value at boot from an environment variable or a file: | Form | Resolves to | Use for | | - | - | - | | `${VAR}` | The environment…
Claude apps gateway deployment and operations
Claude Code CLI · in the page
claude-apps-gateway-deploy
…/docs/en/claude-apps-gateway-on-aws.md) worked examples have concrete values per topology. Without trusted proxies, every request appears to come from the proxy's IP, which collapses per-IP rate limit…
Deploy Claude apps gateway on AWS
Claude Code CLI · in the page
claude-apps-gateway-on-aws
…Set your environment variables Every command on this page reads four values from your shell: `AWS_REGION`, `ACCOUNT_ID`, `VPC_ID`, and `PRIVATE_SUBNETS`. Pick a US region where Bedrock serves the Cl…
Deploy Claude apps gateway on Google Cloud
Claude Code CLI · in the page
claude-apps-gateway-on-gcp
…E_IP="$(gcloud sql instances describe claude-gateway-db \ --format='value(ipAddresses[0].ipAddress)')" GATEWAY_POSTGRES_URL="postgres://gateway:${PGPASS}@${PRIVATE_IP}:5432/claude_gateway?sslmode=re…
Claude apps gateway spend limits
Claude Code CLI · in the page
claude-apps-gateway-spend-limits
…"contractors"}, "amount": "10000", "period": "daily"}' ``` | Field | Values | Description | | - | - | - | | `scope.type` | `user`, `rbac_group`, `organization` | `user` targets one developer by their…
Use Claude Code in the cloud
Claude Code CLI · in the page
claude-code-on-the-web
…ssions: * **`/model`, `/effort`, `/color`, and `/rename`**: pass the value as an argument, for example `/model sonnet`, instead of opening the terminal picker or slider. The argument forms follow eac…
Explore the .claude directory
Claude Code CLI · in the page
claude-directory
…s all scopes; scalar settings like <C>model</C> use the most specific value</>], exampleIntro: <>This example allows <C>npm test</C> and <C>npm run</C> commands without prompting, blocks <C>…
Claude Code on Claude Platform on AWS
Claude Code CLI · in the page
claude-platform-on-aws
…c-workspace-id` header. Replace the example `wrkspc_01ABCDEFGHIJKLMN` value with your own workspace ID from your Claude Platform on AWS setup. Claude Code computes the base URL as `https://aws-extern…
claude-tag
Claude Code CLI · in the page
claude-tag
…overflow-y-end"]; var d={"syntax":"<length>","inherits":false,"initialValue":"0px"}; for(var i=0;i<n.length;i++){try{CSS.registerProperty({name:n[i],syntax:d.syntax,inherits:d.inherits,initialValue:d.…
CLI reference
Claude Code CLI · in the page
cli-reference
…ond `claude rm` can resolve it, the refusal prints the exact flag and value to pass: `--discard-unpushed <commit>@<worktree-id>` discards a worktree that has unpushed commits along with those commits,…
Configure cloud environments
Claude Code CLI · in the page
cloud-environments
…ironment variables Environment variables use `.env` format, one `KEY=value` pair per line. Plain values don't need quotes, and if you quote a value with a matching pair, the quotes don't become part…
Code Review
Claude Code CLI · in the page
code-review
…`. The `normal` key holds the count of Important findings; a non-zero value means Claude found at least one bug worth fixing before merge. ### What Code Review checks By default, Code Review focuses…
Review locally with /code-review
Claude Code CLI · in the page
code-review-local
…s through the findings tool, the limit is 32. Later reviews reuse the value you typed until you pass `--max-findings default`, but a value passed in a non-interactive `-p` run isn't remembered. Requir…
Commands
Claude Code CLI · in the page
commands
…` to return to the window tuned for your model. Claude Code saves the value to user settings and applies it to the current session. See [Set the auto-compact window](/docs/en/model-config#set-the-auto…
Common workflows
Claude Code CLI · in the page
common-workflows
…lyze your code paths and suggest tests for error conditions, boundary values, and unexpected inputs that are often overlooked. *** ### Create pull requests You can create pull requests by asking Cl…