Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

529 pages for wait.

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

Or, for the model with the same capabilities and no access approval requirement: Claude Developer Platform · in the page about-claude/models/migration-guide …ntent": "..."}], ) ``` ```typescript TypeScript await client.messages.create({ model: "claude-mythos-preview", max_tokens: 16000, thinking: { type: "enabled",… optimizing-for-cost-and-intelligence Claude Developer Platform · in the page about-claude/models/optimizing-for-cost-and-intelligence …s/en/build-with-claude/batch-processing) at 50% off for work that can wait up to 24 hours, and [workspace spend limits](https://platform.claude.com/docs/en/api/rate-limits#setting-lower-limits-for-wor… pricing Claude Developer Platform · in the page about-claude/pricing …rues only while the session's status is `running`. Time spent `idle` (waiting for your next message or a tool confirmation), `rescheduling`, or `terminated` does not count toward runtime. <Note> Se… commerce-agents Claude Developer Platform · in the page about-claude/use-case-guides/commerce-agents …nd protected regulated fees | | Entertainment | Timed holds, waitlists, transfers, a venue map, and all-in fee disclosures | Event pacing, hold releases that add real capacity, and fe… content-moderation Claude Developer Platform · in the page about-claude/use-case-guides/content-moderation …nd the request to Claude for content moderation const response = await client.messages.create({ model: "claude-haiku-4-5-20251001", // Using the Haiku model for lower costs max_tokens:… customer-support-chat Claude Developer Platform · in the page about-claude/use-case-guides/customer-support-chat …role: "user", content: userInput }); const responseMessage = await this.generateMessage(this.messages, 2048); const lastBlock = responseMessage.content.at(-1); if (lastBlock?.type… legal-summarization Claude Developer Platform · in the page about-claude/use-case-guides/legal-summarization …const parser = new PDFParse({ data: pdfData }); const result = await parser.getText(); await parser.destroy(); let text = result.pages.map((page) => page.text).join("\n"); // Remove… ticket-routing Claude Developer Platform · in the page about-claude/use-case-guides/ticket-routing …ompt to the API to classify the support request. const message = await client.messages.create({ model: DEFAULT_MODEL, max_tokens: 2048, output_config: { effort: "low" }, me… quickstart Claude Developer Platform · in the page agents-and-tools/agent-skills/quickstart …cript TypeScript // List Anthropic-managed Skills const skills = await client.skills.list({ source: "anthropic" }); for (const skill of skills.data) { console.log(`${skill.id}: ${skill.disp… mcp-connector Claude Developer Platform · in the page agents-and-tools/mcp-connector …TypeScript const anthropic = new Anthropic(); const response = await anthropic.beta.messages.create({ model: "claude-opus-5-5", max_tokens: 1000, messages: [ { role: "u… overview Claude Developer Platform · in the page agents-and-tools/mcp-tunnels/overview …TypeScript const anthropic = new Anthropic(); const response = await anthropic.beta.messages.create({ model: "claude-opus-5-5", max_tokens: 1000, messages: [ { role: "u… reference Claude Developer Platform · in the page agents-and-tools/mcp-tunnels/reference …| | `shutdown_timeout` | How long to wait for in-flight requests during graceful shutdown.… advisor-tool Claude Developer Platform · in the page agents-and-tools/tool-use/advisor-tool …ipt TypeScript const client = new Anthropic(); const response = await client.beta.messages.create({ model: "claude-sonnet-5", max_tokens: 4096, betas: ["advisor-tool-2026-03-01"],… bash-tool Claude Developer Platform · in the page agents-and-tools/tool-use/bash-tool …ipt TypeScript const client = new Anthropic(); const response = await client.messages.create({ model: "claude-opus-5-5", max_tokens: 1024, tools: [{ type: "bash_20250124", name: "bash… browser-use-sdk Claude Developer Platform · in the page agents-and-tools/tool-use/browser-use-sdk …tent: "Open example.com and tell me its heading." }] }); for await (const message of runner) { console.log(message); } } finally { await browser.close(); } ``` </CodeGroup>… browser-use-tool Claude Developer Platform · in the page agents-and-tools/tool-use/browser-use-tool …ipt TypeScript const client = new Anthropic(); const response = await client.messages.create({ model: "claude-opus-5-5", max_tokens: 2048, tools: [{ type: "browser_toolset_20260801" }… build-a-tool-using-agent Claude Developer Platform · in the page agents-and-tools/tool-use/build-a-tool-using-agent …ol based on the request and the tool description. const response = await client.messages.create({ model: "claude-opus-5-5", max_tokens: 1024, tools, tool_choice: { type: "auto", disa… code-execution-tool Claude Developer Platform · in the page agents-and-tools/tool-use/code-execution-tool …ipt TypeScript const client = new Anthropic(); const response = await client.messages.create({ model: "claude-opus-5-5", max_tokens: 4096, messages: [ { role: "user",… computer-use-tool Claude Developer Platform · in the page agents-and-tools/tool-use/computer-use-tool …ipt TypeScript const client = new Anthropic(); const response = await client.messages.create({ model: "claude-opus-5-5", max_tokens: 1024, tools: [ { type: "computer_too… define-tools Claude Developer Platform · in the page agents-and-tools/tool-use/define-tools …ipt TypeScript const client = new Anthropic(); const response = await client.messages.create({ model: "claude-opus-5-5", max_tokens: 1024, tools: [ { name: "get_weather"… fine-grained-tool-streaming Claude Developer Platform · in the page agents-and-tools/tool-use/fine-grained-tool-streaming …=> { process.stdout.write(partialJson); }); const message = await stream.finalMessage(); console.log(); for (const block of message.content) { if (block.type === "tool_use") { c… memory-tool Claude Developer Platform · in the page agents-and-tools/tool-use/memory-tool …t TypeScript const anthropic = new Anthropic(); const message = await anthropic.messages.create({ model: "claude-opus-5-5", max_tokens: 2048, messages: [ { role: "user",… overview Claude Developer Platform · in the page agents-and-tools/tool-use/overview …ript TypeScript const client = new Anthropic(); const response = await client.messages.create({ model: "claude-opus-5-5", max_tokens: 1024, tools: [{ type: "web_search_20260209", name:… parallel-tool-use Claude Developer Platform · in the page agents-and-tools/tool-use/parallel-tool-use …console.log("Requesting parallel tool calls..."); const response = await client.messages.create({ model: "claude-opus-5-5", max_tokens: 1024, messages: [ { role: "user",… Process results programmatically Claude Developer Platform · in the page agents-and-tools/tool-use/programmatic-tool-calling …ipt TypeScript const client = new Anthropic(); const response = await client.messages.create({ model: "claude-opus-5-5", max_tokens: 4096, messages: [ { role: "user",… server-tools Claude Developer Platform · in the page agents-and-tools/tool-use/server-tools …nthropic(); // Initial request with web search const response = await client.messages.create({ model: "claude-opus-5-5", max_tokens: 1024, messages: [ { role: "user",… strict-tool-use Claude Developer Platform · in the page agents-and-tools/tool-use/strict-tool-use …apiKey: process.env.ANTHROPIC_API_KEY }); const response = await client.messages.create({ model: "claude-opus-5-5", max_tokens: 1024, messages: [ { role: "user",… text-editor-tool Claude Developer Platform · in the page agents-and-tools/tool-use/text-editor-tool …TypeScript const anthropic = new Anthropic(); const response = await anthropic.messages.create({ model: "claude-opus-5-5", max_tokens: 1024, tools: [ { type: "text_edit… Log at info level Claude Developer Platform · in the page agents-and-tools/tool-use/tool-runner …C", condition: "Sunny" }); } }); const finalMessage = await client.beta.messages.toolRunner({ model: "claude-opus-5-5", max_tokens: 1024, tools: [getWeatherTool],… tool-search-tool Claude Developer Platform · in the page agents-and-tools/tool-use/tool-search-tool …ipt TypeScript const client = new Anthropic(); const response = await client.messages.create({ model: "claude-opus-5-5", max_tokens: 2048, messages: [ { role: "user",… web-fetch-tool Claude Developer Platform · in the page agents-and-tools/tool-use/web-fetch-tool …ipt TypeScript const client = new Anthropic(); const response = await client.messages.create({ model: "claude-opus-5-5", max_tokens: 4096, messages: [ { role: "user",… web-search-tool Claude Developer Platform · in the page agents-and-tools/tool-use/web-search-tool …ipt TypeScript const client = new Anthropic(); const response = await client.messages.create({ model: "claude-opus-5-5", max_tokens: 4096, messages: [ { role: "user",… Beta Claude Developer Platform · in the page api/beta …s false is withheld from the served schema. - `wait: optional BetaBrowserWaitConfig or null` `wait`'s config overrides. - `defe… beta-headers Claude Developer Platform · in the page api/beta-headers …pescript TypeScript const client = new Anthropic(); const msg = await client.beta.messages.create({ model: "claude-opus-5-5", max_tokens: 1024, messages: [{ role: "user", content: "He… Agents Claude Developer Platform · in the page api/beta/agents …n `agent.custom_tool_use` event is emitted and the session goes idle, waiting for the client to provide the result via a `user.custom_tool_result` event. - `type: "custom"` - `description: s… Create Agent Claude Developer Platform · in the page api/beta/agents/create …n `agent.custom_tool_use` event is emitted and the session goes idle, waiting for the client to provide the result via a `user.custom_tool_result` event. - `type: "custom"` - `description: s… Update Agent Claude Developer Platform · in the page api/beta/agents/update …n `agent.custom_tool_use` event is emitted and the session goes idle, waiting for the client to provide the result via a `user.custom_tool_result` event. - `type: "custom"` - `description: s… Dreams Claude Developer Platform · in the page api/beta/dreams …e) for what each status means. - `"pending"` The dream is waiting to start and hasn't read its inputs yet. `outputs` is empty and every `usage` count is zero. - `"running"`… Archive a Dream Claude Developer Platform · in the page api/beta/dreams/archive …e) for what each status means. - `"pending"` The dream is waiting to start and hasn't read its inputs yet. `outputs` is empty and every `usage` count is zero. - `"running"`… Cancel a Dream Claude Developer Platform · in the page api/beta/dreams/cancel …e) for what each status means. - `"pending"` The dream is waiting to start and hasn't read its inputs yet. `outputs` is empty and every `usage` count is zero. - `"running"`… Create a Dream Claude Developer Platform · in the page api/beta/dreams/create …e) for what each status means. - `"pending"` The dream is waiting to start and hasn't read its inputs yet. `outputs` is empty and every `usage` count is zero. - `"running"`… List Dreams Claude Developer Platform · in the page api/beta/dreams/list …to return dreams of every status. - `"pending"` The dream is waiting to start and hasn't read its inputs yet. `outputs` is empty and every `usage` count is zero. - `"running"` Th… Get a Dream Claude Developer Platform · in the page api/beta/dreams/retrieve …e) for what each status means. - `"pending"` The dream is waiting to start and hasn't read its inputs yet. `outputs` is empty and every `usage` count is zero. - `"running"`… Environments Claude Developer Platform · in the page api/beta/environments …#### Query parameters - `block_ms: optional number` How long to wait for work to arrive before returning. Must be 1-999 in milliseconds. Defaults to non-blocking (returns immediately if no work… Work Claude Developer Platform · in the page api/beta/environments/work …` ### Query parameters - `block_ms: optional number` How long to wait for work to arrive before returning. Must be 1-999 in milliseconds. Defaults to non-blocking (returns immediately if no work… Poll for Work Claude Developer Platform · in the page api/beta/environments/work/poll …g` ## Query parameters - `block_ms: optional number` How long to wait for work to arrive before returning. Must be 1-999 in milliseconds. Defaults to non-blocking (returns immediately if no work… Get Queue Statistics Claude Developer Platform · in the page api/beta/environments/work/stats …ault: work_queue_stats - `depth: number` Number of work items waiting to be picked up (lag from consumer group) - `oldest_queued_at: string or null` RFC 3339 timestamp of oldest item i… Messages Claude Developer Platform · in the page api/beta/messages …s false is withheld from the served schema. - `wait: optional BetaBrowserWaitConfig or null` `wait`'s config overrides. - `defe… Batches Claude Developer Platform · in the page api/beta/messages/batches …lse is withheld from the served schema. - `wait: optional BetaBrowserWaitConfig or null` `wait`'s config overrides.… Create a Message Batch Claude Developer Platform · in the page api/beta/messages/batches/create …lse is withheld from the served schema. - `wait: optional BetaBrowserWaitConfig or null` `wait`'s config overrides.…
Feedback