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

43 pages for --message.

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

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 …es create \ --model claude-opus-5-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-5-5 \ --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 …es create \ --model claude-opus-5-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 …025-06-27 \ --model claude-opus-5-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" ``` ```python Python import time client = anthropic.Anthropic() MESSAGE_BATCH_… claude-in-microsoft-foundry Claude Developer Platform · in the page build-with-claude/claude-in-microsoft-foundry …anthropic \ --model claude-opus-5-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello!"}' ``` ```python Python import os from anthropic import AnthropicFoundry clie… claude-on-vertex-ai Claude Developer Platform · in the page build-with-claude/claude-on-vertex-ai …--model claude-opus-5-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```python Python from anthropic import AnthropicGoogleCl… claude-platform-on-aws Claude Developer Platform · in the page build-with-claude/claude-platform-on-aws …ACE_ID" \ --model claude-sonnet-5-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello!"}' ``` ```python Python from anthropic import AnthropicAWS client = AnthropicAW… 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"}' ``` ```python… handling-stop-reasons Claude Developer Platform · in the page build-with-claude/handling-stop-reasons …es create \ --model claude-opus-5-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello!"}' ``` ```python Python client = anthropic.Anthropic() response = client.messag… 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 …--stream \ --model claude-opus-5-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello"}' ``` ```python Python client = anthropic.Anthropic() with client.messages.stre… 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?"}' ``` ```python Python client = ant… token-counting Claude Developer Platform · in the page build-with-claude/token-counting …--model claude-opus-5-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 …es create \ --model claude-opus-5-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 …es create \ --model claude-opus-5-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 …id wrkspc_01... \ --model claude-opus-5-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 …messages create \ --model claude-opus-5-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```text Output wrap { "model": "claude-opus-5-5", "id": "msg_01YMmR5Xo… using Claude Developer Platform · in the page cli-sdks-libraries/cli/using …messages create \ --model claude-opus-5-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-5 \ --max-tokens 1000 \ --message '{ role: user, content: "What should I search for to find the latest developments in renewable e… home Claude Developer Platform · in the page home …ate \ --model claude-opus-5-5 \ --max-tokens 1024 \ --message '{ role: user, content: "Hello, Claude" }' ``` </HomeHero> <HomeSection> <HomeSection… authentication Claude Developer Platform · in the page manage-claude/authentication …Gx3HKfFUJ \ --model claude-opus-5-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 …laude-opus-5-5 \ --max-tokens 1024 \ --inference-geo us \ --message '{role: user, content: "Summarize the key points of this document."}' ``` ```python Python client = anthropic.Ant… user-profiles Claude Developer Platform · in the page manage-claude/user-profiles …es create \ --model claude-opus-5-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' \ --user-profile-id "$PROFILE_ID" ``` ```python Python client = anth… aws Claude Developer Platform · in the page manage-claude/wif-providers/aws …es create \ --model claude-opus-5-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello from AWS"}' ``` ```php PHP use Anthropic\Client; use Anthropic\Lib\Credentials\Cr… Create the app registration that represents the Claude API audience. Claude Developer Platform · in the page manage-claude/wif-providers/azure …es create \ --model claude-opus-5-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello from Azure"}' ``` ```python Python import os import anthropic import requests… gcp Claude Developer Platform · in the page manage-claude/wif-providers/gcp …es create \ --model claude-opus-5-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello from Cloud Run"}' ``` ```php PHP use Anthropic\Client; use Anthropic\Lib\Credenti… github-actions Claude Developer Platform · in the page manage-claude/wif-providers/github-actions …es create \ --model claude-opus-5-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 …es create \ --model claude-opus-5-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 …es create \ --model claude-opus-5-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```php PHP use Anthropic\Client; use Anthropic\Lib\Credentials\Cre… Replace NODE_UID with the node's UID: Claude Developer Platform · in the page manage-claude/wif-providers/spiffe …--model claude-opus-5-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```python Python import anthropic # Reads the JWT… workload-identity-federation Claude Developer Platform · in the page manage-claude/workload-identity-federation …es create \ --model claude-opus-5-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```python Python from anthropic import Anthropic, WorkloadIdentityCr… workspaces Claude Developer Platform · in the page manage-claude/workspaces …es create \ --model claude-opus-5-5 \ --max-tokens 1024 \ --message '{role: user, content: "Hello, Claude"}' ``` ```python Python client = anthropic.Anthropic() response = client… migration-guide Claude Developer Platform · in the page models/opus-5-5/migration-guide …--max-tokens 4096 \ --output-config '{effort: medium}' \ --message '{role: user, content: "Analyze the trade-offs between microservices and monolithic architectures"}' ``` ```python… migration-guide Claude Developer Platform · in the page models/sonnet-5-5/migration-guide …--max-tokens 4096 \ --output-config '{effort: medium}' \ --message '{role: user, content: "Analyze the trade-offs between microservices and monolithic architectures"}' ``` ```python… reduce-latency Claude Developer Platform · in the page test-and-evaluate/strengthen-guardrails/reduce-latency …5 \ --max-tokens 1024 \ --output-config '{effort: low}' \ --message '{"role": "user", "content": "Summarize this customer feedback in 2 sentences: [feedback text]"}' ``` ```python Pyt… Plugin commands reference Claude Code CLI · in the page plugins/cli-reference …| Skip the dirty-working-tree and tag-already-exists checks | | `-m, --message <msg>` | Tag annotation message. `%s` stands for the version. Defaults to `<name> <version>` | | `--remote <name>` | Rem…
Feedback