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.

choosing-an-environment Claude Developer Platform · in the page managed-agents/choosing-an-environment …ticate with Google Cloud credentials, not an environment key, and you write your own, because the pre-built workers in the `ant` CLI and the Python, TypeScript, and Go SDKs don't work there. See [Feat… DCF Model Rubric Claude Developer Platform · in the page managed-agents/define-outcomes ….xlsx file with clearly labeled sheets """ Path("/tmp/rubric.md").write_text(RUBRIC) rubric = client.files.upload(file=Path("/tmp/rubric.md")) print(f"Uploaded rubric: {rubric.id}") ```… dreams Claude Developer Platform · in the page managed-agents/dreams …ps://claude.com/form/claude-managed-agents) to try it. </Tip> Agents write to their [memory stores](https://platform.claude.com/docs/en/managed-agents/memory) as they work, but these writes are local… environments Claude Developer Platform · in the page managed-agents/environments …AllowPackageManagers = true, }, }, }); Console.WriteLine($"Environment ID: {environment.ID}"); ``` ```go Go environment, err := client.Beta.Environments.New(ctx, anthropi… event-deltas Claude Developer Platform · in the page managed-agents/event-deltas …[ new BetaManagedAgentsTextBlock { Text = "Write a haiku about event streams." }, ], }, ], }); // Accumulate preview fragments for each (e… events-and-streaming Claude Developer Platform · in the page managed-agents/events-and-streaming …) { if (block.type === "text") { process.stdout.write(block.text); } } break; case "session.status_idle": break events; case "sessio… files Claude Developer Platform · in the page managed-agents/files …file = await client.Files.Upload(new() { File = stream }); Console.WriteLine($"File ID: {file.ID}"); ``` ```go Go csvFile, err := os.Open("data.csv") if err != nil { panic(err) } de… github Claude Developer Platform · in the page managed-agents/github …repoResourceId = (await listed.Paginate().FirstAsync()).ID; Console.WriteLine(repoResourceId); // "sesrsc_01ABC..." // Rotate the authorization token await client.Beta.Sessions.Resources.Update… memory Claude Developer Platform · in the page managed-agents/memory …nted as a directory inside the session's sandbox. The agent reads and writes it with the same file tools it uses for the rest of the filesystem, and a note describing each mount is automatically added… migration Claude Developer Platform · in the page managed-agents/migration …dAgentsTextBlock textBlock ? textBlock.Text : "")); Console.WriteLine(text); } else if (streamEvent.Value is BetaManagedAgentsAgentCustomToolUseEvent toolUse) { v… multiagent-orchestration Claude Developer Platform · in the page managed-agents/multiagent-orchestration …and reads what each subagent reports. With **dynamic workflows**, it writes a workflow: a program that runs many agents in the background and combines their results. It can also consult an **advisor*… onboarding Claude Developer Platform · in the page managed-agents/onboarding …an agent definition: * **Model and system prompt:** Pick a model and write the system prompt in a full-width editor. * **MCP servers:** Add remote MCP servers by URL and authenticate your agent to ta… overview Claude Developer Platform · in the page managed-agents/overview …ash:** Run shell commands in the sandbox * **File operations:** Read, write, edit, glob, and grep files in the sandbox * **Web search and fetch:** Search the web and retrieve content from URLs, option… permission-policies Claude Developer Platform · in the page managed-agents/permission-policies …ted_permission` is `"allow"` and as `always_ask` when it is `"ask"`. Write your client to tolerate an `evaluation.type` or `reason_code` it does not recognize. `agent.custom_tool_use` events carry ne… quickstart Claude Developer Platform · in the page managed-agents/quickstart …opus-5-5", "system": "You are a helpful coding assistant. Write clean, well-documented code.", "tools": [ {"type": "agent_toolset_20260401"} ]… scheduled-deployments Claude Developer Platform · in the page managed-agents/scheduled-deployments …unt = "2000", Currency = BetaCurrency.Usd }, }, }); Console.WriteLine(updatedDeployment.Budget?.MaxListCost.Amount); // 2000 ``` ```go Go updatedDeployment, err := client.Beta.Deploy… secure-deployment Claude Developer Platform · in the page managed-agents/secure-deployment …ool | `auto` on `bash`, `write`, `edit`, `web_fetch`, and MCP tools that only read data. `always_ask` instead on a tool if you cannot undo its changes outs… spawn.sh: called once per claimed work item Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes …Tool execution stays on your host: the filesystem the agent reads and writes, the processes it spawns, and the network it can reach are all under your control. Tool inputs and outputs still flow to An… self-hosted-sandboxes-custom-tools Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-custom-tools …with ( streamable_http_client(MCP_SERVER_URL) as (read, write, _), ClientSession(read, write) as mcp_session, AsyncAnthropic() as client, ):… self-hosted-sandboxes-memory Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-memory …sole work as they do for cloud sessions. The agent's memory reads and writes appear in the [event stream](https://platform.claude.com/docs/en/managed-agents/events-and-streaming) as ordinary tool even… self-hosted-sandboxes-operations Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-operations …await client.Beta.Environments.Work.Stats(environmentId); Console.WriteLine($"depth={stats.Depth} pending={stats.Pending}"); ``` ```go Go package main import ( "context" "fmt" "… self-hosted-sandboxes-reference Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-reference …r` | Directory where skills are downloaded and tools read and write files. Defaults to `.` (the current directory).… self-hosted-sandboxes-security Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-security …is protected from upload, not from local modification. The worker's `write` and `edit` tools refuse to write under its directory, nothing there syncs back, and the memory store endpoints reject write… self-hosted-sandboxes-workers Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-workers …shutdown context.Context ) func handle(w http.ResponseWriter, r *http.Request) { body, err := io.ReadAll(r.Body) if err != nil { http.Error(w, "bad request", http… session-operations Claude Developer Platform · in the page managed-agents/session-operations …etrieved = await client.Beta.Sessions.Retrieve(session.ID); Console.WriteLine($"Status: {retrieved.Status.Raw()}"); ``` ```go Go retrieved, err := client.Beta.Sessions.Get(ctx, session.ID, an… session-threads Claude Developer Platform · in the page managed-agents/session-threads …ssionThread.Agent.Json.GetProperty("type").GetString(); Console.WriteLine($"[{label}] {sessionThread.Status.Raw()}"); } ``` ```go Go threads := client.Beta.Sessions.Threads.ListAutoPagi… sessions Claude Developer Platform · in the page managed-agents/sessions …xtBlock(out var textBlock)) { Console.WriteLine($"Seeded event: {textBlock.Text}"); } } } } ``` ```go Go seededSession, err := cl… skills Claude Developer Platform · in the page managed-agents/skills …}; var skill = await client.Skills.Create(parameters); Console.WriteLine($"Created skill: {skill.ID}"); Console.WriteLine($"Latest version: {skill.LatestVersionID}"); ``` ```go Go pack… tools Claude Developer Platform · in the page managed-agents/tools …d` | Read a file from the sandbox filesystem | | Write | `write` | Write a file to the sandbox filesystem | | Edit | `edit` | Perform string… tools-web-restrictions Claude Developer Platform · in the page managed-agents/tools-web-restrictions …}, ], }); JsonSerializerOptions jsonOptions = new() { WriteIndented = true }; foreach (var tool in agent.Tools) { if (tool.TryPickBetaManagedAgentsAgentToolset20260401(out va… vaults Claude Developer Platform · in the page managed-agents/vaults …ing, string> { ["external_user_id"] = "usr_abc123" }, }); Console.WriteLine(vault.ID); // "vlt_01ABC..." ``` ```go Go vault, err := client.Beta.Vaults.New(ctx, anthropic.BetaVaultNewParams{… webhooks Claude Developer Platform · in the page managed-agents/webhooks …a.TryPickSessionStatusIdled(out var idled)) { Console.WriteLine($"session idled: {idled.ID}"); } // handle other event types return Results.Ok(); }); ``` ```g… workflow-runs Claude Developer Platform · in the page managed-agents/workflow-runs …aged-agents-2026-04-01 --- A **workflow** is a program that an agent writes to run many agents and combine what they return. A **workflow run** is the execution of one workflow. **[Dynamic workflows]… Or, for Claude Mythos 5.1, which offers the same capabilities to verified organizations: Claude Developer Platform · in the page models/fable-5-1/migration-guide …var message = await client.Messages.Create(parameters); Console.WriteLine(message); ``` ```go Go client := anthropic.NewClient() response, err := client.Messages.New(contex… overview Claude Developer Platform · in the page models/fable-5-1/overview …| $50 / MTok | | [5m cache write](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) | $12.50 / MTok | | [1h cache writ… whats-new-fable-5-1 Claude Developer Platform · in the page models/fable-5-1/whats-new-fable-5-1 …r these models, and a forced tool call would skip it. The model would write its working-out into the tool arguments instead, which lowers argument quality. For schema-valid JSON, keep `tool_choice: {"… overview Claude Developer Platform · in the page models/fable-5/overview …| $50 / MTok | | [5m cache write](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) | $12.50 / MTok | | [1h cache writ… overview Claude Developer Platform · in the page models/haiku-4-5/overview …| $5 / MTok | | [5m cache write](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) | $1.25 / MTok | | [1h cache writ… overview Claude Developer Platform · in the page models/haiku-5-5/overview …tokens; $2.50 / MTok for prompts over 100,000 tokens | | [5m cache write](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) | $0.125 / MTok for prompts up to 100,000 tokens; $0.… overview Claude Developer Platform · in the page models/mythos-5-1/overview …| $50 / MTok | | [5m cache write](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) | $12.50 / MTok | | [1h cache writ… overview Claude Developer Platform · in the page models/mythos-5/overview …| $50 / MTok | | [5m cache write](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) | $12.50 / MTok | | [1h cache writ… overview Claude Developer Platform · in the page models/opus-4-5/overview …| $25 / MTok | | [5m cache write](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) | $6.25 / MTok | | [1h cache writ… overview Claude Developer Platform · in the page models/opus-4-6/overview …| $25 / MTok | | [5m cache write](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) | $6.25 / MTok | | [1h cache writ… overview Claude Developer Platform · in the page models/opus-4-7/overview …| $25 / MTok | | [5m cache write](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) | $6.25 / MTok | | [1h cache writ… overview Claude Developer Platform · in the page models/opus-4-8/overview …| $25 / MTok | | [5m cache write](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) | $6.25 / MTok | | [1h cache writ… migration-guide Claude Developer Platform · in the page models/opus-5-5/migration-guide …var message = await client.Messages.Create(parameters); Console.WriteLine(message); ``` ```go Go client := anthropic.NewClient() response, err := client.Messages.New(context.TODO(), an… overview Claude Developer Platform · in the page models/opus-5-5/overview …| $20 / MTok | | [5m cache write](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) | $5 / MTok | | [1h cache writ… whats-new-opus-5-5 Claude Developer Platform · in the page models/opus-5-5/whats-new-opus-5-5 …tool calls comes back in thinking blocks.** The short notes the model writes between tool calls arrive as [progress-update `thinking` blocks](https://platform.claude.com/docs/en/build-with-claude/thin… overview Claude Developer Platform · in the page models/opus-5/overview …| $25 / MTok | | [5m cache write](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) | $6.25 / MTok | | [1h cache writ… Models overview Claude Developer Platform · in the page models/overview …, 5% on Claude Opus 5.5 and Claude Sonnet 5.5). See Pricing for cache writes, long-context, and per-platform pricing. * **Claude API ID:** Every Claude model ID is a pinned snapshot, including the dat…
Feedback