1,063 pages for prompt.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
handling-stop-reasons
Claude Developer Platform · in the page
build-with-claude/handling-stop-reasons
…mpty responses after fixing the message structure, add a continuation prompt in a new user message rather than retrying with the empty response: <CodeGroup exclude="shell"> ```python Python…
message-threads
Claude Developer Platform · in the page
build-with-claude/message-threads
…not-eligible note: A thread's contents (the conversation, system prompt, and tools) are held in memory, encrypted under a server-managed key, never written to durable storage, and deleted no more…
mid-conversation-effort-example
Claude Developer Platform · in the page
build-with-claude/mid-conversation-effort-example
…Anthropic() MODEL = "claude-opus-5-5" EFFORT = "xhigh" SYSTEM_PROMPT = ( "You are a helpful general-purpose agent. Answer the user's request directly." ) REQUEST_TIMEOUT_SECONDS = 6…
mid-conversation-system-messages
Claude Developer Platform · in the page
build-with-claude/mid-conversation-system-messages
…ead of every message in the conversation. That position is great for [prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching): the system prompt is part of the stable pre…
multilingual-support
Claude Developer Platform · in the page
build-with-claude/multilingual-support
…language explicitly. The most reliable place to do this is the system prompt, which keeps the instruction stable across every turn of a conversation. <CodeGroup> ```bash cURL curl https://api.ant…
overview
Claude Developer Platform · in the page
build-with-claude/overview
…ersation had been on that model from the start, so you do not pay the prompt-cache write twice. | | ↳ [Server-side fallback](https://platform.claude.com/docs/en/build-with-claude/refusals-and-fallb…
pdf-support
Claude Developer Platform · in the page
build-with-claude/pdf-support
…ther improve performance by integrating PDF support with: * [Use prompt caching](https://platform.claude.com/docs/en/build-with-claude/pdf-support#use-prompt-caching): To improve performance for…
preserved-thinking
Claude Developer Platform · in the page
build-with-claude/preserved-thinking
…thing before the thinking block has changed.** The top-level `system` prompt, `tools`, and `messages` before the block are its prefix. If the prefix differs from what you sent when the block was produ…
refusals-and-fallback
Claude Developer Platform · in the page
build-with-claude/refusals-and-fallback
…m/docs/en/build-with-claude/fallback-credit): how to avoid paying the prompt-cache cost twice when you build the retry yourself * [SDK middleware](https://platform.claude.com/docs/en/cli-sdks-librarie…
search-results
Claude Developer Platform · in the page
build-with-claude/search-results
…e search results automatically when citations are enabled. No special prompting is needed: ask your question, and citations appear on the text blocks that draw on your content. However, if your prompt…
skills-guide
Claude Developer Platform · in the page
build-with-claude/skills-guide
…de receives metadata for each Skill (name, description) in the system prompt. 2. **File loading:** Skill files are copied into the container at `/skills/{skill-name}/`. The directory is the Skill’s na…
streaming
Claude Developer Platform · in the page
build-with-claude/streaming
…sponse and an instruction to continue, for example: ```text Sample prompt wrap Your previous response was interrupted and ended with [previous_response]. Continue from where you left off. ```…
structured-outputs
Claude Developer Platform · in the page
build-with-claude/structured-outputs
…-and-data-retention#model-specific-data-retention-requirements). Your prompts and Claude's outputs are not stored. Only the JSON schema is cached, for up to 24 hours since last use. This also covers s…
task-budgets
Claude Developer Platform · in the page
build-with-claude/task-budgets
…ugh the cumulative payload your client transmitted was larger and the prompt-cached input on requests 2 and 3 was larger still. ### Carrying a budget across compaction with `remaining` If your own c…
thinking
Claude Developer Platform · in the page
build-with-claude/thinking
…nking disabled](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-opus-5#running-with-thinking-disabled) for prompting mitigations. Claude Sonnet 5.5 also has…
thinking-steering-and-cost
Claude Developer Platform · in the page
build-with-claude/thinking-steering-and-cost
…eer how often and how deeply Claude thinks with effort levels, system prompt guidance, and per-message steering, and understand thinking's cost and pricing. --- <Note> To learn how zero data retent…
thinking-tool-workflows
Claude Developer Platform · in the page
build-with-claude/thinking-tool-workflows
…Steer how often and how deeply Claude thinks with effort levels and prompt-based guidance. </Card> <Card title="Extended thinking" icon="clock" href="https://platform.claude.com/docs/en/build-w…
thinking-troubleshooting
Claude Developer Platform · in the page
build-with-claude/thinking-troubleshooting
…essage usually ends with a sentence naming what changed: the `system` prompt, the `tools` list, the first message or block that differs, content that is missing or new, or an earlier thinking block th…
token-counting
Claude Developer Platform · in the page
build-with-claude/token-counting
…o manage rate limits and costs, make model routing decisions, and fit prompts to a target length. featureMetadata: status: stable zdr: eligibility: eligible note: Excludes [Covered Models]…
vision
Claude Developer Platform · in the page
build-with-claude/vision
…ore your query](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices#long-context-prompting) improves results in text prompts, Claude works best whe…
vision-coordinates
Claude Developer Platform · in the page
build-with-claude/vision-coordinates
…st with absolute pixel coordinates.** Ask for them explicitly in your prompt. For example: *“Return the bounding box of each table as `[x1, y1, x2, y2]` (top-left and bottom-right corners) in pixel co…
working-with-messages
Claude Developer Platform · in the page
build-with-claude/working-with-messages
…----------------------------------- | | **What it is** | Direct model prompting access | Pre-built, configurable agent harness that runs in managed infrastructure | | **Best for** | Cu…
apply
Claude Developer Platform · in the page
cli-sdks-libraries/cli/apply
…e.com/docs/en/managed-agents/agent-setup)) and the body is its system prompt. `ant apply` [infers](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/apply#kind-inference) that the file is an…
using
Claude Developer Platform · in the page
cli-sdks-libraries/cli/using
…ame "Researcher" --model '{id: claude-opus-5-5}' <<'YAML' system: "@./prompts/researcher.txt" YAML ``` Structured flag values work the same way. To send a PDF to the Messages API: ```bash ant messag…
apple-foundation-models
Claude Developer Platform · in the page
cli-sdks-libraries/libraries/apple-foundation-models
…to the Claude API; Apple is not in the request path and does not see prompts or responses. Usage is billed to your Anthropic account at [standard API pricing](https://platform.claude.com/docs/en/abou…
openai-sdk
Claude Developer Platform · in the page
cli-sdks-libraries/libraries/openai-sdk
…https://platform.claude.com/docs/en/build-with-claude/thinking), and [prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching)), use the native [Claude API](https://platfo…
go
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/go
…, message.Content) ``` </Accordion> <Accordion title="System prompts"> ```go message, err := client.Messages.New(context.TODO(), anthropic.MessageNewParams{ Model: anthropic.…
typescript
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/typescript
…o Claude API types, reducing boilerplate when working with MCP tools, prompts, and resources. <Tip> The Claude API also supports an [`mcp_servers` parameter](https://platform.claude.com/docs/en/age…
get-started
Claude Developer Platform · in the page
get-started
…aude/working-with-messages"> Learn multi-turn conversations, system prompts, stop reasons, and other core patterns. </Card> Once you’re comfortable with the basics, explore further: <CardGroup col…
home
Claude Developer Platform · in the page
home
…ightning" href="https://platform.claude.com/docs/en/build-with-claude/prompt-caching"> Prompt caching </HomeJourneyLink> <HomeJourneyLink icon="wifi-high" href="https:…
intro
Claude Developer Platform · in the page
intro
…----------------------------------- | | **What it is** | Direct model prompting access | Pre-built, configurable agent harness that runs in managed infrastructure | | **Best for** | Cu…
access-transparency
Claude Developer Platform · in the page
manage-claude/access-transparency
…ransparency covers * **Covered content:** Access Transparency covers prompt and response content sent through the Claude Messages API or Claude Code sessions. The [API and data retention](https://pla…
api-and-data-retention
Claude Developer Platform · in the page
manage-claude/api-and-data-retention
…t storage needs. Where a feature does not require storage of customer prompts or responses, it might be eligible for ZDR. Where a feature necessarily requires storage, Anthropic designs for the smalle…
claude-tag-api
Claude Developer Platform · in the page
manage-claude/claude-tag-api
…led` | `slackbot_version` | | `instructions` | `system_prompt_addendum` | | `model` | `default_model` | | `environment_id` | `default_environment_id` | | `guest_policy…
cmek-data-retention
Claude Developer Platform · in the page
manage-claude/cmek-data-retention
…data, and under ZDR on Claude Platform, Anthropic doesn’t store your prompts or responses. So you can attach a key only to a workspace with **Standard data retention** (30 days). After you attach a…
compliance-api
Claude Developer Platform · in the page
manage-claude/compliance-api
…xisting Compliance Access Key. OpenTelemetry logging can also capture prompts and responses, but Anthropic recommends the Compliance API for retrieving the content of Cowork and Claude Code sessions.…
compliance-faq
Claude Developer Platform · in the page
manage-claude/compliance-faq
…r. </Accordion> <Accordion title="Does the Activity Feed include prompt or message content?"> No. The Activity Feed records who did what and when (authentication, chat creation, file uploads,…
before_id is the first_id from a previous response
Claude Developer Platform · in the page
manage-claude/compliance-integration-patterns
…rce events organization-wide. The Compliance API does not include: * Prompt text or model responses from Claude Console, or from Claude API workloads authenticated with an API key. * On-device activi…
compliance-sessions
Claude Developer Platform · in the page
manage-claude/compliance-sessions
…ngle conversation with Claude; its transcript is the sequence of user prompts, assistant responses, and tool calls and results in that conversation. The endpoints support eDiscovery (electronic discov…
data-residency
Claude Developer Platform · in the page
manage-claude/data-residency
…laude Haiku 5.5, the multiplier also applies to the higher prices for prompts over 100,000 tokens (see [Long context pricing](https://platform.claude.com/docs/en/about-claude/pricing#long-context-pric…
inference-hooks
Claude Developer Platform · in the page
manage-claude/inference-hooks
…docs/en/manage-claude/inference-hooks description: Send each governed prompt to your organization's AI security server for an allow or deny verdict before inference proceeds. --- <Note> Inference h…
inference-hooks-configuration
Claude Developer Platform · in the page
manage-claude/inference-hooks-configuration
…the Owner and Primary owner roles hold. </Note> Inference hooks send prompts from your organization to an AI security server you choose, and hold each request for an allow or deny verdict before Clau…
inference-hooks-endpoint
Claude Developer Platform · in the page
manage-claude/inference-hooks-endpoint
…re are two hook events, told apart by the top-level `type` field. The prompt frame is sent once for each governed inference request, before inference starts. The tool call frame is sent when a model r…
opentelemetry
Claude Developer Platform · in the page
manage-claude/opentelemetry
…SDK client has a content mode, which sets whether spans include model prompts and responses. Set it when you [add a destination](https://platform.claude.com/docs/en/manage-claude/opentelemetry/api#add…
api
Claude Developer Platform · in the page
manage-claude/opentelemetry/api
…| | Spans have no prompts or responses, but the destination is set to **Full content** | Your organization might have a HIPAA, FERPA, or K-12 data-h…
sdk
Claude Developer Platform · in the page
manage-claude/opentelemetry/sdk
…C_OPEN_TELEMETRY_TRACES_CONTENT_MODE=content` | Include prompts and responses in spans. See [Content modes](https://platform.claude.com/docs/en/manage-claude/opentelemetry#choose-a-conte…
plugins-api
Claude Developer Platform · in the page
manage-claude/plugins-api
…for it. | | Command | A saved prompt a member runs by typing `/` followed by the command’s name. | | Agent | A helper assistan…
First request
Claude Developer Platform · in the page
manage-claude/usage-cost-api
…m/docs/en/api/rate-limits) optimization:** Optimize features such as [prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) or specific prompts to use your allocated ca…
workspaces
Claude Developer Platform · in the page
manage-claude/workspaces
…laude.com/settings/workspaces) page in the Claude Console. <Note> [Prompt caches](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) are also isolated by workspace on the Claude…
agent-setup
Claude Developer Platform · in the page
managed-agents/agent-setup
…n that defines persona and capabilities. It bundles the model, system prompt, tools, MCP servers, and skills that shape how Claude behaves during a session. Create the agent once as a reusable resour…