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

409 pages for options.

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

cmek-claude-platform-on-aws Claude Developer Platform · in the page manage-claude/cmek-claude-platform-on-aws …tep> <Step title="Configure key"> Make sure that these options are selected: * **Key type:** Symmetric * **Key usage:** Encrypt and decrypt * **Advanced options… cmek-google-cloud-kms Claude Developer Platform · in the page manage-claude/cmek-google-cloud-kms …the key"> Click **Create key** and enter a name. Select these options: * **Protection level:** HSM * **Key material:** Generated key * **Purpose:** Symmetric encrypt/d… inference-hooks-endpoint Claude Developer Platform · in the page manage-claude/inference-hooks-endpoint …a length mismatch. return signatures.Split(' ', StringSplitOptions.RemoveEmptyEntries).Any(candidate => CryptographicOperations.FixedTimeEquals(Encoding.UTF8.GetBytes(candidat… api Claude Developer Platform · in the page manage-claude/opentelemetry/api …ept**, select the workspaces in the search box that appears under the options. To change a destination's workspaces later, open its **More actions** menu on the [OpenTelemetry settings page](https://p… sdk Claude Developer Platform · in the page manage-claude/opentelemetry/sdk …em to your observability platform. <Note> During the beta, the SDK options and the span schema can change in ways that break your code, your queries, or your dashboards. For example, a new version… plugins-api Claude Developer Platform · in the page manage-claude/plugins-api …elete-a-plugin) for the reversible (organization-owned) and permanent options. ## Plugins The plugin object describes a plugin in one of your organization's marketplaces or in a member's personal ma… user-profiles Claude Developer Platform · in the page manage-claude/user-profiles …ude.com/docs/en/build-with-claude/claude-in-microsoft-foundry#hosting-options), not one hosted on Azure. You don't need an organization on the Claude API or Claude Platform on AWS. Use your Foundry en… wif-admin-api Claude Developer Platform · in the page manage-claude/wif-admin-api …ons workflow in your infrastructure repository. Under **Advanced rule options**, set the rule's OAuth scope to `org:admin`: the wizard then creates the new service account with the Admin organization… aws Claude Developer Platform · in the page manage-claude/wif-providers/aws …var credentials = new WorkloadIdentityCredentials(new WorkloadIdentityOptions { FederationRuleId = Environment.GetEnvironmentVariable("ANTHROPIC_FEDERATION_RULE_ID")!, OrganizationId = E… Create the app registration that represents the Claude API audience. Claude Developer Platform · in the page manage-claude/wif-providers/azure …var credentials = new WorkloadIdentityCredentials(new WorkloadIdentityOptions { FederationRuleId = Environment.GetEnvironmentVariable("ANTHROPIC_FEDERATION_RULE_ID")!, OrganizationId = E… gcp Claude Developer Platform · in the page manage-claude/wif-providers/gcp …var credentials = new WorkloadIdentityCredentials(new WorkloadIdentityOptions { FederationRuleId = Environment.GetEnvironmentVariable("ANTHROPIC_FEDERATION_RULE_ID")!, OrganizationId = E… kubernetes Claude Developer Platform · in the page manage-claude/wif-providers/kubernetes …federation): concepts, the token-exchange flow, and SDK configuration options. * [WIF reference](https://platform.claude.com/docs/en/manage-claude/wif-reference): environment variables, JWKS source mo… okta Claude Developer Platform · in the page manage-claude/wif-providers/okta …var credentials = new WorkloadIdentityCredentials(new WorkloadIdentityOptions { FederationRuleId = Environment.GetEnvironmentVariable("ANTHROPIC_FEDERATION_RULE_ID")!, OrganizationId = E… Replace NODE_UID with the node's UID: Claude Developer Platform · in the page manage-claude/wif-providers/spiffe …option.WithFederationTokenProvider(fetchJWTSVID, option.FederationOptions{ FederationRuleID: os.Getenv("ANTHROPIC_FEDERATION_RULE_ID"), OrganizationID: os.Getenv("ANTHROPIC_ORG… workload-identity-federation Claude Developer Platform · in the page manage-claude/workload-identity-federation …var credentials = new WorkloadIdentityCredentials(new WorkloadIdentityOptions { FederationRuleId = "fdrl_...", OrganizationId = "00000000-0000-0000-0000-000000000000", ServiceAccou… workspaces Claude Developer Platform · in the page manage-claude/workspaces …messages: [{ role: "user", content: "Hello, Claude" }], request_options: { middleware: [read_workspace_id] } ) puts "Workspace ID: #{workspace_id}" ``` </CodeGroup> ```text Output wrap Wo… agent-setup Claude Developer Platform · in the page managed-agents/agent-setup …`; java: `Optional.empty()`; go: `param.Null[string]()`; php: `requestOptions: ['extraBodyParams' => ['system' => null, 'description' => null]]`). `model` (csharp, go: `Model`) and `name` (csharp, go:… budgets Claude Developer Platform · in the page managed-agents/budgets …a: `.budget(Optional.empty())`; csharp: `Budget = null`; php: `requestOptions: ['extraBodyParams' => ['budget' => null]]`; cli: `--budget null`) to remove the cap entirely. The work that the budget pa… choosing-an-environment Claude Developer Platform · in the page managed-agents/choosing-an-environment …ainer, where the agent runs commands and works on files. You have two options: * **Cloud environment:** Anthropic runs the sandbox for you. Each session gets its own fresh Linux container on Anthropi… environments Claude Developer Platform · in the page managed-agents/environments …vironment_id: environment.id ) ``` </CodeGroup> ## Configuration options ### Packages The `packages` (csharp, go: `Packages`) field pre-installs packages into the sandbox before the agent start… migration Claude Developer Platform · in the page managed-agents/migration …----------------------------------------------------- | | `ClaudeAgentOptions(...)` (typescript: `options`) constructed per run | `client.beta.agents.create(...)` (csharp: `clien… overview Claude Developer Platform · in the page managed-agents/overview …com/docs/en/managed-agents/tools) for the full list and configuration options. ## Beta access <Note> Claude Managed Agents is in beta. All Managed Agents endpoints require the `managed-agents-2026… quickstart Claude Developer Platform · in the page managed-agents/quickstart …anaged-agents/tools) for the complete list and per-tool configuration options. </Step> <Step title="Create an environment"> An environment defines the sandbox where your agent runs. This one… reference Claude Developer Platform · in the page managed-agents/reference …r` CLI flags, environment variables, filesystem paths, and SDK helper options of the pre-built workers that drive a `self_hosted` environment. ## Supported MCP server types Claude Managed Agents con… scheduled-deployments Claude Developer Platform · in the page managed-agents/scheduled-deployments …a: `.budget(Optional.empty())`; csharp: `Budget = null`; php: `requestOptions: ['extraBodyParams' => ['budget' => null]]`; cli: `--budget null`) and set again later. The following example sets a budg… spawn.sh: called once per claimed work item Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes …ed-agents/self-hosted-sandboxes#sdk-helpers) on this page for the SDK options. For more control, call the [Environments Work endpoints](https://platform.claude.com/docs/en/api/beta/environments/work)… self-hosted-sandboxes-custom-tools Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-custom-tools …vironments.NewEnvironmentWorker(client, environments.EnvironmentWorkerOptions{ EnvironmentID: environmentID, EnvironmentKey: environmentKey, Workdir: "/workspace",… self-hosted-sandboxes-memory Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-memory …s-gracefully). </Warning> ## Configure sync Two `EnvironmentWorker` options control memory behavior. Set them wherever you construct the worker, including in a webhook handler. The `ant` CLI worker… self-hosted-sandboxes-reference Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-reference …onment variables, host requirements, filesystem paths, and SDK helper options." featureMetadata: topic: title: Managed Agents url: https://platform.claude.com/docs/en/managed-agents/overview… self-hosted-sandboxes-workers Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-workers …vironments.NewEnvironmentWorker(client, environments.EnvironmentWorkerOptions{ EnvironmentID: environmentID, EnvironmentKey: environmentKey, Workdir: "/workspace", }) if err… session-operations Claude Developer Platform · in the page managed-agents/session-operations …a: `.budget(Optional.empty())`; csharp: `Budget = null`; php: `requestOptions: ['extraBodyParams' => ['budget' => null]]`; cli: `--budget null`). Both automatically resume work that paused when the se… tools-web-restrictions Claude Developer Platform · in the page managed-agents/tools-web-restrictions …}, ], }, ], }); JsonSerializerOptions jsonOptions = new() { WriteIndented = true }; foreach (var tool in agent.Tools) { if (tool.TryPickBetaManagedAge… overview Claude Developer Platform · in the page release-notes/overview …/docs/en/managed-agents/webhooks). * Additional filtering and sorting options are now supported for Claude Managed Agents. Sessions can be filtered by status, and events can be filtered by type. Event… claude-sonnet-3-7 Claude Developer Platform · in the page release-notes/system-prompts/claude-sonnet-3-7 …should be decisive and present just one, rather than presenting many options. Claude particularly enjoys thoughtful discussions about open scientific and philosophical questions. If asked for its v… develop-tests Claude Developer Platform · in the page test-and-evaluate/develop-tests …og.Fatal(err) } defer session.Destroy() downloadOptions := hugot.NewDownloadOptions() downloadOptions.OnnxFilePath = "onnx/model.onnx" modelPath, err := hugot.Downl… How the agent loop works Claude Code CLI · in the page agent-sdk/agent-loop …ols, block others entirely, or require approval for everything. Three options work together to determine what runs: * **`allowed_tools` / `allowedTools`** auto-approves listed tools. A read-only agen… Use Claude Code features in the SDK Claude Code CLI · in the page agent-sdk/claude-code-features …rces option ([`setting_sources`](/docs/en/agent-sdk/python#claudeagentoptions) in Python, [`settingSources`](/docs/en/agent-sdk/typescript#settingsource) in TypeScript) controls which filesystem-based… Configure your agent Claude Code CLI · in the page agent-sdk/configuration # Configure your agent > Configure Agent SDK sessions: compose the options object, set the model, environment, and limits, and find each feature option's page. An Agent SDK session reads configurati… Track cost and usage Claude Code CLI · in the page agent-sdk/cost-tracking …export it in your shell or container environment, or pass it through `options.env`. The following example enables 1-hour TTL for an agent running on Amazon Bedrock. Because it sets `CLAUDE_CODE_USE_B… Give Claude custom tools Claude Code CLI · in the page agent-sdk/custom-tools …keys, see [TypedDict class](/docs/en/agent-sdk/python.md#input-schema-options). The [`get_precipitation_chance` tool below](#add-more-tools) shows both patterns. ### Call a custom tool Pass the MCP… Rewind file changes with checkpointing Claude Code CLI · in the page agent-sdk/file-checkpointing …Implement checkpointing To use file checkpointing, enable it in your options, capture checkpoint UUIDs from the response stream, then call `rewindFiles()` (TypeScript) or `rewind_files()` (Python) wh… Intercept and control agent behavior with hooks Claude Code CLI · in the page agent-sdk/hooks …stered for that event type. This includes callback hooks you pass in `options.hooks` and shell command hooks from settings files when the corresponding [`settingSources`](/docs/en/agent-sdk/typescript… Hosting the Agent SDK Claude Code CLI · in the page agent-sdk/hosting …When sessions need separate filesystems, pass a distinct `cwd` in the options of each session's `query()` call: ```typescript TypeScript theme={null} import { query } from "@anthropic-ai/claude-agent… Connect to external tools with MCP Claude Code CLI · in the page agent-sdk/mcp …"Use the docs MCP server to explain what hooks are in Claude Code", options: { mcpServers: { "claude-code-docs": { type: "http", url: "https://code.claude.com/docs/mcp"… Migrate to Claude Agent SDK Claude Code CLI · in the page agent-sdk/migration-guide …on theme={null} # Before from claude_code_sdk import query, ClaudeCodeOptions # After from claude_agent_sdk import query, ClaudeAgentOptions ``` **4. Review [breaking changes](#breaking-changes)**… Modifying system prompts Claude Code CLI · in the page agent-sdk/modifying-system-prompts …irectory, and `'user'` loads `~/.claude/CLAUDE.md`. Default `query()` options enable both sources, so CLAUDE.md loads automatically. If you set `settingSources` in TypeScript or `setting_sources` in P… Observability with OpenTelemetry Claude Code CLI · in the page agent-sdk/observability …is the recommended approach for production deployments. * **Per-call options:** set the variables in `ClaudeAgentOptions.env` (Python) or `options.env` (TypeScript). Use this when different agents in… Configure permissions Claude Code CLI · in the page agent-sdk/permissions …f you set [`permissionPrompts: 'none'`](/docs/en/agent-sdk/typescript#options), your callback isn't called at this step. A [`PermissionRequest` hook](/docs/en/hooks#permissionrequest) still gets a cha… Plugins in the SDK Claude Code CLI · in the page agent-sdk/plugins …gins Load plugins by providing their local file system paths in your options configuration. The `type` field must be `"local"`, the only value the SDK accepts. The SDK supports loading multiple plugi… Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …ess you pass `continue_conversation=True` or `resume` in [`ClaudeAgentOptions`](#claudeagentoptions). See [Sessions](/docs/en/agent-sdk/sessions.md). ```python theme={null} async def query( *,…
Feedback