844 pages for lang.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
prompting-claude-sonnet-5-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-sonnet-5-5
…what is allowed, required, or charged. First, check your prompt for language that discourages tool use, such as "only use tools when strictly necessary" or "minimize tool calls," and remove it. Then…
refusals-and-fallback
Claude Developer Platform · in the page
build-with-claude/refusals-and-fallback
…ests of a conversation. <CodeGroup exclude="shell"> <CodeGroupItem language="cURL"> The refusal-fallback middleware is part of the Claude SDK, so a cURL request can't use it. To fall back withi…
search-results
Claude Developer Platform · in the page
build-with-claude/search-results
…le: Knowledge base tool <CodeGroup exclude="shell"> <CodeGroupItem language="cURL"> The tool-calling flow needs search logic in your application, which needs more than a single shell command. U…
skills-guide
Claude Developer Platform · in the page
build-with-claude/skills-guide
…file** <CodeGroup exclude="shell:cURL, shell:CLI"> <CodeGroupItem language="cURL"> This workflow needs more logic than a single shell command. Use the [Claude SDK](https://platform.claude.com/…
structured-outputs
Claude Developer Platform · in the page
build-with-claude/structured-outputs
…Describe the structure you want as a JSON schema or as a type in your language. The schema follows JSON Schema, with some [limitations](https://platform.claude.com/docs/en/build-with-claude/structured…
thinking-steering-and-cost
Claude Developer Platform · in the page
build-with-claude/thinking-steering-and-cost
…l posture, but you can also shape that behavior directly with natural-language guidance, either globally in the system prompt or for individual messages in the user turn. Use the two levers together…
thinking-tool-workflows
Claude Developer Platform · in the page
build-with-claude/thinking-tool-workflows
…<CodeGroup exclude="shell:cURL, shell:CLI"> <CodeGroupItem language="cURL"> This workflow needs more logic than a single shell command. Use the [Claude SDK](https://platform.claude.…
vision-coordinates
Claude Developer Platform · in the page
build-with-claude/vision-coordinates
…de resizes an image to: <CodeGroup exclude="shell"> <CodeGroupItem language="cURL"> Compute this size in code. </CodeGroupItem> <CodeGroupItem language="CLI"> Compute this size in code…
apply
Claude Developer Platform · in the page
cli-sdks-libraries/cli/apply
…> <File filename="environments/cloud.yaml"> ```yaml # yaml-language-server: $schema=https://platform.claude.com/schemas/ant/beta/environment.json name: review-env description: Cloud…
apple-foundation-models
Claude Developer Platform · in the page
cli-sdks-libraries/libraries/apple-foundation-models
…dels) is a Swift package that makes Claude available as a server-side language model in Apple's [Foundation Models](https://developer.apple.com/documentation/foundationmodels) framework. The package c…
openai-sdk
Claude Developer Platform · in the page
cli-sdks-libraries/libraries/openai-sdk
….message().content().orElse("")); } } ``` <CodeGroupItem language="PHP"> OpenAI has no official PHP SDK. To use Claude from PHP, use the [Claude SDK for PHP](https://platform.claude.c…
middleware
Claude Developer Platform · in the page
cli-sdks-libraries/middleware
…aude/refusals-and-fallback#client-side-fallback) covers setup and per-language examples.
overview
Claude Developer Platform · in the page
cli-sdks-libraries/overview
…Official tools for building with the Claude API: client SDKs in seven languages, the ant CLI, and framework-specific libraries." --- Anthropic provides three kinds of official tooling for building wi…
csharp
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/csharp
…a [`with` expression](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/with-expression) to construct the modified options. The `WithOptions` method does not affect the ori…
go
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/go
…est fields The Anthropic library uses the [`omitzero`](https://tip.golang.org/doc/go1.24#encodingjsonpkgencodingjson) semantics from the Go 1.24+ `encoding/json` release for request fields. Required…
java
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/java
…ed exceptions are widely considered a mistake in the Java programming language. In fact, they were omitted from Kotlin for this reason. Checked exceptions: * Are verbose to handle * Enco…
get-started
Claude Developer Platform · in the page
get-started
…} java { toolchain { languageVersion = JavaLanguageVersion.of(25) } } dependencies { implement…
intro
Claude Developer Platform · in the page
intro
…gent AI platform built by Anthropic. Claude excels at tasks involving language, reasoning, analysis, coding, and more. --- <Note> Looking to chat with Claude? Visit [claude.ai](https://claude.ai).…
inference-hooks-endpoint
Claude Developer Platform · in the page
manage-claude/inference-hooks-endpoint
…TPS service rather than a one-shot request. Each sample uses only the language's standard library; the [Standard Webhooks](https://www.standardwebhooks.com/) project also publishes verification librar…
opentelemetry
Claude Developer Platform · in the page
manage-claude/opentelemetry
…ity platform for the new shape of software. </Card> <Card title="Langfuse" image="https://platform.claude.com/docs/images/partner-logos/langfuse.svg" imageDark="https://platform.claude.com/docs/i…
sdk
Claude Developer Platform · in the page
manage-claude/opentelemetry/sdk
…ter that points to your observability platform. For the setup in your language, see the OpenTelemetry docs on [Python exporters](https://opentelemetry.io/docs/languages/python/exporters/), [TypeScript…
plugins-api
Claude Developer Platform · in the page
manage-claude/plugins-api
…r (a background command that keeps running during a session), an LSP (Language Server Protocol) server, or settings the plugin applies to the member's app, or contains a skill, command, or any other M…
wif-admin-api
Claude Developer Platform · in the page
manage-claude/wif-admin-api
…s the same settings as explicit constructor arguments, shown for each language in [Construct the SDK client](https://platform.claude.com/docs/en/manage-claude/workload-identity-federation#construct-th…
Replace NODE_UID with the node's UID:
Claude Developer Platform · in the page
manage-claude/wif-providers/spiffe
…der. The file path is the simplest integration and works in every SDK language. The token-provider path removes the sidecar but requires a SPIFFE Workload API client in your application's language. <…
workload-identity-federation
Claude Developer Platform · in the page
manage-claude/workload-identity-federation
…b shows the underlying HTTP exchange for shell scripts, debugging, or languages without SDK support. ### Construct the SDK client You can construct the client with explicit credentials or with no ar…
agent-setup
Claude Developer Platform · in the page
managed-agents/agent-setup
…all-the-cli) covers installation and client setup. <CodeGroup defaultLanguage="CLI"> ```bash cURL curl -fsSL https://api.anthropic.com/v1/agents \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H…
choosing-an-environment
Claude Developer Platform · in the page
managed-agents/choosing-an-environment
…resh Linux container on Anthropic-managed infrastructure, with common languages, databases, and utilities already installed. You choose its network rules and any extra packages to install. * **Self-ho…
cloud-sandboxes-reference
Claude Developer Platform · in the page
managed-agents/cloud-sandboxes-reference
…ture. They come pre-installed with a comprehensive set of programming languages, databases, and utilities. The agent can use these immediately without any installation steps. These specifications app…
environments
Claude Developer Platform · in the page
managed-agents/environments
…hoosing-an-environment). ## Create an environment <CodeGroup defaultLanguage="CLI"> ```bash cURL curl -fsS https://api.anthropic.com/v1/environments \ -H "x-api-key: $ANTHROPIC_API_KEY" \…
event-deltas
Claude Developer Platform · in the page
managed-agents/event-deltas
…ookkeeping for you. The manual pattern in this section works in every language when you need custom bookkeeping. Apply it to the generated event types. In the manual pattern, hold preview text in a t…
events-and-streaming
Claude Developer Platform · in the page
managed-agents/events-and-streaming
…y list. <CodeGroup exclude="shell:cURL, shell:CLI"> <CodeGroupItem language="cURL"> This workflow needs more logic than a single shell command. Use the [Claude SDK](https://platform.claude.com/…
github
Claude Developer Platform · in the page
managed-agents/github
…holds the server URL but no authentication token: <CodeGroup defaultLanguage="CLI"> ```bash cURL curl -fsS https://api.anthropic.com/v1/agents \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "…
mcp-connector
Claude Developer Platform · in the page
managed-agents/mcp-connector
…st match the server's `name` (csharp, go: `Name`). <CodeGroup defaultLanguage="CLI"> ```bash cURL curl -sS --fail-with-body https://api.anthropic.com/v1/agents \ -H "x-api-key: $ANTHROPIC_API…
memory
Claude Developer Platform · in the page
managed-agents/memory
…to the agent, telling it what the store contains. <CodeGroup defaultLanguage="CLI"> ```bash cURL curl -s https://api.anthropic.com/v1/memory_stores \ -H "x-api-key: $ANTHROPIC_API_KEY" \…
migration
Claude Developer Platform · in the page
managed-agents/migration
…gents): <CodeGroup exclude="shell:cURL, shell:CLI"> <CodeGroupItem language="cURL"> This workflow needs more logic than a single shell command. Use the [Claude SDK](https://platform.claude.com/…
multiagent-orchestration
Claude Developer Platform · in the page
managed-agents/multiagent-orchestration
…block to list the agents that it can delegate to: <CodeGroup defaultLanguage="CLI"> ```bash cURL curl -fsS https://api.anthropic.com/v1/agents \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H "…
permission-policies
Claude Developer Platform · in the page
managed-agents/permission-policies
…y`; csharp, go: `DefaultConfig.PermissionPolicy`): <CodeGroup defaultLanguage="CLI"> ```bash cURL curl -fsSL https://api.anthropic.com/v1/agents \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H…
quickstart
Claude Developer Platform · in the page
managed-agents/quickstart
…the model, system prompt, and available tools. <CodeGroup defaultLanguage="CLI"> <CodeGroupItem> ```bash cURL curl -sS --fail-with-body https://api.anthropic.com/v1/agents \…
scheduled-deployments
Claude Developer Platform · in the page
managed-agents/scheduled-deployments
…s#managed-policies) grants `iam:PassRole`. </Note> <CodeGroup defaultLanguage="CLI"> ```bash cURL curl --fail-with-body -sS "https://api.anthropic.com/v1/deployments?beta=true" \ -H "x-api-ke…
secure-deployment
Claude Developer Platform · in the page
managed-agents/secure-deployment
…allows one host, the help center, for `web_fetch`: <CodeGroup defaultLanguage="CLI"> ```bash cURL curl -fsS https://api.anthropic.com/v1/environments \ -H "x-api-key: $ANTHROPIC_API_KEY" \…
spawn.sh: called once per claimed work item
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes
…> New > Self-hosted** Or through the API: <CodeGroup defaultLanguage="CLI"> ```bash cURL curl -sS --fail-with-body https://api.anthropic.com/v1/environments \ -H "x-api-k…
self-hosted-sandboxes-custom-tools
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes-custom-tools
…ctx), getOrderStatus] }).run(); ``` <CodeGroupItem language="C#"> The C# SDK does not have `EnvironmentWorker`. To answer custom tool calls from your own code, send each res…
self-hosted-sandboxes-memory
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes-memory
…00, memorySyncDeletions: "log_only" }); ``` <CodeGroupItem language="C#"> The C# SDK does not have `EnvironmentWorker`. </CodeGroupItem> ```go Go worker := environments.NewEnviro…
self-hosted-sandboxes-reference
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes-reference
…x) => [betaBashTool(ctx), myCustomTool] }); ``` <CodeGroupItem language="C#"> The C# SDK does not have `EnvironmentWorker`. To answer custom tool calls from your own code, send each result…
self-hosted-sandboxes-workers
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes-workers
…e", signal: controller.signal }).run(); ``` <CodeGroupItem language="C#"> The C# SDK does not have `EnvironmentWorker`. Run the `ant` CLI worker instead: `ant beta:worker poll --workdir…
session-threads
Claude Developer Platform · in the page
managed-agents/session-threads
…rrives. <CodeGroup exclude="shell:cURL, shell:CLI"> <CodeGroupItem language="cURL"> This workflow needs more logic than a single shell command. Use the [Claude SDK](https://platform.claude.com/…
skills
Claude Developer Platform · in the page
managed-agents/skills
…d doesn't need to be unique within your workspace. <CodeGroup defaultLanguage="CLI"> ```bash cURL curl -X POST "https://api.anthropic.com/v1/skills" \ -H "x-api-key: $ANTHROPIC_API_KEY" \…
tools
Claude Developer Platform · in the page
managed-agents/tools
…mple enables the toolset and disables `web_fetch`: <CodeGroup defaultLanguage="CLI"> ```bash cURL curl -fsSL https://api.anthropic.com/v1/agents \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H…
tools-web-restrictions
Claude Developer Platform · in the page
managed-agents/tools-web-restrictions
…choes the `configs` (csharp, go: `Configs`) array. <CodeGroup defaultLanguage="CLI"> ```bash cURL curl -fsSL https://api.anthropic.com/v1/agents \ -H "x-api-key: $ANTHROPIC_API_KEY" \ -H…
vaults
Claude Developer Platform · in the page
managed-agents/vaults
…e filename="vaults/service_accounts.yaml"> ```yaml # yaml-language-server: $schema=https://platform.claude.com/schemas/ant/beta/vault.json display_name: Service accounts ```…