1,431 pages for text.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
overview
Claude Developer Platform · in the page
build-with-claude/overview
…ild-with-claude/pdf-support) | Send PDFs to Claude so it can read the text, pictures, charts and tables in them. | | [Programmatic tool calling](https://platform.claude.com/docs/en/agents-and-tools/to…
pdf-support
Claude Developer Platform · in the page
build-with-claude/pdf-support
…th-claude/pdf-support description: "Process PDFs with Claude: extract text, analyze charts, and understand visual content from your documents." featureMetadata: status: stable zdr: eligibility…
preserved-thinking
Claude Developer Platform · in the page
build-with-claude/preserved-thinking
…king#mismatch-behavior). Let Claude Code check your code for you ```text /claude-api preserved-thinking-migration ``` ## Who the prefix check affects ### When `prefix_mismatch_behavior` is unset…
change-tools-or-instructions
Claude Developer Platform · in the page
build-with-claude/preserved-thinking/change-tools-or-instructions
…osoft Foundry: stable --- To update tools, instructions, or other context, leave everything you sent as it was, and add the update at the end, where it stays. On models with preserved thinking, chang…
fix-bound-to-a-different-conversation
Claude Developer Platform · in the page
build-with-claude/preserved-thinking/fix-bound-to-a-different-conversation
…bound-to-a-different-conversation#prefix-mismatch-error-details): ```text wrap messages.1.content.0: Invalid `signature` in `thinking` block. The block is bound to a different conversation. Remove th…
prefix-checks
Claude Developer Platform · in the page
build-with-claude/preserved-thinking/prefix-checks
…back exactly as the API returned it, including thinking blocks whose text is empty. 2. Build `system` and `tools` once for each conversation, and send that copy every time. 3. Put every update in a n…
Request 2 caches its request content (not the response)
Claude Developer Platform · in the page
build-with-claude/prompt-caching
…t := anthropic.NewClient() response, err := client.Messages.New(context.TODO(), anthropic.MessageNewParams{ Model: anthropic.ModelClaudeOpus5_5, MaxTokens: 1024, CacheControl: an…
claude-prompting-best-practices
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/claude-prompting-best-practices
…rompts. Think of Claude as a brilliant but new employee who lacks context on your norms and workflows. The more precisely you explain what you want, the better the result. **Key test:** Show your pr…
prompting-claude-fable-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-fable-5
…aude/effort) settings, especially when the task requires gathering context, building, and self-verifying, and autonomous runs can extend for hours. This is one of the largest shifts teams encounter wh…
Delivering work
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-fable-5-1
…prompting-claude-fable-5-1#consider-all-effort-levels) * Little or no text between tool calls: [Ask for user-facing progress updates](https://platform.claude.com/docs/en/build-with-claude/prompt-engin…
Finishing work
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-fable-5-2
…e-fable-5-2#where-to-start). Several sections on this page suggest text to add to your system prompt or changes to a tool description. Some also suggest lines to remove from the system prompt or fr…
prompting-claude-haiku-5-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-haiku-5-5
…ssages, system prompt adherence in chatbots, reasoning in user-facing text, and refusals." --- This guide covers the prompting patterns specific to Claude Haiku 5.5. For the model’s API changes, see…
prompting-claude-opus-4-8
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-opus-4-8
…<Note> For the API parameter changes since Claude Opus 4.7 (1M context window default and mid-conversation system messages), see [Migrating to Claude Opus 5.5 from Claude Opus 4.7](https://platfor…
prompting-claude-opus-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-opus-5
…l use is a more cost-effective lever than thinking alone. * **Long-context work:** Claude Opus 5 has a [1M token context window](https://platform.claude.com/docs/en/build-with-claude/context-windows)…
prompting-claude-opus-5-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-opus-5-5
…rontend design, complex visual inputs, multiapp workflows, and pasted text in user messages." --- This guide covers the prompting patterns specific to Claude Opus 5.5. For the model’s capabilities an…
prompting-claude-sonnet-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-sonnet-5
…our prompts. As an example, to decrease verbosity, you might add: ```text wrap Provide concise, focused responses. Skip non-essential context, and keep examples minimal. ``` If you see specific kind…
prompting-claude-sonnet-5-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-sonnet-5-5
…rk) * Messages users send mid-task are ignored or treated as injected text: [Mid-turn user messages](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-sonnet-5-…
refusals-and-fallback
Claude Developer Platform · in the page
build-with-claude/refusals-and-fallback
…anthropic.NewClient() response, err := client.Beta.Messages.New(context.Background(), anthropic.BetaMessageNewParams{ Model: anthropic.ModelClaudeFable5, MaxTokens: 1024, Messages: []a…
search-results
Claude Developer Platform · in the page
build-with-claude/search-results
…l prompting is needed: ask your question, and citations appear on the text blocks that draw on your content. However, if your prompt asks for only JSON, the response might contain few or no citations.…
skills-guide
Claude Developer Platform · in the page
build-with-claude/skills-guide
…t := anthropic.NewClient() response, err := client.Messages.New(context.TODO(), anthropic.MessageNewParams{ Model: anthropic.ModelClaudeOpus5_5, MaxTokens: 4096, Container: anthropic.M…
streaming
Claude Developer Platform · in the page
build-with-claude/streaming
…ssages API responses incrementally with server-sent events, including text, tool use, and thinking deltas. featureMetadata: status: stable supportedModels: - claude-fable-5-2 - claude-myth…
structured-outputs
Claude Developer Platform · in the page
build-with-claude/structured-outputs
…in a specific JSON format, for example to extract data from images or text, generate structured reports, or format API responses. This page covers JSON outputs. * **Strict tool use** (`strict: true`):…
task-budgets
Claude Developer Platform · in the page
build-with-claude/task-budgets
…thropic.NewClient() stream := client.Beta.Messages.NewStreaming(context.TODO(), anthropic.BetaMessageNewParams{ Model: anthropic.ModelClaudeOpus5_5, MaxTokens: 128000, Betas: []ant…
thinking
Claude Developer Platform · in the page
build-with-claude/thinking
…spends reasoning are billed as output tokens, even when the thinking text isn’t returned to you, and they count toward `max_tokens` alongside the response text. This page covers how thinking behaves…
thinking-steering-and-cost
Claude Developer Platform · in the page
build-with-claude/thinking-steering-and-cost
…needs, add guidance such as the following to your system prompt: ```text wrap Extended thinking adds latency and should only be used when it will meaningfully improve answer quality, typically for p…
thinking-tool-workflows
Claude Developer Platform · in the page
build-with-claude/thinking-tool-workflows
…}, }, } response, err := client.Messages.New(context.TODO(), anthropic.MessageNewParams{ Model: anthropic.ModelClaudeOpus5_5, MaxTokens: 16000, Thinking:…
thinking-troubleshooting
Claude Developer Platform · in the page
build-with-claude/thinking-troubleshooting
…upported The request fails with a 400 error whose message reads: ```text wrap "thinking.type.enabled" is not supported for this model. Use "thinking.type.adaptive" and "output_config.effort" to cont…
token-counting
Claude Developer Platform · in the page
build-with-claude/token-counting
…odels and Claude Mythos Preview use a newer tokenizer. The same input text produces approximately 30 percent more tokens than on earlier models. The exact increase depends on the content and workload…
vision
Claude Developer Platform · in the page
build-with-claude/vision
…ith-claude/prompt-engineering/claude-prompting-best-practices#long-context-prompting) improves results in text prompts, Claude works best when images come before text. Images placed after text or inte…
vision-coordinates
Claude Developer Platform · in the page
build-with-claude/vision-coordinates
…y a standard-tier model but fits within the high-resolution tier: ```text wrap messages.0.content.0: image dimensions 1920x1080 exceed the maximum image size of a model named on this request and woul…
working-with-messages
Claude Developer Platform · in the page
build-with-claude/working-with-messages
…t := anthropic.NewClient() response, err := client.Messages.New(context.TODO(), anthropic.MessageNewParams{ Model: anthropic.ModelClaudeOpus5_5, MaxTokens: 1024, Messages: []anthropic.…
claude_api_primer
Claude Developer Platform · in the page
claude_api_primer
…basics in one place. It covers model IDs, Messages API requests with text and images, thinking, tool use and its errors, JSON output, and streaming. The instructions on this page are for whoever send…
apply
Claude Developer Platform · in the page
cli-sdks-libraries/cli/apply
…erminal, `ant apply` prints the plan and waits for your approval: ```text Output wrap First apply ./claude-lock.json does not exist yet and will be created Resources will be created with credenti…
On a remote host without a browser:
Claude Developer Platform · in the page
cli-sdks-libraries/cli/authentication
…e wrong credential or workspace. ```bash CLI ant auth status ``` ```text Active profile: default Config dir: ~/.config/anthropic Profile config: ~/.config/anthropic/configs/default.json Crede…
quickstart
Claude Developer Platform · in the page
cli-sdks-libraries/cli/quickstart
…s 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```text Output wrap { "model": "claude-opus-5-5", "id": "msg_01YMmR5XodC5nTqMxLZMKaq6", "type": "message", "role": "assistant…
scripting
Claude Developer Platform · in the page
cli-sdks-libraries/cli/scripting
…mxJjiXVy3oSi7K \ --event '{type: user.message, content: [{type: text, text: "Summarize the benefits of type safety in one sentence."}]}' ``` </Step> <Step title="Read the conversation">…
using
Claude Developer Platform · in the page
cli-sdks-libraries/cli/using
…follow a `resource action` pattern. Nested resources use colons: ```text wrap ant <resource>[:<subresource>] <action> [flags] ``` Run `ant --help` for the full resource list, or append `--help` to…
apple-foundation-models
Claude Developer Platform · in the page
cli-sdks-libraries/libraries/apple-foundation-models
…zed for lightweight tasks. Escalate to Claude when you need larger context, frontier reasoning, or server-side tools such as web search and code execution. Because both use the same `LanguageModelSess…
openai-sdk
Claude Developer Platform · in the page
cli-sdks-libraries/libraries/openai-sdk
…tMessage("Who are you?")); Console.WriteLine(completion.Content[0].Text); ``` ```go Go package main import ( "context" "fmt" "os" "github.com/openai/openai-go/v3" "github.…
overview
Claude Developer Platform · in the page
cli-sdks-libraries/overview
…tps://platform.claude.com/docs/en/cli-sdks-libraries/sdks/go"> Context-based cancellation, functional options </Card> <Card title="Java" href="https://platform.claude.com/docs/en/cli-sdks-lib…
csharp
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/csharp
…ters); foreach (var block in message.Content) { if (block.TryPickText(out var textBlock)) { Console.WriteLine(textBlock.Text); } } ``` For authentication options, including Workl…
go
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/go
…ks/go description: Install and configure the Anthropic Go SDK with context-based cancellation and functional options --- The Anthropic Go library provides convenient access to the Claude API from app…
java
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/java
…ckDelta().stream()) .flatMap(deltaEvent -> deltaEvent.delta().text().stream()) .forEach(textDelta -> IO.print(textDelta.text())); } Message message = messageAccumulator.message(); ```…
php
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/php
…', 'content' => 'Hello, Claude']], model: 'claude-opus-5-5', ); $textBlock = array_find($message->content, static fn ($block): bool => $block->type === 'text'); echo $textBlock->text; ``` For au…
For Amazon Bedrock support
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/python
…ude-opus-5-5", ) for block in message.content: if block.type == "text": print(block.text) ``` <Tip> Consider using [python-dotenv](https://pypi.org/project/python-dotenv/) to add `ANTH…
Automatically handles tool execution loop
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/ruby
…odel::CLAUDE_OPUS_5_5 ) message.content.each do |block| puts block.text if block.type == :text end ``` For authentication options, including Workload Identity Federation, see [Authentication](http…
behavior
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/terraform/behavior
…credentials belong to that organization, and stops if they don’t: ```text wrap the configured credentials belong to organization 11111111-..., but the provider is pinned to organization_id = 00000000…
typescript
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/typescript
…-5" }); for (const block of message.content) { if (block.type === "text") { console.log(block.text); } } ``` For authentication options, including Workload Identity Federation, see [Authenti…
get-started
Claude Developer Platform · in the page
get-started
…sistant", "content": [ { "type": "text", "text": "Here are some effective search strategies to find the latest developments in renewable energy:\n\n##…
home
Claude Developer Platform · in the page
home
…pus 5.5 at higher effort still fall short. All current models support text and image input, text output, multilingual capabilities, vision, and tool use. * [Claude Fable 5.2](https://platform.claud…