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

773 pages for write.

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 models/sonnet-4-5/overview …| $15 / MTok | | [5m cache write](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) | $3.75 / MTok | | [1h cache writ… overview Claude Developer Platform · in the page models/sonnet-4-6/overview …| $15 / MTok | | [5m cache write](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) | $3.75 / MTok | | [1h cache writ… migration-guide Claude Developer Platform · in the page models/sonnet-5-5/migration-guide …var message = await client.Messages.Create(parameters); Console.WriteLine($"Stop reason: {message.StopReason?.Raw()}"); foreach (var block in message.Content) { if (block.TryPickText(o… overview Claude Developer Platform · in the page models/sonnet-5-5/overview …| $10 / MTok | | [5m cache write](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) | $2.50 / MTok | | [1h cache writ… whats-new-sonnet-5-5 Claude Developer Platform · in the page models/sonnet-5-5/whats-new-sonnet-5-5 …de.com/docs/en/build-with-claude/thinking#progress-updates) the model writes between tool calls still come back as `thinking` blocks with their summary text. Pass those blocks back unchanged with the… overview Claude Developer Platform · in the page models/sonnet-5/overview …| $10 / MTok | | [5m cache write](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) | $2.50 / MTok | | [1h cache writ… overview Claude Developer Platform · in the page release-notes/overview …h many pieces, such as reviewing hundreds of documents, the agent can write a workflow. A workflow is a program that runs many agents in phases and combines their results. The server runs it in the ba… claude-fable-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-fable-5 …relevant life-saving or life-preserving information. Claude does not write, explain, or work on malicious code (malware, vulnerability exploits, spoof websites, ransomware, viruses, and so on) even w… claude-fable-5-1 Claude Developer Platform · in the page release-notes/system-prompts/claude-fable-5-1 …s dancesafe.org, tripsit.me, and psychonautwiki.org. Claude does not write, explain, or work on malicious code (malware, vulnerability exploits, spoof websites, ransomware, viruses, and so on) even w… claude-haiku-3-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-haiku-3-5 …lists unless the human explicitly asks for a list and should instead write in prose and paragraphs without any lists, i.e. its prose should never include bullets or numbered lists anywhere. Inside pr… claude-haiku-4-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-haiku-4-5 …information in an acute situation could cost a life. Claude does not write, explain, or work on malicious code (malware, vulnerability exploits, spoof websites, ransomware, viruses, and so on) even w… claude-haiku-5-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-haiku-5-5 …s dancesafe.org, tripsit.me, and psychonautwiki.org. Claude does not write, explain, or work on malicious code (malware, vulnerability exploits, spoof websites, ransomware, viruses, and so on) even w… claude-opus-4 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4 …used to make chemical or biological or nuclear weapons, and does not write malicious code, including malware, vulnerability exploits, spoof websites, ransomware, viruses, election material, and so on… claude-opus-4-1 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-1 …used to make chemical or biological or nuclear weapons, and does not write malicious code, including malware, vulnerability exploits, spoof websites, ransomware, viruses, election material, and so on… claude-opus-4-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-5 …d to make chemical or biological or nuclear weapons. Claude does not write or explain or work on malicious code, including malware, vulnerability exploits, spoof websites, ransomware, viruses, and so… claude-opus-4-6 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-6 …ld decline regardless of the framing of the request. Claude does not write or explain or work on malicious code, including malware, vulnerability exploits, spoof websites, ransomware, viruses, and so… claude-opus-4-7 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-7 …ld decline regardless of the framing of the request. Claude does not write or explain or work on malicious code, including malware, vulnerability exploits, spoof websites, ransomware, viruses, and so… claude-opus-4-8 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-8 …fusal should not be reversed by an emotional appeal. Claude does not write, explain, or work on malicious code (malware, vulnerability exploits, spoof websites, ransomware, viruses, and so on) even w… claude-opus-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-5 …fusal should not be reversed by an emotional appeal. Claude does not write, explain, or work on malicious code (malware, vulnerability exploits, spoof websites, ransomware, viruses, and so on) even w… claude-opus-5-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-5-5 …s dancesafe.org, tripsit.me, and psychonautwiki.org. Claude does not write, explain, or work on malicious code (malware, vulnerability exploits, spoof websites, ransomware, viruses, and so on) even w… claude-sonnet-3-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-sonnet-3-5 …d all sorts of other tasks. If Claude is shown a familiar puzzle, it writes out the puzzle's constraints explicitly stated in the message, quoting the human's message to support the existence of each… claude-sonnet-3-7 Claude Developer Platform · in the page release-notes/system-prompts/claude-sonnet-3-7 …ven if the person uses terminology Claude would not use. If asked to write poetry, Claude avoids using hackneyed imagery or metaphors or predictable rhyming schemes. If Claude is asked to count word… claude-sonnet-4 Claude Developer Platform · in the page release-notes/system-prompts/claude-sonnet-4 …used to make chemical or biological or nuclear weapons, and does not write malicious code, including malware, vulnerability exploits, spoof websites, ransomware, viruses, election material, and so on… claude-sonnet-4-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-sonnet-4-5 …d to make chemical or biological or nuclear weapons. Claude does not write or explain or work on malicious code, including malware, vulnerability exploits, spoof websites, ransomware, viruses, and so… claude-sonnet-4-6 Claude Developer Platform · in the page release-notes/system-prompts/claude-sonnet-4-6 …fusal should not be reversed by an emotional appeal. Claude does not write, explain, or work on malicious code (malware, vulnerability exploits, spoof websites, ransomware, viruses, and so on) even w… claude-sonnet-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-sonnet-5 …information in an acute situation could cost a life. Claude does not write, explain, or work on malicious code (malware, vulnerability exploits, spoof websites, ransomware, viruses, and so on) even w… claude-sonnet-5-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-sonnet-5-5 …s dancesafe.org, tripsit.me, and psychonautwiki.org. Claude does not write, explain, or work on malicious code (malware, vulnerability exploits, spoof websites, ransomware, viruses, and so on) even w… develop-tests Claude Developer Platform · in the page test-and-evaluate/develop-tests …{ correct++; } } Console.WriteLine($"Sentiment Analysis Accuracy: {100.0 * correct / tweets.Length}%"); record Tweet(string Text, string Sentiment);… handle-streaming-refusals Claude Developer Platform · in the page test-and-evaluate/strengthen-guardrails/handle-streaming-refusals …reak; } } } catch (Exception e) { Console.WriteLine($"Error: {e.Message}"); } void ResetConversation() { messages.Clear(); Console.WriteLine("Conversatio… increase-consistency Claude Developer Platform · in the page test-and-evaluate/strengthen-guardrails/increase-consistency …ntry used</kb_entry> <answer>Your response</answer> </response> Write some test questions for yourself and answer them using the knowledge base, just to make sure you understand how to use the k… reduce-latency Claude Developer Platform · in the page test-and-evaluate/strengthen-guardrails/reduce-latency …if (block.TryPickText(out var textBlock)) { Console.WriteLine(textBlock.Text); break; } } ``` ```go Go client := anthropic.NewClient() // For time-sensiti… Use Claude Code with a screen reader Claude Code CLI · in the page accessibility …## What your screen reader hears In screen reader mode, Claude Code writes flat text: * No box-drawing characters for the interface chrome * No color-only cues * No redraws of content that hasn't c… Set up Claude Code for your organization Claude Code CLI · in the page admin-setup …rovider and resist tampering because they require admin privileges to write. The Windows user registry at HKCU is writable without elevation, so treat it as a convenience default rather than an enforc… How the agent loop works Claude Code CLI · in the page agent-sdk/agent-loop …t they do | | :- | :- | :- | | **File operations** | `Read`, `Edit`, `Write` | Read, modify, and create files | | **Search** | `Glob`, `Grep` | Find files by pattern, search content with regex | | **E… Use Claude Code features in the SDK Claude Code CLI · in the page agent-sdk/claude-code-features …/memory/` | Loaded into the system prompt at session start. The agent writes new memories there with the standard `Write` and `Edit` tools rather than a dedicated memory tool, so those tools must be e… Configure your agent Claude Code CLI · in the page agent-sdk/configuration …and for which keys take effect mid-session. * **`updateSettings()`**: writes one allowlisted key to a settings file. The [`updateSettings()` reference](/docs/en/agent-sdk/typescript#updatesettings) na… Track cost and usage Claude Code CLI · in the page agent-sdk/cost-tracking …new session pays full input price. To request a 1-hour TTL on cache writes, set the [`ENABLE_PROMPT_CACHING_1H`](/docs/en/env-vars) environment variable. You can export it in your shell or container… Give Claude custom tools Claude Code CLI · in the page agent-sdk/custom-tools …ains characters such as `.` or spaces, replace them with `_` when you write `{server_name}`. These snippets reuse the `weatherServer` from the [weather tool example](#weather-tool-example) to ask Cla… Rewind file changes with checkpointing Claude Code CLI · in the page agent-sdk/file-checkpointing …state File checkpointing tracks file modifications made through the [Write](/docs/en/tools-reference.md#write-tool-behavior), [Edit](/docs/en/tools-reference.md#edit-tool-behavior), and [NotebookEdit… Intercept and control agent behavior with hooks Claude Code CLI · in the page agent-sdk/hooks …aths * **Require human approval** for sensitive actions like database writes or API calls * **Track session lifecycle** to manage state, clean up resources, or send notifications ## How hooks work *… Hosting the Agent SDK Claude Code CLI · in the page agent-sdk/hosting …claude CLI subprocess over stdio inside the container; the subprocess writes to local disk and calls api.anthropic.com over HTTPS](https://mintcdn.com/claude-code/ikqp3_70mqIahteV/images/agent-sdk/hos… Connect to external tools with MCP Claude Code CLI · in the page agent-sdk/mcp …gres database. The agent automatically discovers the database schema, writes the SQL query, and returns the results. DBHub's `execute_sql` tool runs whatever SQL the agent emits, including writes, un… Modifying system prompts Claude Code CLI · in the page agent-sdk/modifying-system-prompts …I or IDE-like coding tools where a human watches and steers the work. Write your own prompt for agents with a different surface, identity, or permission model. ## How system prompts work A system pr… Observability with OpenTelemetry Claude Code CLI · in the page agent-sdk/observability …Claude Code v2.1.179 or later. > [!NOTE] > > The `console` exporter writes telemetry to standard output, which the SDK uses > as its message channel. Do not set `console` as an exporter value when r… Agent SDK overview Claude Code CLI · in the page agent-sdk/overview …ct access to the Claude API from any of the client SDK languages. You write the tool loop yourself, or let the client SDK's beta [tool runner](https://platform.claude.com/docs/en/agents-and-tools/tool… Configure permissions Claude Code CLI · in the page agent-sdk/permissions …acceptedits). * In `plan` mode, Claude Code sends file-edit and shell-write tools to your `canUseTool` callback regardless of allow rules, so write operations can't be auto-approved while planning. *… Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …types.ToolAnnotations` with a `maxResultSizeChars` field, and you can write each hint in camelCase or snake\_case: `ToolAnnotations(readOnlyHint=True)` and `ToolAnnotations(read_only_hint=True)` are e… Quickstart Claude Code CLI · in the page agent-sdk/quickstart …permissionMode: "acceptEdits" } }; ``` With `Bash` enabled, try: `"Write unit tests for utils.py, run them, and fix any failures"` Each of these snippets sets fields on the same options object. Fo… Securely deploying AI agents Claude Code CLI · in the page agent-sdk/secure-deployment …ves (`bubblewrap` on Linux, `sandbox-exec` on macOS) to restrict read/write access to configured paths * **Network**: Removes network namespace (Linux) or uses Seatbelt profiles (macOS) to route netwo… Persist sessions to external storage Claude Code CLI · in the page agent-sdk/session-storage …atabase so other hosts can resume your sessions. By default, the SDK writes session transcripts to JSONL files under `~/.claude/projects/` on the local filesystem. A `SessionStore` adapter lets you m…
Feedback