Source Intelligence
Sweep 28 Aug 2026 ยท 16:06Z Build v2.1.251 479 read Stable v2.1.236 Latest v2.1.250 Next v2.1.251 Feeds RSS JSON llms.txt

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

Search the documentation

39 pages for --message.

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

optimizing-for-cost-and-intelligence Claude Developer Platform · in the page about-claude/models/optimizing-for-cost-and-intelligence …ages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' \ --transform usage) COST=$(jq -r --argjson in_price "$INPUT_PER_MTOK" -… bash-tool Claude Developer Platform · in the page agents-and-tools/tool-use/bash-tool …ax-tokens 1024 \ --tool '{type: bash_20250124, name: bash}' \ --message '{role: user, content: List all Python files in the current directory.}' ``` ```python Python client = anthropic.… code-execution-tool Claude Developer Platform · in the page agents-and-tools/tool-use/code-execution-tool …ages create \ --model claude-opus-5 \ --max-tokens 4096 \ --message '{ role: user, content: "Use the code execution tool to calculate the mean and standard deviation of… overview Claude Developer Platform · in the page agents-and-tools/tool-use/overview …24 \ --tool '{type: web_search_20260209, name: web_search}' \ --message '{role: user, content: "What is the latest on the Mars rover?"}' ``` ```python Python client = anthropic.Anthropi… text-editor-tool Claude Developer Platform · in the page agents-and-tools/tool-use/text-editor-tool …728, name: str_replace_based_edit_tool, max_characters: 10000}' \ --message '{role: user, content: There is a syntax error in my primes.py file. Can you help me fix it?}' ``` ```python Python… web-fetch-tool Claude Developer Platform · in the page agents-and-tools/tool-use/web-fetch-tool …es create \ --model claude-opus-4-8 \ --max-tokens 1024 \ --message '{role: user, content: "Please analyze the content at https://example.com/article"}' \ --tool '{type: web_fetch_2025… web-search-tool Claude Developer Platform · in the page agents-and-tools/tool-use/web-search-tool …ages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: What is the weather in NYC?}' \ --tool '{type: web_search_20250305, name: web_search, max_use… beta-headers Claude Developer Platform · in the page api/beta-headers …-2025-06-27 \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```python Python client = Anthropic() response = client.beta.mess… errors Claude Developer Platform · in the page api/errors …es create \ --model claude-sonnet-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```python Python client = anthropic.Anthropic() message = client.… Message Batches API Claude Developer Platform · in the page build-with-claude/batch-processing …il processing_status is "ended" ant messages:batches retrieve \ --message-batch-id "$MESSAGE_BATCH_ID" \ --transform processing_status --raw-output ``` ```python Python import time… claude-in-microsoft-foundry Claude Developer Platform · in the page build-with-claude/claude-in-microsoft-foundry …m/anthropic \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello!"}' \ --transform content ``` ```python Python import os from anthropic impor… claude-platform-on-aws Claude Developer Platform · in the page build-with-claude/claude-platform-on-aws …SPACE_ID" \ --model claude-sonnet-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello!"}' \ --transform content ``` ```python Python from anthropic import AnthropicA… effort Claude Developer Platform · in the page build-with-claude/effort …--max-tokens 4096 \ --output-config '{effort: medium}' \ --message '{role: user, content: "Analyze the trade-offs between microservices and monolithic architectures"}' \ --transform '… fallback-credit Claude Developer Platform · in the page build-with-claude/fallback-credit …ges create \ --model claude-fable-5 \ --max-tokens 1024 \ --message '{"role":"user","content":"Hello, Claude"}' \ --beta fallback-credit-2026-07-01 \ --format json) # A refusal… handling-stop-reasons Claude Developer Platform · in the page build-with-claude/handling-stop-reasons …ages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello!"}' \ --format json | jq 'if .stop_reason == "end_turn" then (.content[] | select(.typ… multilingual-support Claude Developer Platform · in the page build-with-claude/multilingual-support …pond in French, regardless of the language the user writes in." \ --message '{role: user, content: "How do I reset my password?"}' ``` ```python Python client = anthropic.Anthropic() mes… claude-prompting-best-practices Claude Developer Platform · in the page build-with-claude/prompt-engineering/claude-prompting-best-practices …em "You are a helpful coding assistant specializing in Python." \ --message '{role: user, content: "How do I sort a list of dictionaries by key?"}' ``` ```python Python client = anthropic.A… refusals-and-fallback Claude Developer Platform · in the page build-with-claude/refusals-and-fallback …ges create \ --model claude-fable-5 \ --max-tokens 1024 \ --message '{"role":"user","content":"Hello, Claude"}' \ --fallbacks default \ --beta server-side-fallback-2026-07-01 \… streaming Claude Developer Platform · in the page build-with-claude/streaming …ormat jsonl \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello"}' \ | jq -rj 'select(.delta.type? == "text_delta") | .delta.text' ``` ```python… thinking Claude Developer Platform · in the page build-with-claude/thinking …16000 \ --thinking '{type: adaptive, display: summarized}' \ --message '{role: user, content: "What is the greatest common divisor of 1071 and 462?"}' \ --transform content \ --format… token-counting Claude Developer Platform · in the page build-with-claude/token-counting …--model claude-opus-5 \ --system "You are a scientist" \ --message '{role: user, content: "Hello, Claude"}' ``` ```python Python client = anthropic.Anthropic() response = client… working-with-messages Claude Developer Platform · in the page build-with-claude/working-with-messages …ages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```python Python message = anthropic.Anthropic().messages.create(… API usage primer for Claude Claude Developer Platform · in the page claude_api_primer …ages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{"role": "user", "content": "Hello, Claude"}' ``` ```python Python import anthropic message = anthropic.Anthr… On a remote host without a browser: Claude Developer Platform · in the page cli-sdks-libraries/cli/authentication …e-id wrkspc_01... \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ## Check authentication status `ant auth status` prints the credential so… quickstart Claude Developer Platform · in the page cli-sdks-libraries/cli/quickstart …t messages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```text Output wrap { "model": "claude-opus-5", "id": "msg_01YMmR5XodC… using Claude Developer Platform · in the page cli-sdks-libraries/cli/using …t messages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: [ {type: document, source: {type: base64, media_type: application/pdf, data: "@./scan.pdf"}},… get-started Claude Developer Platform · in the page get-started …--model claude-opus-5 \ --max-tokens 1000 \ --message '{ role: user, content: "What should I search for to find the latest developments in renewable e… authentication Claude Developer Platform · in the page manage-claude/authentication …5AGx3HKfFUJ \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```python Python client = Anthropic() # reads ANTHROPIC_API_KEY… data-residency Claude Developer Platform · in the page manage-claude/data-residency …claude-opus-5 \ --max-tokens 1024 \ --inference-geo us \ --message '{role: user, content: "Summarize the key points of this document."}' \ --transform '{content.#(type=="text").text,u… aws Claude Developer Platform · in the page manage-claude/wif-providers/aws …ages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello from AWS"}' ``` ```php PHP use Anthropic\Client; use Anthropic\Credentials\Worklo… Create the app registration that represents the Claude API audience. Claude Developer Platform · in the page manage-claude/wif-providers/azure …ages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello from Azure"}' ``` </CodeGroup> ### Verify the setup From your Azure resource, run the… gcp Claude Developer Platform · in the page manage-claude/wif-providers/gcp …ages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello from Cloud Run"}' ``` ```php PHP use Anthropic\Client; use Anthropic\Credentials\… github-actions Claude Developer Platform · in the page manage-claude/wif-providers/github-actions …ages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```php PHP use Anthropic\Client; // Reads ANTHROPIC_FEDERATION_RU… kubernetes Claude Developer Platform · in the page manage-claude/wif-providers/kubernetes …ages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```php PHP use Anthropic\Client; // Reads ANTHROPIC_FEDERATION_RU… okta Claude Developer Platform · in the page manage-claude/wif-providers/okta …ages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```php PHP use Anthropic\Client; use Anthropic\Credentials\Workloa… Replace NODE_UID with the node's UID: Claude Developer Platform · in the page manage-claude/wif-providers/spiffe …\ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```python Python import anthropic # Reads the JWT… workspaces Claude Developer Platform · in the page manage-claude/workspaces …ages create \ --model claude-opus-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' > /dev/null ``` ```python Python client = anthropic.Anthropic() respo… reduce-latency Claude Developer Platform · in the page test-and-evaluate/strengthen-guardrails/reduce-latency …es create \ --model claude-haiku-4-5 \ --max-tokens 100 \ --message '{"role": "user", "content": "Summarize this customer feedback in 2 sentences: [feedback text]"}' ``` ```python Pyt… Plugins reference Claude Code CLI · in the page plugins-reference …e working tree is dirty or the tag already exists | | | `-m, --message <msg>` | Tag annotation message. Use `%s` as a placeholder for the version | | | `--remote <name>`…