From 97232b776f14efc36c13064d843572b12ae1e7fb Mon Sep 17 00:00:00 2001 From: "claude[bot]" <41898282+claude[bot]@users.noreply.github.com> Date: Thu, 3 Sep 2026 05:18:36 +0000 Subject: [PATCH] docs: Claude Code v2.1.259 - managed MCP servers, headless permission mode, audio C2PA, web fetch security hardening Co-Authored-By: claude-yolo[bot] --- content/.metadata.json | 1688 +- content/CHANGELOG.md | 40 + content/claude-code-manifest.json | 40 +- content/claude/cowork/changelog.md | 93 + .../deploy-desktop/windows-checklist.md | 2 +- .../security/security-and-data-handling.md | 2 +- .../third-party/claude-desktop/bootstrap.md | 2 +- .../claude-desktop/configuration-changelog.md | 42 + .../claude-desktop/configuration.md | 123 +- .../third-party/claude-desktop/gateway.md | 41 +- .../third-party/claude-desktop/import.md | 21 +- .../claude-desktop/installation.md | 2 +- .../claude/third-party/claude-desktop/mdm.md | 6 +- .../claude-desktop/network-proxy.md | 181 + .../claude-desktop/ssh-remote-sessions.md | 4 +- .../third-party/claude-desktop/telemetry.md | 24 +- content/en/agents-and-tools/mcp-connector.md | 4 +- .../agents-and-tools/tool-use/advisor-tool.md | 2 +- .../tool-use/code-execution-tool.md | 2 +- .../tool-use/web-fetch-tool.md | 6 +- content/en/api/csharp/beta.md | 18706 ++++++++-------- content/en/api/csharp/beta/agents.md | 1490 +- content/en/api/csharp/beta/agents/archive.md | 156 +- content/en/api/csharp/beta/agents/create.md | 246 +- content/en/api/csharp/beta/agents/list.md | 156 +- content/en/api/csharp/beta/agents/retrieve.md | 156 +- content/en/api/csharp/beta/agents/update.md | 246 +- content/en/api/csharp/beta/agents/versions.md | 156 +- .../api/csharp/beta/agents/versions/list.md | 156 +- content/en/api/csharp/beta/deployment_runs.md | 180 +- .../api/csharp/beta/deployment_runs/list.md | 88 +- .../csharp/beta/deployment_runs/retrieve.md | 88 +- content/en/api/csharp/beta/deployments.md | 788 +- .../en/api/csharp/beta/deployments/archive.md | 96 +- .../en/api/csharp/beta/deployments/create.md | 100 +- .../en/api/csharp/beta/deployments/list.md | 96 +- .../en/api/csharp/beta/deployments/pause.md | 96 +- .../api/csharp/beta/deployments/retrieve.md | 96 +- content/en/api/csharp/beta/deployments/run.md | 88 +- .../en/api/csharp/beta/deployments/unpause.md | 96 +- .../en/api/csharp/beta/deployments/update.md | 100 +- content/en/api/csharp/beta/environments.md | 1460 +- .../api/csharp/beta/environments/archive.md | 102 +- .../en/api/csharp/beta/environments/create.md | 114 +- .../en/api/csharp/beta/environments/delete.md | 88 +- .../en/api/csharp/beta/environments/list.md | 102 +- .../api/csharp/beta/environments/retrieve.md | 102 +- .../en/api/csharp/beta/environments/update.md | 114 +- .../en/api/csharp/beta/environments/work.md | 846 +- .../api/csharp/beta/environments/work/ack.md | 102 +- .../beta/environments/work/heartbeat.md | 100 +- .../api/csharp/beta/environments/work/list.md | 102 +- .../api/csharp/beta/environments/work/poll.md | 102 +- .../csharp/beta/environments/work/retrieve.md | 102 +- .../csharp/beta/environments/work/stats.md | 90 +- .../api/csharp/beta/environments/work/stop.md | 102 +- .../csharp/beta/environments/work/update.md | 102 +- content/en/api/csharp/beta/files.md | 458 +- content/en/api/csharp/beta/files/delete.md | 88 +- content/en/api/csharp/beta/files/download.md | 88 +- content/en/api/csharp/beta/files/list.md | 92 +- .../csharp/beta/files/retrieve_metadata.md | 92 +- content/en/api/csharp/beta/files/upload.md | 92 +- content/en/api/csharp/beta/memory_stores.md | 1256 +- .../api/csharp/beta/memory_stores/archive.md | 88 +- .../api/csharp/beta/memory_stores/create.md | 88 +- .../api/csharp/beta/memory_stores/delete.md | 88 +- .../en/api/csharp/beta/memory_stores/list.md | 88 +- .../api/csharp/beta/memory_stores/memories.md | 462 +- .../beta/memory_stores/memories/create.md | 88 +- .../beta/memory_stores/memories/delete.md | 88 +- .../beta/memory_stores/memories/list.md | 88 +- .../beta/memory_stores/memories/retrieve.md | 88 +- .../beta/memory_stores/memories/update.md | 88 +- .../beta/memory_stores/memory_versions.md | 306 +- .../memory_stores/memory_versions/list.md | 96 +- .../memory_stores/memory_versions/redact.md | 96 +- .../memory_stores/memory_versions/retrieve.md | 96 +- .../api/csharp/beta/memory_stores/retrieve.md | 88 +- .../api/csharp/beta/memory_stores/update.md | 88 +- content/en/api/csharp/beta/messages.md | 9218 ++++---- .../en/api/csharp/beta/messages/batches.md | 2858 +-- .../csharp/beta/messages/batches/cancel.md | 96 +- .../csharp/beta/messages/batches/create.md | 822 +- .../csharp/beta/messages/batches/delete.md | 90 +- .../api/csharp/beta/messages/batches/list.md | 96 +- .../csharp/beta/messages/batches/results.md | 478 +- .../csharp/beta/messages/batches/retrieve.md | 96 +- .../api/csharp/beta/messages/count_tokens.md | 736 +- content/en/api/csharp/beta/messages/create.md | 1136 +- content/en/api/csharp/beta/models.md | 182 +- content/en/api/csharp/beta/models/list.md | 90 +- content/en/api/csharp/beta/models/retrieve.md | 90 +- content/en/api/csharp/beta/sessions.md | 3194 +-- .../en/api/csharp/beta/sessions/archive.md | 168 +- content/en/api/csharp/beta/sessions/create.md | 262 +- content/en/api/csharp/beta/sessions/delete.md | 88 +- content/en/api/csharp/beta/sessions/events.md | 672 +- .../api/csharp/beta/sessions/events/list.md | 180 +- .../api/csharp/beta/sessions/events/send.md | 96 +- .../api/csharp/beta/sessions/events/stream.md | 180 +- content/en/api/csharp/beta/sessions/list.md | 180 +- .../en/api/csharp/beta/sessions/resources.md | 462 +- .../api/csharp/beta/sessions/resources/add.md | 90 +- .../csharp/beta/sessions/resources/delete.md | 88 +- .../csharp/beta/sessions/resources/list.md | 92 +- .../beta/sessions/resources/retrieve.md | 92 +- .../csharp/beta/sessions/resources/update.md | 92 +- .../en/api/csharp/beta/sessions/retrieve.md | 168 +- .../en/api/csharp/beta/sessions/threads.md | 1020 +- .../csharp/beta/sessions/threads/archive.md | 164 +- .../csharp/beta/sessions/threads/events.md | 356 +- .../beta/sessions/threads/events/list.md | 176 +- .../beta/sessions/threads/events/stream.md | 180 +- .../api/csharp/beta/sessions/threads/list.md | 164 +- .../csharp/beta/sessions/threads/retrieve.md | 164 +- content/en/api/csharp/beta/sessions/update.md | 168 +- content/en/api/csharp/beta/skills.md | 852 +- content/en/api/csharp/beta/skills/create.md | 98 +- content/en/api/csharp/beta/skills/delete.md | 90 +- content/en/api/csharp/beta/skills/list.md | 98 +- content/en/api/csharp/beta/skills/retrieve.md | 98 +- content/en/api/csharp/beta/skills/versions.md | 452 +- .../api/csharp/beta/skills/versions/create.md | 90 +- .../api/csharp/beta/skills/versions/delete.md | 90 +- .../csharp/beta/skills/versions/download.md | 88 +- .../api/csharp/beta/skills/versions/list.md | 90 +- .../csharp/beta/skills/versions/retrieve.md | 90 +- content/en/api/csharp/beta/tunnels.md | 904 +- content/en/api/csharp/beta/tunnels/archive.md | 90 +- .../api/csharp/beta/tunnels/certificates.md | 362 +- .../beta/tunnels/certificates/archive.md | 90 +- .../beta/tunnels/certificates/create.md | 90 +- .../csharp/beta/tunnels/certificates/list.md | 90 +- .../beta/tunnels/certificates/retrieve.md | 90 +- content/en/api/csharp/beta/tunnels/create.md | 90 +- content/en/api/csharp/beta/tunnels/list.md | 90 +- .../en/api/csharp/beta/tunnels/retrieve.md | 90 +- .../api/csharp/beta/tunnels/reveal_token.md | 90 +- .../api/csharp/beta/tunnels/rotate_token.md | 90 +- content/en/api/csharp/beta/user_profiles.md | 512 +- .../api/csharp/beta/user_profiles/create.md | 102 +- .../user_profiles/create_enrollment_url.md | 88 +- .../en/api/csharp/beta/user_profiles/list.md | 106 +- .../api/csharp/beta/user_profiles/retrieve.md | 98 +- .../api/csharp/beta/user_profiles/update.md | 102 +- content/en/api/csharp/beta/vaults.md | 1158 +- content/en/api/csharp/beta/vaults/archive.md | 88 +- content/en/api/csharp/beta/vaults/create.md | 88 +- .../en/api/csharp/beta/vaults/credentials.md | 658 +- .../csharp/beta/vaults/credentials/archive.md | 88 +- .../csharp/beta/vaults/credentials/create.md | 88 +- .../csharp/beta/vaults/credentials/delete.md | 88 +- .../csharp/beta/vaults/credentials/list.md | 88 +- .../vaults/credentials/mcp_oauth_validate.md | 102 +- .../beta/vaults/credentials/retrieve.md | 88 +- .../csharp/beta/vaults/credentials/update.md | 88 +- content/en/api/csharp/beta/vaults/delete.md | 88 +- content/en/api/csharp/beta/vaults/list.md | 88 +- content/en/api/csharp/beta/vaults/retrieve.md | 88 +- content/en/api/csharp/beta/vaults/update.md | 88 +- content/en/api/csharp/beta/webhooks.md | 266 +- content/en/api/csharp/completions.md | 544 + content/en/api/csharp/messages.md | 6042 ++--- content/en/api/csharp/messages/batches.md | 1700 +- .../en/api/csharp/messages/batches/cancel.md | 8 +- .../en/api/csharp/messages/batches/create.md | 560 +- .../en/api/csharp/messages/batches/delete.md | 2 +- .../en/api/csharp/messages/batches/list.md | 8 +- .../en/api/csharp/messages/batches/results.md | 276 +- .../api/csharp/messages/batches/retrieve.md | 8 +- .../en/api/csharp/messages/count_tokens.md | 476 +- content/en/api/csharp/messages/create.md | 750 +- content/en/api/csharp/models.md | 182 +- content/en/api/csharp/models/list.md | 90 +- content/en/api/csharp/models/retrieve.md | 90 +- content/en/api/java/beta.md | 2328 +- content/en/api/java/beta/agents.md | 492 +- content/en/api/java/beta/agents/archive.md | 36 +- content/en/api/java/beta/agents/create.md | 56 +- content/en/api/java/beta/agents/list.md | 36 +- content/en/api/java/beta/agents/retrieve.md | 36 +- content/en/api/java/beta/agents/update.md | 56 +- content/en/api/java/beta/agents/versions.md | 36 +- .../en/api/java/beta/agents/versions/list.md | 36 +- content/en/api/java/beta/environments.md | 126 +- .../en/api/java/beta/environments/archive.md | 10 +- .../en/api/java/beta/environments/create.md | 18 +- content/en/api/java/beta/environments/list.md | 10 +- .../en/api/java/beta/environments/retrieve.md | 10 +- .../en/api/java/beta/environments/update.md | 18 +- content/en/api/java/beta/environments/work.md | 42 +- .../en/api/java/beta/environments/work/ack.md | 4 +- .../java/beta/environments/work/heartbeat.md | 2 +- .../api/java/beta/environments/work/list.md | 4 +- .../api/java/beta/environments/work/poll.md | 4 +- .../java/beta/environments/work/retrieve.md | 4 +- .../api/java/beta/environments/work/stats.md | 2 +- .../api/java/beta/environments/work/stop.md | 4 +- .../api/java/beta/environments/work/update.md | 4 +- content/en/api/java/beta/files.md | 18 +- content/en/api/java/beta/files/list.md | 4 +- .../api/java/beta/files/retrieve_metadata.md | 4 +- content/en/api/java/beta/files/upload.md | 4 +- content/en/api/java/beta/memory_stores.md | 6 +- .../api/java/beta/memory_stores/memories.md | 18 +- .../beta/memory_stores/memory_versions.md | 12 +- .../memory_stores/memory_versions/list.md | 2 +- .../memory_stores/memory_versions/redact.md | 2 +- .../memory_stores/memory_versions/retrieve.md | 2 +- content/en/api/java/beta/messages.md | 3506 +-- content/en/api/java/beta/messages/batches.md | 994 +- .../api/java/beta/messages/batches/cancel.md | 2 +- .../api/java/beta/messages/batches/create.md | 294 +- .../api/java/beta/messages/batches/delete.md | 2 +- .../en/api/java/beta/messages/batches/list.md | 2 +- .../api/java/beta/messages/batches/results.md | 172 +- .../java/beta/messages/batches/retrieve.md | 2 +- .../en/api/java/beta/messages/count_tokens.md | 256 +- content/en/api/java/beta/messages/create.md | 426 +- content/en/api/java/beta/models.md | 6 +- content/en/api/java/beta/models/list.md | 2 +- content/en/api/java/beta/models/retrieve.md | 2 +- content/en/api/java/beta/sessions.md | 636 +- content/en/api/java/beta/sessions/archive.md | 36 +- content/en/api/java/beta/sessions/create.md | 56 +- content/en/api/java/beta/sessions/events.md | 144 +- .../en/api/java/beta/sessions/events/list.md | 36 +- .../api/java/beta/sessions/events/stream.md | 36 +- content/en/api/java/beta/sessions/list.md | 36 +- content/en/api/java/beta/sessions/retrieve.md | 36 +- content/en/api/java/beta/sessions/threads.md | 252 +- .../api/java/beta/sessions/threads/archive.md | 36 +- .../api/java/beta/sessions/threads/events.md | 72 +- .../java/beta/sessions/threads/events/list.md | 36 +- .../beta/sessions/threads/events/stream.md | 36 +- .../en/api/java/beta/sessions/threads/list.md | 36 +- .../java/beta/sessions/threads/retrieve.md | 36 +- content/en/api/java/beta/sessions/update.md | 36 +- content/en/api/java/beta/skills.md | 20 +- content/en/api/java/beta/skills/create.md | 2 +- content/en/api/java/beta/skills/delete.md | 2 +- content/en/api/java/beta/skills/list.md | 2 +- content/en/api/java/beta/skills/retrieve.md | 2 +- content/en/api/java/beta/skills/versions.md | 12 +- .../api/java/beta/skills/versions/create.md | 2 +- .../api/java/beta/skills/versions/delete.md | 2 +- .../en/api/java/beta/skills/versions/list.md | 2 +- .../api/java/beta/skills/versions/retrieve.md | 2 +- content/en/api/java/beta/tunnels.md | 24 +- content/en/api/java/beta/tunnels/archive.md | 2 +- .../en/api/java/beta/tunnels/certificates.md | 10 +- .../java/beta/tunnels/certificates/archive.md | 2 +- .../java/beta/tunnels/certificates/create.md | 2 +- .../java/beta/tunnels/certificates/list.md | 2 +- .../beta/tunnels/certificates/retrieve.md | 2 +- content/en/api/java/beta/tunnels/create.md | 2 +- content/en/api/java/beta/tunnels/list.md | 2 +- content/en/api/java/beta/tunnels/retrieve.md | 2 +- .../en/api/java/beta/tunnels/reveal_token.md | 2 +- .../en/api/java/beta/tunnels/rotate_token.md | 2 +- content/en/api/java/beta/webhooks.md | 266 +- content/en/api/java/completions.md | 4 +- content/en/api/java/completions/create.md | 2 +- content/en/api/java/messages.md | 2672 +-- content/en/api/java/messages/batches.md | 718 +- .../en/api/java/messages/batches/cancel.md | 2 +- .../en/api/java/messages/batches/create.md | 218 +- .../en/api/java/messages/batches/delete.md | 2 +- content/en/api/java/messages/batches/list.md | 2 +- .../en/api/java/messages/batches/results.md | 122 +- .../en/api/java/messages/batches/retrieve.md | 2 +- content/en/api/java/messages/count_tokens.md | 200 +- content/en/api/java/messages/create.md | 316 +- content/en/api/java/models.md | 6 +- content/en/api/java/models/list.md | 2 +- content/en/api/java/models/retrieve.md | 2 +- content/en/api/php/completions.md | 544 + content/en/api/python/completions.md | 544 + content/en/api/service-tiers.md | 2 +- .../claude-in-amazon-bedrock.md | 4 +- .../claude-in-microsoft-foundry.md | 4 +- .../claude-on-amazon-bedrock-legacy.md | 4 +- .../build-with-claude/claude-on-vertex-ai.md | 8 +- .../claude-platform-on-aws.md | 4 +- content/en/build-with-claude/files.md | 2 +- .../mid-conversation-system-messages.md | 2 +- .../build-with-claude/preserved-thinking.md | 46 + .../en/build-with-claude/prompt-caching.md | 2 +- .../prompting-claude-fable-5-1.md | 28 +- .../prompting-claude-opus-4-8.md | 2 +- .../prompting-claude-sonnet-5.md | 2 +- content/en/build-with-claude/task-budgets.md | 67 +- .../en/build-with-claude/token-counting.md | 50 +- .../en/cli-sdks-libraries/cli/quickstart.md | 2 +- content/en/cli-sdks-libraries/sdks/csharp.md | 8 - content/en/cli-sdks-libraries/sdks/java.md | 4 +- .../en/cli-sdks-libraries/sdks/typescript.md | 2 +- content/en/docs/claude-code/agent-teams.md | 2 +- content/en/docs/claude-code/changelog.md | 40 + content/en/docs/claude-code/env-vars.md | 7 +- .../en/docs/claude-code/interactive-mode.md | 19 +- content/en/docs/claude-code/model-config.md | 14 +- .../en/docs/claude-code/plugins-reference.md | 34 + content/en/docs/claude-code/prompt-caching.md | 17 +- .../self-hosted-environments-deploy.md | 2 + .../self-hosted-environments-reference.md | 2 +- .../en/docs/claude-code/settings-reference.md | 4 +- content/en/docs/claude-code/sub-agents.md | 37 +- content/en/get-started.md | 4 +- content/en/intro.md | 27 +- .../en/manage-claude/access-transparency.md | 6 +- content/en/manage-claude/analytics-api.md | 6 +- .../manage-claude/api-and-data-retention.md | 2 +- content/en/manage-claude/authentication.md | 2 +- content/en/manage-claude/cmek-aws-kms.md | 2 +- .../manage-claude/compliance-activity-feed.md | 10 +- content/en/manage-claude/compliance-api.md | 11 +- .../manage-claude/compliance-content-data.md | 12 +- content/en/manage-claude/compliance-errors.md | 6 +- content/en/manage-claude/compliance-faq.md | 2 +- .../compliance-integration-patterns.md | 7 +- .../en/manage-claude/compliance-org-data.md | 16 +- .../en/manage-claude/compliance-sessions.md | 14 +- content/en/manage-claude/inference-hooks.md | 2 +- content/en/manage-claude/spend-limits-api.md | 45 +- content/en/manage-claude/user-management.md | 35 +- content/en/managed-agents/quickstart.md | 4 +- .../managed-agents/self-hosted-sandboxes.md | 4 +- content/en/models/fable-5-1/overview.md | 2 +- .../models/fable-5-1/whats-new-fable-5-1.md | 2 +- content/en/models/fable-5/overview.md | 2 +- content/en/models/haiku-4-5/overview.md | 2 +- content/en/models/mythos-5-1/overview.md | 2 +- content/en/models/mythos-5/overview.md | 2 +- content/en/models/opus-4-5/overview.md | 2 +- content/en/models/opus-4-6/overview.md | 2 +- content/en/models/opus-4-7/overview.md | 2 +- content/en/models/opus-4-8/overview.md | 2 +- content/en/models/opus-5/overview.md | 2 +- content/en/models/overview.md | 2 +- content/en/models/sonnet-4-5/overview.md | 2 +- content/en/models/sonnet-4-6/overview.md | 2 +- content/en/models/sonnet-5/overview.md | 2 +- content/en/release-notes/overview.md | 3 +- content/mcp/extensions/apps/overview.md | 4 + .../10167454-use-the-github-integration.md | 2 +- ...how-do-i-log-out-of-all-active-sessions.md | 2 +- ...-can-i-delete-my-claude-console-account.md | 4 +- ...k-settings-on-team-and-enterprise-plans.md | 2 +- ...ser-feedback-settings-on-claude-console.md | 2 +- .../10593882-share-and-unshare-chats.md | 6 +- ...ith-local-mcp-servers-on-claude-desktop.md | 2 +- content/support/11101966-use-voice-mode.md | 8 +- ...the-claude-lti-in-canvas-by-instructure.md | 2 +- ...and-memory-to-build-on-previous-context.md | 18 +- ...being-asked-to-verify-my-payment-method.md | 2 +- .../11869629-use-claude-with-android-apps.md | 2 +- ...purchase-and-manage-seats-on-team-plans.md | 10 +- ...or-team-and-seat-based-enterprise-plans.md | 10 +- ...12173-get-started-with-claude-in-chrome.md | 2 +- ...eam-plan-from-monthly-to-annual-billing.md | 4 +- ...11783-create-and-edit-files-with-claude.md | 6 +- ...port-and-export-your-memory-from-claude.md | 4 +- .../12157520-claude-code-usage-analytics.md | 2 +- .../support/12260368-use-incognito-chats.md | 2 +- .../support/12293051-use-claude-in-xcode.md | 2 +- ...age-usage-credits-for-paid-claude-plans.md | 2 +- ...6728-troubleshoot-claude-error-messages.md | 2 +- .../support/12512180-use-skills-in-claude.md | 2 +- ...d-using-the-desktop-extension-allowlist.md | 8 +- .../12618689-claude-code-on-the-web.md | 6 +- ...rprise-configuration-for-claude-desktop.md | 24 +- ...-quick-entry-with-claude-desktop-on-mac.md | 2 +- ...analytics-for-team-and-enterprise-plans.md | 38 +- ...2446-claude-in-chrome-permissions-guide.md | 4 +- .../12997503-team-plan-billing-faqs.md | 2 +- .../13132885-set-up-single-sign-on-sso.md | 18 +- ...3133195-set-up-jit-or-scim-provisioning.md | 8 +- ...1-configuring-session-security-settings.md | 6 +- .../13189465-log-in-to-your-claude-account.md | 2 +- .../13325567-account-management-faqs.md | 2 +- ...13345190-get-started-with-claude-cowork.md | 6 +- ...mizing-your-console-appearance-settings.md | 2 +- ...13371040-log-in-to-your-console-account.md | 2 +- ...se-and-manage-seats-on-enterprise-plans.md | 2 +- ...13641943-visual-and-interactive-content.md | 6 +- .../support/13756069-public-sector-faqs.md | 2 +- ...-group-spend-limits-on-enterprise-plans.md | 4 + ...33-manage-plugins-for-your-organization.md | 2 +- .../support/13837440-use-plugins-in-claude.md | 4 +- ...hedule-recurring-tasks-in-claude-cowork.md | 2 +- content/support/13917894-okta-sso-setup.md | 2 + ...manage-custom-roles-on-enterprise-plans.md | 4 +- ...gn-tasks-from-anywhere-in-claude-cowork.md | 4 +- ...ur-tasks-with-projects-in-claude-cowork.md | 12 +- ...-let-claude-use-your-computer-in-cowork.md | 26 +- ...3555-set-up-code-review-for-claude-code.md | 2 +- ...sync-works-for-enterprise-organizations.md | 6 +- content/support/14503613-sso-login.md | 6 +- ...43-set-up-scim-in-claude-for-government.md | 6 +- content/support/14503775-mcp-web-search.md | 2 +- ...-up-your-design-system-in-claude-design.md | 2 +- ...min-guide-for-team-and-enterprise-plans.md | 2 +- ...14604416-get-started-with-claude-design.md | 2 +- ...aim-and-migrate-accounts-on-your-domain.md | 16 +- ...391-claude-enterprise-consumption-guide.md | 4 + ...-conversation-with-fable-5-or-fable-5-1.md | 103 + ...424964-claude-fable-models-on-your-plan.md | 77 + ...claude-cowork-on-web-desktop-and-mobile.md | 31 +- ...1-get-started-with-1password-for-claude.md | 2 +- ...rstanding-your-pro-or-max-plan-invoices.md | 2 +- ...-blocks-to-protect-against-distillation.md | 49 + ...program-to-workspaces-in-claude-console.md | 12 +- .../8114491-get-started-with-claude.md | 2 +- ...8230524-delete-or-rename-a-conversation.md | 16 +- .../support/8325618-paid-plan-billing-faqs.md | 2 +- ...27-customizing-your-appearance-settings.md | 6 +- ...nt-to-a-team-or-enterprise-organization.md | 4 +- ...hat-are-artifacts-and-how-do-i-use-them.md | 4 +- ...77-how-can-i-create-and-manage-projects.md | 8 +- ...9-manage-project-visibility-and-sharing.md | 10 +- ...d-usage-reporting-in-the-claude-console.md | 8 +- .../9547008-publish-and-share-artifacts.md | 10 +- ...e-public-projects-for-your-organization.md | 2 +- discovery.json | 3 +- tombstones.json | 6 +- 427 files changed, 48862 insertions(+), 46307 deletions(-) create mode 100644 content/claude/third-party/claude-desktop/network-proxy.md create mode 100644 content/support/15363606-why-claude-switched-models-in-your-conversation-with-fable-5-or-fable-5-1.md create mode 100644 content/support/15424964-claude-fable-models-on-your-plan.md create mode 100644 content/support/16761192-preserved-thinking-changing-how-the-messages-api-handles-thinking-blocks-to-protect-against-distillation.md diff --git a/content/.metadata.json b/content/.metadata.json index 44c6fc923e..49324d7d73 100644 --- a/content/.metadata.json +++ b/content/.metadata.json @@ -1,7 +1,7 @@ { "metadata": { "version": "2.0", - "fetch_date": "2026-09-02T14:47:36.151091Z", + "fetch_date": "2026-09-03T05:16:34.326851Z", "section": "all" }, "items": [ @@ -16,8 +16,8 @@ "url": "https://platform.claude.com/docs/en/intro", "status": "success", "path": "en/intro.md", - "sha256": "628bf49fe37d7bc6c7ca8a507c5b09af78420a6c2aa5cf3f0c6fd3fd759c3ac7", - "size": 5192 + "sha256": "671a9dcb0995f6f64c06aa9a33397ca1128634047bf2da233614df3f3fff1152", + "size": 5768 }, { "url": "https://platform.claude.com/docs/en/get-api-key", @@ -30,15 +30,15 @@ "url": "https://platform.claude.com/docs/en/get-started", "status": "success", "path": "en/get-started.md", - "sha256": "d65f1b8265b31c2bc1efb2f8dd0c0e86f16c6e956bcabbc70f11c5467aa2359f", + "sha256": "3a0c329e5d9acb156a1670f58d063dfa82f656ca7ed15035ca5db3ff44472dae", "size": 19458 }, { "url": "https://platform.claude.com/docs/en/manage-claude/authentication", "status": "success", "path": "en/manage-claude/authentication.md", - "sha256": "cd60ab1d6292545c422dc26dca1d05daacc9698ced657ac147286135ba8e66f7", - "size": 25073 + "sha256": "ba35b3be8a7512334bf461af7c418e1ca9e4d7a74adbe1b620c35ed5bedce88b", + "size": 24880 }, { "url": "https://platform.claude.com/docs/en/build-with-claude/overview", @@ -86,8 +86,8 @@ "url": "https://platform.claude.com/docs/en/build-with-claude/task-budgets", "status": "success", "path": "en/build-with-claude/task-budgets.md", - "sha256": "5137e9d2a5825a5adccc654bc136fbe41c01800b83834a72c0f4a64b285d51de", - "size": 25747 + "sha256": "e3cfd1af5bd8e63eccef60bac877083056f72161d6fd62e3b790597f3c7275e3", + "size": 28248 }, { "url": "https://platform.claude.com/docs/en/build-with-claude/fast-mode", @@ -177,8 +177,8 @@ "url": "https://platform.claude.com/docs/en/build-with-claude/preserved-thinking", "status": "success", "path": "en/build-with-claude/preserved-thinking.md", - "sha256": "a658544d1b1a7da1e3147a83fbe4ddc75f62f1e0d0ae1ff82eb33e21ee9df296", - "size": 30988 + "sha256": "53148ea49d32b7e9b353f8931ba90ac1ed1e73d548bb3b3a1e6b05d556f77239", + "size": 39020 }, { "url": "https://platform.claude.com/docs/en/build-with-claude/thinking-troubleshooting", @@ -268,22 +268,22 @@ "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-fetch-tool", "status": "success", "path": "en/agents-and-tools/tool-use/web-fetch-tool.md", - "sha256": "fc0b505864ceb3ef969140493dde7cde09ee7534dae19837aed56107174e47f7", - "size": 34977 + "sha256": "7ef76048dbc7892c908bce299bdf4e5ca0412601215fb01c3821ea9348f95d80", + "size": 35796 }, { "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool", "status": "success", "path": "en/agents-and-tools/tool-use/code-execution-tool.md", - "sha256": "0d564a3e913db9cfcc6e126618491c03e3a392c64782540865c99fca2a1109c2", - "size": 60281 + "sha256": "1bdd8eca0b867b47f651494877064c02be7dbd10ea6a8bdbd879b2db8e64fa79", + "size": 60310 }, { "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool", "status": "success", "path": "en/agents-and-tools/tool-use/advisor-tool.md", - "sha256": "09dd4bf65ca8681e46711132ec831120c453508197949b730fc7ae5932cf072a", - "size": 97087 + "sha256": "e798608a5dfa622e88c58c702ea92d194e53b19d6d35af59857ed01dddea26ab", + "size": 97089 }, { "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/tool-search-tool", @@ -401,15 +401,15 @@ "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching", "status": "success", "path": "en/build-with-claude/prompt-caching.md", - "sha256": "f527d7be5f5b14314d9cf8c5476ea378d1fabff2d76eb6cd60b3bc1edebbc136", - "size": 157460 + "sha256": "89fd9a1e988ae4902de1047706ee788003060cb232e444ad4cf37a11421d42a4", + "size": 157448 }, { "url": "https://platform.claude.com/docs/en/build-with-claude/mid-conversation-system-messages", "status": "success", "path": "en/build-with-claude/mid-conversation-system-messages.md", - "sha256": "6344f207659105d75f5998dcd948848312a39033513f713f0643945e03c73813", - "size": 58995 + "sha256": "0801b8e76172e3b477ad0c0bdf60ba9f3f49c7cd7b615170231847f1dfef3d2e", + "size": 59353 }, { "url": "https://platform.claude.com/docs/en/build-with-claude/mid-conversation-effort-example", @@ -429,15 +429,15 @@ "url": "https://platform.claude.com/docs/en/build-with-claude/token-counting", "status": "success", "path": "en/build-with-claude/token-counting.md", - "sha256": "56ae25b05bc572297d28c34bb1e89bd4c7934c9a80a8c58e50eff423d3db85b9", - "size": 42327 + "sha256": "af6be4d71eb7491602cd13f452a9a8ea1d837720334f3554b9f0b468f16c4c34", + "size": 42418 }, { "url": "https://platform.claude.com/docs/en/build-with-claude/files", "status": "success", "path": "en/build-with-claude/files.md", - "sha256": "e06252ae91323ce776fcd8460a7951fe672c6db1468f29c0b63d1a2c5d56bc83", - "size": 37504 + "sha256": "778e73bdc6a29dc937b89591a9acf332feaa8a7c902dd1c1574c59f734708d30", + "size": 37512 }, { "url": "https://platform.claude.com/docs/en/build-with-claude/pdf-support", @@ -506,7 +506,7 @@ "url": "https://platform.claude.com/docs/en/agents-and-tools/mcp-connector", "status": "success", "path": "en/agents-and-tools/mcp-connector.md", - "sha256": "e0a6a3b1a9b727143bfbf8caa7c0a1ef22f7a9aee8d36a15eba02e83bcf34036", + "sha256": "eed74bbeb6a246b30e9a1ae2d00abf5599d291f16bda75f3c1cb045b7648a0a6", "size": 49439 }, { @@ -576,35 +576,35 @@ "url": "https://platform.claude.com/docs/en/build-with-claude/claude-in-amazon-bedrock", "status": "success", "path": "en/build-with-claude/claude-in-amazon-bedrock.md", - "sha256": "6a6ecdb76dac67ccb4f154543d3a1a845f7e536243ba488a5a09d055878468e8", + "sha256": "4e91cdf822bf5b478532fdfde35f67b52f70dbb5474178081f8108f24be51c62", "size": 20397 }, { "url": "https://platform.claude.com/docs/en/build-with-claude/claude-on-amazon-bedrock-legacy", "status": "success", "path": "en/build-with-claude/claude-on-amazon-bedrock-legacy.md", - "sha256": "2b48991b480f69eb9245f455ad176d5a739dd00ee59813879851ac0d09bff9a3", + "sha256": "ad53967a84bb65c81279f4cf3c367f96a1c551cbfb1e4449474b539f6684a834", "size": 40298 }, { "url": "https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws", "status": "success", "path": "en/build-with-claude/claude-platform-on-aws.md", - "sha256": "de8bbd26e4509e4203ce608796dae1e2560e7f5ad085990fa1086d83d20521aa", + "sha256": "0ff935251ef5bee607ae9d604d1c665269af87e8eda7c66c98362c1d5906779c", "size": 86337 }, { "url": "https://platform.claude.com/docs/en/build-with-claude/claude-on-vertex-ai", "status": "success", "path": "en/build-with-claude/claude-on-vertex-ai.md", - "sha256": "602475563b615e7d59d9674ce21dbc2b7b79f74faed5cb9550e76ae252d059e5", + "sha256": "8157c52a75bb1ba88529a7c3e02e0456ec1d3b8b68401c398033b178290cd331", "size": 32635 }, { "url": "https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry", "status": "success", "path": "en/build-with-claude/claude-in-microsoft-foundry.md", - "sha256": "dd3f949b7f5795d7ef4a75ffbec9a21886dfc3292e61f157fa8bb486255e011a", + "sha256": "f8e3dda0d43c9cd7976aab818d1b0d9f06f7d425812ee4a5e9aa5cb49c99ed60", "size": 37242 }, { @@ -618,7 +618,7 @@ "url": "https://platform.claude.com/docs/en/managed-agents/quickstart", "status": "success", "path": "en/managed-agents/quickstart.md", - "sha256": "d48426df56b54f910f2b9621fb978de5b3459c6f6a3d9bc3e04ad2c55d272718", + "sha256": "8bb05e37c26e4970336bbb347fe5c76c39ca08a449027f4d06453e3207b0860f", "size": 30587 }, { @@ -688,7 +688,7 @@ "url": "https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes", "status": "success", "path": "en/managed-agents/self-hosted-sandboxes.md", - "sha256": "4a54aad87cc9786812aac220eb47f8ebaa378c1789d9917abb5235537a3854b6", + "sha256": "945bf3c8450501db91ad9a3daa98b7d0a0a234f952b7e3921b4fb9be9c2246f7", "size": 112429 }, { @@ -807,8 +807,8 @@ "url": "https://platform.claude.com/docs/en/manage-claude/user-management", "status": "success", "path": "en/manage-claude/user-management.md", - "sha256": "fb929d287e0e4194cb6c75014bbf199e50d59a31d7dcaaa6063b1eb86bd5e185", - "size": 36322 + "sha256": "9c4d7970c11be3c6f149611a0172d7d24b58ca938c7e7f6c79400f6068b1c0ec", + "size": 36774 }, { "url": "https://platform.claude.com/docs/en/manage-claude/workspaces", @@ -919,8 +919,8 @@ "url": "https://platform.claude.com/docs/en/manage-claude/analytics-api", "status": "success", "path": "en/manage-claude/analytics-api.md", - "sha256": "3efe77382920786d0c3151c0ec3cafc4ce2b6348dcf759fdbf5f668af1aa926f", - "size": 11073 + "sha256": "6cf4163d7fdace7949f03aa26747619f24d09f08dc3dc087f47edff290f2ede5", + "size": 11356 }, { "url": "https://platform.claude.com/docs/en/manage-claude/claude-code-analytics-api", @@ -933,8 +933,8 @@ "url": "https://platform.claude.com/docs/en/manage-claude/spend-limits-api", "status": "success", "path": "en/manage-claude/spend-limits-api.md", - "sha256": "fa43a8e030d1197ad2e83712c773fe8c5dbbc66ab32412e5b840d3ec1afa4b10", - "size": 24806 + "sha256": "0738449c830a0cb477335ecd99b9c75b154aac4a41711823ea3313e141c60c43", + "size": 25864 }, { "url": "https://platform.claude.com/docs/en/manage-claude/data-residency", @@ -947,15 +947,15 @@ "url": "https://platform.claude.com/docs/en/manage-claude/api-and-data-retention", "status": "success", "path": "en/manage-claude/api-and-data-retention.md", - "sha256": "15e703e4a031ac17b612fde2b85caecf563f220548469735b226d4997a1cdb4f", - "size": 57449 + "sha256": "c53d60e043d02f2d663f0f249de679a18222e31fcfdbfc0409402971204fcc1d", + "size": 57491 }, { "url": "https://platform.claude.com/docs/en/manage-claude/access-transparency", "status": "success", "path": "en/manage-claude/access-transparency.md", - "sha256": "00946afb5c4c2d853b0bc44f25284ffd410e81e9b0ebafd13fe6c5322eabf8ee", - "size": 20648 + "sha256": "b7e7a828694a5259a153c8d92650135ce4e94e1863d07ab763a2d27655b8b238", + "size": 20738 }, { "url": "https://platform.claude.com/docs/en/manage-claude/cmek", @@ -968,8 +968,8 @@ "url": "https://platform.claude.com/docs/en/manage-claude/cmek-aws-kms", "status": "success", "path": "en/manage-claude/cmek-aws-kms.md", - "sha256": "5a9701977c4b466facbd619ef2c587952c0d47ccfdd85360dbbc0fb3d5cd0daa", - "size": 34797 + "sha256": "d711cf1c8c7c9dc1187204a515dedb48090191d4ad7b5d9aa5489070fb3d68f8", + "size": 35081 }, { "url": "https://platform.claude.com/docs/en/manage-claude/cmek-google-cloud-kms", @@ -989,8 +989,8 @@ "url": "https://platform.claude.com/docs/en/manage-claude/inference-hooks", "status": "success", "path": "en/manage-claude/inference-hooks.md", - "sha256": "4219d5c41dd802326d45d2232f65049469ead621585ad35b6395ce313b747df9", - "size": 8367 + "sha256": "682de74afca3ba514436f7060eb41d94d69bf44dd8a7d6bf49aa645cb01a2413", + "size": 8378 }, { "url": "https://platform.claude.com/docs/en/manage-claude/inference-hooks-configuration", @@ -1010,8 +1010,8 @@ "url": "https://platform.claude.com/docs/en/manage-claude/compliance-api", "status": "success", "path": "en/manage-claude/compliance-api.md", - "sha256": "bfe70e117146971480850e986e55dae3a913b4656a0e5b23953ea0db37977e4c", - "size": 9638 + "sha256": "3e063ccf11277aac86081c16b715183e5b38a9b1cbf1e7f5e6d8724ebd4540b6", + "size": 9967 }, { "url": "https://platform.claude.com/docs/en/manage-claude/compliance-api-access", @@ -1024,50 +1024,50 @@ "url": "https://platform.claude.com/docs/en/manage-claude/compliance-activity-feed", "status": "success", "path": "en/manage-claude/compliance-activity-feed.md", - "sha256": "2b9971490740b8959095626b6a3ffb57092e5eda401d956e3eb10f23bc291788", - "size": 16001 + "sha256": "156ce9db1d053fce48999df1ca2b15b87f52485021d1285e32400994f88f54dd", + "size": 16181 }, { "url": "https://platform.claude.com/docs/en/manage-claude/compliance-content-data", "status": "success", "path": "en/manage-claude/compliance-content-data.md", - "sha256": "ef22b7f65ebbbbfbbb12ab45f2ba65472a3759bb733a5d7b3aba2a7a0af9db8c", - "size": 23746 + "sha256": "d66d8b3f9b9503f43763e4dc21593f0dc8683dba1e5fff590b3b58da1b3bf9e2", + "size": 24016 }, { "url": "https://platform.claude.com/docs/en/manage-claude/compliance-sessions", "status": "success", "path": "en/manage-claude/compliance-sessions.md", - "sha256": "30c9a22dfada15320cb9c95c6448b5856f6a220892bbff830c775dc285764f6b", - "size": 49034 + "sha256": "0ef7476fd1acf661516ae34a07acc46c464ca8ef4d72af97d2273abda907c98a", + "size": 49419 }, { "url": "https://platform.claude.com/docs/en/manage-claude/compliance-org-data", "status": "success", "path": "en/manage-claude/compliance-org-data.md", - "sha256": "59fbe3ff143577f444dc82b9e1a10db30a0c398686b6c48d987a3f30f7bae357", - "size": 22368 + "sha256": "e426a980d1eda0226e0bd2aea1f7b176637d5aa12e4021fb60221ec074ebfe88", + "size": 22602 }, { "url": "https://platform.claude.com/docs/en/manage-claude/compliance-integration-patterns", "status": "success", "path": "en/manage-claude/compliance-integration-patterns.md", - "sha256": "c6a4b225ed3fa000cb90b9b71c8a811a7a29fce38844d42a3fe0913b00d3042c", - "size": 17271 + "sha256": "e754883edc9c4825cdebb5e43b00f9112e77899d0d66bf8d2a5be518523237a2", + "size": 17534 }, { "url": "https://platform.claude.com/docs/en/manage-claude/compliance-errors", "status": "success", "path": "en/manage-claude/compliance-errors.md", - "sha256": "f7b3e6c64493eb2a465d760af5fa8bc7e29e502daf0b96a7b13b7ebb2b545f4a", - "size": 40121 + "sha256": "cb74308658b4b24adba4c575f0b951b9867fe518e3fce95dde15d930e1718cb2", + "size": 40137 }, { "url": "https://platform.claude.com/docs/en/manage-claude/compliance-faq", "status": "success", "path": "en/manage-claude/compliance-faq.md", - "sha256": "5913191d3537086aa9b6c700b42d92bfe0ca7feeaba9f826b44cb282608938bc", - "size": 25154 + "sha256": "26682dbb7e11829aa42bd307efeb24397e66491f08d8a17464b008ef3bde5d3a", + "size": 25274 }, { "url": "https://platform.claude.com/docs/en/about-claude/use-case-guides/overview", @@ -1122,8 +1122,8 @@ "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-fable-5-1", "status": "success", "path": "en/build-with-claude/prompt-engineering/prompting-claude-fable-5-1.md", - "sha256": "9f5024680f14f6643aaa634e8fa891af068439f1bf04a88460960dbb69e36eae", - "size": 54026 + "sha256": "4aa645dd26fe9efebdaaff7462563bfac1f27782ce2d71dd5afffeaf02a80c62", + "size": 54572 }, { "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-fable-5", @@ -1143,15 +1143,15 @@ "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-opus-4-8", "status": "success", "path": "en/build-with-claude/prompt-engineering/prompting-claude-opus-4-8.md", - "sha256": "56b8a940ef2263d52266a609f00a876ec6388643d7bc2181b5d26cf9c0c43ec1", - "size": 16560 + "sha256": "ed0c1c467d33ebffcea4b2616514a6464dc61c9c6f9892478c44538d30c44d86", + "size": 16595 }, { "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-sonnet-5", "status": "success", "path": "en/build-with-claude/prompt-engineering/prompting-claude-sonnet-5.md", - "sha256": "c0f4ddfed167b16f8e103dbf7d86bd926a2886b8a30ad307cb5dec6954677453", - "size": 16444 + "sha256": "07e7db846f96915a1d533fe6f62f7812790a966361b9982b6522557e74d08127", + "size": 16479 }, { "url": "https://platform.claude.com/docs/en/test-and-evaluate/develop-tests", @@ -1213,22 +1213,22 @@ "url": "https://platform.claude.com/docs/en/models/overview", "status": "success", "path": "en/models/overview.md", - "sha256": "5bd3a0ab75b60af463fd7b6561be2eb5bf02a9bd955c27a64252cee92f0fde7e", - "size": 16802 + "sha256": "b2ae292320b5d068b20c426e6e4e0333d1a11e25c8457748ca39de25de283c27", + "size": 16851 }, { "url": "https://platform.claude.com/docs/en/models/fable-5-1/overview", "status": "success", "path": "en/models/fable-5-1/overview.md", - "sha256": "d529e02d0ced0f0872f9fe6f2cfa11370f4e78bd93e3a034490d4d5f0d397996", - "size": 14865 + "sha256": "f773571dce56353d7cb8a501b9ad2eb6531d8164938c5868f1aee8dbda8b462f", + "size": 14914 }, { "url": "https://platform.claude.com/docs/en/models/fable-5-1/whats-new-fable-5-1", "status": "success", "path": "en/models/fable-5-1/whats-new-fable-5-1.md", - "sha256": "90b1dda8f1c956217aab2d0198babfade471bc553fbda2eb1caf2eea0b3b36ea", - "size": 37490 + "sha256": "1f66f88b01dc05c635c822a335e6e3a04995dc7d33b2e4d8e32d3b649e4c2e4e", + "size": 37498 }, { "url": "https://platform.claude.com/docs/en/models/fable-5-1/migration-guide", @@ -1241,8 +1241,8 @@ "url": "https://platform.claude.com/docs/en/models/opus-5/overview", "status": "success", "path": "en/models/opus-5/overview.md", - "sha256": "e9bcc0757cfaab83ce049f13347b54ac2b48fd9d080597a07d7b226e2ff70934", - "size": 12575 + "sha256": "00f5422160fe2e84f50394b06d01f6e412bbe2553a28f6ddbd56bf6379455593", + "size": 12624 }, { "url": "https://platform.claude.com/docs/en/models/opus-5/whats-new-opus-5", @@ -1262,8 +1262,8 @@ "url": "https://platform.claude.com/docs/en/models/sonnet-5/overview", "status": "success", "path": "en/models/sonnet-5/overview.md", - "sha256": "86f01049725f538d56343780f5f6835709af581df6e2ceb4c4aee5f9d4e7d0df", - "size": 13299 + "sha256": "6ca17e3121ec558ce10f405145ed9df26ba18bc7ac4cee5d42cc16feefe2bd38", + "size": 13348 }, { "url": "https://platform.claude.com/docs/en/models/sonnet-5/whats-new-sonnet-5", @@ -1283,8 +1283,8 @@ "url": "https://platform.claude.com/docs/en/models/haiku-4-5/overview", "status": "success", "path": "en/models/haiku-4-5/overview.md", - "sha256": "e08d0d1d1e68cfa9d7af6219f4000635407be05c7809c26c376450894e65ef78", - "size": 13548 + "sha256": "c62bf6c1ac70a762b77bea8dd60cae014be91c55b13e49c0bc40c9433ba554da", + "size": 13597 }, { "url": "https://platform.claude.com/docs/en/models/haiku-4-5/migration-guide", @@ -1297,64 +1297,64 @@ "url": "https://platform.claude.com/docs/en/models/mythos-5-1/overview", "status": "success", "path": "en/models/mythos-5-1/overview.md", - "sha256": "9b6c63d67a67d05822e617853c7dda8a9d40aa1701bfbf188bafe6b6f9bfb37f", - "size": 10869 + "sha256": "e1f9a72cf7c000d2ce547df63583f93c3e191cacf3cc12e768f1334c867e5018", + "size": 10918 }, { "url": "https://platform.claude.com/docs/en/models/mythos-5/overview", "status": "success", "path": "en/models/mythos-5/overview.md", - "sha256": "4fc8b8b29f9007c624336d4c33f79d85a9f4ced74897da0c50e83fa0bcfc700d", - "size": 10826 + "sha256": "10c68a6cdaa37e8231929f40dbd160fc4d54cf6d32c666e99277d54ebe76b08e", + "size": 10875 }, { "url": "https://platform.claude.com/docs/en/models/fable-5/overview", "status": "success", "path": "en/models/fable-5/overview.md", - "sha256": "13212372192da06be23d422b001f8dffc9ad205a54149cabe5f5afc9b6f933a6", - "size": 12796 + "sha256": "cf70372f5c43dc2052af8c204f37ed1f2135fc4ae0c103f134be527c389924f6", + "size": 12845 }, { "url": "https://platform.claude.com/docs/en/models/opus-4-8/overview", "status": "success", "path": "en/models/opus-4-8/overview.md", - "sha256": "61fc50a54546dbfd8ff14dbaf821b8502e247db12a71bdbdd793a6e9440b0a44", - "size": 12019 + "sha256": "c303746fd963950a70cd5999a6f3c26745f81e669a88516fba5e88586a83f26a", + "size": 12068 }, { "url": "https://platform.claude.com/docs/en/models/opus-4-7/overview", "status": "success", "path": "en/models/opus-4-7/overview.md", - "sha256": "1bebe4e7c27b00987c6b8dc37563deca64321ce868c6d43105e3df815b33693b", - "size": 11833 + "sha256": "d7ca2e12d25c77f32dda9e59d2e6f1a201a71cc48fc93316c6d2c105188b759b", + "size": 11882 }, { "url": "https://platform.claude.com/docs/en/models/opus-4-6/overview", "status": "success", "path": "en/models/opus-4-6/overview.md", - "sha256": "9f7922057039e46dad92f30b4e242f63fd52c25c2288d4109619834706ce0aef", - "size": 12523 + "sha256": "e8a2dd687bf1e63c0a6a7c1ad54347ccf62c064e4e29d93713ca691a52573870", + "size": 12572 }, { "url": "https://platform.claude.com/docs/en/models/sonnet-4-6/overview", "status": "success", "path": "en/models/sonnet-4-6/overview.md", - "sha256": "c62a0ad94e18bd6a5c01aa668b85d1adf0d2214781c5d18e76eb42577c0e8091", - "size": 12589 + "sha256": "4e2dc001ced090a2f67a1be859b438691f134c7d4749acf22dccf25d02c3a33d", + "size": 12638 }, { "url": "https://platform.claude.com/docs/en/models/opus-4-5/overview", "status": "success", "path": "en/models/opus-4-5/overview.md", - "sha256": "34ffcd24bf978911b0403e2465ec5ac96f818b75115748571f3350c8ad4ad649", - "size": 12150 + "sha256": "30445cd395e9f3aef5c9102576fd2265df8298bf6f99b4569dab19a08e1c5275", + "size": 12199 }, { "url": "https://platform.claude.com/docs/en/models/sonnet-4-5/overview", "status": "success", "path": "en/models/sonnet-4-5/overview.md", - "sha256": "df694a685f6e6f20e173e22beaa46f58cb6758ce5ed58eb8ead687d3f40c8fb4", - "size": 12213 + "sha256": "5dbd3ea4fe536c31cebfdb336087e15ff20cf2e2ae4a222b3669ce0ba1a3bf27", + "size": 12262 }, { "url": "https://platform.claude.com/docs/en/about-claude/models/choosing-a-model", @@ -1549,7 +1549,7 @@ "url": "https://platform.claude.com/docs/en/cli-sdks-libraries/cli/quickstart", "status": "success", "path": "en/cli-sdks-libraries/cli/quickstart.md", - "sha256": "a73c22a160b09bfc8c95f95bc5add78f6181d59788e849af0463cbfc4c8a137d", + "sha256": "d04b90d6b800143c45b9198e0423682b9aedf6f5776ea2ff48f907226dc3ba49", "size": 5120 }, { @@ -1591,15 +1591,15 @@ "url": "https://platform.claude.com/docs/en/cli-sdks-libraries/sdks/typescript", "status": "success", "path": "en/cli-sdks-libraries/sdks/typescript.md", - "sha256": "ed637c375c2ebbb06e437a4827933d0d26172ea954c64021b9c11dc8321ba432", + "sha256": "35e01a80060358f74ec132a4b1bbb9de2e4c2ab5874c96f1aafae9f4aaa73c3d", "size": 29447 }, { "url": "https://platform.claude.com/docs/en/cli-sdks-libraries/sdks/csharp", "status": "success", "path": "en/cli-sdks-libraries/sdks/csharp.md", - "sha256": "f8c5e4dad7be4a5514e652dcc53545ced988cab98040d27f22b4386e99eccac2", - "size": 16439 + "sha256": "125174acae433871ee5a6727fe0ce978a846227151bb53378a6558fad923b702", + "size": 15992 }, { "url": "https://platform.claude.com/docs/en/cli-sdks-libraries/sdks/go", @@ -1612,7 +1612,7 @@ "url": "https://platform.claude.com/docs/en/cli-sdks-libraries/sdks/java", "status": "success", "path": "en/cli-sdks-libraries/sdks/java.md", - "sha256": "35d972b041ce3633aa1c703796c2fc9455af951bd865c0ce9371076c5a06b133", + "sha256": "213fc898515dcf613957d158d4b4bd97abce90b4aa28ab5a81af6fdea5b2b09e", "size": 47701 }, { @@ -1675,7 +1675,7 @@ "url": "https://platform.claude.com/docs/en/api/service-tiers", "status": "success", "path": "en/api/service-tiers.md", - "sha256": "f804f847a6d1d4fc94d68cd4ee68730b7b16725670ea28861cb6433e1e417d34", + "sha256": "90d1a56809bc7fa1030ac3314b60111e69b767d776b869b50e0414796e9452f2", "size": 8807 }, { @@ -1724,8 +1724,8 @@ "url": "https://platform.claude.com/docs/en/release-notes/overview", "status": "success", "path": "en/release-notes/overview.md", - "sha256": "32cb25bafa4279ce146f385820b6313ada2ae3a849f1c9c06ecb3dd52c8c01e4", - "size": 102688 + "sha256": "861805eb964765360df407d419e77a5a63a118f1b7ef122a809751b0c82a99cd", + "size": 103373 }, { "url": "https://platform.claude.com/docs/en/api/completions", @@ -4909,8 +4909,8 @@ "url": "https://code.claude.com/docs/en/changelog", "status": "success", "path": "en/docs/claude-code/changelog.md", - "sha256": "6cc34ef163eac1d40ee82d5ad431c48374c37f9d3ffeaf4cf88be8ac872beea0", - "size": 636787 + "sha256": "269c39abbf64c1ae3eb3e9d31edd53b7e801890bfeebd22a103af1273c441543", + "size": 642222 }, { "url": "https://code.claude.com/docs/en/how-claude-code-works", @@ -4944,8 +4944,8 @@ "url": "https://code.claude.com/docs/en/prompt-caching", "status": "success", "path": "en/docs/claude-code/prompt-caching.md", - "sha256": "23e07b44514d9ff546a5c150ffc6836c31db0f0ec8ac72779b88e18bb0203cc1", - "size": 36609 + "sha256": "896f69cf6d5f367decef102622285a71a6c6ca36274a015b8d3889d33f8d9263", + "size": 37993 }, { "url": "https://code.claude.com/docs/en/memory", @@ -5175,8 +5175,8 @@ "url": "https://code.claude.com/docs/en/sub-agents", "status": "success", "path": "en/docs/claude-code/sub-agents.md", - "sha256": "a5c6748e506ffc27d8ff6f27f377f49767438d07c61c4f0862e7e3733fe1955e", - "size": 110791 + "sha256": "aec002a3c1cbba085de0732fcc665c7c4fde7fbff206753c2814c04e314c4153", + "size": 111863 }, { "url": "https://code.claude.com/docs/en/agent-view", @@ -5189,8 +5189,8 @@ "url": "https://code.claude.com/docs/en/agent-teams", "status": "success", "path": "en/docs/claude-code/agent-teams.md", - "sha256": "42ee37642823ee36bbb94238db39bbd7795ceedf06b2c769f215cf9175a75c8e", - "size": 40743 + "sha256": "d746d5be8e828ad123a07dc1342100d81c211064a84e794c024cdea64d68138e", + "size": 40760 }, { "url": "https://code.claude.com/docs/en/cross-session-messaging", @@ -5616,8 +5616,8 @@ "url": "https://code.claude.com/docs/en/settings-reference", "status": "success", "path": "en/docs/claude-code/settings-reference.md", - "sha256": "0a7247e5e3fbe1377d94409f62689dc065fed7ac9898a77a033aaa378d209dec", - "size": 417956 + "sha256": "2053257794bc2eab4c507b6d144891c405594f8153fdca1da0301ed584bcd927", + "size": 417906 }, { "url": "https://code.claude.com/docs/en/settings-example", @@ -5679,8 +5679,8 @@ "url": "https://code.claude.com/docs/en/self-hosted-environments-deploy", "status": "success", "path": "en/docs/claude-code/self-hosted-environments-deploy.md", - "sha256": "e79472e914cc2e550db10536526c9cd713d71952f711ca4f177ea0dcf9fbdcf8", - "size": 58379 + "sha256": "cb42afcb2a5fca1a55043918f0f21ac42d637d8807a7baf537f36848914a19da", + "size": 58733 }, { "url": "https://code.claude.com/docs/en/self-hosted-environments-configuration", @@ -5700,8 +5700,8 @@ "url": "https://code.claude.com/docs/en/self-hosted-environments-reference", "status": "success", "path": "en/docs/claude-code/self-hosted-environments-reference.md", - "sha256": "76a30d86f22b16d82b1419873ea03d48565573b5b87cce362c21255dab8f923f", - "size": 86174 + "sha256": "60212158e9622fe7aba3bef515930d2c942f3d07219c34d89f2c0e442873e5c2", + "size": 86181 }, { "url": "https://code.claude.com/docs/en/self-hosted-environments-identity", @@ -5714,8 +5714,8 @@ "url": "https://code.claude.com/docs/en/model-config", "status": "success", "path": "en/docs/claude-code/model-config.md", - "sha256": "00cdd121b128313bd9bad9e8947817b0a01dbd785e25091c9367f24526816196", - "size": 103869 + "sha256": "c0951178b6c4dac442697f0bbdefede56bd96542a0a8adfadd984771b4b69321", + "size": 103988 }, { "url": "https://code.claude.com/docs/en/fast-mode", @@ -5798,8 +5798,8 @@ "url": "https://code.claude.com/docs/en/env-vars", "status": "success", "path": "en/docs/claude-code/env-vars.md", - "sha256": "2309f199e8b50404195ff2c0fae22cfa6eba0565e4a3992a5c9008dd431d8e86", - "size": 480796 + "sha256": "bd52ea171dd23ae9b34f5e10960fe8937cad6ae92be0d7c677425a8feb66b1d0", + "size": 480621 }, { "url": "https://code.claude.com/docs/en/tools-reference", @@ -5812,8 +5812,8 @@ "url": "https://code.claude.com/docs/en/interactive-mode", "status": "success", "path": "en/docs/claude-code/interactive-mode.md", - "sha256": "7096d964f29bc885256bd0c3d2b9bfda8a93d238f1bd74ffe1e61ede061fc657", - "size": 83977 + "sha256": "747d36cd66eade1c0e79d6009f960488eee60f63949b932c463096b20fcab93e", + "size": 83951 }, { "url": "https://code.claude.com/docs/en/checkpointing", @@ -5833,8 +5833,8 @@ "url": "https://code.claude.com/docs/en/plugins-reference", "status": "success", "path": "en/docs/claude-code/plugins-reference.md", - "sha256": "165d8eeace1f0d91bac134e3111ea56cb6dfe92b2f3efd78a7a2b9fbfe98e432", - "size": 115419 + "sha256": "64a15a9564ccd97851fdb1d0a1e27c923de2057a5cd637f597269a0c74a73875", + "size": 117596 }, { "url": "https://code.claude.com/docs/en/channels-reference", @@ -7226,8 +7226,8 @@ "url": "https://modelcontextprotocol.io/extensions/apps/overview", "status": "success", "path": "mcp/extensions/apps/overview.md", - "sha256": "6d3c751017967dec9f634bb58b1c3b8918e71f9e54dd5f39cbd81836f812f7fc", - "size": 12574 + "sha256": "ebae6e6d71c0561230261caf3b84a7493bd55beae704593accc6e1bceedb0e39", + "size": 12907 }, { "url": "https://modelcontextprotocol.io/extensions/auth/enterprise-managed-authorization", @@ -8717,8 +8717,8 @@ "url": "https://support.claude.com/en/articles/8114491-get-started-with-claude", "status": "success", "path": "support/8114491-get-started-with-claude.md", - "sha256": "60587df1a92fd4969c40e3f808279204fd1b8ba6f5f1b0a877ad09206d173e1a", - "size": 5300 + "sha256": "1c8b7e59781a384b3ae7e292bc627da2e455b05aa6f4d5355c8a2beeb02031bd", + "size": 5298 }, { "url": "https://support.claude.com/en/articles/8114494-how-up-to-date-is-claude-s-training-data", @@ -8794,8 +8794,8 @@ "url": "https://support.claude.com/en/articles/8230524-delete-or-rename-a-conversation", "status": "success", "path": "support/8230524-delete-or-rename-a-conversation.md", - "sha256": "ba20a34cf748ba70eaffe3d914dcac55da877120f7bd964d72fcca3b8c23b7fc", - "size": 5895 + "sha256": "1c12e4c71e62c5e2b8cdc42a2f65be739b5578465af03b5355bfcdb6ddec4ab3", + "size": 5887 }, { "url": "https://support.claude.com/en/articles/8241126-upload-files-to-claude", @@ -8864,8 +8864,8 @@ "url": "https://support.claude.com/en/articles/8325618-paid-plan-billing-faqs", "status": "success", "path": "support/8325618-paid-plan-billing-faqs.md", - "sha256": "55b6733f5ccac27232e07d34fab53f23bad816b556e97b1ccd824f1b1e0d89ba", - "size": 4555 + "sha256": "064e3b1aec8599bd8fe53b57aa4d7d2746a47f4b201fe10f5155499dfeb085a0", + "size": 4551 }, { "url": "https://support.claude.com/en/articles/8325621-i-would-like-to-input-sensitive-data-into-my-chats-with-claude-who-can-view-my-conversations", @@ -8927,7 +8927,7 @@ "url": "https://support.claude.com/en/articles/8887527-customizing-your-appearance-settings", "status": "success", "path": "support/8887527-customizing-your-appearance-settings.md", - "sha256": "5d80afa8fdafb247b35ed1f918f4ebd78f88e09e63beec11c21d7a3571427086", + "sha256": "346c7e1e7f95f95e0554bafc2ebef0ca7829b49ffb3e8e8aef36fb64fe29c4d3", "size": 1870 }, { @@ -9102,8 +9102,8 @@ "url": "https://support.claude.com/en/articles/9267400-move-your-personal-claude-account-to-a-team-or-enterprise-organization", "status": "success", "path": "support/9267400-move-your-personal-claude-account-to-a-team-or-enterprise-organization.md", - "sha256": "190d6dafcde5cdd4002c9be2a95a7db7704235b9a6a6b2221b188bb060d40af8", - "size": 9374 + "sha256": "ebaa2c1276d63cafe51fb718334527ce9c8c3d1d57f50891d52cbeefc2aa4b02", + "size": 9737 }, { "url": "https://support.claude.com/en/articles/9301722-updates-to-our-acceptable-use-policy-now-usage-policy-consumer-terms-of-service-and-privacy-policy", @@ -9137,8 +9137,8 @@ "url": "https://support.claude.com/en/articles/9487310-what-are-artifacts-and-how-do-i-use-them", "status": "success", "path": "support/9487310-what-are-artifacts-and-how-do-i-use-them.md", - "sha256": "23fbcb8c7f127963db9905178bc9c5d39603315e324e64b26e87dc72882e83e0", - "size": 9936 + "sha256": "e2253d30b501db05d0bd38b093f396dfcfc2772d87b41ed5d3cb099127de3f54", + "size": 10140 }, { "url": "https://support.claude.com/en/articles/9517075-what-are-projects", @@ -9151,15 +9151,15 @@ "url": "https://support.claude.com/en/articles/9519177-how-can-i-create-and-manage-projects", "status": "success", "path": "support/9519177-how-can-i-create-and-manage-projects.md", - "sha256": "1045fe98c21b5a1d5db311169cfa7aa63fe12db54518b837c0316b30c29b30cf", - "size": 9323 + "sha256": "27f86a2280428df2951b6f235262e18eb0ba5215a7b2b4b932d3f1a23ebac36f", + "size": 9319 }, { "url": "https://support.claude.com/en/articles/9519189-manage-project-visibility-and-sharing", "status": "success", "path": "support/9519189-manage-project-visibility-and-sharing.md", - "sha256": "7740bda8f5a5936f05d76979a7cdc48b728993b405f0063ad30688b379e4e79e", - "size": 8557 + "sha256": "f12dcbfb37fbd5747c9bfaf845ef02e963d3d873c561aeb873d4d111199de674", + "size": 8563 }, { "url": "https://support.claude.com/en/articles/9519291-what-is-anthropic-s-policy-for-handling-governmental-requests-for-user-information", @@ -9179,15 +9179,15 @@ "url": "https://support.claude.com/en/articles/9534590-cost-and-usage-reporting-in-the-claude-console", "status": "success", "path": "support/9534590-cost-and-usage-reporting-in-the-claude-console.md", - "sha256": "2ec0c783feefbc39001e92380540b1f00e96df43cac5bb34bb4d2579afef8823", - "size": 5108 + "sha256": "6fa4d5f920eee043a1c4b36cb0e73770903f42bef839b9ed1c7a0861dab034bf", + "size": 5098 }, { "url": "https://support.claude.com/en/articles/9547008-publish-and-share-artifacts", "status": "success", "path": "support/9547008-publish-and-share-artifacts.md", - "sha256": "9a85d738cc98404e50ab2aacae5fdaefa49241e8743ecfe756e39c0abcd08352", - "size": 7336 + "sha256": "c1849b97dcf18c20c6901ce3b8c6d6d4d30d20ef72d77f0c5d2d40fbd4df84c6", + "size": 7241 }, { "url": "https://support.claude.com/en/articles/9612887-install-claude-for-android", @@ -9263,8 +9263,8 @@ "url": "https://support.claude.com/en/articles/9927533-disable-public-projects-for-your-organization", "status": "success", "path": "support/9927533-disable-public-projects-for-your-organization.md", - "sha256": "9fe5c4d0e27de2e694dd75979cb60b2081a8aef3f510f966e2a91acad3696c0e", - "size": 2586 + "sha256": "229051178e2307394136b4d72c29198e55150d38a5a39d12b36a5de1f941d936", + "size": 2584 }, { "url": "https://support.claude.com/en/articles/9927624-add-or-update-your-team-plan-s-tax-or-vat-id", @@ -9333,8 +9333,8 @@ "url": "https://support.claude.com/en/articles/10167454-use-the-github-integration", "status": "success", "path": "support/10167454-use-the-github-integration.md", - "sha256": "889d7a1e2a390304cab7f9c0fe04d241eeb5bf8a5651bb5f043d6dcb6f2ddf6e", - "size": 5998 + "sha256": "19ac60b0a1059837350b3ccb1cc178c3af20249c498daa9ac0c435b711bb91ad", + "size": 6105 }, { "url": "https://support.claude.com/en/articles/10185728-understanding-claude-s-personalization-features", @@ -9403,15 +9403,15 @@ "url": "https://support.claude.com/en/articles/10310342-how-do-i-log-out-of-all-active-sessions", "status": "success", "path": "support/10310342-how-do-i-log-out-of-all-active-sessions.md", - "sha256": "14616a28fb5e66e631fff1653771c1266435c6f2ade4abc987b51beafc003ed0", - "size": 2498 + "sha256": "7b66786b9e20886e8dd827df12e0f220e9cc25fcd819d4f11a795558526d38a1", + "size": 2492 }, { "url": "https://support.claude.com/en/articles/10366376-how-can-i-delete-my-claude-console-account", "status": "success", "path": "support/10366376-how-can-i-delete-my-claude-console-account.md", - "sha256": "54cac35caf834b37211f0ddb258e3b27c25d02aa5afcdfc0b6c705fd374e1d50", - "size": 3165 + "sha256": "12f121798750b312dacf5a3a9f0c0b52972e5621df67114e402ba35f768c7a42", + "size": 3163 }, { "url": "https://support.claude.com/en/articles/10366389-how-can-i-get-higher-rate-limits-on-the-claude-api", @@ -9452,15 +9452,15 @@ "url": "https://support.claude.com/en/articles/10504844-manage-user-feedback-settings-on-team-and-enterprise-plans", "status": "success", "path": "support/10504844-manage-user-feedback-settings-on-team-and-enterprise-plans.md", - "sha256": "e765a1f0b8fdb9bd468ebf0c2bdd24523aaadc47b76dae0f37ff133a3016beaf", + "sha256": "631f4b08997eef99e10bedbf8bdd31de2c446a0d33040ba34e7d2cfea4c9ee12", "size": 1034 }, { "url": "https://support.claude.com/en/articles/10504853-manage-user-feedback-settings-on-claude-console", "status": "success", "path": "support/10504853-manage-user-feedback-settings-on-claude-console.md", - "sha256": "ec4609ef8e8923881f6b88c1d635800803c5871fd81c8c421a0255fc160da4b7", - "size": 1003 + "sha256": "dfef20073fa18a8f422215ba2d25a51e494789e49569c5e55b8a9733ac689c8a", + "size": 997 }, { "url": "https://support.claude.com/en/articles/10534883-use-the-claude-widget-on-android", @@ -9473,8 +9473,8 @@ "url": "https://support.claude.com/en/articles/10593882-share-and-unshare-chats", "status": "success", "path": "support/10593882-share-and-unshare-chats.md", - "sha256": "87add2477a1cbc18c50dc3faa032a13a068479ca02bc16239b1120ff986c6c88", - "size": 4018 + "sha256": "32074c5bc6e895ae01e264c614b3dbc903bdfe76cd3da0d59bbd607b08811e94", + "size": 4020 }, { "url": "https://support.claude.com/en/articles/10684626-enable-and-use-web-search", @@ -9501,7 +9501,7 @@ "url": "https://support.claude.com/en/articles/10949351-getting-started-with-local-mcp-servers-on-claude-desktop", "status": "success", "path": "support/10949351-getting-started-with-local-mcp-servers-on-claude-desktop.md", - "sha256": "598fc012ae3ab4ee65a93205a27201bdc830cd730242c8b617391a87ff72d888", + "sha256": "0b867f35a4911a401f16384c7c789a091653499ab5671086f31156a1c259aabe", "size": 8265 }, { @@ -9543,8 +9543,8 @@ "url": "https://support.claude.com/en/articles/11101966-use-voice-mode", "status": "success", "path": "support/11101966-use-voice-mode.md", - "sha256": "bd50aaf06f9b9188752484bce53aaaa1c8951256d91900967efef66d7a0232eb", - "size": 10554 + "sha256": "cca562449477cbd878157db89ed070bc45c50e3309fa7fb6e9e372ff244d7a40", + "size": 10552 }, { "url": "https://support.claude.com/en/articles/11107691-why-is-a-coupon-or-promotion-not-available-for-my-account", @@ -9676,7 +9676,7 @@ "url": "https://support.claude.com/en/articles/11725453-set-up-the-claude-lti-in-canvas-by-instructure", "status": "success", "path": "support/11725453-set-up-the-claude-lti-in-canvas-by-instructure.md", - "sha256": "74c865438f285d254a76db4db6240c7b3c1802d975fc51d1d44b5b009ff7c6be", + "sha256": "37ee3d49ac32faa4f3f7a69b4de5a1af8c89abf68733418100dffbcf675cb214", "size": 2746 }, { @@ -9690,14 +9690,14 @@ "url": "https://support.claude.com/en/articles/11817273-use-claude-s-chat-search-and-memory-to-build-on-previous-context", "status": "success", "path": "support/11817273-use-claude-s-chat-search-and-memory-to-build-on-previous-context.md", - "sha256": "c4ccf49e4a1853235e43631a99f311296e3a681e862d220d5929af27c2c99840", - "size": 25900 + "sha256": "cb9cccb5a530c09b32f817e1eed681c2606b50ab2294fb697a93d8c2a86661ae", + "size": 25750 }, { "url": "https://support.claude.com/en/articles/11818288-why-am-i-being-asked-to-verify-my-payment-method", "status": "success", "path": "support/11818288-why-am-i-being-asked-to-verify-my-payment-method.md", - "sha256": "9c701b005920b5c8e3474de02d53bc4bf8167993f38a831da59dc35e98fe1221", + "sha256": "19d546c2bc8a7e2c7efe0cf44e3c9e9a1e4239068695f4a39dafa84b514f2f40", "size": 814 }, { @@ -9732,8 +9732,8 @@ "url": "https://support.claude.com/en/articles/11869629-use-claude-with-android-apps", "status": "success", "path": "support/11869629-use-claude-with-android-apps.md", - "sha256": "0b6b2bde2e3008b9891839f89b72a60db53dfcea4d6dae436407c80e4e938c97", - "size": 13991 + "sha256": "15152581fa35904afe22653ae2cb640d8533f99cb827195e8319c9b9d2d30224", + "size": 13993 }, { "url": "https://support.claude.com/en/articles/11932705-automated-security-reviews-in-claude-code", @@ -9753,8 +9753,8 @@ "url": "https://support.claude.com/en/articles/12004354-purchase-and-manage-seats-on-team-plans", "status": "success", "path": "support/12004354-purchase-and-manage-seats-on-team-plans.md", - "sha256": "5f0de3eb9bb870929557755fa14cb904f9d544c445698f2dfb93d0e516e920ec", - "size": 7331 + "sha256": "49738310309581ccf44ba04442659bd71f195c0d72f750dd482b6edc6fe0b215", + "size": 8575 }, { "url": "https://support.claude.com/en/articles/12005017-using-agents-according-to-our-usage-policy", @@ -9767,15 +9767,15 @@ "url": "https://support.claude.com/en/articles/12005970-manage-usage-credits-for-team-and-seat-based-enterprise-plans", "status": "success", "path": "support/12005970-manage-usage-credits-for-team-and-seat-based-enterprise-plans.md", - "sha256": "44829e693645b8272f37df9a6c146bdf8e37db968355fc05ca38160504419054", - "size": 9632 + "sha256": "00b36d27ab3ed6f46aaf49655887e6f93e318dbd1b1dad673c0263b6758783a9", + "size": 9644 }, { "url": "https://support.claude.com/en/articles/12012173-get-started-with-claude-in-chrome", "status": "success", "path": "support/12012173-get-started-with-claude-in-chrome.md", - "sha256": "a40231fe18812fe99f44d86dfef8c5770f29c0e5e091d8822d310fef7d4a95bc", - "size": 14855 + "sha256": "fe8b4233b0c1175eabc9a4baa1f4ad9a4b48f0405c2e0dc76bd3cb99dff6c823", + "size": 14857 }, { "url": "https://support.claude.com/en/articles/12053672-what-happens-to-a-user-s-data-when-they-are-removed-from-a-team-or-enterprise-organization", @@ -9788,8 +9788,8 @@ "url": "https://support.claude.com/en/articles/12083917-change-your-team-plan-from-monthly-to-annual-billing", "status": "success", "path": "support/12083917-change-your-team-plan-from-monthly-to-annual-billing.md", - "sha256": "c383aa7feae93215b8f77c3390b248e5e4ba067c6603f5b2047c29b8c550d4d6", - "size": 1400 + "sha256": "11e9b68ae7d2173c2941fb0ec02741bbb3b5aec44e8b1a0a99dd1ea815469367", + "size": 1394 }, { "url": "https://support.claude.com/en/articles/12109679-creating-a-new-account-after-deletion", @@ -9802,8 +9802,8 @@ "url": "https://support.claude.com/en/articles/12111783-create-and-edit-files-with-claude", "status": "success", "path": "support/12111783-create-and-edit-files-with-claude.md", - "sha256": "5d234ae1ea28888ee76d87b3db34fc124fd93dbab0d864da35bf2447804b3948", - "size": 17960 + "sha256": "90e11f4bb18fc49d29646c846a9f43b2bd6bce0beeba20232471db735d75eb34", + "size": 17962 }, { "url": "https://support.claude.com/en/articles/12119250-model-safety-bug-bounty-program", @@ -9816,8 +9816,8 @@ "url": "https://support.claude.com/en/articles/12123587-import-and-export-your-memory-from-claude", "status": "success", "path": "support/12123587-import-and-export-your-memory-from-claude.md", - "sha256": "b44cdef30bd68819c1c449cd9f89348d91228a03fa5683a0eedab6f7695a97a5", - "size": 8416 + "sha256": "f0c7b2e6649e94fcb63e5840175316f99846f12fde61a284171e68a61a2e07b7", + "size": 8245 }, { "url": "https://support.claude.com/en/articles/12138966-release-notes", @@ -9830,22 +9830,22 @@ "url": "https://support.claude.com/en/articles/12157520-claude-code-usage-analytics", "status": "success", "path": "support/12157520-claude-code-usage-analytics.md", - "sha256": "1a698347fee3585b20da2392bdf1b7fc1ce8631e53739d90d797963515a2c0f9", - "size": 6425 + "sha256": "9616a6216a25d4164208a2e70202fe441283db1d16b89bc2ed0ea21103caf6f1", + "size": 6427 }, { "url": "https://support.claude.com/en/articles/12260368-use-incognito-chats", "status": "success", "path": "support/12260368-use-incognito-chats.md", - "sha256": "8d57259f518175bad3a8f3c62c59d0eacb9a37d63bce96c86376cb031de1daf3", - "size": 3596 + "sha256": "a8b03121933e38529ceed2e1ee16a33a1eee3b23e00283c0319697776418146b", + "size": 3598 }, { "url": "https://support.claude.com/en/articles/12293051-use-claude-in-xcode", "status": "success", "path": "support/12293051-use-claude-in-xcode.md", - "sha256": "96693b48faf9f37bc974adedd690af05a827e3a45b54c19cd67c67d5b939bdd6", - "size": 1907 + "sha256": "bbe841f1130adc358345ef8590edb00cc67c7c03e8e9753d1d21aaca462c50c6", + "size": 1909 }, { "url": "https://support.claude.com/en/articles/12304248-manage-api-key-environment-variables-in-claude-code", @@ -9886,14 +9886,14 @@ "url": "https://support.claude.com/en/articles/12429409-manage-usage-credits-for-paid-claude-plans", "status": "success", "path": "support/12429409-manage-usage-credits-for-paid-claude-plans.md", - "sha256": "7a4526b9171b89f592b7a55b45ab0c989c3056f108660cafe7d629e9498ed13b", - "size": 6414 + "sha256": "e557ed6ccfcfc1cd783e908e9f297df3f4df3b6f948863114134629bf1b728dd", + "size": 6412 }, { "url": "https://support.claude.com/en/articles/12466728-troubleshoot-claude-error-messages", "status": "success", "path": "support/12466728-troubleshoot-claude-error-messages.md", - "sha256": "2cca164f1f267548f1657c2eaae228e1bb1b247ff031ab7e69650615b08c73f7", + "sha256": "b60638be4e7377a9ab121475b0229aa3c0bfc0314bceb30f78897eecec9c5ee2", "size": 4232 }, { @@ -9914,8 +9914,8 @@ "url": "https://support.claude.com/en/articles/12512180-use-skills-in-claude", "status": "success", "path": "support/12512180-use-skills-in-claude.md", - "sha256": "5a3f835d62dbf8fee95a87de023702f909e6364f4e193e6fa55e839c81deea60", - "size": 15546 + "sha256": "37c038a3f6012cbb664c8b7131769d6bf13d4b6ddc1f6bfacd79f1d099ef9397", + "size": 15548 }, { "url": "https://support.claude.com/en/articles/12512198-how-to-create-custom-skills", @@ -9935,7 +9935,7 @@ "url": "https://support.claude.com/en/articles/12592343-enabling-and-using-the-desktop-extension-allowlist", "status": "success", "path": "support/12592343-enabling-and-using-the-desktop-extension-allowlist.md", - "sha256": "e572d047a3cbd9272e46ac5cdae4a2715f0d903122f5428ea10f588ccb6cb49d", + "sha256": "37e4ed85373a91b4895098e62af345fcf732f4ab0f43e70f67f3006eb67aa400", "size": 5708 }, { @@ -9949,15 +9949,15 @@ "url": "https://support.claude.com/en/articles/12618689-claude-code-on-the-web", "status": "success", "path": "support/12618689-claude-code-on-the-web.md", - "sha256": "68517fc395138ea70eab935bc64c49052e06ae8e22c70650a505d50d63c54ee3", - "size": 10970 + "sha256": "033d14a98c9235e4986738f33f87dd9a5c3e92ae43d6f2d1785aed4612f48e12", + "size": 10964 }, { "url": "https://support.claude.com/en/articles/12622667-enterprise-configuration-for-claude-desktop", "status": "success", "path": "support/12622667-enterprise-configuration-for-claude-desktop.md", - "sha256": "417db7e5cd5b50de26f6f448e87d6bd1bf582751702ed70a0cdaa043179fa2a9", - "size": 8422 + "sha256": "30c40d2e0ce622fa2f13b050a86f9b8ca2adcf555f9b3f6b676f18e3e775b08a", + "size": 7810 }, { "url": "https://support.claude.com/en/articles/12622703-deploy-claude-desktop-for-windows", @@ -9970,7 +9970,7 @@ "url": "https://support.claude.com/en/articles/12626668-use-quick-entry-with-claude-desktop-on-mac", "status": "success", "path": "support/12626668-use-quick-entry-with-claude-desktop-on-mac.md", - "sha256": "b0151b6afd2baf1e975c8e56e3b187329ee27c1b77ce84a7146ecd555d32a946", + "sha256": "8894dd668be92f53e28c518bb4c180fa7631119e735c540693254eafc3485676", "size": 5970 }, { @@ -10005,8 +10005,8 @@ "url": "https://support.claude.com/en/articles/12883420-view-usage-analytics-for-team-and-enterprise-plans", "status": "success", "path": "support/12883420-view-usage-analytics-for-team-and-enterprise-plans.md", - "sha256": "9dc4ac03a27cf5dcb049a362c99bb6dbbb0e4b1fd0fcfb1934014a43c9e83c2e", - "size": 13167 + "sha256": "a8017924c99742cc378160401c6dc91035cfe26bca4b612c3927ee0f43322476", + "size": 14075 }, { "url": "https://support.claude.com/en/articles/12902405-claude-in-chrome-troubleshooting", @@ -10026,8 +10026,8 @@ "url": "https://support.claude.com/en/articles/12902446-claude-in-chrome-permissions-guide", "status": "success", "path": "support/12902446-claude-in-chrome-permissions-guide.md", - "sha256": "e4d841d625fa7246531fe2c8a2bc4888f2801b565751e24b5b67cba3b7e8a04d", - "size": 9561 + "sha256": "283dbc62d74295ca4146632229464bc2767525cef917b92271c4e90c0f694f97", + "size": 9565 }, { "url": "https://support.claude.com/en/articles/12938627-how-to-gift-a-claude-subscription", @@ -10054,8 +10054,8 @@ "url": "https://support.claude.com/en/articles/12997503-team-plan-billing-faqs", "status": "success", "path": "support/12997503-team-plan-billing-faqs.md", - "sha256": "8a083b57390f22db9caea95cc8a10ffeeb565046e84a11f390e6f3162497a93d", - "size": 4008 + "sha256": "0411964b3863f7e7583ea4dcb09626021002c2a2cfe8c9542f267d5f5d15d442", + "size": 4006 }, { "url": "https://support.claude.com/en/articles/13015708-access-the-compliance-api", @@ -10103,15 +10103,15 @@ "url": "https://support.claude.com/en/articles/13132885-set-up-single-sign-on-sso", "status": "success", "path": "support/13132885-set-up-single-sign-on-sso.md", - "sha256": "544435901314a822685f8a7d59169ef53b3fdf5a8dee77da401e22e47fa47d27", - "size": 12317 + "sha256": "12a17e5c5d518aee681e82d7186693746014ce045f8daca34fb5ca7a24d69910", + "size": 13419 }, { "url": "https://support.claude.com/en/articles/13133195-set-up-jit-or-scim-provisioning", "status": "success", "path": "support/13133195-set-up-jit-or-scim-provisioning.md", - "sha256": "2b57c3f4f2d714b5b670f32a22a8e98d1ab85e45d3b7b2184f99e797a09a8153", - "size": 19493 + "sha256": "b7e7cfc3851dda05c3f94f97e71d21d6d72f54cff0830e7aebab7308256deef6", + "size": 19765 }, { "url": "https://support.claude.com/en/articles/13133750-manage-members-on-team-and-enterprise-plans", @@ -10138,8 +10138,8 @@ "url": "https://support.claude.com/en/articles/13163631-configuring-session-security-settings", "status": "success", "path": "support/13163631-configuring-session-security-settings.md", - "sha256": "b20d43b11bc267af8e6e0f0a60f76499c6d7d16bcea0d56ff21f30f9ea391e85", - "size": 3704 + "sha256": "9afb43a31c57278a47d0e409ca7fe5b61c7a26d1e5e7c5b039a2c91d41c14f2b", + "size": 3702 }, { "url": "https://support.claude.com/en/articles/13163666-holiday-2025-usage-promotion", @@ -10159,8 +10159,8 @@ "url": "https://support.claude.com/en/articles/13189465-log-in-to-your-claude-account", "status": "success", "path": "support/13189465-log-in-to-your-claude-account.md", - "sha256": "d9e74cdb4ba6cffae78d7adfb40b205f0679998b731c09f1ff8092e0a21d523d", - "size": 7040 + "sha256": "c0b165a8551c9b2369a2dbc09bfa70c6b2240f5b511c2649d61bb73ef928e9e4", + "size": 7038 }, { "url": "https://support.claude.com/en/articles/13198485-enforce-network-level-access-control-with-tenant-restrictions", @@ -10187,22 +10187,22 @@ "url": "https://support.claude.com/en/articles/13325567-account-management-faqs", "status": "success", "path": "support/13325567-account-management-faqs.md", - "sha256": "99d31e6d332f1be52ac19bae341b26072072cd40c5352b9e1240d4889733fdb6", - "size": 2642 + "sha256": "f8919da5b2129992274d8726de1d8f614cb1573f068cb53d68e46f1e8e62df65", + "size": 2638 }, { "url": "https://support.claude.com/en/articles/13345190-get-started-with-claude-cowork", "status": "success", "path": "support/13345190-get-started-with-claude-cowork.md", - "sha256": "77ad126ea2b8433e4e3a90719613bf2184ada302083a4f5f07b1fafd040f05f6", - "size": 21509 + "sha256": "acc2422985f441fd5a3f939730b60fa838424368a6b506ae9c92dee30d9eba36", + "size": 21530 }, { "url": "https://support.claude.com/en/articles/13346458-customizing-your-console-appearance-settings", "status": "success", "path": "support/13346458-customizing-your-console-appearance-settings.md", - "sha256": "673817dffe562fae2f7c28eea99427b11aef2225a399eaf6c5d06ca3998dad71", - "size": 607 + "sha256": "5c970b08306fce30d3edc8684418dbf3bcbcbc2d95b8f3e7bffbb2b309ce1515", + "size": 605 }, { "url": "https://support.claude.com/en/articles/13346720-export-your-organization-s-data", @@ -10222,15 +10222,15 @@ "url": "https://support.claude.com/en/articles/13371040-log-in-to-your-console-account", "status": "success", "path": "support/13371040-log-in-to-your-console-account.md", - "sha256": "12e4575e9f3b0efe3ec38f34262b1f7e47abd8967001f9e1b5072e059501cf75", + "sha256": "850c072194a3bf8b074d6f028ca2404349c3f727379e113bab6720d985b694e8", "size": 4613 }, { "url": "https://support.claude.com/en/articles/13393991-purchase-and-manage-seats-on-enterprise-plans", "status": "success", "path": "support/13393991-purchase-and-manage-seats-on-enterprise-plans.md", - "sha256": "8a053f38090412123adc3a4eb72e8f42dff20fd4763235e32d6f4869160729a8", - "size": 13326 + "sha256": "12ac82433dbce3058c9a250c8c380bf4e8b848e1373a14624ce43c971dd8dc9a", + "size": 13562 }, { "url": "https://support.claude.com/en/articles/13403291-how-can-i-check-connectivity-to-the-claude-api", @@ -10278,8 +10278,8 @@ "url": "https://support.claude.com/en/articles/13641943-visual-and-interactive-content", "status": "success", "path": "support/13641943-visual-and-interactive-content.md", - "sha256": "ca5217ea35f4c0e8915fead8083cf697c1feee77a692db8d02073c1e65e6d326", - "size": 6511 + "sha256": "be404332865741ea98aeca3647a0b98ea3426f758bff14c44c4eaec566ea434f", + "size": 6513 }, { "url": "https://support.claude.com/en/articles/13663666-use-visual-and-interactive-content-on-team-and-enterprise-plans", @@ -10306,8 +10306,8 @@ "url": "https://support.claude.com/en/articles/13756069-public-sector-faqs", "status": "success", "path": "support/13756069-public-sector-faqs.md", - "sha256": "4d0ebd0927a6943fa84254a0dd370bd950bc5906768bc253c6cf7ab8c1a4e651", - "size": 8378 + "sha256": "059d7fcfaa7f3321e9098fab0156480cf7532b201c618a5cbab0a727104865fb", + "size": 8380 }, { "url": "https://support.claude.com/en/articles/13776697-join-an-organization-via-invite-link", @@ -10327,29 +10327,29 @@ "url": "https://support.claude.com/en/articles/13799932-manage-groups-and-group-spend-limits-on-enterprise-plans", "status": "success", "path": "support/13799932-manage-groups-and-group-spend-limits-on-enterprise-plans.md", - "sha256": "76ecc34855836df5ffc26ad680aa115d09bd55fec7304832f31d57210dc32dc7", - "size": 11877 + "sha256": "88dd38d65035d93e4b3d3bed555ab03292152fac680686c76625fe1235013201", + "size": 12915 }, { "url": "https://support.claude.com/en/articles/13837433-manage-plugins-for-your-organization", "status": "success", "path": "support/13837433-manage-plugins-for-your-organization.md", - "sha256": "565cd4cf8f81935dc0a1df3bcca854a885822639c9a9d83fa673c0f0d81b005d", + "sha256": "9f39ffdfe0510720947699378629f8bfa65cb29aa48b6eda472b2cf7ebb97abf", "size": 20823 }, { "url": "https://support.claude.com/en/articles/13837440-use-plugins-in-claude", "status": "success", "path": "support/13837440-use-plugins-in-claude.md", - "sha256": "abcd5ea974a9458433e646e75b9616185a00f5ba6d91ed75b65f1c020099d12e", - "size": 6720 + "sha256": "f835e526036057bffb8659e040464bbf21b8dd869c0b4ddbd6ab1f84405d228b", + "size": 6722 }, { "url": "https://support.claude.com/en/articles/13854387-schedule-recurring-tasks-in-claude-cowork", "status": "success", "path": "support/13854387-schedule-recurring-tasks-in-claude-cowork.md", - "sha256": "62b9f48d09f0fc3c687134b108d3fcf5ac251690e8269c1055e1b71107b7cff1", - "size": 4747 + "sha256": "3a256efffa2f47515bae92105ad8d948c0206042adfaf87ccd3b6351055cfe2d", + "size": 4745 }, { "url": "https://support.claude.com/en/articles/13917817-google-workspace-sso-scim-email-mismatch", @@ -10404,8 +10404,8 @@ "url": "https://support.claude.com/en/articles/13917894-okta-sso-setup", "status": "success", "path": "support/13917894-okta-sso-setup.md", - "sha256": "6a0552da1cca13b930150b7ec0a887fc13462909e922fd689f257cd280984bee", - "size": 3993 + "sha256": "c98dec40419e5b59dcd653ce0e2ab3eb1a3a933013fbff325d90661eabdfb626", + "size": 4585 }, { "url": "https://support.claude.com/en/articles/13917899-onelogin-sso-setup", @@ -10425,8 +10425,8 @@ "url": "https://support.claude.com/en/articles/13930452-manage-custom-roles-on-enterprise-plans", "status": "success", "path": "support/13930452-manage-custom-roles-on-enterprise-plans.md", - "sha256": "352b5f8541e7b7c0310de406b7c05b77f05745e0260e5031ec5445a2c4b0ae7e", - "size": 38752 + "sha256": "f7168e5c2fb42aaa4b32369fe9d637a69d8772da2502c67bcf8ce6160c62ef5b", + "size": 39233 }, { "url": "https://support.claude.com/en/articles/13930458-set-up-role-based-permissions-on-enterprise-plans", @@ -10439,8 +10439,8 @@ "url": "https://support.claude.com/en/articles/13947068-assign-tasks-from-anywhere-in-claude-cowork", "status": "success", "path": "support/13947068-assign-tasks-from-anywhere-in-claude-cowork.md", - "sha256": "b270ff7ca7397302b6ba216290bb3e2e6d57005afc0b31a5684819cc2cc17d82", - "size": 8526 + "sha256": "273e2d5910062087abb2c644d2c0a4032f7b356093eec341cf706562e822e425", + "size": 8530 }, { "url": "https://support.claude.com/en/articles/13979539-custom-visuals-in-chat-and-cowork", @@ -10460,15 +10460,15 @@ "url": "https://support.claude.com/en/articles/14116274-organize-your-tasks-with-projects-in-claude-cowork", "status": "success", "path": "support/14116274-organize-your-tasks-with-projects-in-claude-cowork.md", - "sha256": "d7e2b88197aa667509b4ef2a63b242de86343863ecd6e11e678b1adcffcf3da7", - "size": 5700 + "sha256": "1249d5e2da42e091bab72ba3fbcd5d90ddf0485c25b89e3348305a4cf227e833", + "size": 5702 }, { "url": "https://support.claude.com/en/articles/14128542-let-claude-use-your-computer-in-cowork", "status": "success", "path": "support/14128542-let-claude-use-your-computer-in-cowork.md", - "sha256": "6449502edccb58ccf08c44dd1aebd47a300c59edcec92f7930166d2431abe62b", - "size": 8923 + "sha256": "6a4459b1a110817132392772c9898b242f267ffe3bc8030a87ae8dee526851be", + "size": 8881 }, { "url": "https://support.claude.com/en/articles/14128775-claude-code-on-console-to-enterprise-migration", @@ -10481,8 +10481,8 @@ "url": "https://support.claude.com/en/articles/14233555-set-up-code-review-for-claude-code", "status": "success", "path": "support/14233555-set-up-code-review-for-claude-code.md", - "sha256": "2c63d573e0112f8c8c2f34345c72ce43b3d15cc09a5a1c71660d97e7751d3105", - "size": 12443 + "sha256": "eb0333f00e23d0796bf3b1fbda9c2fa875317d24b87480242f4cf552d6167441", + "size": 12409 }, { "url": "https://support.claude.com/en/articles/14246112-buy-usage-bundles", @@ -10530,8 +10530,8 @@ "url": "https://support.claude.com/en/articles/14499648-how-scim-sync-works-for-enterprise-organizations", "status": "success", "path": "support/14499648-how-scim-sync-works-for-enterprise-organizations.md", - "sha256": "5dd0d952036cbfda40335e6ebae03b0ffb31d6902cac1ebe98f27da1454270a8", - "size": 7440 + "sha256": "eb38aa036eb0d665869b1d0709d59e6b7bffddebbd60689aab74251a5ac8b420", + "size": 7734 }, { "url": "https://support.claude.com/en/articles/14503520-available-beta-and-research-preview-features", @@ -10551,15 +10551,15 @@ "url": "https://support.claude.com/en/articles/14503613-sso-login", "status": "success", "path": "support/14503613-sso-login.md", - "sha256": "b04b9bca24d4a8fd2368aa323edea6f11692030a03174a32dba6f5b1f9ef1120", - "size": 6690 + "sha256": "0fa3bb10aee8632a21e47f5b8605daadd89a8c45fb7e43d3487e1d752412c927", + "size": 6698 }, { "url": "https://support.claude.com/en/articles/14503643-set-up-scim-in-claude-for-government", "status": "success", "path": "support/14503643-set-up-scim-in-claude-for-government.md", - "sha256": "1452895f23bb4ae2af9c17ea06eca81a152a7bb9bd185ce533a480c3665f2f4e", - "size": 6423 + "sha256": "f1034234859f559a843ff37ade90c478df966c0f23a29a90327fccbcfca43d86", + "size": 6431 }, { "url": "https://support.claude.com/en/articles/14503675-organization-instructions-in-claude-for-government", @@ -10586,8 +10586,8 @@ "url": "https://support.claude.com/en/articles/14503775-mcp-web-search", "status": "success", "path": "support/14503775-mcp-web-search.md", - "sha256": "adf97eadd47926d9c25717a8fd6a98ad2396186ca8c66b0e9bf947001786ed7b", - "size": 4679 + "sha256": "ad8ca4b87b2849ff99df0ffb663423b397ff4cc73a49905005c4ca3f641932d1", + "size": 4675 }, { "url": "https://support.claude.com/en/articles/14503794-model-availability-in-claude-for-government", @@ -10684,22 +10684,22 @@ "url": "https://support.claude.com/en/articles/14604397-set-up-your-design-system-in-claude-design", "status": "success", "path": "support/14604397-set-up-your-design-system-in-claude-design.md", - "sha256": "62eb6c226c65132fb85a7c97e947f1865ddf77d92f32dad55bd74ae8bd7082ab", + "sha256": "4c2c9e3aae02aa47284db0a9d18fe241eb9c63c88a8a3a0c144146c93dde3e83", "size": 4396 }, { "url": "https://support.claude.com/en/articles/14604406-claude-design-admin-guide-for-team-and-enterprise-plans", "status": "success", "path": "support/14604406-claude-design-admin-guide-for-team-and-enterprise-plans.md", - "sha256": "ade30f6988037eef604d99fbbe96349f7717805e8ae48b4bcd7c75a58028c7c1", - "size": 12735 + "sha256": "d8c4993d19d688d297b7b35dcc3e207127000527c8de87499540c7a2d103f2f7", + "size": 12737 }, { "url": "https://support.claude.com/en/articles/14604416-get-started-with-claude-design", "status": "success", "path": "support/14604416-get-started-with-claude-design.md", - "sha256": "9ee5896680d44803b207ffeb2dc816d20568d187a711c29fdacbe2cb87a01d97", - "size": 11136 + "sha256": "30db5d4d23c3a03b4a4f9f2526d92aa5fe0d22003abcdf965f1617c3ce278042", + "size": 11134 }, { "url": "https://support.claude.com/en/articles/14604842-real-time-cyber-safeguards-on-claude-opus-and-sonnet", @@ -10712,8 +10712,8 @@ "url": "https://support.claude.com/en/articles/14625619-claim-and-migrate-accounts-on-your-domain", "status": "success", "path": "support/14625619-claim-and-migrate-accounts-on-your-domain.md", - "sha256": "7379730deb855b157057228f521aaf72ff324e5f9b469436b520d2e1e46fadb1", - "size": 7409 + "sha256": "24250491e3b0fff56c66ea36c9c44b5386fc10891c7e0b1c2f05a813181c0111", + "size": 8710 }, { "url": "https://support.claude.com/en/articles/14625626-respond-to-an-enterprise-domain-claim-on-your-claude-account", @@ -10729,13 +10729,6 @@ "sha256": "714762128f080a26d3c0e57e5d91ab50359d54d730cecc7a769f8cc96bc2d7ee", "size": 8700 }, - { - "url": "https://support.claude.com/en/articles/14729249-use-live-artifacts-in-claude-cowork", - "status": "success", - "path": "support/14729249-use-live-artifacts-in-claude-cowork.md", - "sha256": "fd05afffd92a351be3d32bb0cff4e433ad97b609f632d43ac7e2fee4e7fdf051", - "size": 6274 - }, { "url": "https://support.claude.com/en/articles/14729294-open-claude-desktop-with-a-link", "status": "success", @@ -10761,8 +10754,8 @@ "url": "https://support.claude.com/en/articles/14782391-claude-enterprise-consumption-guide", "status": "success", "path": "support/14782391-claude-enterprise-consumption-guide.md", - "sha256": "2baba368c70166d12342d3584818dece9e500aaece0656047e3bc7bd14458b76", - "size": 25324 + "sha256": "b3d051889e0b07f675b74064bca7474bc08e5e353005db86987efbe1500e02d2", + "size": 25978 }, { "url": "https://support.claude.com/en/articles/14793921-find-and-join-a-console-organization", @@ -10834,6 +10827,13 @@ "sha256": "d9475a3bb91028573be61e6a6360348a4a4537f0f6cd343e5ebae35e16ece539", "size": 48446 }, + { + "url": "https://support.claude.com/en/articles/15363606-why-claude-switched-models-in-your-conversation-with-fable-5-or-fable-5-1", + "status": "success", + "path": "support/15363606-why-claude-switched-models-in-your-conversation-with-fable-5-or-fable-5-1.md", + "sha256": "d1ab8b00593bcb61a58d9dac3a98cde04549689bbfab13b94eb0daa167c33174", + "size": 8608 + }, { "url": "https://support.claude.com/en/articles/15402193-restrict-verified-domain-connectors-to-your-enterprise", "status": "success", @@ -10848,6 +10848,13 @@ "sha256": "82db87fb03f092b16af2f99f8ef8a1062fd07ab18115f97529f676543316a6a7", "size": 3503 }, + { + "url": "https://support.claude.com/en/articles/15424964-claude-fable-models-on-your-plan", + "status": "success", + "path": "support/15424964-claude-fable-models-on-your-plan.md", + "sha256": "4506b787201c58e750a7420e06a3bb37e3c8d58f468b2d742ca74e8ac603842f", + "size": 5981 + }, { "url": "https://support.claude.com/en/articles/15425695-covered-models", "status": "success", @@ -10880,8 +10887,8 @@ "url": "https://support.claude.com/en/articles/15520349-use-claude-cowork-on-web-desktop-and-mobile", "status": "success", "path": "support/15520349-use-claude-cowork-on-web-desktop-and-mobile.md", - "sha256": "f0cd04c2d8ad62c20161e52eda71b8ac371954d2c6e1d707bdf59760d0eae749", - "size": 7533 + "sha256": "db3325ff97758f1cb86cfc15f29948e4f7b435e9015f255922a79881be520f46", + "size": 7775 }, { "url": "https://support.claude.com/en/articles/15537633-authorize-mcp-connectors-for-your-entire-organization", @@ -10957,7 +10964,7 @@ "url": "https://support.claude.com/en/articles/15936181-get-started-with-1password-for-claude", "status": "success", "path": "support/15936181-get-started-with-1password-for-claude.md", - "sha256": "9d49076be561061ce8bd34581775d37c40d8178b0a41cba0152c8fab9d35d801", + "sha256": "def4e455b68aa87cd7f9fcc2bc510586c671f71b9fe06bcfddb4364e27bf1f7f", "size": 5060 }, { @@ -11006,8 +11013,8 @@ "url": "https://support.claude.com/en/articles/16607638-understanding-your-pro-or-max-plan-invoices", "status": "success", "path": "support/16607638-understanding-your-pro-or-max-plan-invoices.md", - "sha256": "514e42485dfad481fd9cb8bd2388babca8dc486740fd26a87247eea0679bf99d", - "size": 5435 + "sha256": "06c3b2eb9178c076ad851a95b6bbd8f3436e8f12417f217603370d1c6bab42b5", + "size": 5441 }, { "url": "https://support.claude.com/en/articles/16607668-understanding-your-team-plan-invoices", @@ -11037,12 +11044,19 @@ "sha256": "197d7b42bfc93149940106db0ce18cc947c1559be33ff572f65bb992f554d839", "size": 4479 }, + { + "url": "https://support.claude.com/en/articles/16761192-preserved-thinking-changing-how-the-messages-api-handles-thinking-blocks-to-protect-against-distillation", + "status": "success", + "path": "support/16761192-preserved-thinking-changing-how-the-messages-api-handles-thinking-blocks-to-protect-against-distillation.md", + "sha256": "98ddfd2b7452b2969746ddbb11495df85ea4975303b4dc5275c1e3bdc379626a", + "size": 5749 + }, { "url": "https://support.claude.com/en/articles/16764810-assign-a-program-to-workspaces-in-claude-console", "status": "success", "path": "support/16764810-assign-a-program-to-workspaces-in-claude-console.md", - "sha256": "ac304897bc1222c16cf4d89eda4aaf26f6856d4e4c8d6fa47ee84d238f425d60", - "size": 5105 + "sha256": "ec1c8a7ced608057e79284511935c3cfc5154c48e2cdba0cc32ade8500c0576b", + "size": 5107 }, { "url": "https://claude.com/docs/claude-science/admin-controls", @@ -11958,8 +11972,8 @@ "url": "https://claude.com/docs/cowork/changelog", "status": "success", "path": "claude/cowork/changelog.md", - "sha256": "3ff6ca4d5fa05b12c8cdfe6345c0b2aad2bafc283cf196ac52cf1d8462d05c01", - "size": 107080 + "sha256": "b9241623e532d8689c6981aa81e3d09d0cd65392240b594db216e6b769ab3dba", + "size": 116815 }, { "url": "https://claude.com/docs/cowork/guide/dispatch", @@ -12077,8 +12091,8 @@ "url": "https://claude.com/docs/government/deploy-desktop/windows-checklist", "status": "success", "path": "claude/government/deploy-desktop/windows-checklist.md", - "sha256": "a717d14538b405760d9f786bbf6a4c8d9e0caa6e2bd045f559146e4885ce6484", - "size": 11402 + "sha256": "55c90dda6bb9352162d3e505a93a5874e2f2e51664adeff5b3f7134dee335353", + "size": 11392 }, { "url": "https://claude.com/docs/government/desktop/import", @@ -12196,8 +12210,8 @@ "url": "https://claude.com/docs/government/security/security-and-data-handling", "status": "success", "path": "claude/government/security/security-and-data-handling.md", - "sha256": "7a49adf953b0e32e2763c1298ed568a900090c1154bbc3a6d821317479f66a31", - "size": 31699 + "sha256": "688f264f63695dfe01a3a8e8ee585c2c66ee6ce1e3ced82f8b6403078a89c8c8", + "size": 31689 }, { "url": "https://claude.com/docs/government/tenant-admin/admins", @@ -12399,8 +12413,8 @@ "url": "https://claude.com/docs/third-party/claude-desktop/bootstrap", "status": "success", "path": "claude/third-party/claude-desktop/bootstrap.md", - "sha256": "5a0368f09ce9c24a2e7ad06f2d01b3941ff417aa3db04011b8bcd859dc97adeb", - "size": 50845 + "sha256": "a81d81f9261e3b8d741e5cd77b22a8b9f21edfc489f3261e0c2d9ed8c8e85230", + "size": 50953 }, { "url": "https://claude.com/docs/third-party/claude-desktop/built-in-connectors", @@ -12434,15 +12448,15 @@ "url": "https://claude.com/docs/third-party/claude-desktop/configuration", "status": "success", "path": "claude/third-party/claude-desktop/configuration.md", - "sha256": "30096369afc41ff2216055bcdf9fc936c0f7cf2b5ce2c9e4698066e3ea9fe0bb", - "size": 200894 + "sha256": "1f44ea54eda63ca311c1dc22b3df29abd10c2ca07bb2484eeb08edadabac8f32", + "size": 200978 }, { "url": "https://claude.com/docs/third-party/claude-desktop/configuration-changelog", "status": "success", "path": "claude/third-party/claude-desktop/configuration-changelog.md", - "sha256": "1772af1e0d30220093d2397a6897a589de44458c6104ef22ec5343e229163179", - "size": 51455 + "sha256": "fa446dc4a5a43f665bf0e6c6b9c87ca20858b15dab9b752c751a52b4ad914e73", + "size": 55278 }, { "url": "https://claude.com/docs/third-party/claude-desktop/connectors-github", @@ -12504,15 +12518,15 @@ "url": "https://claude.com/docs/third-party/claude-desktop/gateway", "status": "success", "path": "claude/third-party/claude-desktop/gateway.md", - "sha256": "e6d460645c3a363419623a1e9a4ec74fcd76531a6a1c63dc29dcf327147667b8", - "size": 47816 + "sha256": "e0dbb5ec22ddf114d4a17185e41b9db121555f4f4f880eab94b9b7e6840b847e", + "size": 48918 }, { "url": "https://claude.com/docs/third-party/claude-desktop/import", "status": "success", "path": "claude/third-party/claude-desktop/import.md", - "sha256": "b1007780f26373c314e621287a8118f9e2a5a8b922dec9fd9e83201a3f66a86b", - "size": 12442 + "sha256": "0d1dcabdcc70a4b83351ed5e24a9c2e784c3abd4470a9ef87953016a219b305b", + "size": 14501 }, { "url": "https://claude.com/docs/third-party/claude-desktop/in-app-configuration", @@ -12525,8 +12539,8 @@ "url": "https://claude.com/docs/third-party/claude-desktop/installation", "status": "success", "path": "claude/third-party/claude-desktop/installation.md", - "sha256": "9b41171f63924d69d400e0cefab8780354c9c08bf4cb239b34db1ee458b27890", - "size": 16484 + "sha256": "60d1ac059593635785260108c1f478aac052d2ca0bf187b7408dac23be40be90", + "size": 16510 }, { "url": "https://claude.com/docs/third-party/claude-desktop/legal", @@ -12553,8 +12567,15 @@ "url": "https://claude.com/docs/third-party/claude-desktop/mdm", "status": "success", "path": "claude/third-party/claude-desktop/mdm.md", - "sha256": "3eb59c29b0e2ea645d3465101f3bcc0bc1f1b355be2eaebd18ae7ff6191e3b3e", - "size": 15669 + "sha256": "e2726fd6ff48de273e82c0fc94916aafba3ca3941b5b61d7e067ec3fe1e4d110", + "size": 15945 + }, + { + "url": "https://claude.com/docs/third-party/claude-desktop/network-proxy", + "status": "success", + "path": "claude/third-party/claude-desktop/network-proxy.md", + "sha256": "c2550654a03502f866ad5941fbf302ef798da4ee3d401615392a77f942698cf4", + "size": 24212 }, { "url": "https://claude.com/docs/third-party/claude-desktop/overview", @@ -12567,15 +12588,15 @@ "url": "https://claude.com/docs/third-party/claude-desktop/ssh-remote-sessions", "status": "success", "path": "claude/third-party/claude-desktop/ssh-remote-sessions.md", - "sha256": "c4fe849a21cd25d86b3c8d35ce041847aeaf04bc2b9d84e94c094847f598eb49", - "size": 20507 + "sha256": "23b1a394c3ca6e6a381e8a67f25abec878dbd937134fbb727ec37bcec2e75abf", + "size": 20878 }, { "url": "https://claude.com/docs/third-party/claude-desktop/telemetry", "status": "success", "path": "claude/third-party/claude-desktop/telemetry.md", - "sha256": "846e67ae46841f94dae2e82169a10519f308ccd7be63e901ffea68f36bccd82a", - "size": 31161 + "sha256": "a1236fe78e8805bd046b659abad52318d48c69784f8cc5cd9ff0b212e274c79c", + "size": 30177 }, { "url": "https://claude.com/docs/third-party/claude-desktop/vertex", @@ -12637,29 +12658,29 @@ "url": "https://platform.claude.com/docs/en/api/java/completions", "status": "success", "path": "en/api/java/completions.md", - "sha256": "655e41feba8e6e141c56c400643040ae90c9173017bb7419c29ac96dd10551cf", - "size": 13464 + "sha256": "2a5e3a96d0a3b8a2ec75a2d9e1b5b51788901cece65062b4c6126b782e506b58", + "size": 13476 }, { "url": "https://platform.claude.com/docs/en/api/java/messages", "status": "success", "path": "en/api/java/messages.md", - "sha256": "0f9acad088a3fa1c429b97d3663f4771be58608001d02506e16df2dc55fa6199", - "size": 906358 + "sha256": "c0182a3832187b7e68ae4d479dc50979c5458993740427ba08d9af2c7378b142", + "size": 924662 }, { "url": "https://platform.claude.com/docs/en/api/java/beta", "status": "success", "path": "en/api/java/beta.md", - "sha256": "46749a57bc311d794d16754decd1b1088751d9f3f5c03e620478ec98c489324a", - "size": 2268021 + "sha256": "09a03a328088ef8ecffdb4f4cd99d4a6ce682f740d4a25379aa34a796eb4049d", + "size": 2277814 }, { "url": "https://platform.claude.com/docs/en/api/java/models", "status": "success", "path": "en/api/java/models.md", - "sha256": "00ef34909662a1105a4cd86fe9f62d166878e6a24c5086df8af60951ac9cf0ec", - "size": 25286 + "sha256": "d098eb8ed9c10b8de5c47c3ebe6928003f818d4bfc6c1669046148104f3e3bf0", + "size": 25289 }, { "url": "https://platform.claude.com/docs/en/api/go/completions", @@ -12693,29 +12714,29 @@ "url": "https://platform.claude.com/docs/en/api/csharp/completions", "status": "success", "path": "en/api/csharp/completions.md", - "sha256": "1755d2314a2c83145e7bad5c3ab724254dbf1fe2b285e990a2b1487022ca30c2", - "size": 14 + "sha256": "4c8bf98cb1ce9521a1d8046ab06972cae8f503860cb5beadcbe85ebefa439d99", + "size": 14288 }, { "url": "https://platform.claude.com/docs/en/api/csharp/messages", "status": "success", "path": "en/api/csharp/messages.md", - "sha256": "d1a3564505f445f1f1386f4f20a6cd364f1b33308753011ce5d693fdda64c8a6", - "size": 872987 + "sha256": "0dc67507a13de6d224cccc22215986568dcb80b92add50a750921deab36ded1f", + "size": 923359 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta", "status": "success", "path": "en/api/csharp/beta.md", - "sha256": "c73ab1724cf0ae9f74d9a6127de47a34fb1c2e056489ab8a990fcea720411e5c", - "size": 2001399 + "sha256": "fcdbceb1c314e947d566a26f446425e3a644bef1b3337603f8d5407da88c77ad", + "size": 2238655 }, { "url": "https://platform.claude.com/docs/en/api/csharp/models", "status": "success", "path": "en/api/csharp/models.md", - "sha256": "d398ce13281009726dabe50a506135d2cbd09151f10e96e8e7235ed6d31cef63", - "size": 22638 + "sha256": "25310375bf0de17783b638e1bcc4684257a45eb5df0e5db8ffc689d0715b94ec", + "size": 25319 }, { "url": "https://platform.claude.com/docs/en/api/typescript/completions", @@ -12805,8 +12826,8 @@ "url": "https://platform.claude.com/docs/en/api/python/completions", "status": "success", "path": "en/api/python/completions.md", - "sha256": "1755d2314a2c83145e7bad5c3ab724254dbf1fe2b285e990a2b1487022ca30c2", - "size": 14 + "sha256": "4c8bf98cb1ce9521a1d8046ab06972cae8f503860cb5beadcbe85ebefa439d99", + "size": 14288 }, { "url": "https://platform.claude.com/docs/en/api/python/messages", @@ -12833,8 +12854,8 @@ "url": "https://platform.claude.com/docs/en/api/php/completions", "status": "success", "path": "en/api/php/completions.md", - "sha256": "1755d2314a2c83145e7bad5c3ab724254dbf1fe2b285e990a2b1487022ca30c2", - "size": 14 + "sha256": "4c8bf98cb1ce9521a1d8046ab06972cae8f503860cb5beadcbe85ebefa439d99", + "size": 14288 }, { "url": "https://platform.claude.com/docs/en/api/php/messages", @@ -18258,554 +18279,554 @@ "url": "https://platform.claude.com/docs/en/api/csharp/beta/deployments", "status": "success", "path": "en/api/csharp/beta/deployments.md", - "sha256": "f38d51c3242060d4f92b3f1fd859d81bdb14baf35dd562c33a17889d9e9c3d9b", - "size": 200746 + "sha256": "56f2e83d1fbed17cdff2f5277a3bdeadcb7dbac61d5bb1056661fc3a81d9ad5d", + "size": 211962 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/agents", "status": "success", "path": "en/api/csharp/beta/agents.md", - "sha256": "25b7cdfecdd1547a4f0f1c9ae9adc7f089f21b0d8580bf80c122e7c161ca58fc", - "size": 232663 + "sha256": "060529073381dc20718329c85afe1a9ee4ceebd15947807ee39718fd4ab06756", + "size": 245715 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/environments", "status": "success", "path": "en/api/csharp/beta/environments.md", - "sha256": "fe9c7eff9a80c1ba65366f8494259c1d13bb76fc363488b24a6d09bab2225797", - "size": 86766 + "sha256": "5803254fce93edfbe98180a1074cbf9c710fe08802d97636b7e99ac6636e7505", + "size": 106399 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/messages", "status": "success", "path": "en/api/csharp/beta/messages.md", - "sha256": "2d7e457ea3996e41516b8b3f72d44d94f5095933e37533b12bfcb56e3e70329f", - "size": 1232960 + "sha256": "3ea43fbe8e61d741bc7defdd5c8801337944f21c26c3e83b0c751eaeff03e17d", + "size": 1313406 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/tunnels", "status": "success", "path": "en/api/csharp/beta/tunnels.md", - "sha256": "1bb2c1b2aab148497bff2257f1eccf46d94b5deb5940d5107d0adf7ee5daf8e6", - "size": 36793 + "sha256": "c5dc0b3ca8e032e186933a215abf070b830eaa8897059249d4ea4c417510d556", + "size": 50273 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/models", "status": "success", "path": "en/api/csharp/beta/models.md", - "sha256": "24627077b31dcbf4c641ccab8c2ef70a05ed9ff6f341de0956cf925367c5ec32", - "size": 23925 + "sha256": "14830593eae0fdaeb146099c77dfb4ec39ac0ffd8ec1912b1f0816c9cc91c5d9", + "size": 26606 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/webhooks", "status": "success", "path": "en/api/csharp/beta/webhooks.md", - "sha256": "246ce0393f534028c7e9e20f9ec25bad1327129e41e18ec252a8adc8f269d621", - "size": 36968 + "sha256": "03b8e75aa216c24d8b8a987eaeef3cdf279939c119fc2ff9092e4d5b97fc2836", + "size": 39009 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/sessions", "status": "success", "path": "en/api/csharp/beta/sessions.md", - "sha256": "3e611ff4f48039f9d2a9e9e8909fd46922c9b4c20e358cd8fe2e147df5c21de7", - "size": 675821 + "sha256": "4c067cc69eb8ee0105828f3487c40f165bf9af7cda2ad99caa1ee663202bcf21", + "size": 709579 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/deployment_runs", "status": "success", "path": "en/api/csharp/beta/deployment_runs.md", - "sha256": "f9fb9d78581def13ba088b813360e3f3e2476109137887035fb1429820638108", - "size": 28705 + "sha256": "874ebb3dc13008e37b7480c4f3606f3fce82266302b17b3a2240db42ed4ac052", + "size": 31405 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/files", "status": "success", "path": "en/api/csharp/beta/files.md", - "sha256": "7b3f08f370728d4fc6855ca730e24024dcd800ac9455d9e93b77ae9147279319", - "size": 18471 + "sha256": "194cc76cd08f28f00e096df51e7743a093216dedae9a66c0fd09fc04684c5826", + "size": 25181 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/vaults", "status": "success", "path": "en/api/csharp/beta/vaults.md", - "sha256": "ae8474e7f7bfa5669f08393e5c27220a28bb34bff2e8e23a17ea7f674e9701a0", - "size": 70569 + "sha256": "04a36203a91281cfcd7d03a01dafade00cfea56734efc7232fb53485d5fe3d70", + "size": 88067 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/memory_stores", "status": "success", "path": "en/api/csharp/beta/memory_stores.md", - "sha256": "194c339b2229cb41eeef964f9169594c598926a0738403d8a6f7f3a8545469c7", - "size": 76276 + "sha256": "a89fcf73de40cb726474e1c7bdbc728e5c36f24b1f9ab3800579b882baa895a9", + "size": 95175 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/skills", "status": "success", "path": "en/api/csharp/beta/skills.md", - "sha256": "0bf5511fe0b7d3c5121b42576bdf79ec3a78fc026d895a8c80c3d523b12f684d", - "size": 34906 + "sha256": "d985ce4246a48a28fb189e80778d4c6d839c8b69f670ea683a3ead57d23a7f21", + "size": 47293 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/user_profiles", "status": "success", "path": "en/api/csharp/beta/user_profiles.md", - "sha256": "18636f01c805b381e2dd6ede20ef7a05b4e9454ffa8663a99ba3c27afbddcaed", - "size": 24811 + "sha256": "727e4818c906064cd2c941f4c53f7b20ddf4062fe31ecd9ccb0069a815be7730", + "size": 31951 }, { "url": "https://platform.claude.com/docs/en/api/csharp/messages/create", "status": "success", "path": "en/api/csharp/messages/create.md", - "sha256": "95c5fd0fa2542addc6db31d05a76883fa6d0a93650d8e68a066a91a11d54e465", - "size": 116818 + "sha256": "24ecbae9fdd58a258701c50e5e47bd2bb46ff24e0064ec163e62de75f01527e0", + "size": 123450 }, { "url": "https://platform.claude.com/docs/en/api/csharp/messages/batches", "status": "success", "path": "en/api/csharp/messages/batches.md", - "sha256": "d9b1fe43c5270cada2ca86040143763309a6f17293838bc1269c5fd031580ada", - "size": 240859 + "sha256": "15f39485019f8e69b79d198411fc9ebd431e974f4e5ad983c360a6f80bb633f7", + "size": 255416 }, { "url": "https://platform.claude.com/docs/en/api/csharp/messages/count_tokens", "status": "success", "path": "en/api/csharp/messages/count_tokens.md", - "sha256": "d547b0e35e70f4bd49c3b8977dc5ec5bda375b280ad1a7dd612975a7b295f744", - "size": 83017 + "sha256": "25bce0dee8f0759120603145c8c106af589613a5eb57c2f754b7edf040caa017", + "size": 87234 }, { "url": "https://platform.claude.com/docs/en/api/csharp/models/list", "status": "success", "path": "en/api/csharp/models/list.md", - "sha256": "35b2488d26e3d7a9fc1389c5f3c0b712f13c80a40e93066648f3efe8b8812e57", - "size": 7564 + "sha256": "8b285b3f86632d672a1a9d7addd4d5104d1481fe45c4f169133e7bc268bd1a29", + "size": 8904 }, { "url": "https://platform.claude.com/docs/en/api/csharp/models/retrieve", "status": "success", "path": "en/api/csharp/models/retrieve.md", - "sha256": "1e557630194a9c024faa4fa4bf5c8918d42261a460dc0a647d7e946e6a3bb64d", - "size": 6746 + "sha256": "a928a7afe0d9a15a709edb5ed61df891a552ea0034f20d813638222cecb43977", + "size": 8086 }, { "url": "https://platform.claude.com/docs/en/api/csharp/messages/batches/delete", "status": "success", "path": "en/api/csharp/messages/batches/delete.md", - "sha256": "4f8d86f6c0577f5eeb9f013a57f7d9af0cbaff13539866cd03b5a4f04b983b10", - "size": 1152 + "sha256": "3354332565d604098413d4e3c0b491a1d9272b258c47ee76c6a654dc15235118", + "size": 1169 }, { "url": "https://platform.claude.com/docs/en/api/csharp/messages/batches/cancel", "status": "success", "path": "en/api/csharp/messages/batches/cancel.md", - "sha256": "ca4ad976b434c0698236a3e62ba4f4137b54cfe248cf3860ed81bb42c200e6dc", - "size": 4707 + "sha256": "5e701be2655fcc07953ce0aa7dc940cffafabeff596341b54f59346604e76ef2", + "size": 4753 }, { "url": "https://platform.claude.com/docs/en/api/csharp/messages/batches/list", "status": "success", "path": "en/api/csharp/messages/batches/list.md", - "sha256": "2154cde0c6e2362cbe9a6bdf08ce360847eb887fc7c577f223cb101998c94b2d", - "size": 4810 + "sha256": "4b7eae79f697fcff8e7c7a14e23c932672612e1d110c3f11b4aa40fc19f9d5ba", + "size": 4856 }, { "url": "https://platform.claude.com/docs/en/api/csharp/messages/batches/create", "status": "success", "path": "en/api/csharp/messages/batches/create.md", - "sha256": "2d72346e19ae06daec53b38287ba3d512a8b966d7fa45c8226c5286ac425e86c", - "size": 106680 + "sha256": "e28b8f83836b4ab40b7f9876bc586c30ddfa60af0ceb94a1a7dfe3014d28572c", + "size": 111463 }, { "url": "https://platform.claude.com/docs/en/api/csharp/messages/batches/results", "status": "success", "path": "en/api/csharp/messages/batches/results.md", - "sha256": "600c760f246a53e59cd03530c7dd64f3d5411cae81e730eedf9601aa2dc8a292", - "size": 30514 + "sha256": "a204acfdef5c14d67353ef3888352c956855e28bdbefd8693516614328ef56a5", + "size": 32903 }, { "url": "https://platform.claude.com/docs/en/api/csharp/messages/batches/retrieve", "status": "success", "path": "en/api/csharp/messages/batches/retrieve.md", - "sha256": "22ffd445dc3d619b79b6cd43fde39d4b8e9982b671bd0660d62098a600ed4006", - "size": 4399 + "sha256": "27abf73bae8494d27d0d4000cb7abafce9a6dcb5d9e75cf4a11f6e747bdc299f", + "size": 4445 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/sessions/delete", "status": "success", "path": "en/api/csharp/beta/sessions/delete.md", - "sha256": "cc189d1a94a4590b49221b3eec55e65f8e8a39d6b0f5181c30d7980bf1209f72", - "size": 2432 + "sha256": "8cb353f24cafa09090cda41b7bbf883f5d5f0cc43d0819987f4c41fc6913350b", + "size": 3771 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/sessions/events", "status": "success", "path": "en/api/csharp/beta/sessions/events.md", - "sha256": "362d0bca5cc457788daa812119f21243149e0bd9c275557f19b2c42b989ef1b4", - "size": 387190 + "sha256": "33d072893736e902f38236d02f0c4bd3c07d7ae831a70d4c78a16d7ce749550a", + "size": 393215 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/sessions/list", "status": "success", "path": "en/api/csharp/beta/sessions/list.md", - "sha256": "f747f338038d5534a4c0d48e4efaae69fc5fa9c4b41055db6ea214d34e6c9ba4", - "size": 31931 + "sha256": "526f2283021b89f53da93d2b1debb4f52e26597161d7f328a420dd0eb4c0ba37", + "size": 33762 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/sessions/create", "status": "success", "path": "en/api/csharp/beta/sessions/create.md", - "sha256": "08cda6b65964198b7fb601e06dd440a1d5c2171e5310fe4c96e7e37ce6112eb7", - "size": 58459 + "sha256": "4e9a852728ed80f3ec43ea9006ff27a9b7fbb00ccc2ab1fc8e25049f9aeea1aa", + "size": 60933 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/sessions/update", "status": "success", "path": "en/api/csharp/beta/sessions/update.md", - "sha256": "ebbf010656a805968b9ee35b670ed4f7b7426319889f5b916b2ad9cfdb5fa3e3", - "size": 30516 + "sha256": "4596f4bec79e751ac6cbceea14d814db2d82bc0808483fbe1c9ea96836e1e1e7", + "size": 32283 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/sessions/retrieve", "status": "success", "path": "en/api/csharp/beta/sessions/retrieve.md", - "sha256": "9a2fd9d21f7dd78d07fca745d9de8dad47dcafdd0c68f3ce522a2ba19b518742", - "size": 29552 + "sha256": "0b6e1306bbd9fede8895bd7ac56be0a1b2e4e7ca4415976e25958ba5d4d22a61", + "size": 31319 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/sessions/archive", "status": "success", "path": "en/api/csharp/beta/sessions/archive.md", - "sha256": "4360497d84bea0de789af535b6d5374d8cc275eb98932a6151fb2ea31b5d5a33", - "size": 29565 + "sha256": "5b0a8e4e2a7f3dbacb401c01965eef63773aa193b73a75f0f7a76cf20645b552", + "size": 31332 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/sessions/resources", "status": "success", "path": "en/api/csharp/beta/sessions/resources.md", - "sha256": "0943ed3165400e4b0ed92d6b36d696770f1e9206d1bfec37c9d1dd91fab41f22", - "size": 26801 + "sha256": "1afb05fca27aface7b7ebf63c8bb8f5a60277111dface297f230d5833ca83c3d", + "size": 33639 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/sessions/threads", "status": "success", "path": "en/api/csharp/beta/sessions/threads.md", - "sha256": "0215a1851183b238e103aac6ffc04f7748e823c2486f585ebe64470dac753688", - "size": 274434 + "sha256": "701f3d5cb3d9c808b835d757852cd5abd1d3aea1b37e91a99d7b3c56b679826d", + "size": 284128 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/deployments/run", "status": "success", "path": "en/api/csharp/beta/deployments/run.md", - "sha256": "1bc871a403470f87942f2d6c7be6249b593bb74d1da1fb0503ea647a856ea254", - "size": 8103 + "sha256": "bb455da2e2ee367b5fa96c0a667263380df27a7559f94a80064c6fb1618d4aac", + "size": 9442 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/deployments/list", "status": "success", "path": "en/api/csharp/beta/deployments/list.md", - "sha256": "e755fa0080c64c32d02cdbc82857073706b0096ece633853eb9be204efbd696a", - "size": 18500 + "sha256": "cac58040954d1af3b11567a432fe7bdd9af45a2013fd413022f7800fd1abc9dd", + "size": 19886 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/deployments/pause", "status": "success", "path": "en/api/csharp/beta/deployments/pause.md", - "sha256": "3a073f05eb09dee24eb86e822c6d420397ed7b5dc16e8729deeeca987b45f0e9", - "size": 17480 + "sha256": "228e943ade7bf08ed6b8e2627b80b838e6afe8f08c6eca7c75974a468ec4e703", + "size": 18866 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/deployments/create", "status": "success", "path": "en/api/csharp/beta/deployments/create.md", - "sha256": "8e197a91e1fdb9239fba84f825578d2daa0bf76dbc7efa1cced45185947dd927", - "size": 27443 + "sha256": "1e684ff979ea91380d65354d4270fdde88df4a643f264e6624828bb63f81e38a", + "size": 28856 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/deployments/update", "status": "success", "path": "en/api/csharp/beta/deployments/update.md", - "sha256": "62710606a31d1e878f148099b7d300846e3e1993931e6595a4987e87c5d20f2c", - "size": 27244 + "sha256": "7e3703eb0171cd783ec840906ad8fc3de3a29696d0c5e6908175e6a1337f9464", + "size": 28657 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/deployments/retrieve", "status": "success", "path": "en/api/csharp/beta/deployments/retrieve.md", - "sha256": "14faffcd4dc6283b2c5a545e8414b60c451a697e7d4cfef87007120e58350dfc", - "size": 17481 + "sha256": "a1c0cadb4ac32282a475c78aa2b66c16392890daf00073be6f5df53d17f6fc75", + "size": 18867 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/deployments/archive", "status": "success", "path": "en/api/csharp/beta/deployments/archive.md", - "sha256": "1fbdc67dfe5388c64ebb99cdebfaf9278989215d7ebfc0f0746d801cd4b4b765", - "size": 17494 + "sha256": "417c409a9b576bcf42258129b1a073f8661a38cb329e1d75a7cadb2bbbb8f659", + "size": 18880 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/deployments/unpause", "status": "success", "path": "en/api/csharp/beta/deployments/unpause.md", - "sha256": "a9c9f3d4f61fe4a124457c34b0f0dc9689400ff59262e2dfd11ea38260327266", - "size": 17494 + "sha256": "79c40173339639b3bd8f1017865c26d117c592f30f28c907b222a8c67a7e589d", + "size": 18880 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/skills/delete", "status": "success", "path": "en/api/csharp/beta/skills/delete.md", - "sha256": "1bb4474fb73c693115c1b5d5de7f2a6ed574e087d38d9ccfb9797c9e2004a2c5", - "size": 2506 + "sha256": "151a146a401f4420df3f38dce38e37189829f631b0abc84bbc8d50f83d742018", + "size": 3854 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/skills/list", "status": "success", "path": "en/api/csharp/beta/skills/list.md", - "sha256": "460a96d90780c90b31cbb20dbeccb816c26b9742efd7a0187b31ed1c6af84460", - "size": 4651 + "sha256": "11c5b42797c0f71dcda5e9aad06ce19ef1e4b30d518062a26d55e7cf9f283a93", + "size": 6045 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/skills/create", "status": "success", "path": "en/api/csharp/beta/skills/create.md", - "sha256": "383b7a2a86d815420a2cbdc6e825966a7e356f55320693621916c72db3f5daa2", - "size": 4435 + "sha256": "e4ee907c31e15648ee379892c715cdd45819efe21482ff9e31e579626c509272", + "size": 5829 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/skills/retrieve", "status": "success", "path": "en/api/csharp/beta/skills/retrieve.md", - "sha256": "9f86e9961d73b6ff7a7672facf388e85eb9bc081e64ad3125c15e4d26fdc55fe", - "size": 4076 + "sha256": "f27cf1c5750c0ff585f190f7e4fcf182ba9cedb6953707b647507f93c16490c4", + "size": 5470 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/skills/versions", "status": "success", "path": "en/api/csharp/beta/skills/versions.md", - "sha256": "0cc9f4e7854ecc248a8da421eb3ec3480fe1c72e85b8c51433f29457ba1fbd70", - "size": 18117 + "sha256": "7955fe3607d4c1a54496edc259d1de39274a8a5bd6137fdccdda3033e9d85207", + "size": 24882 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/tunnels/reveal_token", "status": "success", "path": "en/api/csharp/beta/tunnels/reveal_token.md", - "sha256": "64874f7bc41d274606ab1ebd57722f8c82a119d862a199951f4b4f8f7938530e", - "size": 3043 + "sha256": "eaff50d49f4f499381ccdfba11d52c02ae95582bb3f8f59d4d99841e65a15b2c", + "size": 4390 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/tunnels/certificates", "status": "success", "path": "en/api/csharp/beta/tunnels/certificates.md", - "sha256": "28e25cc7eebeaecea97085627baf61da3f77640d2ef3fa762a64f5427448edf1", - "size": 16108 + "sha256": "a67561f263fb29061e4f269b0a799f9575988cd6361432a7c977e30138439b96", + "size": 21534 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/tunnels/rotate_token", "status": "success", "path": "en/api/csharp/beta/tunnels/rotate_token.md", - "sha256": "7fd4e9b5e10a66f6cc6bedeeabf005868283d0be285b73a5529350fd7e2c999c", - "size": 3173 + "sha256": "296358ae772aad31e4bf32fa45a32dff210d63c27c354e2d38d05b08330be752", + "size": 4520 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/tunnels/list", "status": "success", "path": "en/api/csharp/beta/tunnels/list.md", - "sha256": "cffe9886cebdffabb8efc956b14266f432e293948e059fbe426c4c3fbc920311", - "size": 3752 + "sha256": "27273428c6d77cd78644b1150852de14918a14c8b6ec51365a6632d087cdf068", + "size": 5093 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/tunnels/create", "status": "success", "path": "en/api/csharp/beta/tunnels/create.md", - "sha256": "36f6993494f7d8a23193a1feef31726544923da522fa0ae13a1c0ff5152f59fe", - "size": 3484 + "sha256": "3b4ac4d240bd5b8a8acd22f17f55d6b6805b2a1337b2f00e939ddcf6e41a54f1", + "size": 4825 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/tunnels/retrieve", "status": "success", "path": "en/api/csharp/beta/tunnels/retrieve.md", - "sha256": "178ce6ab9280c679a7d08af318c2950450168d82a0b57c052e3f292334a7ff24", - "size": 3275 + "sha256": "47a38bad6a46d525e0973704adca0f3045300166c425bd13e591152e35737905", + "size": 4616 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/tunnels/archive", "status": "success", "path": "en/api/csharp/beta/tunnels/archive.md", - "sha256": "a53dd24e7ed5786732b00d70d6f3102746790987da68cec734abda2c9fd7894b", - "size": 3553 + "sha256": "1aa37fd325dea45d22d12b655e8cec4477912490791de7cd6acb75d897a50586", + "size": 4894 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/agents/list", "status": "success", "path": "en/api/csharp/beta/agents/list.md", - "sha256": "13c1913d385a534ac479d69b27dc66b2277022a3bf32417a5cdc64f37e77e6c3", - "size": 17544 + "sha256": "e7dfe3a59d5d7618bf8d3ba90322f6b965109471b47a234168f600ae92934fe9", + "size": 19235 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/agents/create", "status": "success", "path": "en/api/csharp/beta/agents/create.md", - "sha256": "7c43af68638d4331755d106d5bffc2b26dbcb237058638f285e415516d4f7c83", - "size": 35975 + "sha256": "ece22f83d4d6a689a0cee2caed15e5fa7a13f9e95b9d88e2517e44915c18493a", + "size": 38346 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/agents/update", "status": "success", "path": "en/api/csharp/beta/agents/update.md", - "sha256": "e3044a008da2431f97131d8166d1a01459f0ac84d5d893e6a41e2bfe77b24047", - "size": 36761 + "sha256": "cd9d7ba3430615fb5e2988071c4de2f5b2bbceade651dc0e1bbb2dbead7f83a6", + "size": 39132 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/agents/retrieve", "status": "success", "path": "en/api/csharp/beta/agents/retrieve.md", - "sha256": "a2c512b4b47cbb114a46e830f817a7f33a0b652f013b809fdccd7fdb3c503b11", - "size": 16925 + "sha256": "68d53e46e44ddfa19804d9f04bd025802983ae30a11117cc20ea06280e8d5866", + "size": 18616 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/agents/archive", "status": "success", "path": "en/api/csharp/beta/agents/archive.md", - "sha256": "8e7adf1fa92bf43693b57a4f51711d252cf1fea01870108825a89d2c9e920907", - "size": 16774 + "sha256": "7f136f7636db03993a1a9b4060c276aa384bc1f8328183d466f0c661029d3b4a", + "size": 18465 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/agents/versions", "status": "success", "path": "en/api/csharp/beta/agents/versions.md", - "sha256": "e64f44e8dec5f3673ed6ab228bc0b3317b11e5898824e3f8ab1948f9e997499e", - "size": 17351 + "sha256": "547568837e6e943f3a53fb94cc05991f14ee045fbce30d334a8d16fdba328a12", + "size": 19042 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/vaults/delete", "status": "success", "path": "en/api/csharp/beta/vaults/delete.md", - "sha256": "5c7d271caf79109edfee47035337bd2abc5c00d67615869ee52d0674c0aced16", - "size": 2416 + "sha256": "a8b190ed406226ceaba147bf9937e1a53f830fd4fc6648d3567f473b84bf4721", + "size": 3755 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/vaults/list", "status": "success", "path": "en/api/csharp/beta/vaults/list.md", - "sha256": "5829ca2fcda8ff0835d824a38650bd02403415c3a1ce94f2550b9a64d7c9bc8b", - "size": 3422 + "sha256": "8d85cb86c339beab76e3988fa841dd8cd752ce2cd3b5def56238bc22dfa9ed96", + "size": 4761 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/vaults/create", "status": "success", "path": "en/api/csharp/beta/vaults/create.md", - "sha256": "12a3cfd2f1b1fb07d076f66b0c69bcc03f1ca65376915db66b0a853d5cf0cdfe", - "size": 3343 + "sha256": "84bb34d39983c0e7db4ce5d45134e1f45c9eebe6e1316a6a58ebe02a2021b93f", + "size": 4682 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/vaults/update", "status": "success", "path": "en/api/csharp/beta/vaults/update.md", - "sha256": "5c008e671cef277673ee7a8bd35b49e516a10046dd1cd7f0b7302a529b714063", - "size": 3431 + "sha256": "bec6b3d6bd11c6752e5c3dd1b0231d289ca1a884fe3f35de24a85a65d1e62ebd", + "size": 4770 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/vaults/retrieve", "status": "success", "path": "en/api/csharp/beta/vaults/retrieve.md", - "sha256": "22fc45cb1e3d21eec612ebe51584111636fda4db611848ac8373ab827b87b306", - "size": 3092 + "sha256": "71bdc3d5ce494528811bae8edef98d093757bf830fead0543d45734e03ac03c6", + "size": 4431 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/vaults/archive", "status": "success", "path": "en/api/csharp/beta/vaults/archive.md", - "sha256": "b60db8d83b18ddfdbb25878c994e6edf0b7976e9bb90bdd52cae5b2f7407747d", - "size": 3105 + "sha256": "0e1a6899bb13a31bef8362bab16bbb1414bc7ac6cdd899048d815d65fa586583", + "size": 4444 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/vaults/credentials", "status": "success", "path": "en/api/csharp/beta/vaults/credentials.md", - "sha256": "a5ea580d3378d1224ccb68fa13f7d745697cd8b3ae5eb217da7c25e313a19135", - "size": 78977 + "sha256": "6a772e2d05ec2e1dee3f9691075996e85fe38ee9c72c26dbcfe33ebd7dec5a31", + "size": 88623 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/messages/create", "status": "success", "path": "en/api/csharp/beta/messages/create.md", - "sha256": "8ffe2f7dadecc203dc22a842968dc8b659b44261ea2d3cc6b0f88e4b93ffca87", - "size": 174267 + "sha256": "40c8630f4eeab19a67576dd4a121174f7d7913327a08c3b3660b7406b5c5ffa9", + "size": 184598 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/messages/batches", "status": "success", "path": "en/api/csharp/beta/messages/batches.md", - "sha256": "22a149ece3ef888e8ce64a89c5e2b3daaf4312ab5011de5748e8b997072c0afa", - "size": 379568 + "sha256": "c2f1d731a6ffda63caa93277a96d3e58bc8cde5039a10100619b00822f43e090", + "size": 406892 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/messages/count_tokens", "status": "success", "path": "en/api/csharp/beta/messages/count_tokens.md", - "sha256": "4d4c1b509903685ecc8bf048bfc49511d1879f5677bf911cf154fee96637691e", - "size": 106278 + "sha256": "89806c3b0f4bd6c08f89d578f5a992ed640f3e01a2e29cda27b97e9c289b9bd6", + "size": 113245 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/deployment_runs/list", "status": "success", "path": "en/api/csharp/beta/deployment_runs/list.md", - "sha256": "b444953fd12955a92f895a39c3af67b2e250707771d0e50cd689cf12e5ea1520", - "size": 9369 + "sha256": "6e9fac0278718a981a0babacb9d8b5e3e6b0159d85c400858178e60d8d0ef201", + "size": 10708 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/deployment_runs/retrieve", "status": "success", "path": "en/api/csharp/beta/deployment_runs/retrieve.md", - "sha256": "0a420abe3fe67fac7504fa72cf13136c5c9f1a0923cb2494d76181075f609372", - "size": 8136 + "sha256": "9fc8425d04a02c20bf62ba470e5264e230950fb0a43ca8919b331477c511eb06", + "size": 9475 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/environments/delete", "status": "success", "path": "en/api/csharp/beta/environments/delete.md", - "sha256": "9ca379834b4bf3763a055ccc9a3c4109e9d8521dbf48b62612f7f507bf9dfdd2", - "size": 2519 + "sha256": "a1190fb1c5b2532907c6b9eb71201841ae387ba4e61976492575b2eb95eec34f", + "size": 3858 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/environments/work", "status": "success", "path": "en/api/csharp/beta/environments/work.md", - "sha256": "11a06e420b10e7c19b7d180003ea660c514ad91c7ced3b60b18da82c2373e81a", - "size": 42838 + "sha256": "76970d3577d3bb771c40725daccd058afecf49f39d919e93e1434b7e7741b31a", + "size": 54171 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/environments/list", "status": "success", "path": "en/api/csharp/beta/environments/list.md", - "sha256": "6eeab5f6088fb0956e4d9ee999de1b92e735cc53440791041d80d054c82ed4d1", - "size": 6508 + "sha256": "01e84370a99576831bbc6b32a8e1ac6293fd27f2506d6f098da426f9a588cac8", + "size": 7900 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/environments/create", "status": "success", "path": "en/api/csharp/beta/environments/create.md", - "sha256": "00fa9eb277b95aa0d39f901181c238a65328b5ae0a978e9780bbbd3401abadb9", - "size": 9179 + "sha256": "02dbd9ea476b56b90ed0abc4cc009d74c1a962b5da7bdb9f72a80a60d5ebd4b0", + "size": 10617 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/environments/update", "status": "success", "path": "en/api/csharp/beta/environments/update.md", - "sha256": "1777b35b871e0c4dff3fcca695e2fcfce5271443daab6f42d4995d3aa25b396f", - "size": 9292 + "sha256": "f74304fe3aacc78c2d8015e5a333b4f7fbdd5ee43d03c035d6d7d53e733a5f1a", + "size": 10730 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/environments/retrieve", "status": "success", "path": "en/api/csharp/beta/environments/retrieve.md", - "sha256": "24f59e4a92ab1543033e440a9c52910ebdbf8b2a8d66362e8d514729d8f3530d", - "size": 5986 + "sha256": "9381f41ff7fb36e21f09a1e74770549501153ab5fb57239a8d4799fc3d870b39", + "size": 7378 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/environments/archive", "status": "success", "path": "en/api/csharp/beta/environments/archive.md", - "sha256": "9b65da519f374a2595400a04989e562ebd648ec57f9895ec28a37a6836642985", - "size": 6047 + "sha256": "3aa98dfe8d3a663a802125b985984128ee3f00403941cb75e17ad8b0ac2677d6", + "size": 7439 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/webhooks/unwrap", @@ -18818,512 +18839,512 @@ "url": "https://platform.claude.com/docs/en/api/csharp/beta/user_profiles/create_enrollment_url", "status": "success", "path": "en/api/csharp/beta/user_profiles/create_enrollment_url.md", - "sha256": "9594d4ed395b7f5b86a6dfef196934af40d9c5cc291116603b5a1c473b33db41", - "size": 2775 + "sha256": "c68b2000c08dd6c73def7c992df98a51d6cb19e56acf79bb72c7ec02492bfc29", + "size": 4114 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/user_profiles/list", "status": "success", "path": "en/api/csharp/beta/user_profiles/list.md", - "sha256": "1151f0a7b90d456a0fd75bc7c8b92ac1c7b35d7fb9c9806d7cee315688335f0d", - "size": 4620 + "sha256": "00e1d9fb0909c10e5cacc8f9280936515c30411e6e6844f8eaf71641c366fd73", + "size": 6059 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/user_profiles/create", "status": "success", "path": "en/api/csharp/beta/user_profiles/create.md", - "sha256": "0ba45e436da5b359b3510edeb018228fb83bf5d9c395daad6b38287501887a55", - "size": 5380 + "sha256": "2b94cb23d462128426fca1dd4fb559ba559fd85176844ee4f8189bfbc56a6a5c", + "size": 6812 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/user_profiles/update", "status": "success", "path": "en/api/csharp/beta/user_profiles/update.md", - "sha256": "7b61afd9fb9be281a43a5096eb7f3a600661636d7c4891d3266fa31880567556", - "size": 5480 + "sha256": "86591801a5d8119696f57580911eeba2cf8f9b9fa438ef2dd43965c3b563b8e5", + "size": 6912 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/user_profiles/retrieve", "status": "success", "path": "en/api/csharp/beta/user_profiles/retrieve.md", - "sha256": "ef3efa31db1b0b910c9c33b9cfcac882ed21f994533266c21b4664ffd14125c1", - "size": 4262 + "sha256": "c44bdb894d798ab4cfa9282110929bc07d3fbfe845fa3aa0832ca12828e59960", + "size": 5664 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/files/delete", "status": "success", "path": "en/api/csharp/beta/files/delete.md", - "sha256": "6a5cc00ad3319ff1ad927b4448e4d053fdbba94e3c9517582de7190c73c345b1", - "size": 2339 + "sha256": "540b1848bba91ad16f64284a7ddac2c4a11e848d00d3606327521720c99b02d3", + "size": 3678 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/files/retrieve_metadata", "status": "success", "path": "en/api/csharp/beta/files/retrieve_metadata.md", - "sha256": "362d313173fa35bc4d656eb596b80925bbfc3910e04bd2a349ce48e1e3f9430b", - "size": 3758 + "sha256": "55cf7b8e09fbb45906be324db086fb489712ab6df56e2c74a07995a819cda304", + "size": 5100 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/files/download", "status": "success", "path": "en/api/csharp/beta/files/download.md", - "sha256": "6acf78c0cebc4ece4a263ac9145cdac77bfa4d6c5166060b22eacd556086b827", - "size": 2041 + "sha256": "5da0a2f2134adb20d391e5a523e3a30c86091923f7c399eeef73f910e8a919a3", + "size": 3380 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/files/upload", "status": "success", "path": "en/api/csharp/beta/files/upload.md", - "sha256": "1d93f0fc8fcfd2cab7d02cd725aca9b2b63906b38be1f310e65e3c07163e69a5", - "size": 4006 + "sha256": "4e7b1e13266b333301a25a917e7e0005a1d85c98a201122282ed154a196d5ab7", + "size": 5348 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/files/list", "status": "success", "path": "en/api/csharp/beta/files/list.md", - "sha256": "a7b7de71c6a49d0234cdc17746aa59cd6ab2e653a9da8b35170a16e27c8796a0", - "size": 4539 + "sha256": "b223585f7a40a447c9c2505b2f17da31f303bb503faedc02620539d5c3f18960", + "size": 5881 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/models/list", "status": "success", "path": "en/api/csharp/beta/models/list.md", - "sha256": "eed19a89157e4bccfc70732c8b4e2d4d35a4e8676c69f3bd2c80b4b8555b29ff", - "size": 7953 + "sha256": "bdb2bafbcc84b555910087b62cfd63e0f958f14fcd05e38dd56a5a09d30e765e", + "size": 9293 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/models/retrieve", "status": "success", "path": "en/api/csharp/beta/models/retrieve.md", - "sha256": "b25b676a956443b10e94c3ea37e3868b354ddcd0b4913fcfcfe3e40117e91e5c", - "size": 7135 + "sha256": "e436c82bb8d4a4f87b4eb92e5208d0f1bc4a22ee797466a89c26ee68b399e59a", + "size": 8475 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/memory_stores/delete", "status": "success", "path": "en/api/csharp/beta/memory_stores/delete.md", - "sha256": "194220145e8f12fc6bf14940fadfc36144c5d108e4983dd92f78bb6580a44efb", - "size": 2591 + "sha256": "27fca2b94117e3923e09b300fb1dc732773d63436f3da5ad74354a1d689ece91", + "size": 3930 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/memory_stores/memories", "status": "success", "path": "en/api/csharp/beta/memory_stores/memories.md", - "sha256": "be03fb8c2e55af6777ccfb5527c406bf80996ea61aa73b2756602d44ab9ff7cc", - "size": 37272 + "sha256": "415591be2dcf5645df972fb74814134b2f4909216ba00eef8dcc87da066a0172", + "size": 44087 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/memory_stores/memory_versions", "status": "success", "path": "en/api/csharp/beta/memory_stores/memory_versions.md", - "sha256": "efd8178d8538ab7bab4717becf018475fbaca943ba15ca986e6487fb35010156", - "size": 31383 + "sha256": "67469fcf499499922b612f4b9edf3ecafc0ca5f47d87ed766bdbd59e39d97a25", + "size": 35672 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/memory_stores/list", "status": "success", "path": "en/api/csharp/beta/memory_stores/list.md", - "sha256": "193ac3a895cc0a9389262ff9d21fbc4865f3409f28827fb50d66da68e788f72c", - "size": 4751 + "sha256": "bff40a6f629c1ac6882495c99e7457f874678e9f855c10483d0441c8dc4a90a6", + "size": 6090 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/memory_stores/create", "status": "success", "path": "en/api/csharp/beta/memory_stores/create.md", - "sha256": "08d679711514a2e0609fd734d8c59ef31b4db312fed8788d57bc7e0cae7c3ecd", - "size": 4648 + "sha256": "45ffb57914a03a490fa1ae84c88ec322de4c00d52b5393b80d3d5e5e8feb1ec0", + "size": 5987 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/memory_stores/update", "status": "success", "path": "en/api/csharp/beta/memory_stores/update.md", - "sha256": "0a94932638c34b2ef528012510eb8c854ea395c0ed87301d174736fb607b6bde", - "size": 4609 + "sha256": "3959fcf98be7e9b92a573ff7dcd4852616e33d57bfc775782314edbda1220bf5", + "size": 5948 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/memory_stores/retrieve", "status": "success", "path": "en/api/csharp/beta/memory_stores/retrieve.md", - "sha256": "a3c3458f36ced30ebb8a78cbeb3ef04907c930c75e15f5e7564cd8b7275f7d2d", - "size": 3927 + "sha256": "935afcc0698daa2b5862abb2016ba7e43a4ea6df4edc94fe13c17942feeefbcb", + "size": 5266 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/memory_stores/archive", "status": "success", "path": "en/api/csharp/beta/memory_stores/archive.md", - "sha256": "774431b1b1c25b61627d0c387acb8a43da01e88e64b4b0565ef8a49812cd321a", - "size": 3930 + "sha256": "4cb63596c6602933f2794c842982298e53f97d09f05247aa5b1d7413014f6266", + "size": 5269 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/memory_stores/memories/delete", "status": "success", "path": "en/api/csharp/beta/memory_stores/memories/delete.md", - "sha256": "7060777d71eee2c347c653fe39f34a837d16a63488d0cf12f34cd2da182b3b1c", - "size": 3075 + "sha256": "cc321f560526fee91ba660e489cada377fbcfd1ba133bae0ea7048c06eb1c73f", + "size": 4414 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/memory_stores/memories/list", "status": "success", "path": "en/api/csharp/beta/memory_stores/memories/list.md", - "sha256": "c6d70182192eebd60085ab0a67dad6a2d63252e2cc4267bb602851bf8badd353", - "size": 6956 + "sha256": "81336836ec2f05f74e467c617551f8321e9812de638e5c80ca16facb56907b18", + "size": 8295 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/memory_stores/memories/create", "status": "success", "path": "en/api/csharp/beta/memory_stores/memories/create.md", - "sha256": "c2415be334e30bd44ff0ed578db053a1f037bdac6667747ba59a0adfd3bbcec5", - "size": 5475 + "sha256": "3d1b610a442e0ffba8e8c06210e2b634b2e8fd5c99bdfdb4ca29a0dd7b8e5a4d", + "size": 6814 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/memory_stores/memories/update", "status": "success", "path": "en/api/csharp/beta/memory_stores/memories/update.md", - "sha256": "66da923230ce4c5ec288cb101220eb0b2d8158772cfe83e3b778fb37fe965786", - "size": 6065 + "sha256": "64606260c53eb01a3a6e61259879c372677f50405012479955d038a1a99c123b", + "size": 7404 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/memory_stores/memories/retrieve", "status": "success", "path": "en/api/csharp/beta/memory_stores/memories/retrieve.md", - "sha256": "6f04109c01226a31466b6516fc91d9b55d93bb74591152faacea6e7c39d067c7", - "size": 4940 + "sha256": "fec4f6c261634cdff2d43b6db765fe362427377f6b98d03ce1b41f4863123e2d", + "size": 6279 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/memory_stores/memory_versions/list", "status": "success", "path": "en/api/csharp/beta/memory_stores/memory_versions/list.md", - "sha256": "22b7f51bad902ab0e0f7f2342555abf6d9cf4bd1c68a1103d823e3426d875106", - "size": 8302 + "sha256": "7aabfe478bb580048af793f9a68140d8c705c14588e623a228a917cbec42187c", + "size": 9692 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/memory_stores/memory_versions/redact", "status": "success", "path": "en/api/csharp/beta/memory_stores/memory_versions/redact.md", - "sha256": "1c6e6103a0d9ad3dbcf9cd9c429a30e25feeba4a385e86964c85698d63dbf3fe", - "size": 7450 + "sha256": "9b52d1f99319a477cd94c5b3328ff188cd9714ea9eee1a68a4e36a3374a9d9ac", + "size": 8840 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/memory_stores/memory_versions/retrieve", "status": "success", "path": "en/api/csharp/beta/memory_stores/memory_versions/retrieve.md", - "sha256": "d7a50f583cf2201bbbe17e1d6ef1db06cb791a81a428b62d0e6008c98e25bfe3", - "size": 7537 + "sha256": "b3a5fe9e8bf36bb44f053d992a08c9e4c88b006927fc2d5244bbc0b5fef2cfa7", + "size": 8927 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/environments/work/stop", "status": "success", "path": "en/api/csharp/beta/environments/work/stop.md", - "sha256": "1c37a4d8b7f0dd255bbfe5ae611428cd2173e583ba38e0890a601548d74e74be", - "size": 4881 + "sha256": "50cd6bb338a52c79b2db7fa4692a440a76f46fd492d4eb7b4ac4aec7073bc497", + "size": 6278 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/environments/work/poll", "status": "success", "path": "en/api/csharp/beta/environments/work/poll.md", - "sha256": "aaf0f34ee613c8d1fe672f84864efb6725c76e37dfcf38ef0dab3a4f65ddc89b", - "size": 5248 + "sha256": "fbbc91339bf11105e1abe969b068cb603be414ef130b5068a0f110e0449ffbfb", + "size": 6645 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/environments/work/list", "status": "success", "path": "en/api/csharp/beta/environments/work/list.md", - "sha256": "ce7eeb649201831bf8213947af59a76af0b70bfdb029bdbc3af672963c9fa81a", - "size": 5026 + "sha256": "f0e3cb59fe400148b1357aeced8b63cb38def82a8c4f431f143d81d210c4f8ce", + "size": 6423 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/environments/work/stats", "status": "success", "path": "en/api/csharp/beta/environments/work/stats.md", - "sha256": "f3c8665c5f9946522d07ea508e8b99a641909e3b5be89172a4f92aa9ac526458", - "size": 3106 + "sha256": "ad0c4da8e0deeb10fb06ba6dc9113fbe5e789f5ceaf362ead140df5366280cfe", + "size": 4457 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/environments/work/ack", "status": "success", "path": "en/api/csharp/beta/environments/work/ack.md", - "sha256": "b17f19988ab56bfb8732925123cba5263c3fb369e47536289feb57beb70c26c4", - "size": 4846 + "sha256": "1f1ba2e0920f991fe1961f0e9bf405f0cf807394d9a3899d5fbeffa3a2db86f7", + "size": 6243 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/environments/work/update", "status": "success", "path": "en/api/csharp/beta/environments/work/update.md", - "sha256": "4510129c101d4ec216297818e11a883ddff3e963cb00b3ed884c0502af303691", - "size": 5064 + "sha256": "915b8b969ec5489ec8cb9c97679937a46d93f49710f5915311f5b089bb06c3c2", + "size": 6461 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/environments/work/retrieve", "status": "success", "path": "en/api/csharp/beta/environments/work/retrieve.md", - "sha256": "d9d7e2ae0c7e08933c39d633e616854fc0dbe3b8f327c624811bc6891c3b44fd", - "size": 4803 + "sha256": "3db6154a4723b70c28f915c53606382c7bfa9bbda350607f0edf6b5c54a7d70a", + "size": 6200 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/environments/work/heartbeat", "status": "success", "path": "en/api/csharp/beta/environments/work/heartbeat.md", - "sha256": "aeb11cb73e49e6feaa7a258162f7eac9c21b2f3bcc73b919678e9979f34f7b48", - "size": 3809 + "sha256": "e77d090e9de757fc0fc2eb02e4a2a53af9d5ff4853d1eff31b5f6b6e65402167", + "size": 5213 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/messages/batches/delete", "status": "success", "path": "en/api/csharp/beta/messages/batches/delete.md", - "sha256": "6847c49d900e63772e843adc8cc8afebc09a48840d869921ab326136cd0c46b4", - "size": 2790 + "sha256": "82a6eb35e2813eb58d97bcbdcb63dbd418c360fd8adcba6d26ddeae24c4d216d", + "size": 4146 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/messages/batches/cancel", "status": "success", "path": "en/api/csharp/beta/messages/batches/cancel.md", - "sha256": "6c079f42dcc5833ce70ab34a3c9a0c66d23bdf932cb904f2d086546d174a4767", - "size": 6349 + "sha256": "6749b75b517a0405d02028f7169532e6a939e4cdf6486c5a368093e3f7ae6907", + "size": 7734 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/messages/batches/list", "status": "success", "path": "en/api/csharp/beta/messages/batches/list.md", - "sha256": "c47556fb0891e392f75d917cdfd117b7c494ee27e008d2d20738721a4720341e", - "size": 6493 + "sha256": "d4ff533193e251506e3ca6517fe878dcc9afbc86cd312fa81908db129ee8e85a", + "size": 7878 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/messages/batches/create", "status": "success", "path": "en/api/csharp/beta/messages/batches/create.md", - "sha256": "a4b4addbc3c47d19bc7497264339738517d9660ebf32ecc78afeef8c8e5e682a", - "size": 140431 + "sha256": "d17d7fd998ec58b63165034d2f4e64500c8933aad678b81d96e4c4f823bdddbb", + "size": 147778 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/messages/batches/results", "status": "success", "path": "en/api/csharp/beta/messages/batches/results.md", - "sha256": "8245d08c3a258ae65fe9dbf618d0d12da73c74053044ee9c5b3af30438913d56", - "size": 56848 + "sha256": "cb98f4868885bfaab09f9072142dc58400c158246f6d1d997d1f8b3bc428b9a0", + "size": 61453 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/messages/batches/retrieve", "status": "success", "path": "en/api/csharp/beta/messages/batches/retrieve.md", - "sha256": "85b8a1ba97a90d8f6e95ec1e5e989181a276cdd36615a4f1d438ff050ecaa9ec", - "size": 6041 + "sha256": "2970bab5806df55d7602ca4533b566a4a599ce81b39f0bc3be44e90c22110d80", + "size": 7426 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/vaults/credentials/delete", "status": "success", "path": "en/api/csharp/beta/vaults/credentials/delete.md", - "sha256": "005a7db4fdcb07c32590fce97bd07521e1eadd44c2bfd8c286cdaa4ff7e20056", - "size": 2691 + "sha256": "52338cc2598bb658bccf15a52370cc32bed3292c650c4c849734cd67ed71819b", + "size": 4030 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/vaults/credentials/list", "status": "success", "path": "en/api/csharp/beta/vaults/credentials/list.md", - "sha256": "2a2e3e16e260a2f19ab6b8b4b7c45a0c37c1f69df2a2fb94f08058e72a6acbf0", - "size": 7139 + "sha256": "9a44607230594cb524e27276c23b82b7dda73ee6fe7cf02832fbcbb1431ac508", + "size": 8478 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/vaults/credentials/mcp_oauth_validate", "status": "success", "path": "en/api/csharp/beta/vaults/credentials/mcp_oauth_validate.md", - "sha256": "01ff417874d4678ea6af4aa91e95ef642761a8ba374fd110387b26acffda2362", - "size": 5001 + "sha256": "6ef0b033b04029e1456f683aa8cdd63833bbc479e28f477700fdc4a0e04402c2", + "size": 6431 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/vaults/credentials/create", "status": "success", "path": "en/api/csharp/beta/vaults/credentials/create.md", - "sha256": "3a35243db67256448ef7ce53aa0cc177f88f0f2ce64c127783e2956a3749bdd4", - "size": 11599 + "sha256": "f6da275cc91c2ef901851cc1445e6939c941073e2a503959c72e87ca6b46758d", + "size": 12938 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/vaults/credentials/update", "status": "success", "path": "en/api/csharp/beta/vaults/credentials/update.md", - "sha256": "f238d556be7f94d9debb64d273c9956c022666f2f27081dc4035ab7c1baa5c7a", - "size": 10558 + "sha256": "473902f8616c0408ff0e4f02e6463dafbe7984d47ca60aae5271d25a2ce528ac", + "size": 11897 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/vaults/credentials/retrieve", "status": "success", "path": "en/api/csharp/beta/vaults/credentials/retrieve.md", - "sha256": "46520a7760feac8530054c057058fbb070d204f35e95d8c7ff68fa00c2491204", - "size": 6829 + "sha256": "b53bbda9322b1fefb998366df12e8b043513488089b6e94ebdc1231432fa83a9", + "size": 8168 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/vaults/credentials/archive", "status": "success", "path": "en/api/csharp/beta/vaults/credentials/archive.md", - "sha256": "ca4823a5b4135dda4308bd5ce3a49a3f820783c7a320e6e4d06d2cad757c46cc", - "size": 6842 + "sha256": "6e203ad91fdaf008589ffa7f2ef4f3ba8363a6b3a2d67de7bffd7df640d87927", + "size": 8181 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/agents/versions/list", "status": "success", "path": "en/api/csharp/beta/agents/versions/list.md", - "sha256": "f501d8e527f5c419ad683b68f5ce1703b0f9c0999ff7beb10b55a896298363c3", - "size": 17334 + "sha256": "2cecdf2e88e1667c5fd54a8ac45565024ea6ff175a6a8a36425e0b01bfbbde8d", + "size": 19025 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/tunnels/certificates/list", "status": "success", "path": "en/api/csharp/beta/tunnels/certificates/list.md", - "sha256": "3eef68aaf1b2f4629983edba2f1af44c9ac11fd0ac1a3898d705f69fdfb00a1d", - "size": 4000 + "sha256": "883886f90082037843df80ec91156cf2134eaa170494c5e431e42eea07e9810a", + "size": 5353 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/tunnels/certificates/create", "status": "success", "path": "en/api/csharp/beta/tunnels/certificates/create.md", - "sha256": "e9af2b46721645e09d765b3e0a119846985c71d45aacb398613c395c15602589", - "size": 3877 + "sha256": "2a80856ca859cbc4a25fac860396151ff2b388c949dc69ccfaa05b24ba2d015d", + "size": 5230 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/tunnels/certificates/retrieve", "status": "success", "path": "en/api/csharp/beta/tunnels/certificates/retrieve.md", - "sha256": "c54901b0ad1b6b32abc62fdd60ffae5fbbc356575b3adb98c17b8d66ae557e12", - "size": 3609 + "sha256": "22077344fecd4bb2f04e2b245b2937357949668a289cafa874796cb76046b28d", + "size": 4962 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/tunnels/certificates/archive", "status": "success", "path": "en/api/csharp/beta/tunnels/certificates/archive.md", - "sha256": "8659a243b07044841e7ca980b97d6b4e4065fb59fdfcc15a8020af66ce94f839", - "size": 3830 + "sha256": "1a02550c43d1967a07b99a74d9b5c2aaf918091c9254ca32fc674bd81ff5b0e1", + "size": 5183 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/skills/versions/delete", "status": "success", "path": "en/api/csharp/beta/skills/versions/delete.md", - "sha256": "1c3163eef1bff126e6cb0080e042df10f0bd26d9a396c20c531acd6f49541941", - "size": 2901 + "sha256": "b4ff30a3c4bbaaca30f62b430218653aad0da2199e1fbcc1324b479475c27d16", + "size": 4257 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/skills/versions/download", "status": "success", "path": "en/api/csharp/beta/skills/versions/download.md", - "sha256": "fb1f3100495d89b988210f0680d41cff057e8412a5ed9eb7ce69d6dd53f8d9ca", - "size": 2514 + "sha256": "fefa1cc2f163314af64cfff6fe80b014d9d930eb33b9f9cb4b94c43594198800", + "size": 3853 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/skills/versions/list", "status": "success", "path": "en/api/csharp/beta/skills/versions/list.md", - "sha256": "0e70a75f31e4473675ffa1c7b91f8fd6f81043a78ead0e12d5354212934ba992", - "size": 3792 + "sha256": "1630221732dba53dc81ad304e8a564e28fe7036e3704f35e961422151ad71e5b", + "size": 5140 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/skills/versions/create", "status": "success", "path": "en/api/csharp/beta/skills/versions/create.md", - "sha256": "64dffcb2914cafcb21fb3b0b3b8abfdf4357c6e1dd2d45fd8010dd38f348e0d9", - "size": 3723 + "sha256": "5bde83da5be64c5856bca346bdd5b3f75cfa531d5e58f73e853560f483a3139e", + "size": 5071 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/skills/versions/retrieve", "status": "success", "path": "en/api/csharp/beta/skills/versions/retrieve.md", - "sha256": "589d065c1047a4c55c94c7828a4203dae09c44b164dc996c0d011625211ecb3b", - "size": 3771 + "sha256": "b383dd294aa88a137be3b419d10fcd37b63dc58e214f4b252e5f20d38636a972", + "size": 5119 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/sessions/events/list", "status": "success", "path": "en/api/csharp/beta/sessions/events/list.md", - "sha256": "727d0123019a8425ace1973440b66004622a5c8fbbc9371e5ac8509739f26633", - "size": 63791 + "sha256": "f03053487bd9eb4747ed0934b2329fa1dfb03095b10b3e85699f9777f4a01e85", + "size": 65582 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/sessions/events/stream", "status": "success", "path": "en/api/csharp/beta/sessions/events/stream.md", - "sha256": "dfd171dfdbace649fe7b9f6810c26a3614eb65fd6de6480feaca1341c89b97ba", - "size": 65816 + "sha256": "1927799e29c1b7d6736328ac3499060b696108b4de8a7c5baac95bf8adc0c006", + "size": 67627 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/sessions/events/send", "status": "success", "path": "en/api/csharp/beta/sessions/events/send.md", - "sha256": "d9b244930c09ce4409d1d0224317cbc6f2cb588ac4a285ad59387f719aa63eeb", - "size": 24514 + "sha256": "a8ee3c8fe2739cd48fc355d1636ce959d65152de72c0f1a07544ca585b24f01d", + "size": 25887 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/sessions/resources/delete", "status": "success", "path": "en/api/csharp/beta/sessions/resources/delete.md", - "sha256": "948a441530c57c9a00e439050b8baca91a321ab9f644f9fb0d1e135c0cba8f66", - "size": 2667 + "sha256": "2c36f32ee7df24e0124e08998b647e20a6f87384568c8f1cc744823e52b75fa6", + "size": 4006 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/sessions/resources/add", "status": "success", "path": "en/api/csharp/beta/sessions/resources/add.md", - "sha256": "9917b3ecd660ed71bfbc5e3f8117220d6f6ec32cac3602641f66abfd1d4c5dbd", - "size": 3229 + "sha256": "a75228466af0f840147341b62c7ef94c7292e14c4530f1e3e7dc749ed294e870", + "size": 4576 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/sessions/resources/list", "status": "success", "path": "en/api/csharp/beta/sessions/resources/list.md", - "sha256": "2fa16c80cece3df2dc6609e0b5e1e7177cb7a05c1195f6dfa7cd6c088b552bf2", - "size": 5574 + "sha256": "82e759343af20a9e9e44f9bf94655fff13bd10ee2d3d673f80386cfff81bed76", + "size": 6940 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/sessions/resources/update", "status": "success", "path": "en/api/csharp/beta/sessions/resources/update.md", - "sha256": "34be6c60088d077fb013b0bb6c1b45ff5171172a9c85d01639ec6c0cb09986e5", - "size": 5290 + "sha256": "5fe9cf79350b541483fcbf5c07c28c0c3dac994f844d131974c84f4e88af3b93", + "size": 6656 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/sessions/resources/retrieve", "status": "success", "path": "en/api/csharp/beta/sessions/resources/retrieve.md", - "sha256": "6e3aa9d87ea5705c0e590fda002a1361828ea5e2026071feb8bea5250ac7b03b", - "size": 5047 + "sha256": "918b8d3795dcb76e8cb6ef40a6a88a02eac38c4002fb790fe83d1ba17026d5fb", + "size": 6413 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/sessions/threads/events", "status": "success", "path": "en/api/csharp/beta/sessions/threads/events.md", - "sha256": "3e8c97485a16c0bd8e24c5cd788c0b9652d05dfdf23759ed4ecea23178f02067", - "size": 128615 + "sha256": "38f7275ae7bd2437a3bee394149b7b4e91fae2cd7e664aada91c962c5b3e3d17", + "size": 132202 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/sessions/threads/list", "status": "success", "path": "en/api/csharp/beta/sessions/threads/list.md", - "sha256": "ea0bfdac8e8764d6bb7935268257f0df328fa97943894b0f3747e13eeb84649a", - "size": 21570 + "sha256": "0932333c9c757498aff30343b646fdf266a95f1888c9062d8df615319cc05869", + "size": 23310 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/sessions/threads/retrieve", "status": "success", "path": "en/api/csharp/beta/sessions/threads/retrieve.md", - "sha256": "9a6e52ff22220588858c52e7a1860d4efda2692d8fbdb7ab203c51b5eab039b9", - "size": 21112 + "sha256": "341a231a43e290321cd78d4588ebd447015854640e545d2614901cf93116d780", + "size": 22852 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/sessions/threads/archive", "status": "success", "path": "en/api/csharp/beta/sessions/threads/archive.md", - "sha256": "3e6b943398aa680f710d802dbbbe00e6f62ae870060be4f99587cab35b3dea55", - "size": 21125 + "sha256": "6c22b1034f3f015ddd5d30a1818d1586d0d4aea740432a26b9f468579f727b08", + "size": 22865 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/sessions/threads/events/list", "status": "success", "path": "en/api/csharp/beta/sessions/threads/events/list.md", - "sha256": "7329b59946c2ce41a9716a579aa927b400c9fc199c671b226bb26be0f81f764e", - "size": 62554 + "sha256": "762f5baa5b77e46aa3f6507f00716957f1fa0d8e9b35c80ddd742eacdb6785e0", + "size": 64330 }, { "url": "https://platform.claude.com/docs/en/api/csharp/beta/sessions/threads/events/stream", "status": "success", "path": "en/api/csharp/beta/sessions/threads/events/stream.md", - "sha256": "623ab4148a045e5df66d889bede23e1696c7da9fda802cd102f6a97630b96d67", - "size": 66040 + "sha256": "7f10ea858ccbd085f34e79d179616f2367d3fd07cdb82b0a5a50841e7f17c00d", + "size": 67851 }, { "url": "https://platform.claude.com/docs/en/api/go/completions/create", @@ -20407,8 +20428,8 @@ "url": "https://platform.claude.com/docs/en/api/java/completions/create", "status": "success", "path": "en/api/java/completions/create.md", - "sha256": "1b657a960919799c1d28700297fb6db40b33790c1be6452761b879c7eae26871", - "size": 10587 + "sha256": "6c13bebe266c7a181992899c7b9c82ea585c4ed6d5050579f28f162a9c9c672d", + "size": 10593 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/deployments", @@ -20421,50 +20442,50 @@ "url": "https://platform.claude.com/docs/en/api/java/beta/agents", "status": "success", "path": "en/api/java/beta/agents.md", - "sha256": "0008eae59e4d22e82038cd80c05147fb0349e3e8610796f3037534b455b72743", - "size": 241350 + "sha256": "e63f2277d764c71bb142e15f2f18f06c596eb42d21bb897ca359ca94c1eb9944", + "size": 241819 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/environments", "status": "success", "path": "en/api/java/beta/environments.md", - "sha256": "82b5e3ceb2f3247d86291a55064f8f9a72da0125ff219b38040769df29af64f7", - "size": 111256 + "sha256": "a15c1a39c5adb355b5fad6fc544f96f201e04d8e8a6f6a1b9ba35becb9b8c084", + "size": 111542 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/messages", "status": "success", "path": "en/api/java/beta/messages.md", - "sha256": "17228e15acfa77765f401a7099897f69904315652cafe91657af2bd8ce81c347", - "size": 1282891 + "sha256": "dded1440dd2bd3e0fe0079aa2a93c1ccc939539d9a64179384c410db533af56f", + "size": 1305104 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/tunnels", "status": "success", "path": "en/api/java/beta/tunnels.md", - "sha256": "2e7b1c2a4f3891cc042ea2e2f22030fe6e0cb0bd3a30334f697af29248d3ea25", - "size": 54419 + "sha256": "c20897c2b671952cdc5413c2c337588dc9fe24cd22a425fd178071267a7964f6", + "size": 54509 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/models", "status": "success", "path": "en/api/java/beta/models.md", - "sha256": "4b84be42d8a0e0f99b2c20909bc779d01db4b3ce073b7e07e4bf00667522d316", - "size": 26578 + "sha256": "106c8b25a2dc6bf758e7bf1549e26bf469fe7a990ede4bd212450dcddc0ffc3e", + "size": 26581 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/webhooks", "status": "success", "path": "en/api/java/beta/webhooks.md", - "sha256": "d1e3ef86bbeff975b368adec8d6d93ee97946b7e2e9f0cd11919d63e62e724ac", - "size": 32921 + "sha256": "af8e871896b3b6611db94db3a0869d19149f70d73cbe6c3e30e3579cb3029e32", + "size": 34962 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/sessions", "status": "success", "path": "en/api/java/beta/sessions.md", - "sha256": "24f6e7fa7b3242d0f0c81f66febc4b6138d7ff04ce9f451bd3dbadb8341a0f49", - "size": 694119 + "sha256": "be3f0c9436d4dda4001649fa481d18b3464862000dc3121dbe45c27bb572f0ad", + "size": 694710 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/deployment_runs", @@ -20477,8 +20498,8 @@ "url": "https://platform.claude.com/docs/en/api/java/beta/files", "status": "success", "path": "en/api/java/beta/files.md", - "sha256": "9ffb1bffc166a174796d558624f880d87648d6ff698f01dd4e226131b5aaaf2a", - "size": 27429 + "sha256": "3c5bf747ca32810f01908f65bdb7e0eeb56690177d080d8bef3b0e3b88038067", + "size": 27444 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/vaults", @@ -20491,15 +20512,15 @@ "url": "https://platform.claude.com/docs/en/api/java/beta/memory_stores", "status": "success", "path": "en/api/java/beta/memory_stores.md", - "sha256": "af97ebce0e9707666ea2d4b9d4b9f9ea55b733807c9474e7feda07ff24a9c930", - "size": 100889 + "sha256": "d401a073ecd7cb03a8eac1ce2bd5b12ba790c90ca8c292b1410d32486d88078c", + "size": 100940 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/skills", "status": "success", "path": "en/api/java/beta/skills.md", - "sha256": "ccfc5268f37184a589ebc98673d35240c41460a156bdeb492796ede08dd06faf", - "size": 51288 + "sha256": "3f0ed6511376ea389a1a3587780f2d9201b53151688d9bf9deeb5197c0ee8f30", + "size": 51354 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/user_profiles", @@ -20512,78 +20533,78 @@ "url": "https://platform.claude.com/docs/en/api/java/messages/create", "status": "success", "path": "en/api/java/messages/create.md", - "sha256": "c4d4c73b4d67e5b94ad7866ac87d781e9c5fb246a14f56418f75b6fcb140bf17", - "size": 122006 + "sha256": "c6d9fb142df5c52382d8aabde120ad0a7f2b7870d30311dc456b2712bc9de673", + "size": 124268 }, { "url": "https://platform.claude.com/docs/en/api/java/messages/batches", "status": "success", "path": "en/api/java/messages/batches.md", - "sha256": "a7eaf41be97a49e98ddce983754fc089c37a03f507a1a4e0ecbdf0a4fae4d521", - "size": 245189 + "sha256": "ca906b4c4b611a84ba5222bec4509f6491197a914d6561ac6f583e0e960e23ed", + "size": 250297 }, { "url": "https://platform.claude.com/docs/en/api/java/messages/count_tokens", "status": "success", "path": "en/api/java/messages/count_tokens.md", - "sha256": "05be4b2b6473e1df50bc98b59febb6fa73bca828b1b53973cb2c94fdffb5a999", - "size": 87936 + "sha256": "240fa0cd71856848174e16c80e22fea687f29237036d3aa57ef86d1811d61035", + "size": 89280 }, { "url": "https://platform.claude.com/docs/en/api/java/models/list", "status": "success", "path": "en/api/java/models/list.md", - "sha256": "99c2c346786c683e80fba124279cc43903773cb359b5cedf67f11637998a744a", - "size": 9110 + "sha256": "1332c4768af0200747bcd0702fba49c7a6ffe82b42421abaa0259f0bd9a07c6d", + "size": 9111 }, { "url": "https://platform.claude.com/docs/en/api/java/models/retrieve", "status": "success", "path": "en/api/java/models/retrieve.md", - "sha256": "cde1782e990700c3280e47b6689eb477d0fc8f28ca05fccb2d5edb1576022082", - "size": 8343 + "sha256": "8b6aedcc7e65a0a774311620be49663f60dd7616a23a341a07984dc62febff10", + "size": 8344 }, { "url": "https://platform.claude.com/docs/en/api/java/messages/batches/delete", "status": "success", "path": "en/api/java/messages/batches/delete.md", - "sha256": "2bac57cb0e4a25c699e35ed506c5fabc7519bd229a2be68ce66c63ead0fdc066", - "size": 1519 + "sha256": "828af07cfd14bfa649279924e1634f5112657625524c5ba30fa83920bb9416b9", + "size": 1536 }, { "url": "https://platform.claude.com/docs/en/api/java/messages/batches/cancel", "status": "success", "path": "en/api/java/messages/batches/cancel.md", - "sha256": "da037c6941a7a2660f7e45def9073b54bf87742cd0cfcb9e05d8864e7a918fe1", - "size": 5019 + "sha256": "01bc8dfff8f2a59242297aae387dcad52895e0de12ec727d94cd59fe832bcdae", + "size": 5028 }, { "url": "https://platform.claude.com/docs/en/api/java/messages/batches/list", "status": "success", "path": "en/api/java/messages/batches/list.md", - "sha256": "967a9c2c272afa84332d697e4412e8cdcd01188b7f279c4c17cf891d2437220d", - "size": 5130 + "sha256": "fcee7258adc336b9453d45044bf050a0ed7bedca0356c4e501e8a7bb6603fd50", + "size": 5139 }, { "url": "https://platform.claude.com/docs/en/api/java/messages/batches/create", "status": "success", "path": "en/api/java/messages/batches/create.md", - "sha256": "19cb4ade996c8b35a67a2956a9d8ff6b11f9541586fb9e86887a5c2f191face1", - "size": 108184 + "sha256": "eb1b18d593237b35975c33726498f4d692edfa3053989b589eec4efdbb3d7e90", + "size": 109554 }, { "url": "https://platform.claude.com/docs/en/api/java/messages/batches/results", "status": "success", "path": "en/api/java/messages/batches/results.md", - "sha256": "8d1ee34d88c5398e569840088b4f6047c6343c2c97ef5c691640d6d31c758683", - "size": 31239 + "sha256": "6c82e43f7cf0ce55bc549794ab95332a558c6d5a873a7375970c42e092f902fc", + "size": 32156 }, { "url": "https://platform.claude.com/docs/en/api/java/messages/batches/retrieve", "status": "success", "path": "en/api/java/messages/batches/retrieve.md", - "sha256": "a25ef80a2a1c100488283daeebff28bd86e72bbe777c19dbdab2e89f14d8f599", - "size": 4713 + "sha256": "9b84abde702d5c3a4fcd1f0d4d44125a8a9a2708a9d76dcc26769cbf45c29b84", + "size": 4722 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/sessions/delete", @@ -20596,43 +20617,43 @@ "url": "https://platform.claude.com/docs/en/api/java/beta/sessions/events", "status": "success", "path": "en/api/java/beta/sessions/events.md", - "sha256": "71cc1b0dd29bb6dd7d4a8f412ee92b4291c3ccb251dc087e835b76abc0e6c1a5", - "size": 377493 + "sha256": "5afdcf02645357b3ebc7fe81b72b64cd42377d2d1bfc716c5642209e01bfb283", + "size": 377625 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/sessions/list", "status": "success", "path": "en/api/java/beta/sessions/list.md", - "sha256": "4e37c6d400b40cd1ed674112c7f456f7d95974128450ac00dd7a09560080b3e0", - "size": 33248 + "sha256": "16421ba9a49ccdd74adbc11c36219d09054a40be0e848edc62bcc6010233914d", + "size": 33281 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/sessions/create", "status": "success", "path": "en/api/java/beta/sessions/create.md", - "sha256": "e1cfc6acb81e6b27a4ac037e8957012e2bfe9e41a8ba7afbfa939ef69ae820ec", - "size": 58581 + "sha256": "f2054fc41c310cd3e043f1ce321b771d1f9d7d4d1a5439a08430aaa30e1ee7ca", + "size": 58635 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/sessions/update", "status": "success", "path": "en/api/java/beta/sessions/update.md", - "sha256": "573b1e32115fcff99803ac77da1ddb17888e86834b0bf9b09649b6e3545ab4cb", - "size": 31755 + "sha256": "3b6c7d78347c54693b9fdf40f4e555ab1bba0fefb08fd167cc90c62fe53191c1", + "size": 31788 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/sessions/retrieve", "status": "success", "path": "en/api/java/beta/sessions/retrieve.md", - "sha256": "efb39e409d77960365149a2feb552d4982cc6aecbac7c8248d6cf53868e2edae", - "size": 30868 + "sha256": "74793fd555e180a6dda64b533e81a0e9286b9e1d1ca5aed5945cf43c5b301361", + "size": 30901 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/sessions/archive", "status": "success", "path": "en/api/java/beta/sessions/archive.md", - "sha256": "e1206e160530d27a1beea96c5088ac5297b8d87e5a175ea9f26765ea51d2e5e9", - "size": 30880 + "sha256": "87b9aa28f45d123d8f9a2a331d7ff0595c1980749c57eced31d3cc29c2a3623d", + "size": 30913 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/sessions/resources", @@ -20645,8 +20666,8 @@ "url": "https://platform.claude.com/docs/en/api/java/beta/sessions/threads", "status": "success", "path": "en/api/java/beta/sessions/threads.md", - "sha256": "cf5b9350c7694ed2e96d1ebecbfebb8f02548598e1414991bb83e2876d474172", - "size": 276876 + "sha256": "a7ff5ce97465bea4fbbbd4a8c82ddcf5950daefec8c99ac91dc6b1a68dc1fa7c", + "size": 277107 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/deployments/run", @@ -20708,127 +20729,127 @@ "url": "https://platform.claude.com/docs/en/api/java/beta/skills/delete", "status": "success", "path": "en/api/java/beta/skills/delete.md", - "sha256": "852e754c52967a0540c6a8e552393f363fcfe7b18c26dea117cca65664df52d9", - "size": 4309 + "sha256": "1a378101f34696e049bca949cd5ce2fe2e5d7136663ff3d130db9728b0552943", + "size": 4318 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/skills/list", "status": "success", "path": "en/api/java/beta/skills/list.md", - "sha256": "e55fe9bfc88f85fde1b24390fa974321a1de21fca93396e039a11a0cab3ff86f", - "size": 6395 + "sha256": "918cf6c9ddbf473a583b0789f8f3a6be8c220b91323898466118bc7a2b6279b5", + "size": 6396 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/skills/create", "status": "success", "path": "en/api/java/beta/skills/create.md", - "sha256": "ec4de63eb7884fc0232f0e79823d769247d131b24f9170db0ce6aa67bd6d7adb", - "size": 6296 + "sha256": "8fda4c06f66025388e848783ad6cd39afb1b8c6b420d40ea689f9453e182725a", + "size": 6297 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/skills/retrieve", "status": "success", "path": "en/api/java/beta/skills/retrieve.md", - "sha256": "a5037b0df241e92aade4a73b78fc4ffe13cb78e380ab970e2628f72306a65fcc", - "size": 5873 + "sha256": "bdfee50c44ddec75e85cd890bc4f148534a22ca546d0d73b65546ce8a6066017", + "size": 5874 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/skills/versions", "status": "success", "path": "en/api/java/beta/skills/versions.md", - "sha256": "ad66f6cba8b8533b5a613511a7c0e4edf2fb125775d5a14858f58a2244468c02", - "size": 27212 + "sha256": "3e3a1dd6d105db2a922f50a839fd8085a677b9f8a9f92b1aac78aea8413e4e38", + "size": 27282 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/tunnels/reveal_token", "status": "success", "path": "en/api/java/beta/tunnels/reveal_token.md", - "sha256": "3f2ef3def3e3f5a7668c779ace535f4bb49fca1ee607740a4e8ee22ca73ad4a3", - "size": 4813 + "sha256": "089ee0b2c4edb7143835f6d999691f2373b4abe6428c20bdf30fbfcb6de2653e", + "size": 4821 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/tunnels/certificates", "status": "success", "path": "en/api/java/beta/tunnels/certificates.md", - "sha256": "14d1514fd8b0deae87f2e47d5267c534e011b9618c2c5caf2f83fbd099022fc5", - "size": 23219 + "sha256": "9e734b80536e9e47c9cc960cb06f60ce99a78b0e59012ba6b07621574a0400b4", + "size": 23289 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/tunnels/rotate_token", "status": "success", "path": "en/api/java/beta/tunnels/rotate_token.md", - "sha256": "7c322dcff9a9ea1c5054789f60a16c5a6c6c1d486a0bd532e64cdd02e3ea03cf", - "size": 4914 + "sha256": "49b2a6c3631c71c3cbf6b31de12d4822049f23e20ea277c63dcb327586b190f1", + "size": 4922 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/tunnels/list", "status": "success", "path": "en/api/java/beta/tunnels/list.md", - "sha256": "0ed5f4c25a05bcaf076a4990bb14bbc5c171e57fb8c08fb92a17079183f561ff", - "size": 5488 + "sha256": "42528ca3eee451262757c51cf70a431d7b6dae27c1bd1559600696fa43cacd4a", + "size": 5490 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/tunnels/create", "status": "success", "path": "en/api/java/beta/tunnels/create.md", - "sha256": "9e3e4c2e3291d97642b7c9f73c9f3fcdca6816f9c1eb6a7d3c8f4665d99822ae", - "size": 5261 + "sha256": "2bd6a08d47935d3f2c443294cc924698eb7fa7fbde0e7cb16e02706b9ac9d15c", + "size": 5263 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/tunnels/retrieve", "status": "success", "path": "en/api/java/beta/tunnels/retrieve.md", - "sha256": "4c31b8cf8db5d8a62758f5499908ce4f4474a5cd34c7e4c7a67ff8b8ea243bcf", - "size": 5026 + "sha256": "ac4e220901b3856c9681a1e450f4cb8c3e782bee31da8073c97b9ad1d065396c", + "size": 5028 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/tunnels/archive", "status": "success", "path": "en/api/java/beta/tunnels/archive.md", - "sha256": "5f5c0d2113ecd075f3b8f8e70fe46e5417c25243ea3ab5c01e52afaab63bb789", - "size": 5303 + "sha256": "260212cd11c43270d93290b68d01288aee21578be1323e2881f99192d78273ca", + "size": 5305 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/agents/list", "status": "success", "path": "en/api/java/beta/agents/list.md", - "sha256": "6a3ba998bb949cd9f82b24d2001770badd35811fd7a07d501476da8cfc425baa", - "size": 19007 + "sha256": "bea7b63e65f077b209a3b54f29bbbe32bd0bebfa159569ffbad8c2d44244a01a", + "size": 19040 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/agents/create", "status": "success", "path": "en/api/java/beta/agents/create.md", - "sha256": "69581548134c22c6f18501939ec004020a782b23cdd641644a83d3d2a27052c5", - "size": 36742 + "sha256": "ea1a6e26f63cbc5db1904c486d0ae259c26473520a6582233e86ed092f190815", + "size": 36796 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/agents/update", "status": "success", "path": "en/api/java/beta/agents/update.md", - "sha256": "1c5322d14c0bd4ced2ac4fbe12fbc947a50f72e9cd0f640b53d8d9b875dec9ad", - "size": 37362 + "sha256": "ad0c48ff10fe573c912157ac5f95c666ff92a2d02a9e7e5e5a2d3ec1972d3b85", + "size": 37416 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/agents/retrieve", "status": "success", "path": "en/api/java/beta/agents/retrieve.md", - "sha256": "c67d79e1a5737c2279138b111443836e14bc9fc0785710e5d8b73c028fb6ac4b", - "size": 18395 + "sha256": "aac9a2387ae67aa44145f27776a1f3c000b9d271c34b29c50043127bc15cd17b", + "size": 18428 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/agents/archive", "status": "success", "path": "en/api/java/beta/agents/archive.md", - "sha256": "fb7204503e766a386ff2ea2ab1bd8f141a346fe80d3c69aa68484a1cf2430cb5", - "size": 18271 + "sha256": "aae994e5e513b3b1c6b8ef9a0cd03a9bd84693ed521abf99d869f2b356842fda", + "size": 18304 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/agents/versions", "status": "success", "path": "en/api/java/beta/agents/versions.md", - "sha256": "f55b4b63d4cf558175a1e5ec542c61d4f6dff32ecded6cfc0a38e900b481bdd3", - "size": 18791 + "sha256": "fcb0e953706bec986f73d89a68573a87336cdd7a340d9203f60bdf39f56b98ef", + "size": 18824 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/vaults/delete", @@ -20883,22 +20904,22 @@ "url": "https://platform.claude.com/docs/en/api/java/beta/messages/create", "status": "success", "path": "en/api/java/beta/messages/create.md", - "sha256": "9342661a10b2855480ec5c67c8a2de8c7c447806b6ca7ca84174bc002a2ddf84", - "size": 182183 + "sha256": "4c411de2294641d8b3f01eed8020ac5a47543749e54fc98432a77e1d66a5aa53", + "size": 184992 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/messages/batches", "status": "success", "path": "en/api/java/beta/messages/batches.md", - "sha256": "2523eb1ce7a85d5a0c6103a3481201094b2fcae3d0a47ecebb57fc02ff31f4db", - "size": 392091 + "sha256": "b4ee44e3b8872e30313a03ea649a481f03a6e3681e763f02f50e7cf3a5a54f86", + "size": 398590 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/messages/count_tokens", "status": "success", "path": "en/api/java/beta/messages/count_tokens.md", - "sha256": "d41ecb14a4bf664dcde354f4a867a74e8d46a499ca33028cbac5be6d89a3b84c", - "size": 113745 + "sha256": "b4a0a9dee54ff8a7f8ba62c287bf8720554198de616dce629248c384404aed1f", + "size": 115352 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/deployment_runs/list", @@ -20925,43 +20946,43 @@ "url": "https://platform.claude.com/docs/en/api/java/beta/environments/work", "status": "success", "path": "en/api/java/beta/environments/work.md", - "sha256": "7d8bab3d8b589799309a445ef96ece478da6bc8ef9c7109b7a7f4d51360ce7e7", - "size": 57632 + "sha256": "4c204e60dc73425a36b66e3ad5ab17e40223172f533161273deaa979b3ddaa00", + "size": 57703 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/environments/list", "status": "success", "path": "en/api/java/beta/environments/list.md", - "sha256": "0f40977ddab71ec256d7a6b73cfeb3a288572c3b357209018d18c503a1081e19", - "size": 8098 + "sha256": "f34d24ed5549937cc08dde592c703069c67baa6c24392dcb9eff87280faa81dc", + "size": 8124 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/environments/create", "status": "success", "path": "en/api/java/beta/environments/create.md", - "sha256": "f3e0596ab57e5e0b597264869e34e29e0a3aa05f8fb4509ca2ceac5078a57a56", - "size": 10900 + "sha256": "1f21292f7a048dfe6316435d09e0abaeffc6cfd95337925e597b106bb8b799b5", + "size": 10945 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/environments/update", "status": "success", "path": "en/api/java/beta/environments/update.md", - "sha256": "cdc59559f4b21ec99bb63e940fab944900290cfe2afdab84df4819f7880a9ab9", - "size": 10913 + "sha256": "0ad4c57e74af47bc0c1be5115dd276e577127f8d298776e80037b888aaa39a46", + "size": 10958 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/environments/retrieve", "status": "success", "path": "en/api/java/beta/environments/retrieve.md", - "sha256": "f1e0bc059b59930f7f0a2a8141e4e6bd5f23f54c4fbaa771f9cf5066c06c34e8", - "size": 7609 + "sha256": "32ab80429cc70b6485436dc1ce64918cb3b614e8552067094d1d5705f5db3569", + "size": 7635 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/environments/archive", "status": "success", "path": "en/api/java/beta/environments/archive.md", - "sha256": "38354ae1822cedcd55695e58988c625fd1440ce0193f699f1c5fe1fc542006ac", - "size": 7669 + "sha256": "ad3a52d6889ac6ab413cb7871db4e2b3f24b2a21fa2d346549e81590d7015f18", + "size": 7695 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/webhooks/unwrap", @@ -21016,8 +21037,8 @@ "url": "https://platform.claude.com/docs/en/api/java/beta/files/retrieve_metadata", "status": "success", "path": "en/api/java/beta/files/retrieve_metadata.md", - "sha256": "b9584babb41a998e3fbbda97114696530b00ddbe4690ecebf55371b4a4e879e1", - "size": 5551 + "sha256": "0629cc0336180179d0ef20818ab63630ffbdce0e4be5679ea93e47313c9774de", + "size": 5554 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/files/download", @@ -21030,29 +21051,29 @@ "url": "https://platform.claude.com/docs/en/api/java/beta/files/upload", "status": "success", "path": "en/api/java/beta/files/upload.md", - "sha256": "777b11b9c404acb2f6a15f43f942cc872c01fe6e6a3733d8a9229d4c5b1427f6", - "size": 5882 + "sha256": "2bb753c3381650c77a465bebf2eb757e2a313ff0fb36e4258dd5fb2d420f1e62", + "size": 5885 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/files/list", "status": "success", "path": "en/api/java/beta/files/list.md", - "sha256": "4a2b3cf724770064fb777f3f71d6cea68cd83f5acb7e75352d9c9f1deed0f7ae", - "size": 6249 + "sha256": "6d63217113409741cda627cf13104584ffe099d24ee805fa10ceb32ff0ceb608", + "size": 6252 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/models/list", "status": "success", "path": "en/api/java/beta/models/list.md", - "sha256": "3c9a622fc18c4c585468c0f8ceca179d11bfe25e4874719bf0bc207850e436dd", - "size": 9504 + "sha256": "74ff40af0958df4743a0abfafa7c87df826a3bf54ff7e7203cb558fada8b7d81", + "size": 9505 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/models/retrieve", "status": "success", "path": "en/api/java/beta/models/retrieve.md", - "sha256": "8593f3ee18ab573ec9fe25dfe8fe9458b3de817eb771e7f896f1c7e1b7b4a3ad", - "size": 8741 + "sha256": "2657f83198eba152e2118ae0f3343ae6cdb3fe628ff328324a84e37e148273a8", + "size": 8742 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/memory_stores/delete", @@ -21065,15 +21086,15 @@ "url": "https://platform.claude.com/docs/en/api/java/beta/memory_stores/memories", "status": "success", "path": "en/api/java/beta/memory_stores/memories.md", - "sha256": "7cf10c6f52908943c0fd6a4860281d6a4f543407f297a3faa9f284f0122827b5", - "size": 45781 + "sha256": "b32eea2174fcacb55b87b68aea31d0d63496d6fe710b8613221dab3df8cebd33", + "size": 45884 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/memory_stores/memory_versions", "status": "success", "path": "en/api/java/beta/memory_stores/memory_versions.md", - "sha256": "3d99e1e0201c076d2cc846a73e78f9cb45afcda88962d60810c1852cd525b0a4", - "size": 36654 + "sha256": "f2d178ed1e3e58d127dfa0e3fd282318e0d4620015de0ad98b26d71d0cbf7ced", + "size": 36756 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/memory_stores/list", @@ -21149,120 +21170,120 @@ "url": "https://platform.claude.com/docs/en/api/java/beta/memory_stores/memory_versions/list", "status": "success", "path": "en/api/java/beta/memory_stores/memory_versions/list.md", - "sha256": "c4e004f342e8b3c6c4c524f9e85692dc4faa1bc8d403896d7e84bfd5e02ae31d", - "size": 10015 + "sha256": "907b628dfbe12893d33918836abb86394b365fc3147473cf634c39e7fae2e070", + "size": 10032 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/memory_stores/memory_versions/redact", "status": "success", "path": "en/api/java/beta/memory_stores/memory_versions/redact.md", - "sha256": "03e51b9a127c99ba3b50e548a723c21faafea62fe4a018d49b39449df6fbb8d1", - "size": 9287 + "sha256": "38569669f2348e196993c192b72b3727ef9904f403ed53d4f2666289d7b6fd6d", + "size": 9304 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/memory_stores/memory_versions/retrieve", "status": "success", "path": "en/api/java/beta/memory_stores/memory_versions/retrieve.md", - "sha256": "3565860796cdf2e3f4a0e69372ad67cc4948e3b9fdac48c3a4d0c2fd8e55e6a2", - "size": 9375 + "sha256": "285d84631cc6d290a6b1c690e2c519df4ec4dcfbd7fd6befb68048f10a022615", + "size": 9392 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/environments/work/stop", "status": "success", "path": "en/api/java/beta/environments/work/stop.md", - "sha256": "9724c181c0c71f71ddb4ecef7bb7613b68e2b0080a4f79322d82ee5f6be1b81d", - "size": 6895 + "sha256": "cb68e6d9ee5c06f81d7464817c58cd667502c318f82ce6fa1b027cd933b7487b", + "size": 6898 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/environments/work/poll", "status": "success", "path": "en/api/java/beta/environments/work/poll.md", - "sha256": "d7364780e7ef836f6cf9875c8278ee48850e10a7dca26589b38745c4563af4aa", - "size": 7032 + "sha256": "d931641ba6b341dbb23b17753187afd08ae473e931bd474439db28a1b076bfe8", + "size": 7035 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/environments/work/list", "status": "success", "path": "en/api/java/beta/environments/work/list.md", - "sha256": "266795d8c185725c93efd721b062c682a1238d7a95f2166d70a9e837791c7553", - "size": 6730 + "sha256": "f5fe23f40935f30ee1222b8d63fc301dbdd40f7c4d61f3cd2d81d3f6660b3cbb", + "size": 6733 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/environments/work/stats", "status": "success", "path": "en/api/java/beta/environments/work/stats.md", - "sha256": "28bb8c8f4dd46d67e60597e717d15a4f577e162c0678902d7548b46d99c9f761", - "size": 4926 + "sha256": "561d79a02ea7c70bc317deec4f6cc8dab05b2f894bb2f6019ac7c4c577922a6b", + "size": 4938 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/environments/work/ack", "status": "success", "path": "en/api/java/beta/environments/work/ack.md", - "sha256": "c2dfbdae76ee3dcd3c5dd135678c654b477c437a6c2e1658ec0bd5b462365fa6", - "size": 6675 + "sha256": "bfd07cb5f9aa77d0831240c715a0526e192f0693a9241a36270989df3589912b", + "size": 6678 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/environments/work/update", "status": "success", "path": "en/api/java/beta/environments/work/update.md", - "sha256": "30cc63fe679485e75dace31106b913f455109c799fffaffa37b98cea2dbbfee2", - "size": 7089 + "sha256": "8385cda45b400e7bed6cc08c50eef1fb65e5eb360b979509da5ba405cdb15d17", + "size": 7092 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/environments/work/retrieve", "status": "success", "path": "en/api/java/beta/environments/work/retrieve.md", - "sha256": "7b20a860b967cc9316979474dcdbd1a524b73fb1419c9ab460d51966049167ad", - "size": 6642 + "sha256": "ed8e774a648ca29c271a60a4b3853984a1f02c68949734fb2202b9de0ed642c3", + "size": 6645 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/environments/work/heartbeat", "status": "success", "path": "en/api/java/beta/environments/work/heartbeat.md", - "sha256": "9dbf8946e4542871f7921ba922835d7afd4a9b1104d7d8e714c72106dc3d6024", - "size": 5718 + "sha256": "b859bd58d324202444d0b28dd0b5ae8ba9bc6fb8d28144bdb917656c6de60c43", + "size": 5728 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/messages/batches/delete", "status": "success", "path": "en/api/java/beta/messages/batches/delete.md", - "sha256": "62810847ae9a94d37d5a4ec3d47cba7bdba50ca7ce72c545315e7f5d89377e18", - "size": 4617 + "sha256": "fe49e66c97328a4ddabbea305562fd4ed5ca0a294b7fa6819a19d6ab456756b7", + "size": 4634 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/messages/batches/cancel", "status": "success", "path": "en/api/java/beta/messages/batches/cancel.md", - "sha256": "a185c085819f2ed96f186a68a95f28ffe19c2005a2d4b631fcabdd2a1fcb81bc", - "size": 8121 + "sha256": "96aa8c32b898e7a9c1ace5ef679943be3a66ce0b3fe3f044be1c947043777d8d", + "size": 8130 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/messages/batches/list", "status": "success", "path": "en/api/java/beta/messages/batches/list.md", - "sha256": "76f9913b08e36b57b7e03ec6e89170db9dfeda52a319f4e5c1646aef09ddd543", - "size": 8216 + "sha256": "984f906b31719cb2c32c7fb5239b6430c375ee631713bf9ab9ae99b09aefe100", + "size": 8225 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/messages/batches/create", "status": "success", "path": "en/api/java/beta/messages/batches/create.md", - "sha256": "7b4cc633bef3eed84a50daba8fb7c61a04c5991c0698fae86475b7e31d11921d", - "size": 142245 + "sha256": "4951678def1523664bc3bbe669475652c11599ee5d141c23b8487342ff7c1483", + "size": 143966 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/messages/batches/results", "status": "success", "path": "en/api/java/beta/messages/batches/results.md", - "sha256": "db32503e1a3fb9fbc0e911c9c89e66b375b6ec43eb5f1929751758f852e4e863", - "size": 59193 + "sha256": "fec323c25eae329e13a6b4b73c67ddf56cd4f1bdea907fef7a6aa43e7875202b", + "size": 60370 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/messages/batches/retrieve", "status": "success", "path": "en/api/java/beta/messages/batches/retrieve.md", - "sha256": "7145613103ec1d4fcdc96a8970bac97b13fc663faeb9905ae5c5171721a366f7", - "size": 7815 + "sha256": "a3869c6b6230d28efdd99875b38f341dc64beec91d5d086d21741a1204f3407e", + "size": 7824 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/vaults/credentials/delete", @@ -21317,43 +21338,43 @@ "url": "https://platform.claude.com/docs/en/api/java/beta/agents/versions/list", "status": "success", "path": "en/api/java/beta/agents/versions/list.md", - "sha256": "a44d0db231a126a8c02cc7a2bcdc93def96bd05405130384ffd7f09786b4de21", - "size": 18774 + "sha256": "654fa73b77033ea6dc8ad3f1c6d8dd07a503243a3649b93749c9b7570be0e0a3", + "size": 18807 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/tunnels/certificates/list", "status": "success", "path": "en/api/java/beta/tunnels/certificates/list.md", - "sha256": "bc82ac05534d5134953931c401778e22aaccc270eb14100b04d033542281cb91", - "size": 5714 + "sha256": "5e2321f4eeff3e0717ba84f773ecc3f36ea4e83a0d33d38e568daffc8f9708ab", + "size": 5728 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/tunnels/certificates/create", "status": "success", "path": "en/api/java/beta/tunnels/certificates/create.md", - "sha256": "beacf7828bebe1c746d9f13083947249f83a865f1b001f55c8f315a25b94f45c", - "size": 5711 + "sha256": "1ae76d42f30eb3c633ebf6b0266971ba36fd12f9d88d87daf3e5082de25afaf3", + "size": 5725 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/tunnels/certificates/retrieve", "status": "success", "path": "en/api/java/beta/tunnels/certificates/retrieve.md", - "sha256": "82c0d68d0443476ddd62dc8682f2eac3cd2119b8be21e1355818df64e324ace7", - "size": 5412 + "sha256": "fe24faf8594d1400b9f1cec7aa85ee0ac8c7b31825a08baff58cffe061a3f3be", + "size": 5426 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/tunnels/certificates/archive", "status": "success", "path": "en/api/java/beta/tunnels/certificates/archive.md", - "sha256": "38f24173406b047450d75f130627089f667d75b9b55d2d4f9b726272b0eb41a6", - "size": 5631 + "sha256": "1721120485fc206c7e97814aa293fabc2a9919b9bfd45f0ea1686eb867ebd11c", + "size": 5645 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/skills/versions/delete", "status": "success", "path": "en/api/java/beta/skills/versions/delete.md", - "sha256": "9f0fb4b0d4e58f9f670083f040f336dc8df55ad3edd07e5a79511e777bf983d2", - "size": 4779 + "sha256": "7bd17246c0d4961733441fb8cfb97de184bec04c4b63c616bff23a170a830f4a", + "size": 4796 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/skills/versions/download", @@ -21366,36 +21387,36 @@ "url": "https://platform.claude.com/docs/en/api/java/beta/skills/versions/list", "status": "success", "path": "en/api/java/beta/skills/versions/list.md", - "sha256": "3e0080e65155fb0010cd01f6ef72bc42d0d413e6b5c752e3a3ba10d96c3f6b6d", - "size": 5505 + "sha256": "099683d99baca8d16aa65b015c8bb71614dac943ef15ecedba6a83b9737f7a49", + "size": 5514 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/skills/versions/create", "status": "success", "path": "en/api/java/beta/skills/versions/create.md", - "sha256": "0b9d124ba6a78b4d2f88c80b4b952fba523290849ee846be7952334de304ef95", - "size": 5580 + "sha256": "8572ebc5892c1eb871ab583941b01ecf7e29641fae4ccef0e4572b2b4c8671fc", + "size": 5589 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/skills/versions/retrieve", "status": "success", "path": "en/api/java/beta/skills/versions/retrieve.md", - "sha256": "fe74be5c0b2ee7bdd6b774d455d39e3259dcee97a764c51504e44dbcce720e31", - "size": 5609 + "sha256": "777c32d283aad3153e5764fc18336cbc50dab9f86fceebea2798ac7f42946a2a", + "size": 5618 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/sessions/events/list", "status": "success", "path": "en/api/java/beta/sessions/events/list.md", - "sha256": "9cb71495ec5167ef02fd073ed2cf0b2d7b8817518a6b3d93971b03dae861c117", - "size": 63368 + "sha256": "ad100da1789d061d8e1cab70f6817ccc2a849bff51663a5eb7841c31b21472bf", + "size": 63401 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/sessions/events/stream", "status": "success", "path": "en/api/java/beta/sessions/events/stream.md", - "sha256": "46af72a6b41c944fd3a8fb08505467df3e433c45efb9c29ce7734ab6cb8efad0", - "size": 65463 + "sha256": "45f59fdb295e23ad36fbd2196f2023252b6a93c3e4ddf152241a730a7508f667", + "size": 65496 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/sessions/events/send", @@ -21443,43 +21464,43 @@ "url": "https://platform.claude.com/docs/en/api/java/beta/sessions/threads/events", "status": "success", "path": "en/api/java/beta/sessions/threads/events.md", - "sha256": "9ee2e461501b7169aef5df1fa5390248f428286f5810d9278e86c84890a587cb", - "size": 127980 + "sha256": "fc68eae63904d6e39bb6429ec24ab7b6118aff08b6c4c476e055fd22d640d98e", + "size": 128046 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/sessions/threads/list", "status": "success", "path": "en/api/java/beta/sessions/threads/list.md", - "sha256": "8bcd37f435e8bf7f4397f4cf79649b0ca32e4da2e364c6f6e671d38c212d3613", - "size": 23225 + "sha256": "f6932be003ce4e72887e92a060be3f48ebf271ed4a06a242457f00bb31b6b145", + "size": 23258 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/sessions/threads/retrieve", "status": "success", "path": "en/api/java/beta/sessions/threads/retrieve.md", - "sha256": "8a2cafa53b43dacec4a82b276e2be28b49a240967ff93ce771004d14ca8c3a4e", - "size": 22880 + "sha256": "a37b2a9ae10a37e889ae7ec3330cc7757577d08aa0cd819cc970e29ce168c4a6", + "size": 22913 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/sessions/threads/archive", "status": "success", "path": "en/api/java/beta/sessions/threads/archive.md", - "sha256": "b37b2569aa61f1942365ec8d3a730004e23f0283f8fac3fe4967e9e9360dca0b", - "size": 22891 + "sha256": "2d36fa0385f5768616de2ff16d5b2e3b2bd26fe7f3f6654985d90a9b885b7f8c", + "size": 22924 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/sessions/threads/events/list", "status": "success", "path": "en/api/java/beta/sessions/threads/events/list.md", - "sha256": "c516f54c47df60bf3b9b36e3dc40e0a02defa1248c4429ad83cb024fab5f7b2f", - "size": 62209 + "sha256": "33eba4c8a61461e61e6c4a919f886001cf7625122709e0ff75ff7f05fc2711c6", + "size": 62242 }, { "url": "https://platform.claude.com/docs/en/api/java/beta/sessions/threads/events/stream", "status": "success", "path": "en/api/java/beta/sessions/threads/events/stream.md", - "sha256": "5496523977962e8a2bd251601fcc8e865435515ba27d34d6746dff606958551f", - "size": 65750 + "sha256": "b5b7106600be8c6f49220034b764a229b17e2a4265b534e9951de9204807a5b3", + "size": 65783 }, { "url": "https://raw.githubusercontent.com/anthropics/claude-cookbooks/main/.claude/agents/code-reviewer.md", @@ -27439,7 +27460,12 @@ "size": 170 } ], - "failures": [], + "failures": [ + { + "url": "https://support.claude.com/en/articles/14729249-use-live-artifacts-in-claude-cowork", + "error": "moved to https://support.claude.com/en/articles/14729249-use-artifacts-in-claude-cowork.md" + } + ], "dead": [ { "url": "https://support.claude.com/en/articles/12650343-use-claude-for-excel", @@ -27469,14 +27495,6 @@ "url": "https://support.claude.com/en/articles/14855664-use-claude-for-outlook", "reason": "moved -> https://claude.com/docs/office-agents/outlook" }, - { - "url": "https://support.claude.com/en/articles/15363606-why-claude-switched-models-in-your-conversation-with-fable-5", - "reason": "moved -> https://support.claude.com/en/articles/15363606-why-claude-switched-models-in-your-conversation-with-fable-5-or-fable-5-1" - }, - { - "url": "https://support.claude.com/en/articles/15424964-claude-fable-5-on-your-plan", - "reason": "moved -> https://support.claude.com/en/articles/15424964-claude-fable-models-on-your-plan" - }, { "url": "https://platform.claude.com/docs/en/agent-sdk/stop-reasons", "reason": "moved -> https://code.claude.com/docs/en/agent-sdk" @@ -27765,6 +27783,10 @@ "url": "https://support.claude.com/en/articles/12922490-remote-mcp-server-submission-guide", "reason": "HTTP 404" }, + { + "url": "https://support.claude.com/en/articles/15424964-claude-fable-5-on-your-plan", + "reason": "moved -> https://support.claude.com/en/articles/15424964-claude-fable-models-on-your-plan" + }, { "url": "https://support.claude.com/en/articles/8114526-how-will-i-be-billed-for-claude-api-use", "reason": "HTTP 404" @@ -27797,6 +27819,10 @@ "url": "https://support.claude.com/en/articles/8606395-how-large-is-the-claude-api-s-context-window", "reason": "moved -> https://platform.claude.com/docs/en/models/overview" }, + { + "url": "https://support.claude.com/en/articles/15363606-why-claude-switched-models-in-your-conversation-with-fable-5", + "reason": "moved -> https://support.claude.com/en/articles/15363606-why-claude-switched-models-in-your-conversation-with-fable-5-or-fable-5-1" + }, { "url": "https://support.claude.com/en/articles/13851150-install-financial-services-plugins", "reason": "moved -> https://academy.claude.com/tutorials/install-financial-services-plugins-for-cowork" @@ -27815,11 +27841,11 @@ } ], "summary": { - "total": 4012, - "downloaded": 3919, + "total": 4016, + "downloaded": 3922, "skipped": 0, "failed": 0, - "dead": 93, + "dead": 94, "success_rate": 100.0 } } \ No newline at end of file diff --git a/content/CHANGELOG.md b/content/CHANGELOG.md index b7cc83ab40..b580854e29 100644 --- a/content/CHANGELOG.md +++ b/content/CHANGELOG.md @@ -1,5 +1,45 @@ # Changelog +## 2.1.259 + +- Added `managedMcpServers` managed setting: organizations can provide HTTP/SSE MCP servers to every user (same entry shape as `.mcp.json`); entries that name a command to run are skipped +- Added `--permission-prompts none` for unattended headless hosts: anything that would prompt is denied automatically while the active permission mode (including auto mode) keeps deciding +- Added recognition of `glab mr create/merge/close/reopen/note/update` so GitLab merge requests show as `MR !N` in the collapsed tool summary and refresh the footer MR badge +- Added `--json` to `claude plugin validate` for a machine-readable validation report +- Fixed concurrent sessions silently reverting each other's `~/.claude.json` changes — workspace trust no longer resets and MCP/project state is no longer lost when running many sessions at once +- Fixed a conversation whose thinking was rejected once being rejected again on every later turn +- Fixed Bash `Read()` deny rules not covering files given as option values (`--ignore-revs-file=.env`, `-f.env`, `@file`), `git diff`/`git grep` file operands, or `cd DIR && cat FILE` compounds; `grep -r`/`cp -r` over a directory holding a denied file now asks +- Fixed the prompt cache being invalidated when the OAuth token refreshed in sessions with telemetry disabled +- Fixed fullscreen mode showing a blank conversation after a long turn with hundreds of tool calls +- Fixed auto mode running a turn on a model it doesn't support when a command or skill's frontmatter `model:` named one; the turn now keeps the session model +- Fixed `CLAUDE_CODE_MAX_CONTEXT_TOKENS` being ignored for Vertex-style model IDs (`@YYYYMMDD` suffix) of model versions Claude Code doesn't recognize +- Fixed the live output preview of a running shell command hiding its newest lines when an earlier line wrapped +- Fixed a background GitHub connection check that ran on every launch for claude.ai users; the result is now remembered across launches +- Fixed `--resume` failing (and `--continue` opening an empty conversation) when a saved session contains an attachment entry with no payload +- Fixed frontmatter `model:` on custom commands and skills being ignored in interactive sessions +- Fixed Artifact publishing failing once with an "unexpected parameter `note`" error in conversations continued from an older version +- Fixed managed `forceRemoteSettingsRefresh` being ignored at startup when a policy helper configured by MDM or the managed settings file had already run +- Fixed worktree isolation refusing hook-created worktrees on machines where `git rev-parse` fails with a message other than "not a git repository" +- Fixed OpenTelemetry metrics and events from cloud sessions missing the `user.email`, `organization.id`, and `user.account_uuid` attributes +- Fixed MCP servers that disconnect while their tools are being listed at startup showing as connected with no tools instead of reporting the error +- Fixed the file edit permission dialog sometimes showing a changed line cut short with no indication +- Fixed repository detection dropping a known repo identity after a transient git probe failure +- Fixed managed settings silently going unenforced when the managed-settings file, a drop-in, the MDM plist, or the HKLM value cannot be parsed: Claude Code now refuses to start and names the source +- Fixed Stop not actually stopping background agents and workflows in remote-control sessions: killed tasks now stay visible and re-stoppable until their processes exit +- Fixed resuming a workflow run while its previous stopped run was still exiting, which could run duplicate copies of its agents +- Fixed marketplace repo URLs on github.com with a trailing slash or dangling `?`/`#` producing an unusable `.git` clone URL +- Fixed blocking Stop hooks causing the turn after a block to lose the model's reasoning from that turn and, on some models, miss the prompt cache +- Fixed remote (claude.ai) sessions taking 60 seconds to start a turn after a browser-hosted MCP server's page had gone away +- Fixed worktree-isolated sessions refusing common Bash loops, xargs pipelines and launcher-wrapped commands that cannot reach the main checkout +- Improved terminal resize and first-render performance for long responses by reusing text measurements +- Improved `/workflows` agent detail: JSON outcomes are pretty-printed with syntax colors and real line breaks, and long outcomes fold behind an expand toggle +- Improved headless/SDK session start: the first turn begins up to 50 ms sooner when MCP servers finish connecting +- Improved `/install-github-app` to explain it is GitHub-only and point to the GitLab CI/CD docs when run inside a GitLab repository +- Improved nested background subagent results to be saved in the parent subagent's transcript, so resumed subagents keep them and shared transcripts show the delivery +- Changed `allowedMcpServers` to govern only servers users add: a literal `managed-mcp.json` server your allowlist used to filter out now loads on upgrade; use `deniedMcpServers` to keep it off +- [VSCode] Added an Active quick filter and a status filter menu (Needs input, Working, Completed) to the session list sidebar +- Fixed remote and scheduled sessions doing nothing after a connector-tool permission prompt was approved while the session was paused + ## 2.1.258 - Fixed Claude Code failing to launch on macOS 12 (Monterey), a regression introduced in 2.1.255 diff --git a/content/claude-code-manifest.json b/content/claude-code-manifest.json index 4a3a0a764d..6bce843dd8 100644 --- a/content/claude-code-manifest.json +++ b/content/claude-code-manifest.json @@ -6,25 +6,25 @@ "url": "https://github.com/anthropics/claude-code/issues" }, "dist": { - "shasum": "55f84789ed34ca70702c043e7bcba88dde2daea3", - "tarball": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-2.1.258.tgz", + "shasum": "98ffba9e70047120136ae937218b2407164c323a", + "tarball": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-2.1.259.tgz", "fileCount": 7, - "integrity": "sha512-Zis1AYrHuCcK4V1tXJUkzJdklFsTvvqIcj7gk4K8lyEeJOW99ZoQH/E+WxugMqDEO7xncYZ41gydxlkSTmj/2Q==", + "integrity": "sha512-kzhz+R36GgL5aouAkeMO9nI1BEIVaRx1NGu0wTTn/H315l61uiLRo13yvva7H10Pfv0PGgzqJ4m+EKv9BzIRXQ==", "signatures": [ { - "sig": "MEYCIQDHKfEMp5qZHiYAKTIVptL8Qrji2bA1DTz7a2omsoGDzwIhAMrJpR4xaWQuwhZMpUvYXhXR1d01BQzTHg8Wn2V+mNuo", + "sig": "MEUCIQDN7r3dGf7abmOHFq1zmcWnZq3V469SKdvnlpEaN2PoowIgNMz4rZnwvxGokMZEeveHsNJXNKvFx72ZiGKtKhVYqQc=", "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U" }, { - "sig": "MEUCIQC1LpiecOt5YKSQzZ5mlCuSLnE/V3XXR78rhp1IFFEsQQIgKL/mDy5icSObVUTc3I/X9wKwHfJhYdJW8U1d1+ez51I=", + "sig": "MEYCIQCCy/WJiG51+Bf5xqrKcJJqz6uyLqgWAOoCnSewyzENSQIhAMYHpS3gnXLHi4vdCpx+sm1/lTDDChGwH/Yoj/woYd/D", "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U" } ], - "unpackedSize": 182117 + "unpackedSize": 182773 }, "name": "@anthropic-ai/claude-code", "type": "module", - "_from": "file:staged-npm/anthropic-ai-claude-code-2.1.258.tgz", + "_from": "file:staged-npm/anthropic-ai-claude-code-2.1.259.tgz", "author": { "name": "Anthropic", "email": "support@anthropic.com" @@ -42,8 +42,8 @@ "email": "wolffiex@anthropic.com" }, "homepage": "https://github.com/anthropics/claude-code", - "_resolved": "/home/runner/work/claude-cli-internal/claude-cli-internal/staged-npm/anthropic-ai-claude-code-2.1.258.tgz", - "_integrity": "sha512-Zis1AYrHuCcK4V1tXJUkzJdklFsTvvqIcj7gk4K8lyEeJOW99ZoQH/E+WxugMqDEO7xncYZ41gydxlkSTmj/2Q==", + "_resolved": "/home/runner/work/claude-cli-internal/claude-cli-internal/staged-npm/anthropic-ai-claude-code-2.1.259.tgz", + "_integrity": "sha512-kzhz+R36GgL5aouAkeMO9nI1BEIVaRx1NGu0wTTn/H315l61uiLRo13yvva7H10Pfv0PGgzqJ4m+EKv9BzIRXQ==", "_npmVersion": "11.17.0", "description": "Use Claude, Anthropic's AI assistant, right from your terminal. Claude can understand your codebase, edit files, run terminal commands, and handle entire workflows for you.", "directories": {}, @@ -106,19 +106,19 @@ "_hasShrinkwrap": false, "readmeFilename": "README.md", "optionalDependencies": { - "@anthropic-ai/claude-code-linux-x64": "2.1.258", - "@anthropic-ai/claude-code-win32-x64": "2.1.258", - "@anthropic-ai/claude-code-darwin-x64": "2.1.258", - "@anthropic-ai/claude-code-linux-arm64": "2.1.258", - "@anthropic-ai/claude-code-win32-arm64": "2.1.258", - "@anthropic-ai/claude-code-darwin-arm64": "2.1.258", - "@anthropic-ai/claude-code-linux-x64-musl": "2.1.258", - "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.258" + "@anthropic-ai/claude-code-linux-x64": "2.1.259", + "@anthropic-ai/claude-code-win32-x64": "2.1.259", + "@anthropic-ai/claude-code-darwin-x64": "2.1.259", + "@anthropic-ai/claude-code-linux-arm64": "2.1.259", + "@anthropic-ai/claude-code-win32-arm64": "2.1.259", + "@anthropic-ai/claude-code-darwin-arm64": "2.1.259", + "@anthropic-ai/claude-code-linux-x64-musl": "2.1.259", + "@anthropic-ai/claude-code-linux-arm64-musl": "2.1.259" }, "_npmOperationalInternal": { - "tmp": "tmp/claude-code_2.1.258_1788301507359_0.8783635964535186", + "tmp": "tmp/claude-code_2.1.259_1788384102028_0.03746517436129704", "host": "s3://npm-registry-packages-npm-production" }, - "_id": "@anthropic-ai/claude-code@2.1.258", - "version": "2.1.258" + "_id": "@anthropic-ai/claude-code@2.1.259", + "version": "2.1.259" } \ No newline at end of file diff --git a/content/claude/cowork/changelog.md b/content/claude/cowork/changelog.md index 7ae42a3e42..e31ad8cb12 100644 --- a/content/claude/cowork/changelog.md +++ b/content/claude/cowork/changelog.md @@ -6,6 +6,99 @@ > Release notes for Claude Desktop + + **General** + + * No user-facing changes. + + **Code** + + * No user-facing changes. + + **Cowork** + + * No user-facing changes. + + **3P** + + * Added support in Chat for skills from organization-provided plugins, and Chat-only users can now see and manage those plugins under Customize, matching Cowork and Code. + * Fixed advanced file analysis in Chat failing with "Workspace unavailable" for users whose organization enables `chatAdvancedFileAnalysisEnabled` but turns Cowork off with `coworkTabEnabled: false`. + * Fixed managed OAuth connectors showing a connection error instead of prompting to sign in when the app starts without a usable sign-in (expired with no refresh token, or never signed in on this machine), including servers added by URL alone, where Connect could fail instead of opening the sign-in page. + * Fixed organization-configured URL plugin marketplaces failing to install or load plugins with "marketplace entry path does not stay inside the marketplace directory". + + + + **General** + + * No user-facing changes. + + **Code** + + * No user-facing changes. + + **Cowork** + + * Fixed sessions on Windows being unable to run commands or fetch web pages. This reverts the 1.44121.1 fix for sessions failing to start on Windows for accounts with many saved artifacts, scheduled tasks, or connected folders. + + **3P** + + * No user-facing changes. + + + + **General** + + * Added Claude to the "Open with" menu for common work files, including spreadsheets, PDFs, Word and PowerPoint documents, text files, and images, on macOS and on Windows (Microsoft Store and MSIX installs). + * Fixed a crash at launch when the app's settings file couldn't be read. + * Fixed a new chat's first message being dropped when you had to sign in again or verify this device; the chat now asks for that step in a dialog over your message. + * Fixed an issue where an invalid settings file could cause all app settings to be reset. + * Fixed Claude not finding files attached in Cowork and Chat, including pasted files and a re-attached file with the same name; attachments that can't be read now say so instead of being dropped silently. + * Fixed scheduled tasks failing with an error after a permission approval. + * Fixed the app reloading endlessly when it keeps crashing right after loading; it now stops and shows what to do next. + + **Code** + + * Added a Split View submenu to the View menu for opening a new session beside or below the current one, and side panes (diff, terminal, plan, preview, and others) can now open in a window of their own. + * Added Claude Code output styles: an "Output style" submenu in the session menu and a `/output-style` command for viewing and switching styles, a "New style…" option that drafts a custom style from a plain-language description, and a default style setting in Settings › Claude Code. + * Changed the Files pane to open files as tabs beside a collapsible file tree, with single-click preview tabs, multi-select, richer right-click menus, and inline previews for PDF, Word, Excel, and PowerPoint files. + * Fixed `/rewind` appearing undone when returning to a session after navigating away, which could also cause the next message to silently drop recent conversation history. + * Fixed Code sessions repeatedly failing to start after a corrupt Claude Code download on macOS, failing to start on Linux arm64, and SSH and WSL session setup failing on slow connections; the one-time install now shows progress and can fall back to uploading Claude Code from your computer. + * Fixed sessions failing to start on macOS 12 (Monterey). + * Fixed sessions getting stuck on "responding" when a message was queued near the end of a turn. + + **Cowork** + + * Changed live artifact sharing to follow your organization's Artifacts setting and sharing policies: members no longer see sharing options their organization has turned off, and already-shared artifacts keep Copy link and Unshare. + * Changed updating a skill from a file card or skill proposal to apply in one step with an Undo toast instead of a confirmation dialog; where a confirmation still appears, its Update button is the pre-selected action. + * Changed what happens when web fetch isn't available for your organization: Claude now says so instead of retrying and reporting failed fetches. + * Fixed a crash when previewing an image file that is empty or actually contains text. + * Fixed a message with an attachment that couldn't be read or was too large failing to send over and over with no explanation; Claude now marks the attachment with the problem, says what to do, and offers Retry where it can help. + * Fixed sessions failing to start on Windows for accounts with many saved artifacts, scheduled tasks, or connected folders. + * Fixed sessions that run Claude Code directly on the device failing to start for organizations that set `disableSideloadFlags` in Claude Code's managed settings (`managed-settings.json`, an MDM profile, or the registry); in those sessions Claude Code loads none of the desktop's plugins, so their commands, agents, and hooks are unavailable. + * Fixed the session page reloading after you connect a connector that signs in through the browser. + + **3P** + + * Added `claudeAiImport.automatic3pImport` (beta): when `true` and `deploymentOrganizationUuid` is set, the app copies this computer's earlier third-party sessions stored before an organization ID was configured into that organization's session store, once per device and in the background, independently of `claudeAiImport.enabled`; a copy interrupted when the app quits resumes on the next launch. + * Added `egressProxyUrl` and `egressProxyPacUrl`: route the app's and the agent's traffic through a corporate HTTP proxy, or let a PAC file choose the proxy per request, instead of following the operating system's proxy settings; on macOS and Windows, Cowork's workspace follows the pinned proxy too. Both keys are read from device management or the local configuration file only, and the PAC file wins when both are set. + * Added `inferenceStreamIdleTimeoutSec`: how many extra seconds (300 to 1800, default 300) Chat, Cowork, and Code sessions wait for model output on a streaming response that is sending only keep-alive pings, for gateways that send keep-alives while the upstream model is silent. Gateway provider only. + * Added a Duplicates step to the import wizard when an imported Project has the same name as one you already have, with the option to merge the imported sessions into your Project and remove the duplicate; the Projects page offers the same merge. + * Added conversation titles to the OpenTelemetry export: a `desktop_session_title_set` event carries each Cowork and Code session's title plus the Claude Code session ID to join on, sent when `otlpDesktopLogLevel` is `info` or lower; the title text is included only when `otlpContentCapture` includes `userPrompts`. + * Added installing and updating plugins from admin-configured marketplaces on devices where Cowork isn't available, from the Code tab or the Cowork tab. + * Added local scheduled tasks to the Code tab, including the `/schedule` command and the Scheduled page, matching what Cowork already offered. + * Added the ability to attach files in SSH Code sessions. + * (breaking) Changed the Usage page cost estimate to require `inferenceModelPricingEnabled`; `inferenceModelPricingMultiplier` and `inferenceModelPricing` now refine the estimate only while it is on and no longer turn it on by themselves. + * Changed `HTTPS_PROXY`, `HTTP_PROXY`, and `NO_PROXY` set in the `env` block of Claude Code's managed settings (`managed-settings.json` or your organization's server-managed Claude Code settings) to apply to Chat, Cowork, and Code sessions even when the computer has a system proxy configured. + * Changed `isClaudeCodeForDesktopEnabled`: when it is `false`, the app no longer starts Code sessions even if asked directly, Preview no longer scans projects for a dev server, and the computer is no longer offered for Remote Control; a Code session requested anyway shows "Code sessions are turned off by your organization" instead of a retry prompt. + * Fixed Bedrock and Bedrock Mantle sessions being cut off by network idle timeouts during long thinking phases on Opus 4.7 and later models. + * Fixed Code tab sessions not prompting to re-authenticate when the deployment's credentials had expired; they now show the same sign-in prompt as Cowork. Also fixed Live Artifact `askClaude()` calls and the Code tab's "Detect dev server" failing on deployments that use SSO, credential helpers, Vertex, or Bedrock SSO. + * Fixed managed MCP connector sign-in staying permanently stuck when the identity provider no longer recognizes the OAuth client the app registered; the app now registers a new client automatically. + * Fixed MCP servers provided by plugins not connecting in Code and Cowork sessions when `managedMcpServers` is configured; in that case, with `isLocalDevMcpEnabled` set to `false`, plugins' remote MCP servers connect and their local (stdio) ones stay blocked. + * Fixed plugins distributed as a zip whose top level is a single component folder (for example `skills/` or `commands/`) installing with no skills, commands, or agents. + * Fixed the `allowedWorkspaceFolders` policy not always being applied to Code sessions over SSH. + * Fixed the Code tab home's usage stats reporting a favorite model, per-model breakdown, and activity from other Claude Code history on the same machine instead of this deployment's own sessions. + + **General** diff --git a/content/claude/government/deploy-desktop/windows-checklist.md b/content/claude/government/deploy-desktop/windows-checklist.md index 0bc3f6f22c..1d9c615eaf 100644 --- a/content/claude/government/deploy-desktop/windows-checklist.md +++ b/content/claude/government/deploy-desktop/windows-checklist.md @@ -66,7 +66,7 @@ Claude Desktop's own traffic is HTTPS on port 443, and you can allowlist it by h * **`www.claudeusercontent.com`.** This host serves the frame that displays artifact previews. * **Update hosts.** While [automatic updates](/docs/government/deploy-desktop/configure#automatic-updates) are on, also allow the hosts listed under Auto-updates in [Required egress paths](/docs/third-party/claude-desktop/telemetry#required-egress-paths). The telemetry rows there never apply, because Claude for Government does not send telemetry to Anthropic. * **Hosts your tools and connectors use.** Allow the hosts you add to [Allowed network hosts](/docs/government/config/settings#allowed-network-hosts) (such as package registries), the addresses of any connectors you configure on the Config page (including Microsoft 365 if you set up that connector), and your telemetry collector if you set one. -* **Proxies.** The app and the Cowork workspace follow the operating system's proxy settings, including PAC files, as described under [Proxy support](/docs/third-party/claude-desktop/telemetry#proxy-support). If your proxy inspects TLS, validate sign-in, a chat, and a Cowork task on a pilot device before rollout. +* **Proxies.** The app and the Cowork workspace follow the operating system's proxy settings, including PAC files, as described under [Network proxy](/docs/third-party/claude-desktop/network-proxy). If your proxy inspects TLS, validate sign-in, a chat, and a Cowork task on a pilot device before rollout. ## User accounts and seats diff --git a/content/claude/government/security/security-and-data-handling.md b/content/claude/government/security/security-and-data-handling.md index 03abc5bb28..892ed3eaec 100644 --- a/content/claude/government/security/security-and-data-handling.md +++ b/content/claude/government/security/security-and-data-handling.md @@ -82,7 +82,7 @@ The desktop application and the sandbox honor the operating system's proxy setti - Yes. Both the desktop application and the sandbox honor the operating system's proxy settings, including PAC URLs, and route all outbound traffic through your proxy. TLS inspection at your proxy should work; validate this in your environment before rollout. See [Proxy support](/docs/third-party/claude-desktop/telemetry#proxy-support) for details. Web search requests pass through your proxy to the Claude for Government service, and the service's onward call to the search provider originates from inside the FedRAMP High boundary. + Yes. Both the desktop application and the sandbox honor the operating system's proxy settings, including PAC URLs, and route all outbound traffic through your proxy. TLS inspection at your proxy should work; validate this in your environment before rollout. See [Network proxy](/docs/third-party/claude-desktop/network-proxy) for details. Web search requests pass through your proxy to the Claude for Government service, and the service's onward call to the search provider originates from inside the FedRAMP High boundary. diff --git a/content/claude/third-party/claude-desktop/bootstrap.md b/content/claude/third-party/claude-desktop/bootstrap.md index 13c398fcf6..ba5f79a1eb 100644 --- a/content/claude/third-party/claude-desktop/bootstrap.md +++ b/content/claude/third-party/claude-desktop/bootstrap.md @@ -307,7 +307,7 @@ Return `200 OK` with `Content-Type: application/json` and a JSON object whose ke The full set of bootstrap-settable keys is published as a machine-readable JSON Schema, generated from the same source as the [configuration reference](/docs/third-party/claude-desktop/configuration) and updated with each release: * [`/third-party/claude-desktop/schemas/bootstrap-config-v2.schema.json`](/docs/third-party/claude-desktop/schemas/bootstrap-config-v2.schema.json) (recommended): nested response format with a discriminated `inference` object. -* [`/third-party/claude-desktop/schemas/bootstrap-config-v1.schema.json`](/docs/third-party/claude-desktop/schemas/bootstrap-config-v1.schema.json): flat key format, kept for configurations authored before the v2 cutover. The app accepts either format. +* [`/third-party/claude-desktop/schemas/bootstrap-config-v1.schema.json`](/docs/third-party/claude-desktop/schemas/bootstrap-config-v1.schema.json): flat format, with the managed-configuration key names at the top level as in the example above and in the [configuration reference](/docs/third-party/claude-desktop/configuration). The app accepts either format. Reference the schema with `"$schema"` in your response template, or with `# yaml-language-server: $schema=…` in YAML, for autocomplete and validation. diff --git a/content/claude/third-party/claude-desktop/configuration-changelog.md b/content/claude/third-party/claude-desktop/configuration-changelog.md index 4bf2c4167d..c5c20ae542 100644 --- a/content/claude/third-party/claude-desktop/configuration-changelog.md +++ b/content/claude/third-party/claude-desktop/configuration-changelog.md @@ -8,6 +8,48 @@ Configuration keys by Claude Desktop release. Each section lists keys added in that release, with the MDM key name (for plist/registry deployment) and the equivalent JSON shape (for local-file or bootstrap remote configuration). + + No configuration changes in this release. + + + + No configuration changes in this release. + + + +
+ | MDM key | Type | Description | + | ---------------------------------------------------------------------------------------------------------- | --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | + | [`inferenceStreamIdleTimeoutSec`](/docs/third-party/claude-desktop/configuration#inferencestreamidletimeoutsec) | `integer` | Stream idle timeout | + | [`egressProxyUrl`](/docs/third-party/claude-desktop/configuration#egressproxyurl) | `string` | Proxy server URL | + | [`egressProxyPacUrl`](/docs/third-party/claude-desktop/configuration#egressproxypacurl) | `string` | Proxy auto-config (PAC) URL | + | [`claudeAiImport.automatic3pImport`](/docs/third-party/claude-desktop/configuration#claudeaiimport) | `boolean` | New subfield (beta): when `true` and `deploymentOrganizationUuid` is set, the app copies this computer's earlier third-party sessions stored before an organization ID was configured into that organization's session store, once per device and in the background; independent of `enabled` (default `false`). | +
+ + **JSON (e.g. for non-MDM users or Bootstrap):** + + ```json theme={null} + { + "inference": { + "streamIdleTimeoutSec": "" + }, + "workspace": { + "egressProxyUrl": "", + "egressProxyPacUrl": "" + }, + "claudeAiImport": { + "automatic3pImport": "" + } + } + ``` + + `egressProxyUrl` and `egressProxyPacUrl` are read from device management or a local configuration file only; a value served by a bootstrap URL is not applied. + + **Changed:** + + * **Breaking:** `inferenceModelPricingMultiplier` and `inferenceModelPricing` no longer turn on the Usage page's cost estimate by themselves; they apply only while `inferenceModelPricingEnabled` is `true` and are ignored otherwise. A configuration that sets either without `inferenceModelPricingEnabled: true` now shows token counts only; add that key to keep the estimate. +
+ No configuration changes in this release. diff --git a/content/claude/third-party/claude-desktop/configuration.md b/content/claude/third-party/claude-desktop/configuration.md index ab80664085..0c513cacb5 100644 --- a/content/claude/third-party/claude-desktop/configuration.md +++ b/content/claude/third-party/claude-desktop/configuration.md @@ -22,7 +22,7 @@ The easiest way to author a configuration is the in-app configuration window (** The local location is a directory: `_meta.json` records which saved configuration is applied, and each configuration is a `.json` file alongside it. The in-app configuration window writes here. -When a managed source is present, it wins and locally written values are ignored. The exception is a managed source that sets only the update keys (`disableAutoUpdates`, `autoUpdaterEnforcementHours`, and `updateViaUpdatesHost`): those keys are enforced from the managed source, but the rest of the configuration stays local and user-editable. Configuration is read **once at launch**, so fully quit and reopen the app after any change. On Windows, the two policy hives are not merged: when machine policy is present under `HKLM\SOFTWARE\Policies\Claude`, the app ignores `HKCU\SOFTWARE\Policies\Claude` entirely; [Deploy the configuration](/docs/third-party/claude-desktop/mdm#4-deploy-the-configuration) has the exact rule. See [Deploy with MDM](/docs/third-party/claude-desktop/mdm#update-keys-and-managed-precedence) for the full precedence rules. +When a managed source is present, it wins and locally written values are ignored. The exception is a managed source that sets only the update keys (`disableAutoUpdates`, `autoUpdaterEnforcementHours`, and `updateViaUpdatesHost`) or the [network proxy keys](/docs/third-party/claude-desktop/network-proxy#pin-a-proxy-from-managed-configuration): those keys are enforced from the managed source, but the rest of the configuration stays local and user-editable. Configuration is read **once at launch**, so fully quit and reopen the app after any change. On Windows, the two policy hives are not merged: when machine policy is present under `HKLM\SOFTWARE\Policies\Claude`, the app ignores `HKCU\SOFTWARE\Policies\Claude` entirely; [Deploy the configuration](/docs/third-party/claude-desktop/mdm#4-deploy-the-configuration) has the exact rule. See [Deploy with MDM](/docs/third-party/claude-desktop/mdm#update-keys-and-managed-precedence) for the full precedence rules. Claude Desktop on 3P reads the same managed-configuration sources as standard Claude Desktop but ignores keys scoped to standard deployments. Keys such as `forceLoginOrgUUID` have no effect in a 3P deployment. @@ -85,6 +85,8 @@ The reference below is generated from the configuration schema and grouped to ma | Helper script TTL
`inferenceCredentialHelperTtlSec` | `integer` | MDM + Bootstrap | `3600` | Helper output is cached for this many seconds; once it expires the helper re-runs without a relaunch (before the next turn when set above 120). Defaults to `3600`. | | Credential helper timeout
`inferenceCredentialHelperTimeoutSec` | `integer` | MDM + Bootstrap | `60` | Maximum wait for the helper executable to finish. Raise this if the helper opens a browser for interactive sign-in. Defaults to `60`. Range: 1–600. | | Re-run helper for silent refresh
`inferenceCredentialHelperSilentRefreshEnabled` | `boolean` | MDM + Bootstrap | `true` | On credential expiry, re-run the helper (CLAUDE\_HELPER\_CONTEXT=mid-session-refresh) to recover silently. Turn off if the helper can’t run non-interactively. Defaults to `true`. | +| Proxy server URL
`egressProxyUrl` | `string` | MDM only | — | Send the app’s and the agent’s traffic through this HTTP proxy instead of the operating system’s proxy settings. | +| Proxy auto-config (PAC) URL
`egressProxyPacUrl` | `string` | MDM only | — | URL of a PAC file that decides the proxy per request. Wins over the proxy server URL when both are set. | | Artifact preview iframe origin
`userContentRendererUrl` | `string` | MDM + Bootstrap | — | HTTPS origin of the user-content-renderer deployment used for artifact and file previews. Defaults to the commercial host when unset. | | Inference provider
`inferenceProvider` | `enum` | MDM + Bootstrap | — | Selects the inference backend. Setting this key activates third-party mode. One of: `gateway`, `anthropic`, `bedrock`, `mantle`, `vertex`, `foundry`. | | Credential kind
`inferenceCredentialKind` | `enum` | MDM + Bootstrap | — | Selects the credential source. When set, only that source is used (no fallback). One of: `static`, `helper-script`, `interactive`, `vendor-profile`, `workforce`. Deprecated: `inferenceCredentialKind: "oauth" (Vertex AI)` (accepted until October 7, 2026); use "interactive" — the same Google sign-in under its new name (in hosted or nested documents, switch once every desktop is on a release that knows the Vertex "interactive" kind). If it is still present after that, "oauth" will no longer be a Vertex AI credential kind: the value will be reported as invalid and ignored — the device will then derive the kind from the credential fields present (Google sign-in when an OAuth client id is set), and the hosted editor will refuse to save the configuration until the kind is changed. Deprecated: `inferenceCredentialKind: "interactive" together with inferenceVertexWorkforceAudience (Vertex AI)` (accepted until October 7, 2026); use "workforce" — or remove inferenceVertexWorkforceAudience if Google sign-in ("interactive") is what is meant. If it is still present after that, the audience will no longer imply Workforce Identity: the kind will stay "interactive" (Google sign-in), which needs inferenceVertexOAuthClientId — without it the configuration will be reported as incomplete and inference will not start. | @@ -117,6 +119,20 @@ The reference below is generated from the configuration schema and grouped to ma If this field is set, static credential fields (API key, bearer token) are ignored. The helper always wins. + + Pins the app (sign-in, the connection test, model discovery, MCP servers, plugins), the Claude Code engine behind Chat, Cowork, and Code, and on macOS and Windows the Cowork workspace VM (the agent's shell, package-install, `git`, and plugin commands, and the whole engine under `requireFullVmSandbox`) to one HTTP proxy. Use it when your gateway or the internet is reachable only through a corporate proxy and you cannot rely on the system proxy. It is a reachability setting, not an egress control. + + The value is an `http://` or `https://` URL, usually with a port. SOCKS proxies and embedded credentials (`user:pass@`) are rejected. Give a local forwarding proxy on the device as `http://127.0.0.1:port`; an `https://` loopback address cannot be verified from inside the Cowork workspace VM. Requests to `localhost`, `127.0.0.1`, `[::1]`, and `*.local` names bypass the proxy so local MCP servers keep working; everything else goes through it, and if the proxy is unreachable requests fail rather than connect directly. The engine receives it as `HTTPS_PROXY` and `HTTP_PROXY` with a matching `NO_PROXY`; if Claude Code managed settings on the device set those variables, they win for the engine on the host. Traffic that never uses this proxy: the Cowork workspace VM on Linux, credential and header helper scripts, the update download, the Windows sign-in broker, and pages opened in the system browser. + + Read once at launch from device management (MDM) or the local configuration file only; a configuration server cannot deliver it, because the app may need the proxy to reach that server. A profile that sets only this key (or only the other app-behavior keys, such as `disableAutoUpdates`) does not take over a connection users set up in the app, but those keys are read from one source as a group, so put the proxy in the same profile as your update settings. Changes apply at the next app start. When `egressProxyPacUrl` is also set, the PAC file wins and this key is ignored. + + + + At launch the app downloads the PAC script and asks it which proxy to use for each request, as a browser would, instead of following the operating system's proxy settings. Same value rules, coverage, exclusions, and delivery as `egressProxyUrl`, except that bypassing is the script's decision: `localhost`, `127.0.0.1`, and `[::1]` still never use a proxy, but `*.local` names and everything else follow whatever it returns. If the PAC file cannot be downloaded, the app connects directly rather than failing. + + On macOS and Windows the Cowork workspace VM is handed a copy of the script when it starts and evaluates it for each request itself; there `myIpAddress()` returns the VM's internal address rather than the device's, so a script that chooses by client subnet gives the VM its off-network answer (if that download fails, the VM connects directly). The Claude Code engine behind Chat, Cowork, and Code cannot evaluate a PAC file, so the app hands it one proxy (whichever the script returns for your inference endpoint) plus a bypass for loopback and `*.local` names. If the script answers `DIRECT` or only `SOCKS` for that endpoint, the engine uses no proxy at all, so have it return an HTTP `PROXY host:port` entry there; if the engine needs different rules, set `HTTPS_PROXY` and `NO_PROXY` in Claude Code managed settings, which win for the engine on the host. + + The app activates 3P mode only when this is set and the required credential keys for the selected provider are present and valid; otherwise it launches in standard mode. Keys for providers other than the selected one are ignored. Each provider's required keys are documented on its dedicated page under Inference providers. @@ -172,15 +188,22 @@ The reference below is generated from the configuration schema and grouped to ma ### Gateway -| Setting | Type | Availability | Default | Description | -| -------------------------------------------------------------------------------------------------- | -------- | --------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| Gateway base URL
`inferenceGatewayBaseUrl` | `string` | MDM + Bootstrap | — | Full URL of the inference gateway endpoint. | -| Gateway API key
`inferenceGatewayApiKey` | `string` | MDM + Bootstrap | — | API key for the configured inference gateway. | -| Gateway auth scheme
`inferenceGatewayAuthScheme` | `enum` | MDM + Bootstrap | `bearer` | How the gateway credential is sent on the wire (Authorization: Bearer vs x-api-key header). One of: `bearer`, `x-api-key`. Defaults to `bearer`. Deprecated: `inferenceGatewayAuthScheme: "sso"` (accepted until October 7, 2026); use inferenceCredentialKind: "interactive". If it is still present after that, browser sign-in will no longer be inferred from it — the key will be reported as invalid and, unless inferenceCredentialKind or another credential field (an API key, inferenceGatewayOidc) says how to sign in, the gateway connection will have no credential and inference will not start. Deprecated: `inferenceGatewayAuthScheme: "auto"` (accepted until October 7, 2026); use "bearer" (or remove the key — bearer is the default). If it is still present after that, the value will be reported as invalid and ignored like any unrecognised scheme; the key will then take its default, "bearer", so the credential will still be sent as an Authorization: Bearer header. | -| Gateway sign-in flow
`inferenceGatewayOidcAuthFlow` | `enum` | MDM + Bootstrap | — | How the IdP sign-in runs: system browser (default) or the OS Microsoft Entra broker. One of: `browser`, `broker`. | -| Gateway SSO IdP (OIDC)
`inferenceGatewayOidc` | `object` | MDM + Bootstrap | — | External IdP for gateway sign-in. The user’s token from this issuer is sent to the gateway as the Bearer credential. | +| Setting | Type | Availability | Default | Description | +| --------------------------------------------------------------------------------------------------- | --------- | --------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| Gateway base URL
`inferenceGatewayBaseUrl` | `string` | MDM + Bootstrap | — | Full URL of the inference gateway endpoint. | +| Stream idle timeout
`inferenceStreamIdleTimeoutSec` | `integer` | MDM + Bootstrap | — | Extra seconds to wait for model output on a streaming response that is sending only keep-alive pings. Gateway provider only. Default 300. Range: 300–1800. | +| Gateway API key
`inferenceGatewayApiKey` | `string` | MDM + Bootstrap | — | API key for the configured inference gateway. | +| Gateway auth scheme
`inferenceGatewayAuthScheme` | `enum` | MDM + Bootstrap | `bearer` | How the gateway credential is sent on the wire (Authorization: Bearer vs x-api-key header). One of: `bearer`, `x-api-key`. Defaults to `bearer`. Deprecated: `inferenceGatewayAuthScheme: "sso"` (accepted until October 7, 2026); use inferenceCredentialKind: "interactive". If it is still present after that, browser sign-in will no longer be inferred from it — the key will be reported as invalid and, unless inferenceCredentialKind or another credential field (an API key, inferenceGatewayOidc) says how to sign in, the gateway connection will have no credential and inference will not start. Deprecated: `inferenceGatewayAuthScheme: "auto"` (accepted until October 7, 2026); use "bearer" (or remove the key — bearer is the default). If it is still present after that, the value will be reported as invalid and ignored like any unrecognised scheme; the key will then take its default, "bearer", so the credential will still be sent as an Authorization: Bearer header. | +| Gateway sign-in flow
`inferenceGatewayOidcAuthFlow` | `enum` | MDM + Bootstrap | — | How the IdP sign-in runs: system browser (default) or the OS Microsoft Entra broker. One of: `browser`, `broker`. | +| Gateway SSO IdP (OIDC)
`inferenceGatewayOidc` | `object` | MDM + Bootstrap | — | External IdP for gateway sign-in. The user’s token from this issuer is sent to the gateway as the Bearer credential. | + + Raises how long Cowork, Chat and Code sessions wait for the next model event on an open streaming response (Claude Code's `CLAUDE_STREAM_IDLE_TIMEOUT_MS`). It only helps when the gateway writes SSE keep-alive `ping` events (or `:` comment lines) into the response while the upstream model is silent — for example a LiteLLM proxy with keep-alive pings enabled in front of Amazon Bedrock. With pings arriving, Claude Code accepts at least about five minutes of keep-alives and then waits this many seconds more for real model output before abandoning the request. Gateway provider only; the other providers keep Claude Code's defaults. + + A response on which nothing at all arrives — no pings — still fails after about 5 minutes regardless of this key, because at the device a silent connection cannot be told apart from a dead one. If long generations fail behind a gateway that does not send pings, configure the gateway to send them rather than raising this value. While this key is set, the app's value takes precedence over `CLAUDE_STREAM_IDLE_TIMEOUT_MS` in Claude Code's own managed settings for sessions the app starts; when it is unset, that setting still applies. Values outside 300–1800 are rejected at parse time (the error is listed in the diagnostics report) and the default applies. + + * **`browser`** (default) — opens the system browser for an authorization-code (PKCE) sign-in on a loopback redirect URI. See the **IdP setup** notes on `inferenceGatewayOidc` for redirect-URI registration. * **`broker`** — signs in through the OS identity broker (Web Account Manager on Windows, Company Portal on macOS). Requires the IdP to be **Microsoft Entra ID** — the `issuer` on `inferenceGatewayOidc` must be `https://login.microsoftonline.com/{tenant-id}/v2.0`. The broker satisfies Conditional Access policies that require a compliant/managed device or token protection, and needs no `127.0.0.1/callback` loopback redirect. The Entra app registration must include the broker redirect URIs `ms-appx-web://Microsoft.AAD.BrokerPlugin/{client-id}` (Windows) and `msauth.com.anthropic.claudefordesktop://auth` (macOS) under the **Mobile and desktop applications** platform. Not supported on Linux. @@ -189,25 +212,13 @@ The reference below is generated from the configuration schema and grouped to ma - **External IdP mode.** The app discovers `/.well-known/openid-configuration`, runs an OIDC authorization-code-with-PKCE flow in the system browser with `clientId`, and sends the resulting token as `Authorization: Bearer` on every inference request — see **Bearer token type** below for how the gateway validates it. - - **Bearer token type.** `id_token` (the default) sends the OIDC ID token — the gateway validates signature + `iss` + `aud`, where `aud` is the `clientId` configured here. `access_token` sends the OAuth access token — the gateway validates as an OAuth resource server against the audience/scope the IdP issued the token for; set `scopes` to the gateway's registered API scope (required in this mode). Use `access_token` for gateways that expect a resource-server token (Portkey, Kong, Envoy JWT filter, AWS API Gateway authorizers). - - **The gateway MUST validate `iss` AND `aud`, not just the signature.** Signature + issuer alone accepts *any* token from the same tenant, including tokens issued to unrelated apps. In `id_token` mode the audience is the `clientId`: - - ```yaml theme={null} - # LiteLLM example — `audience` is REQUIRED, not optional - general_settings: - litellm_jwtauth: - public_key_url: https://login.microsoftonline.com//discovery/v2.0/keys - audience: # ⚠ omitting this accepts any token from the tenant - ``` + **External IdP mode.** The app discovers `/.well-known/openid-configuration`, runs an OIDC authorization-code-with-PKCE sign-in in the system browser with `clientId`, and sends the resulting token as `Authorization: Bearer` on every inference request. Leave this unset for a gateway that hosts its own RFC 8414 metadata at `/.well-known/oauth-authorization-server`. - **IdP setup.** The app's loopback callback binds `http://127.0.0.1:/callback` (RFC 8252 §7.3). Register `127.0.0.1`; most IdPs do **not** treat `localhost` and `127.0.0.1` as interchangeable. **Entra:** register a public-client app, add a *Mobile and desktop applications* redirect URI of `http://127.0.0.1/callback`. (Microsoft's docs say the path is wildcarded for loopback; in practice it is not: `http://127.0.0.1` without `/callback` fails with `AADSTS50011`. The port IS wildcarded.) Grant `openid profile email offline_access` (delegated, no admin consent); in `access_token` mode **also** add the gateway API's delegated permission under *API permissions* (and ensure the gateway's own app registration exposes that scope via *Expose an API*) — without it Entra rejects the sign-in with `AADSTS65001`. **Okta:** register a *Native* app with the exact redirect URI `http://127.0.0.1:/callback` and set `redirectPort` here to that port (Okta requires an exact match). + **Bearer token type.** `id_token` (the default) sends the OIDC ID token; the gateway validates signature, `iss`, and `aud` (the `clientId` configured here). `access_token` sends the OAuth access token, for gateways that validate as a resource server (Portkey, Kong, Envoy JWT filter, AWS API Gateway authorizers); `scopes` must then name the gateway's registered API scope. Either way the gateway must check `aud`, not just signature and issuer, or it accepts any token from your tenant. - **Refresh:** `offline_access` returns a refresh token; the app refreshes the bearer silently before expiry. When refresh fails (revoked, idle past the IdP's window), the user re-authenticates in the browser. **Google Workspace caveat (`id_token` mode only):** Google never returns `id_token` on a refresh-token grant, so a Google-backed gateway in `id_token` mode will prompt a browser sign-in roughly once per ID-token TTL (\~1h). Entra and Okta return a fresh `id_token` and are unaffected; `access_token` mode is unaffected on all IdPs. + **IdP setup.** The app's loopback callback is `http://127.0.0.1:/callback`; register `127.0.0.1` (not `localhost`) and include `/callback`. **Entra:** a public-client app with a *Mobile and desktop applications* redirect URI of `http://127.0.0.1/callback` (any port; omitting the path fails with `AADSTS50011`); in `access_token` mode also grant the gateway API's delegated permission, or sign-in fails with `AADSTS65001`. **Okta:** a *Native* app with the exact URI `http://127.0.0.1:/callback` and that port in `redirectPort`. - **Leave this unset** for a gateway that hosts its own RFC 8414 metadata at `/.well-known/oauth-authorization-server` (the original gateway-as-AS path). + **Refresh.** With `offline_access` the app renews the token silently and prompts a browser sign-in only when refresh fails. Google never returns an `id_token` on refresh, so a Google Workspace-backed gateway in `id_token` mode re-prompts about hourly; `access_token` mode is unaffected. | Field | Type | Default | Description | | --------------------------------- | --------- | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | @@ -231,7 +242,7 @@ The reference below is generated from the configuration schema and grouped to ma | Model discovery
`modelDiscoveryEnabled` | `boolean` | MDM + Bootstrap | — | Auto-populate the model picker from the provider at launch. | | Default to 1M context
`modelPrefer1mContext` | `boolean` | MDM + Bootstrap | — | When a user has no saved selection, start the picker on the 1M-context variant of the default model if it offers one. | | Model list
`inferenceModels` | `object[]` | MDM + Bootstrap | — | Override the auto-discovered model list. First entry is the default. | -| Show estimated cost
`inferenceModelPricingEnabled` | `boolean` | MDM + Bootstrap | — | Show an estimated cost on the Usage page, at Anthropic list price for any model without a rate below. | +| Show estimated cost
`inferenceModelPricingEnabled` | `boolean` | MDM + Bootstrap | — | Show an estimated cost on the Usage page at Anthropic list price; turn on to set a multiplier or per-model rates. | | Price multiplier
`inferenceModelPricingMultiplier` | `number` | MDM + Bootstrap | — | Scales every estimated cost (0.85 = 85% of the price); between 0 and 1. Range: 0–1. | | Model pricing
`inferenceModelPricing` | `object[]` | MDM + Bootstrap | — | Per-model rates replacing Anthropic list price in the Usage page’s estimate. | @@ -245,7 +256,7 @@ The reference below is generated from the configuration schema and grouped to ma
- Use the **provider's exact model ID**: Vertex publisher IDs (`claude-sonnet-5`), Bedrock inference-profile IDs (`us.anthropic.claude-sonnet-5`), or Foundry deployment names. The first entry is the default. Entries may be plain ID strings or objects. + Use the **provider's exact model ID**: Vertex publisher IDs (`claude-sonnet-5`), Bedrock inference-profile IDs (`us.anthropic.claude-sonnet-5`), or Foundry deployment names. Entries may be plain ID strings or objects. **Gateway:** the `name` must be the exact ID your gateway's `/v1/models` endpoint returns. If you set `supports1m` on an alias (`sonnet`) but discovery returns the full ID, the variant won't appear. @@ -255,13 +266,7 @@ The reference below is generated from the configuration schema and grouped to ma [{"name": "claude-sonnet-5", "supports1m": true}, "claude-opus-4-8"] ``` - `"claude-sonnet-5[1m]"` is shorthand for the same entry. When an ID is listed both bare and with `[1m]` (as a gateway lists it), the picker shows one model with a 1M variant; put `labelOverride` on the bare entry (a label on the `[1m]` spelling is ignored there); tier-tagged entries are not folded. - - **Default to 1M context** (`prefer1m`) makes the 1M-context variant the default picker selection when this entry is the default model (the first entry); users can still switch to the standard variant, and an explicit user pick is always kept. No effect without `supports1m`. Under dynamic discovery (no explicit list), the equivalent flat key in the **Models** group applies instead: - - ```json theme={null} - [{"name": "claude-opus-4-8", "supports1m": true, "prefer1m": true}] - ``` + `"claude-sonnet-5[1m]"` is shorthand for the same entry. When an ID is listed both bare and with `[1m]` (as a gateway lists it), the picker shows one model with a 1M variant; put `labelOverride` on the bare entry (a label on the `[1m]` spelling is ignored there); tier-tagged entries are not folded. `prefer1m: true` (no effect without `supports1m`) makes the 1M variant the default picker selection when this entry is the default model; users can still switch, and an explicit pick is kept. Under dynamic discovery (no explicit list), set `modelPrefer1mContext` instead. **Display label** (`labelOverride`) is for IDs the picker can't derive a friendly name from (Bedrock ARNs, gateway routing aliases). Display-only; `name` is still what the app sends: @@ -286,15 +291,15 @@ The reference below is generated from the configuration schema and grouped to ma - Off unless set: the Usage page shows token counts only, since the app cannot know your negotiated provider rates. `true` turns on a USD estimate priced at Anthropic's published list price; `inferenceModelPricingMultiplier` and `inferenceModelPricing` refine it and each also turns the estimate on by itself. Claude Code performs the calculation, so the same figures appear in its own cost reporting for Code sessions. Model IDs Claude Code cannot map to a Claude model (an opaque gateway alias, an inference-profile ARN it cannot resolve) are left out of the estimate until `inferenceModelPricing` gives them a rate. A machine-level Claude Code managed `modelPricing` (MDM / managed-settings.json / server-managed) takes precedence over all three keys. + Off unless set: the Usage page shows token counts only, since the app cannot know your negotiated provider rates. `true` turns on a USD estimate priced at Anthropic's published list price and is the only switch that does: `inferenceModelPricingMultiplier` and `inferenceModelPricing` refine the estimate while this is on and are ignored otherwise; turning this off hides them in the config editors without clearing them. Claude Code performs the calculation, so the same figures appear in its own cost reporting for Code sessions. Model IDs Claude Code cannot map to a Claude model (an opaque gateway alias, an inference-profile ARN it cannot resolve) are left out of the estimate until `inferenceModelPricing` gives them a rate. A machine-level Claude Code managed `modelPricing` (MDM / managed-settings.json / server-managed) takes precedence over all three keys. - Mirrors Claude Code's managed `modelPricing.multiplier`: a number in (0, 1] applied to every computed cost, whether the model was priced at Anthropic list price or by an `inferenceModelPricing` row — use it for a flat contracted discount. Setting it also turns the Usage page's estimate on. Ignored when a machine-level Claude Code managed `modelPricing` is present. + Mirrors Claude Code's managed `modelPricing.multiplier`: a number in (0, 1] applied to every computed cost, whether the model was priced at Anthropic list price or by an `inferenceModelPricing` row; use it for a flat contracted discount. Applies only while `inferenceModelPricingEnabled` is `true`; on its own it does not turn the estimate on. Ignored when a machine-level Claude Code managed `modelPricing` is present. - Each row replaces Anthropic list price for one model in the Usage page's estimate, in USD per million tokens (`inputPerMtok`, `outputPerMtok`, `cacheReadPerMtok`, `cacheWritePerMtok` — all four required; `cacheWritePerMtok` prices both 5-minute and 1-hour cache writes); any row also turns the estimate on. Mirrors Claude Code's managed `modelPricing.overrides`, and `name` is matched the same way: a built-in Claude model ID (e.g. `claude-sonnet-4-6`, or its Bedrock, Vertex, or Foundry ID) covers every dated and provider spelling of that model; any other value — a gateway alias, an inference-profile ARN — matches that exact ID only (case-insensitive) and wins over a built-in row. An ID Claude Code cannot map to a Claude model at all gets no estimate until a row here prices it. `inferenceModelPricingMultiplier` still applies on top of a row. + Each row replaces Anthropic list price for one model in the Usage page's estimate, in USD per million tokens (`inputPerMtok`, `outputPerMtok`, `cacheReadPerMtok`, `cacheWritePerMtok`, all four required; `cacheWritePerMtok` prices both 5-minute and 1-hour cache writes); rows apply only while `inferenceModelPricingEnabled` is `true` and do not turn the estimate on by themselves. Mirrors Claude Code's managed `modelPricing.overrides`, and `name` is matched the same way: a built-in Claude model ID (e.g. `claude-sonnet-4-6`, or its Bedrock, Vertex, or Foundry ID) covers every dated and provider spelling of that model; any other value (a gateway alias, an inference-profile ARN) matches that exact ID only (case-insensitive) and wins over a built-in row. An ID Claude Code cannot map to a Claude model at all gets no estimate until a row here prices it. `inferenceModelPricingMultiplier` still applies on top of a row. ```json theme={null} {"inferenceModelPricingEnabled": true, "inferenceModelPricingMultiplier": 0.9, "inferenceModelPricing": [{"name": "claude-sonnet-4-6", "inputPerMtok": 2.4, "outputPerMtok": 12, "cacheReadPerMtok": 0.24, "cacheWritePerMtok": 3}]} @@ -434,13 +439,11 @@ The reference below is generated from the configuration schema and grouped to ma - Each entry is a Claude Code tool name (`Bash`, `Read`, `Write`, `Edit`, `Glob`, `Grep`, `NotebookEdit`, `WebFetch`, `WebSearch`, `Task`, `TodoWrite`, `TaskCreate`, `TaskUpdate`, `TaskGet`, `TaskList`, `TaskStop`, `Skill`, `REPL`, `JavaScript`, `AskUserQuestion`, `ToolSearch`, `SendUserMessage`) or an argument-scoped [permission rule](https://code.claude.com/docs/en/permissions#permission-rule-syntax) for one of them (any except `WebSearch` and `WebFetch`, which take the bare name only) — for example `Bash(curl *)`, `Read(//etc/**)`, or `Edit(**/*.env)`. A bare name covers every call to the tool (`Tool(*)` means the same and is stored as the bare name); an argument-scoped rule covers only matching calls and is evaluated by Claude Code's own rule matcher, in every permission mode including Auto and bypass. Claude Code matches a scope for `Bash(…)` (a command pattern) and for file-path patterns written as `Read(…)` (matched for every file-reading tool: `Read`, `Grep`, `Glob`) or `Edit(…)` (every file-editing tool: `Edit`, `Write`, `NotebookEdit`) — it does not consult a path pattern written against any other file tool; other tools take the bare name or Claude Code's generic `Tool(:)` form. `WebFetch` and `WebSearch` are whole-tool only: per-host web access is a single control, the egress host settings (`coworkEgressAllowedHosts`), which the Cowork sandbox and Code sessions both enforce, and web search runs server-side at the inference provider where no host list applies — a scoped `WebFetch(…)` or `WebSearch(…)` entry is not a usable rule here (the deny list still hands a scoped `WebFetch(…)` entry to Code sessions as written; Cowork never sees it). An entry Claude Code would not enforce as written raises a configuration warning. - - Argument-scoped `Bash(…)` rules apply to Code sessions and to Cowork sessions running inside the VM sandbox (`requireFullVmSandbox`); Cowork otherwise runs shell commands through a sandboxed `bash` workspace tool that honors the bare name only. Cowork sessions inside the VM sandbox see connected folders at sandbox paths (`/sessions/…/mnt//…`), so a file pattern spelled as a host absolute path (`Read(//Users/**)`) does not match there — write patterns that must hold in every Cowork mode folder-relative or `**/`-anchored (`Read(**/secrets/**)`, `Edit(**/*.env)`), or use a read-only `allowedWorkspaceFolders` entry. In Code side chats, and in Cowork sessions that run tools on the host, an **ask** entry on a file tool (`Read`, `Write`, `Edit`, `Glob`, `Grep`) blocks matching calls instead of prompting; Code sessions and VM-sandboxed Cowork sessions show the approval prompt. An **ask** entry, bare or argument-scoped, also turns off the app's remembered “always allow” choices for that whole tool, so each prompted call to it is confirmed individually. Argument-scoped rules reach sessions through Claude Code's managed-settings channel, so Claude Code managed settings delivered any other way — server-managed settings from the Claude admin console or a gateway, an MDM profile, or a [managed-settings file](https://claude.com/docs/third-party/claude-desktop/code#interaction-with-claude-code%E2%80%99s-own-managed-settings) — replace the argument-scoped **ask** rules (and any deny rule whose pattern contains `)` followed by a space or comma) unless that source sets `parentSettingsBehavior` to `"merge"`; bare names and other deny rules are enforced either way. + Each entry is a Claude Code tool name (`Bash`, `Read`, `Write`, `Edit`, `Glob`, `Grep`, `NotebookEdit`, `WebFetch`, `WebSearch`, `Task`, `TodoWrite`, `TaskCreate`, `TaskUpdate`, `TaskGet`, `TaskList`, `TaskStop`, `Skill`, `REPL`, `JavaScript`, `AskUserQuestion`, `ToolSearch`, `SendUserMessage`) or an argument-scoped [permission rule](https://code.claude.com/docs/en/permissions#permission-rule-syntax) such as `Bash(curl *)` or `Edit(**/*.env)`. A bare name covers every call; a scoped rule covers matching calls in every permission mode, including Auto and bypass. Scopes are matched for `Bash(…)` (a command pattern) and for file paths written as `Read(…)` (covers `Read`, `Grep`, `Glob`) or `Edit(…)` (covers `Edit`, `Write`, `NotebookEdit`); other tools take `Tool(:)`. `WebSearch` and `WebFetch` are bare-name only: per-host web access is `coworkEgressAllowedHosts`. - The argument-scoped syntax requires the Claude Desktop release it first shipped in or newer — hold off deploying argument-scoped entries until your whole fleet is on that build (note `disableAutoUpdates` pins builds): an older build passes an argument-scoped **deny** entry through to Claude Code unchanged, but drops an argument-scoped **ask** entry as an unknown key — recorded there as a managed-configuration error (which, until that client updates, also blocks WSL sessions on Windows) — and the tool runs at its default (no prompt). + Scoped `Bash(…)` rules apply in Code sessions and in VM-sandboxed Cowork sessions (`requireFullVmSandbox`); Cowork's own sandboxed shell honors bare names only. Anchor file patterns with `**/` (`Read(**/secrets/**)`), because in the VM sandbox a host absolute path does not match. Scoped rules need a build that supports them across the whole fleet (`disableAutoUpdates` pins builds): an older build passes a scoped entry to Claude Code unchecked. An entry whose pattern contains `)` followed by a space or comma is enforced only through Claude Code's managed-settings channel, so another Claude Code [managed-settings source](https://claude.com/docs/third-party/claude-desktop/code#interaction-with-claude-code%E2%80%99s-own-managed-settings) replaces it unless that source sets `parentSettingsBehavior` to `"merge"`; every other entry is enforced either way. - An entry that is not a usable rule at all (a lowercase tool name, an unbalanced parenthesis, a scoped `WebFetch(…)` or `WebSearch(…)`) is also kept — the deny-list is served exactly as written — and raises a configuration warning. + An unusable entry (a lowercase tool name, an unbalanced parenthesis, a scoped `WebSearch(…)` or `WebFetch(…)`) is kept, because the deny list is served exactly as written, and raises a configuration warning. @@ -450,13 +453,9 @@ The reference below is generated from the configuration schema and grouped to ma - Each entry is a Claude Code tool name (`Bash`, `Read`, `Write`, `Edit`, `Glob`, `Grep`, `NotebookEdit`, `WebFetch`, `WebSearch`, `Task`, `TodoWrite`, `TaskCreate`, `TaskUpdate`, `TaskGet`, `TaskList`, `TaskStop`, `Skill`, `REPL`, `JavaScript`, `AskUserQuestion`, `ToolSearch`, `SendUserMessage`) or an argument-scoped [permission rule](https://code.claude.com/docs/en/permissions#permission-rule-syntax) for one of them (any except `WebSearch` and `WebFetch`, which take the bare name only) — for example `Bash(curl *)`, `Read(//etc/**)`, or `Edit(**/*.env)`. A bare name covers every call to the tool (`Tool(*)` means the same and is stored as the bare name); an argument-scoped rule covers only matching calls and is evaluated by Claude Code's own rule matcher, in every permission mode including Auto and bypass. Claude Code matches a scope for `Bash(…)` (a command pattern) and for file-path patterns written as `Read(…)` (matched for every file-reading tool: `Read`, `Grep`, `Glob`) or `Edit(…)` (every file-editing tool: `Edit`, `Write`, `NotebookEdit`) — it does not consult a path pattern written against any other file tool; other tools take the bare name or Claude Code's generic `Tool(:)` form. `WebFetch` and `WebSearch` are whole-tool only: per-host web access is a single control, the egress host settings (`coworkEgressAllowedHosts`), which the Cowork sandbox and Code sessions both enforce, and web search runs server-side at the inference provider where no host list applies — a scoped `WebFetch(…)` or `WebSearch(…)` entry is not a usable rule here (the deny list still hands a scoped `WebFetch(…)` entry to Code sessions as written; Cowork never sees it). An entry Claude Code would not enforce as written raises a configuration warning. - - Argument-scoped `Bash(…)` rules apply to Code sessions and to Cowork sessions running inside the VM sandbox (`requireFullVmSandbox`); Cowork otherwise runs shell commands through a sandboxed `bash` workspace tool that honors the bare name only. Cowork sessions inside the VM sandbox see connected folders at sandbox paths (`/sessions/…/mnt//…`), so a file pattern spelled as a host absolute path (`Read(//Users/**)`) does not match there — write patterns that must hold in every Cowork mode folder-relative or `**/`-anchored (`Read(**/secrets/**)`, `Edit(**/*.env)`), or use a read-only `allowedWorkspaceFolders` entry. In Code side chats, and in Cowork sessions that run tools on the host, an **ask** entry on a file tool (`Read`, `Write`, `Edit`, `Glob`, `Grep`) blocks matching calls instead of prompting; Code sessions and VM-sandboxed Cowork sessions show the approval prompt. An **ask** entry, bare or argument-scoped, also turns off the app's remembered “always allow” choices for that whole tool, so each prompted call to it is confirmed individually. Argument-scoped rules reach sessions through Claude Code's managed-settings channel, so Claude Code managed settings delivered any other way — server-managed settings from the Claude admin console or a gateway, an MDM profile, or a [managed-settings file](https://claude.com/docs/third-party/claude-desktop/code#interaction-with-claude-code%E2%80%99s-own-managed-settings) — replace the argument-scoped **ask** rules (and any deny rule whose pattern contains `)` followed by a space or comma) unless that source sets `parentSettingsBehavior` to `"merge"`; bare names and other deny rules are enforced either way. + Keys use the same tool names and argument-scoped rule syntax as **Disabled built-in tools** (`disabledBuiltinTools`), and scopes apply in the same sessions. Scoped **ask** rules reach sessions only through Claude Code's managed-settings channel, so another Claude Code managed-settings source replaces them unless it sets `parentSettingsBehavior` to `"merge"` (bare names hold either way). They need the same fleet-wide build support, and an older build drops a scoped **ask** entry as a configuration error (which also blocks WSL sessions on Windows until that client updates), so the tool runs unprompted. - The argument-scoped syntax requires the Claude Desktop release it first shipped in or newer — hold off deploying argument-scoped entries until your whole fleet is on that build (note `disableAutoUpdates` pins builds): an older build passes an argument-scoped **deny** entry through to Claude Code unchanged, but drops an argument-scoped **ask** entry as an unknown key — recorded there as a managed-configuration error (which, until that client updates, also blocks WSL sessions on Windows) — and the tool runs at its default (no prompt). - - An entry that is not a usable rule at all (a lowercase tool name, an unbalanced parenthesis, a scoped `WebFetch(…)` or `WebSearch(…)`) is dropped and recorded as a configuration error, like any other unreadable managed value; an entry for a known tool whose value is not `allow` or `ask` is treated as `ask` and reported. To remove a tool or deny a rule entirely, use **Disabled built-in tools** instead. + An **ask** entry, bare or scoped, also turns off the app's remembered “always allow” choices for that tool, so each prompted call is confirmed individually. In Code side chats, and in Cowork sessions that run tools on the host, **ask** on a file tool (`Read`, `Write`, `Edit`, `Glob`, `Grep`) blocks matching calls instead of prompting; Code sessions and VM-sandboxed Cowork sessions show the prompt. An unusable entry is dropped and recorded as a configuration error; a value other than `allow` or `ask` is treated as `ask` and reported. To remove a tool or deny a rule outright, use **Disabled built-in tools** instead. @@ -468,14 +467,10 @@ The reference below is generated from the configuration schema and grouped to ma - When enabled, Cowork, Code, and Chat sessions load MCP tool schemas on demand ("tool search"): only tool names are placed in context up front, and Claude fetches a tool's full schema the first time it needs it. Use this when many MCP tools are configured and their inlined schemas crowd out the context window (sessions that compact every turn or two). - - What the key adds to requests depends on the provider and on the Claude Code version the app bundles: - - * **App versions that bundle Claude Code 2.1.247 or later, with `inferenceProvider: "gateway"`**: adds only the tool-search request shape: the `tool-search-tool-2025-10-19` value in the `anthropic-beta` header, deferred tool loading, and `tool_reference` content blocks. Every other experimental Claude Code beta stays suppressed (the app keeps `CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1` pinned in session environments, because strict gateways reject unrecognized beta headers and fields). If a machine also has OS-level Claude Code managed settings that set that kill switch or turn `ENABLE_TOOL_SEARCH` off, those win; set `ENABLE_TOOL_SEARCH` to `force` there instead (with `parentSettingsBehavior: "merge"` so the app's own restrictions keep applying). A user whose environment puts Claude Code in its own gateway mode (`CLAUDE_CODE_USE_GATEWAY`) is unaffected by the above: Claude Code then chooses its gateway-safe request shape itself, with tool search on. - * **Earlier app versions, and every provider other than gateway on any version**: lifts the experimental-beta suppression for the session, so requests carry the tool-search shape (`advanced-tool-use-2025-11-20` where Claude Code treats the endpoint as first-party) together with Claude Code's other experimental betas for that provider, for example `context_management` request fields. On app versions that bundle Claude Code older than 2.1.221 with the Vertex provider, leave this unset if any model older than Claude 4.5 is in use: those engines send the tool-search header without checking the model generation, and Vertex's pre-4.5 serving stacks reject it (newer engines skip tool search on those models themselves). + When enabled, Cowork, Code, and Chat sessions place only tool names in context up front, and Claude fetches a tool's full schema the first time it needs it. Use this when many MCP tools are configured and their inlined schemas crowd out the context window (sessions that compact every turn or two). Enable it only if your endpoint forwards and accepts the request shape it will receive; when it does not, requests fail with HTTP 400. Leave unset to keep the conservative default. - Enable it only if your endpoint forwards and accepts the shape it will receive; when it does not, requests fail with HTTP 400. Leave unset to keep the conservative default. + * **Gateway provider, app versions bundling Claude Code 2.1.247 or later**: requests add only the tool-search shape (the `tool-search-tool-2025-10-19` `anthropic-beta` value, deferred tool loading, `tool_reference` content blocks); every other experimental Claude Code beta stays suppressed. OS-level Claude Code managed settings that keep that suppression or turn `ENABLE_TOOL_SEARCH` off still win; set `ENABLE_TOOL_SEARCH` to `force` there instead (with `parentSettingsBehavior: "merge"`). Environments that put Claude Code in its own gateway mode (`CLAUDE_CODE_USE_GATEWAY`) get tool search with Claude Code's gateway-safe shape regardless. + * **Other providers, and earlier app versions**: the experimental-beta suppression is lifted for the session, so requests carry the tool-search shape together with Claude Code's other experimental betas for that provider (for example `context_management` fields). On Vertex with app versions bundling Claude Code older than 2.1.221, leave this unset while any model older than Claude 4.5 is in use; those engines send the header regardless of model and Vertex's pre-4.5 stacks reject it. @@ -497,17 +492,13 @@ The reference below is generated from the configuration schema and grouped to ma - Applies to **both** Cowork and Code. In Cowork it governs the sandbox's web fetch, shell commands, and package installs. In Code sessions it is [translated into Claude Code's network sandbox allowlist](https://claude.com/docs/third-party/claude-desktop/code#applied-as-managed-policy); a separately deployed Claude Code managed-settings file on the endpoint takes precedence by default. + Applies to **both** Cowork and Code, and only to **tool calls**. In Cowork it governs the sandbox's web fetch, shell commands, and package installs; in Code sessions it is [translated into Claude Code's network sandbox allowlist](https://claude.com/docs/third-party/claude-desktop/code#applied-as-managed-policy), where a separately deployed Claude Code managed-settings file takes precedence by default. It does **not** cover Web Search (which runs at your inference provider), inference, or MCP traffic. When unset, only the inference endpoint is reachable from the sandbox, so the agent's package installs and web fetches fail with a 403. - Does **not** apply to Web Search, which runs server-side at your inference provider rather than from the sandbox. Per-host control for the agent's web access lives here; to turn `WebFetch` or `WebSearch` off entirely, or to require approval for each call, list the bare tool name in `disabledBuiltinTools` or `builtinToolPolicy`. + Entries are exact hostnames (`api.github.com`), wildcards (`*.corp.com` matches subdomains at any depth, not `corp.com` itself), or `*` to allow all. IP addresses match only when listed exactly. `localhost` and private-network addresses are always blocked for web fetch; shell commands and package installs run in a network sandbox that reaches only the listed hosts plus your inference provider. With `*`, that sandbox is disabled and web fetch still blocks private addresses. - Only affects **tool calls**. Inference and MCP traffic are covered by their own allowlists elsewhere. When unset, only the inference endpoint is reachable from the sandbox; the agent's package installs (pip/npm) and web fetches will fail with a 403. + Any entry except bare `*` may carry a `:port` suffix (`internal.corp.com:8443`, `*.corp.com:8443`) restricting it to that port. IPv6 literals are not supported. An invalid entry is dropped (with a warning in the app log) and the rest keep working. Ports are enforced for the Cowork sandbox's web fetch, shell, and package-install egress; plugin CLIs ignore port-scoped entries for now, and the Code translation treats them as the bare host. Deploy port-scoped entries only once your whole fleet is on a build that supports them (`disableAutoUpdates` pins builds): on an older build one such entry invalidates the sandbox's whole shell and package-install allowlist for the session. - Accepts exact hostnames (`api.github.com`), wildcards (`*.corp.com` matches subdomains at any depth — `docs.corp.com` and `a.b.corp.com` both match), and `*` to allow all. `*.corp.com` does not match `corp.com` itself; add both if you need the apex. IP addresses only match when listed exactly — wildcards never match IP addresses, so an unlisted IP destination is blocked. `localhost` and private-network addresses are blocked in the sandbox's web fetch regardless of this list; shell commands and package installs run inside a network sandbox that can only reach hosts on this list (plus your inference provider's endpoints). With `*`, the network sandbox is disabled and web fetch still blocks private addresses. - - Any entry except bare `*` may carry a `:port` suffix (`internal.corp.com:8443`, `*.corp.com:8443`) restricting that entry to the named port; an entry with no port allows any port. A port on a wildcard applies to every matched subdomain. IPv6 literals are not supported. Entries outside this grammar are dropped individually, with a warning naming the entry in the app log; the remaining valid entries keep working. Port restrictions are enforced for the Cowork sandbox's web fetch and for its shell and package-install egress. Plugin CLIs additionally keep their own stricter in-VM filter and treat port-scoped entries as absent for now. In Code sessions, the Claude Code translation treats a port-restricted entry as its bare host (any port). The `:port` syntax requires the Claude Desktop release it first shipped in or newer — hold off deploying port-scoped entries until your whole fleet is on that build (note `disableAutoUpdates` pins builds); on older builds a port-scoped entry invalidates the sandbox's whole shell and package-install allowlist for the session (the older sandbox runtime rejects the entire list), and web fetch simply never matches it. - - Hosts you add here also need to be open on your network firewall, on the listed ports. See **Egress Requirements** for the full allowlist. + Listed hosts also need to be open on your network firewall. @@ -566,11 +557,13 @@ The reference below is generated from the configuration schema and grouped to ma - For OAuth-authenticated entries, the app builds the redirect URI as `http://:/callback`; register that exact value with the OAuth provider. Tokens refresh automatically during a session, so users aren't interrupted when the initial access token expires. + For OAuth-authenticated entries, the app builds the redirect URI as `http://:/callback`; register that exact value with the OAuth provider. Tokens refresh automatically during a session. + + `toolPolicy` locks the per-tool approval state, keyed by tool name: `"blocked"` removes the tool from the session and labels it admin-blocked, `"ask"` requires approval on every call (Allow once / Deny only; no persistent always-allow), `"allow"` pre-approves. Tools **not listed** follow the user's choice: the prompt offers a persistent Always allow, except for tools that can modify data, which show a session-scoped **Allow for this task** alongside **Allow for all tasks** with a malicious-instruction warning. In Code sessions, `blocked` and `ask` are forwarded as Claude Code permission rules; `allow` is not. - `toolPolicy` locks the per-tool approval state, keyed by tool name. Keys may contain `*` wildcards (`"read_*"` matches every tool whose name starts with `read_`; matching is anchored and `*` is the only wildcard, identical to Claude Code permission-rule globs). An exact-name key wins over matching wildcard keys, with two exceptions in the stricter direction: in Code sessions, a forwarded `ask` wildcard rule, or a `blocked` wildcard other than the bare `"*"`, takes precedence over a less strict exact key (the deny-by-default form, `"*": "blocked"` plus exact `"allow"` entries, is honored in Code sessions too), and in chat approval flows and always-allow persistence a wildcard `ask` key keeps every matching tool behind a per-call prompt (no persistent always-allow), even when a more permissive exact-name key matches — for direct (imperative) tool invocations such as artifact or widget tool calls, the exact-name key still decides. When several wildcard keys match a tool, the strictest applies (blocked > ask > allow). `"blocked"` removes the tool from the session and labels it admin-blocked. `"ask"` requires approval on every call (Allow once / Deny only; no persistent always-allow). `"allow"` pre-approves. Tools **not listed** follow the user's choice: the prompt offers a persistent Always allow, except for tools that can modify data, which instead show a session-scoped **Allow for this task** alongside **Allow for all tasks** with a malicious-instruction warning. In Code sessions, `blocked` and `ask` are forwarded as Claude Code permission rules; `allow` is not. + Keys may contain `*` wildcards (`"read_*"` matches every tool whose name starts with `read_`; anchored, and `*` is the only wildcard). When several wildcard keys match, the strictest applies (blocked > ask > allow). An exact-name key wins over matching wildcards, with two exceptions in the stricter direction: in Code sessions a wildcard `ask`, or a wildcard `blocked` other than the bare `"*"`, beats a less strict exact key (so `"*": "blocked"` plus exact `"allow"` entries still works as deny-by-default there); and in chat approval prompts and always-allow persistence a wildcard `ask` keeps every matching tool behind a per-call prompt even when a more permissive exact key matches, while direct tool invocations such as artifact or widget calls follow the exact key. - For the bundled Microsoft 365 connector, the send tools (`outlook_send_mail`, `outlook_send_draft`, `outlook_forward_mail`, `outlook_create_event`, `outlook_update_event`, `teams_send_chat_message`, `teams_send_channel_message`, `teams_reply_channel_message`) cannot be loosened below `ask` — an `allow` setting resolves to `ask`. + For the bundled Microsoft 365 connector, the send tools (`outlook_send_mail`, `outlook_send_draft`, `outlook_forward_mail`, `outlook_create_event`, `outlook_update_event`, `teams_send_chat_message`, `teams_send_channel_message`, `teams_reply_channel_message`) cannot be loosened below `ask`; an `allow` setting resolves to `ask`. | Field | Type | Default | Description | | --------------------------------------- | ---------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | diff --git a/content/claude/third-party/claude-desktop/gateway.md b/content/claude/third-party/claude-desktop/gateway.md index 5ce37c8ebc..12468eb62b 100644 --- a/content/claude/third-party/claude-desktop/gateway.md +++ b/content/claude/third-party/claude-desktop/gateway.md @@ -168,15 +168,22 @@ Then click **Export** to produce a `.mobileconfig` (macOS) or `.reg` (Windows) f ### Configuration keys -| Setting | Type | Availability | Default | Description | -| -------------------------------------------------------------------------------------------------- | -------- | --------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| Gateway base URL
`inferenceGatewayBaseUrl` | `string` | MDM + Bootstrap | — | Full URL of the inference gateway endpoint. | -| Gateway API key
`inferenceGatewayApiKey` | `string` | MDM + Bootstrap | — | API key for the configured inference gateway. | -| Gateway auth scheme
`inferenceGatewayAuthScheme` | `enum` | MDM + Bootstrap | `bearer` | How the gateway credential is sent on the wire (Authorization: Bearer vs x-api-key header). One of: `bearer`, `x-api-key`. Defaults to `bearer`. Deprecated: `inferenceGatewayAuthScheme: "sso"` (accepted until October 7, 2026); use inferenceCredentialKind: "interactive". If it is still present after that, browser sign-in will no longer be inferred from it — the key will be reported as invalid and, unless inferenceCredentialKind or another credential field (an API key, inferenceGatewayOidc) says how to sign in, the gateway connection will have no credential and inference will not start. Deprecated: `inferenceGatewayAuthScheme: "auto"` (accepted until October 7, 2026); use "bearer" (or remove the key — bearer is the default). If it is still present after that, the value will be reported as invalid and ignored like any unrecognised scheme; the key will then take its default, "bearer", so the credential will still be sent as an Authorization: Bearer header. | -| Gateway sign-in flow
`inferenceGatewayOidcAuthFlow` | `enum` | MDM + Bootstrap | — | How the IdP sign-in runs: system browser (default) or the OS Microsoft Entra broker. One of: `browser`, `broker`. | -| Gateway SSO IdP (OIDC)
`inferenceGatewayOidc` | `object` | MDM + Bootstrap | — | External IdP for gateway sign-in. The user’s token from this issuer is sent to the gateway as the Bearer credential. | +| Setting | Type | Availability | Default | Description | +| --------------------------------------------------------------------------------------------------- | --------- | --------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| Gateway base URL
`inferenceGatewayBaseUrl` | `string` | MDM + Bootstrap | — | Full URL of the inference gateway endpoint. | +| Stream idle timeout
`inferenceStreamIdleTimeoutSec` | `integer` | MDM + Bootstrap | — | Extra seconds to wait for model output on a streaming response that is sending only keep-alive pings. Gateway provider only. Default 300. Range: 300–1800. | +| Gateway API key
`inferenceGatewayApiKey` | `string` | MDM + Bootstrap | — | API key for the configured inference gateway. | +| Gateway auth scheme
`inferenceGatewayAuthScheme` | `enum` | MDM + Bootstrap | `bearer` | How the gateway credential is sent on the wire (Authorization: Bearer vs x-api-key header). One of: `bearer`, `x-api-key`. Defaults to `bearer`. Deprecated: `inferenceGatewayAuthScheme: "sso"` (accepted until October 7, 2026); use inferenceCredentialKind: "interactive". If it is still present after that, browser sign-in will no longer be inferred from it — the key will be reported as invalid and, unless inferenceCredentialKind or another credential field (an API key, inferenceGatewayOidc) says how to sign in, the gateway connection will have no credential and inference will not start. Deprecated: `inferenceGatewayAuthScheme: "auto"` (accepted until October 7, 2026); use "bearer" (or remove the key — bearer is the default). If it is still present after that, the value will be reported as invalid and ignored like any unrecognised scheme; the key will then take its default, "bearer", so the credential will still be sent as an Authorization: Bearer header. | +| Gateway sign-in flow
`inferenceGatewayOidcAuthFlow` | `enum` | MDM + Bootstrap | — | How the IdP sign-in runs: system browser (default) or the OS Microsoft Entra broker. One of: `browser`, `broker`. | +| Gateway SSO IdP (OIDC)
`inferenceGatewayOidc` | `object` | MDM + Bootstrap | — | External IdP for gateway sign-in. The user’s token from this issuer is sent to the gateway as the Bearer credential. | + + Raises how long Cowork, Chat and Code sessions wait for the next model event on an open streaming response (Claude Code's `CLAUDE_STREAM_IDLE_TIMEOUT_MS`). It only helps when the gateway writes SSE keep-alive `ping` events (or `:` comment lines) into the response while the upstream model is silent — for example a LiteLLM proxy with keep-alive pings enabled in front of Amazon Bedrock. With pings arriving, Claude Code accepts at least about five minutes of keep-alives and then waits this many seconds more for real model output before abandoning the request. Gateway provider only; the other providers keep Claude Code's defaults. + + A response on which nothing at all arrives — no pings — still fails after about 5 minutes regardless of this key, because at the device a silent connection cannot be told apart from a dead one. If long generations fail behind a gateway that does not send pings, configure the gateway to send them rather than raising this value. While this key is set, the app's value takes precedence over `CLAUDE_STREAM_IDLE_TIMEOUT_MS` in Claude Code's own managed settings for sessions the app starts; when it is unset, that setting still applies. Values outside 300–1800 are rejected at parse time (the error is listed in the diagnostics report) and the default applies. + + * **`browser`** (default) — opens the system browser for an authorization-code (PKCE) sign-in on a loopback redirect URI. See the **IdP setup** notes on `inferenceGatewayOidc` for redirect-URI registration. * **`broker`** — signs in through the OS identity broker (Web Account Manager on Windows, Company Portal on macOS). Requires the IdP to be **Microsoft Entra ID** — the `issuer` on `inferenceGatewayOidc` must be `https://login.microsoftonline.com/{tenant-id}/v2.0`. The broker satisfies Conditional Access policies that require a compliant/managed device or token protection, and needs no `127.0.0.1/callback` loopback redirect. The Entra app registration must include the broker redirect URIs `ms-appx-web://Microsoft.AAD.BrokerPlugin/{client-id}` (Windows) and `msauth.com.anthropic.claudefordesktop://auth` (macOS) under the **Mobile and desktop applications** platform. Not supported on Linux. @@ -185,25 +192,13 @@ Then click **Export** to produce a `.mobileconfig` (macOS) or `.reg` (Windows) f - **External IdP mode.** The app discovers `/.well-known/openid-configuration`, runs an OIDC authorization-code-with-PKCE flow in the system browser with `clientId`, and sends the resulting token as `Authorization: Bearer` on every inference request — see **Bearer token type** below for how the gateway validates it. - - **Bearer token type.** `id_token` (the default) sends the OIDC ID token — the gateway validates signature + `iss` + `aud`, where `aud` is the `clientId` configured here. `access_token` sends the OAuth access token — the gateway validates as an OAuth resource server against the audience/scope the IdP issued the token for; set `scopes` to the gateway's registered API scope (required in this mode). Use `access_token` for gateways that expect a resource-server token (Portkey, Kong, Envoy JWT filter, AWS API Gateway authorizers). - - **The gateway MUST validate `iss` AND `aud`, not just the signature.** Signature + issuer alone accepts *any* token from the same tenant, including tokens issued to unrelated apps. In `id_token` mode the audience is the `clientId`: - - ```yaml theme={null} - # LiteLLM example — `audience` is REQUIRED, not optional - general_settings: - litellm_jwtauth: - public_key_url: https://login.microsoftonline.com//discovery/v2.0/keys - audience: # ⚠ omitting this accepts any token from the tenant - ``` + **External IdP mode.** The app discovers `/.well-known/openid-configuration`, runs an OIDC authorization-code-with-PKCE sign-in in the system browser with `clientId`, and sends the resulting token as `Authorization: Bearer` on every inference request. Leave this unset for a gateway that hosts its own RFC 8414 metadata at `/.well-known/oauth-authorization-server`. - **IdP setup.** The app's loopback callback binds `http://127.0.0.1:/callback` (RFC 8252 §7.3). Register `127.0.0.1`; most IdPs do **not** treat `localhost` and `127.0.0.1` as interchangeable. **Entra:** register a public-client app, add a *Mobile and desktop applications* redirect URI of `http://127.0.0.1/callback`. (Microsoft's docs say the path is wildcarded for loopback; in practice it is not: `http://127.0.0.1` without `/callback` fails with `AADSTS50011`. The port IS wildcarded.) Grant `openid profile email offline_access` (delegated, no admin consent); in `access_token` mode **also** add the gateway API's delegated permission under *API permissions* (and ensure the gateway's own app registration exposes that scope via *Expose an API*) — without it Entra rejects the sign-in with `AADSTS65001`. **Okta:** register a *Native* app with the exact redirect URI `http://127.0.0.1:/callback` and set `redirectPort` here to that port (Okta requires an exact match). + **Bearer token type.** `id_token` (the default) sends the OIDC ID token; the gateway validates signature, `iss`, and `aud` (the `clientId` configured here). `access_token` sends the OAuth access token, for gateways that validate as a resource server (Portkey, Kong, Envoy JWT filter, AWS API Gateway authorizers); `scopes` must then name the gateway's registered API scope. Either way the gateway must check `aud`, not just signature and issuer, or it accepts any token from your tenant. - **Refresh:** `offline_access` returns a refresh token; the app refreshes the bearer silently before expiry. When refresh fails (revoked, idle past the IdP's window), the user re-authenticates in the browser. **Google Workspace caveat (`id_token` mode only):** Google never returns `id_token` on a refresh-token grant, so a Google-backed gateway in `id_token` mode will prompt a browser sign-in roughly once per ID-token TTL (\~1h). Entra and Okta return a fresh `id_token` and are unaffected; `access_token` mode is unaffected on all IdPs. + **IdP setup.** The app's loopback callback is `http://127.0.0.1:/callback`; register `127.0.0.1` (not `localhost`) and include `/callback`. **Entra:** a public-client app with a *Mobile and desktop applications* redirect URI of `http://127.0.0.1/callback` (any port; omitting the path fails with `AADSTS50011`); in `access_token` mode also grant the gateway API's delegated permission, or sign-in fails with `AADSTS65001`. **Okta:** a *Native* app with the exact URI `http://127.0.0.1:/callback` and that port in `redirectPort`. - **Leave this unset** for a gateway that hosts its own RFC 8414 metadata at `/.well-known/oauth-authorization-server` (the original gateway-as-AS path). + **Refresh.** With `offline_access` the app renews the token silently and prompts a browser sign-in only when refresh fails. Google never returns an `id_token` on refresh, so a Google Workspace-backed gateway in `id_token` mode re-prompts about hourly; `access_token` mode is unaffected. | Field | Type | Default | Description | | --------------------------------- | --------- | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | diff --git a/content/claude/third-party/claude-desktop/import.md b/content/claude/third-party/claude-desktop/import.md index 70ed7d816c..2a8cec3631 100644 --- a/content/claude/third-party/claude-desktop/import.md +++ b/content/claude/third-party/claude-desktop/import.md @@ -34,7 +34,7 @@ In Claude Desktop, go to **Settings → Import & export** and click **Import…* Claude Desktop settings with Import and export selected and the Import from Claude wizard open on step 1, showing Sign in to claude.ai and Choose file buttons. -The wizard has three steps: **Chats** (your claude.ai export), **Cowork & Code** (local sessions on this machine), and **Review**. Skip any step you don't need. +The wizard has three steps: **Chats** (your claude.ai export), **Cowork & Code** (local sessions on this machine), and **Review**. Skip any step you don't need. A fourth step, **Duplicates**, appears after the import only when an imported project has the same name as one you already have. See [If a project already exists](#if-a-project-already-exists). ## Step 1: claude.ai chats and projects @@ -100,10 +100,23 @@ The **Review** step summarizes what will be added. Click **Import** to copy ever Import from Claude wizard step 3 showing a claude.ai export summary of 7 chats and 1 project alongside 5 local Cowork and Code sessions, with an Import button. - - Import from Claude wizard success screen reading Imported 12 sessions and 1 Space, with a note that re-running import will not create duplicates. + + Import from Claude wizard success screen showing a checkmark and the number of sessions imported, with a note that re-running import will not create duplicates. +## If a project already exists + +When an imported project has the same name as a project already in Claude Desktop, the wizard adds a **Duplicates** step after the import finishes. This happens, for example, when you set up **Northwind** on this machine and then bring over history from another machine that also has a Northwind project. The step lists each match with two choices. + + + Import from Claude wizard step 4, Duplicates, headed These projects already exist, listing five Northwind projects each with Merge into existing and Keep separate buttons and a Continue button. + + +* **Merge into existing** moves the imported chats and sessions into your existing project and removes the duplicate. Folders you attached to the duplicate move with them. If your existing project has no instructions of its own, the imported project's instructions are shown there for you to review and accept. Later imports from the same source land in the existing project as well. +* **Keep separate** leaves both projects in place. The imported one keeps a numbered name, such as **Northwind (1)**, and Claude Desktop stops offering to merge it. + +The **Projects** page offers the same two choices, in a row under the duplicate project's card and at the top of the duplicate project's own page. Decide there if your history was brought over automatically when you signed in, so you never saw the wizard, or if you closed the wizard before choosing. + ## Continue an imported conversation Open any imported conversation from the sidebar and keep chatting. The first time you send a message in an imported session, Claude Desktop shows a **Resume imported session?** prompt. Click **Trust and resume** to continue; the reply comes from your configured inference provider, not from claude.ai. @@ -119,7 +132,7 @@ When your administrator also sets `exportEnabled` to `true` under `claudeAiImpor ## What is and isn't included * **Your data only.** An export contains your own conversations, projects, and memory. Other workspace members' content is not included. -* **Chats and projects come over.** Each imported project becomes a Space. If the project has custom instructions, Claude Desktop shows them in the Space for you to review and accept before they take effect. +* **Chats and projects come over.** Each imported project appears on the **Projects** page. If the project has custom instructions, Claude Desktop shows them in the project for you to review and accept before they take effect. * **Project knowledge files and conversation attachments do not.** A member's own export never includes the contents of files uploaded to a project's knowledge or attached to a conversation. This is a security policy on claude.ai, and it applies to both the **Sign in to claude.ai** and **Choose a downloaded file** paths. Imported chats keep the messages that referenced an attachment, but not the file itself. The only export that includes file contents is an organization-level export, which only a workspace owner can request. * **One-time copy.** Imported history does not stay in sync with claude.ai. Run the import again to pick up newer conversations; existing imports are matched and skipped, so you won't get duplicates. * **Download links expire.** The email link from claude.ai is valid for 24 hours. Request a new export if it lapses. diff --git a/content/claude/third-party/claude-desktop/installation.md b/content/claude/third-party/claude-desktop/installation.md index 48d730d234..27c3212ffe 100644 --- a/content/claude/third-party/claude-desktop/installation.md +++ b/content/claude/third-party/claude-desktop/installation.md @@ -90,7 +90,7 @@ When the configuration works on a single machine, roll it out to the fleet with On any configured device, open Claude Desktop and go to **Help → Troubleshooting → Copy Managed Configuration Report**. This copies a summary showing which keys were detected, where they were read from (managed profile vs. user store), and whether the inference credentials validated successfully. Secret values are redacted. -Also confirm that the [in-app configuration window](/docs/third-party/claude-desktop/in-app-configuration) (**Developer → Configure Third-Party Inference…**) opens read-only on a managed device. The app reads managed keys from the profile by name and silently ignores a misspelled key rather than reporting an error. On macOS, a window that is still editable means no recognized key reached the app, even if your MDM shows the profile as delivered. On Windows, even a misspelled value under `HKLM\SOFTWARE\Policies\Claude` counts as machine policy and locks the window, so use the Managed Configuration Report to see which keys were actually read. If your profile deliberately sets [only the update keys](/docs/third-party/claude-desktop/mdm#update-keys-and-managed-precedence), an editable window is expected. +Also confirm that the [in-app configuration window](/docs/third-party/claude-desktop/in-app-configuration) (**Developer → Configure Third-Party Inference…**) opens read-only on a managed device. The app reads managed keys from the profile by name and silently ignores a misspelled key rather than reporting an error. On macOS, a window that is still editable means no recognized key reached the app, even if your MDM shows the profile as delivered. On Windows, even a misspelled value under `HKLM\SOFTWARE\Policies\Claude` counts as machine policy and locks the window, so use the Managed Configuration Report to see which keys were actually read. If your profile deliberately sets [only the update keys or the network proxy keys](/docs/third-party/claude-desktop/mdm#update-keys-and-managed-precedence), an editable window is expected. If the app shows the standard claude.ai sign-in screen instead of Cowork, the configuration was not read. Common causes: diff --git a/content/claude/third-party/claude-desktop/mdm.md b/content/claude/third-party/claude-desktop/mdm.md index 3503779bc6..b4db342019 100644 --- a/content/claude/third-party/claude-desktop/mdm.md +++ b/content/claude/third-party/claude-desktop/mdm.md @@ -51,7 +51,7 @@ The window is organized into sections in the left sidebar. Work through them in | **Source** | The bootstrap keys, if you are using the [bootstrap server](/docs/third-party/claude-desktop/bootstrap) delivery model instead of a full MDM profile
Bootstrap-delivered configuration takes priority over MDM-delivered values: it replaces them wholesale rather than merging key by key | - When a managed (MDM-delivered) configuration is already present on the device, the configuration window opens read-only: it shows what the admin deployed, marks the configuration as organization-managed, and directs users to their IT administrator. To author a new configuration, use a device without a managed profile, or temporarily remove the profile. Profiles that set [only the update keys](#update-keys-and-managed-precedence) leave the window editable. + When a managed (MDM-delivered) configuration is already present on the device, the configuration window opens read-only: it shows what the admin deployed, marks the configuration as organization-managed, and directs users to their IT administrator. To author a new configuration, use a device without a managed profile, or temporarily remove the profile. Profiles that set [only the update keys or the network proxy keys](#update-keys-and-managed-precedence) leave the window editable. ## 2. Export the profile @@ -133,12 +133,14 @@ Push the exported configuration through your MDM. The app reads from these locat -When a managed source sets any key other than the update keys, the managed configuration owns the device: it takes effect, the in-app configuration window becomes read-only, and locally authored values in `configLibrary/` are ignored. +When a managed source sets any key other than the update keys or the network proxy keys, the managed configuration owns the device: it takes effect, the in-app configuration window becomes read-only, and locally authored values in `configLibrary/` are ignored. ### Update keys and managed precedence The update keys `disableAutoUpdates`, `autoUpdaterEnforcementHours`, and `updateViaUpdatesHost` are treated specially, so you can set an update policy from MDM without managing the whole configuration. When a managed source sets only these keys (any of them), the device keeps its locally authored configuration and the configuration window stays editable. The update keys themselves are still enforced as a group: all of them are resolved from the managed source alone, so a locally set value for any of them is ignored even if the profile sets only one. +The network proxy keys `egressProxyUrl` and `egressProxyPacUrl` belong to the same group and follow the same rule. See [Network proxy](/docs/third-party/claude-desktop/network-proxy#pin-a-proxy-from-managed-configuration). + If the managed profile sets any other recognized key, the normal rule above applies and the whole configuration is managed. ## 5. Distribute the app diff --git a/content/claude/third-party/claude-desktop/network-proxy.md b/content/claude/third-party/claude-desktop/network-proxy.md new file mode 100644 index 0000000000..1619abe930 --- /dev/null +++ b/content/claude/third-party/claude-desktop/network-proxy.md @@ -0,0 +1,181 @@ +> ## Documentation Index +> Fetch the complete documentation index at: https://claude.com/docs/llms.txt +> Use this file to discover all available pages before exploring further. + +# Network proxy + +> How Claude Desktop on 3P and the Claude Code engine it runs use your network proxy: the default behavior, pinning a proxy from managed configuration, what is and is not routed through it, and how to troubleshoot. + +Claude Desktop on 3P works behind a corporate HTTP proxy without extra configuration in most environments. This page explains which proxy each part of the product uses, how to pin a specific proxy from managed configuration, which traffic does not go through the proxy at all, and how a separately deployed Claude Code policy interacts with it. + +Three parts of the product make network connections, and they do not all resolve the proxy the same way: + +* **The app**: the Claude Desktop window itself, including sign-in, the connection test, Web Fetch in Chat and Cowork sessions, managed MCP servers the app connects to, and plugin marketplace sync. +* **The agent**: the Claude Code engine the app runs for every Chat, Cowork, and Code session. It sends inference requests and, in Code sessions, also makes its own web fetches, remote MCP connections, and plugin installs. +* **Cowork's sandboxed shell**: the isolated environment where commands the agent runs in a Cowork session (`curl`, `pip`, `npm`, and so on) execute. + +## Default behavior + +With no proxy-related configuration, the app follows the operating system's proxy settings, including a PAC (proxy auto-configuration) script or automatic proxy detection if the OS is set up that way. PAC rules are evaluated per request, so different hosts can go to different proxies or connect directly, exactly as the script says. + +The agent does not read the OS settings itself. When a session starts, the app asks the OS which proxy applies to your inference endpoint (your gateway URL, or the provider endpoint for Google Cloud's Agent Platform, Amazon Bedrock, and Microsoft Foundry) and hands that one proxy to the agent as `HTTPS_PROXY` and `HTTP_PROXY`, with `NO_PROXY` set to `localhost,127.0.0.1,::1,.local`. The agent then uses that proxy for all of its own traffic. If the OS answer for the inference endpoint is a direct connection, the agent gets no proxy variables and connects directly. + +On macOS and Windows, Cowork's sandboxed shell also follows the OS proxy settings, including a PAC script, which the sandbox evaluates per request itself. On Linux, no proxy settings reach the sandboxed shell and its commands connect directly. + +A few limits apply to the agent regardless of how the proxy is chosen: + +* Only `http://` and `https://` proxies are handed to the agent. If the OS or PAC answer is a SOCKS proxy, the app skips it and the agent connects directly. +* There is no interactive proxy sign-in. If your proxy requires a username and password, neither the app nor the agent can prompt for them and requests fail. Run a local forwarding proxy that authenticates upstream on the device (for example, Cntlm or Px) and point the OS or the pinned key at it. +* If your proxy intercepts TLS, see [TLS-intercepting proxies](#tls-intercepting-proxies) below. + +## Pin a proxy from managed configuration + + + Pinning requires a Claude Desktop release that includes the `egressProxyUrl` and `egressProxyPacUrl` keys. The [configuration changelog](/docs/third-party/claude-desktop/configuration-changelog) lists the first release that carries each key. Earlier releases ignore both keys and keep following the OS proxy settings. + + +If you want the app, the agent, and (on macOS and Windows) Cowork's sandboxed shell to use a specific proxy regardless of what the device's OS settings say, set one of two managed configuration keys: + +| Key | Value | Effect | +| ------------------- | ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `egressProxyUrl` | An `http://` or `https://` proxy URL, for example `http://proxy.example.com:8080` | The app sends its traffic through this proxy, and the agent receives it as `HTTPS_PROXY` and `HTTP_PROXY` in every session on the device. On macOS and Windows, commands in Cowork's sandboxed shell receive the same variables. Loopback and `.local` hosts still connect directly. | +| `egressProxyPacUrl` | An `http://` or `https://` URL to a PAC script, for example `http://wpad.example.com/proxy.pac` | The app evaluates the script per request. The agent receives the single proxy the script returns for your inference endpoint. On macOS and Windows, Cowork's sandboxed shell is handed a copy of the script when the sandbox starts and evaluates it per request itself. If both keys are set, this one wins. | + +Both keys are read once at launch; a change takes effect the next time the app starts. While either key is set, the OS proxy settings are ignored for the app, the agent, and (on macOS and Windows) Cowork's sandboxed shell; with neither key set, the sandboxed shell keeps following the OS settings as described under [Default behavior](#default-behavior). SOCKS URLs and URLs with embedded credentials (`user:password@`) are rejected. + +If you point the key at a local forwarding proxy on the device, give it as `http://127.0.0.1:`. Cowork's sandboxed shell reaches the device's loopback address through a host alias, so an `https://` loopback proxy cannot pass TLS verification from inside the sandbox and the shell's commands fail to connect; the app logs a warning at sandbox start when it sees that combination. + +These keys are read from an MDM profile, registry policy, or local configuration file only; they are ignored if returned from a bootstrap server. They also follow the same precedence rule as the update keys: when an MDM profile or registry policy sets any key in that group, values for these keys in a local configuration file are ignored. See [Update keys and managed precedence](/docs/third-party/claude-desktop/mdm#update-keys-and-managed-precedence). + +On Linux, or wherever you deploy the local configuration file, the key sits alongside your other settings: + +```json /etc/claude-desktop/managed-settings.json theme={null} +{ + "egressProxyUrl": "http://proxy.example.com:8080" +} +``` + +In a macOS configuration profile the same key is a `egressProxyUrlhttp://proxy.example.com:8080` pair in the `com.anthropic.claudefordesktop` payload, and on Windows it is a `REG_SZ` value named `egressProxyUrl` under `HKLM\SOFTWARE\Policies\Claude`. See [Value types](/docs/third-party/claude-desktop/configuration#value-types) and [Deploy with MDM](/docs/third-party/claude-desktop/mdm) for the surrounding profile and registry structure. + +Three behaviors to plan for: + +* If the pinned proxy is unreachable, requests fail. The app does not fall back to a direct connection. +* If a pinned PAC script cannot be downloaded, the app connects directly and the agent gets no proxy. Cowork's sandboxed shell gets its own copy of the script through a separate download when the sandbox starts; if that download fails, the shell connects directly too. Combine the key with network-layer egress rules if a silent fallback to direct is not acceptable (see the warning below). +* Inside Cowork's sandboxed shell, a pinned PAC script's `myIpAddress()` returns the sandbox's internal address rather than the device's, so a script that chooses a proxy by client subnet gives the shell its off-network answer. + +## What is and is not routed + +The table summarizes which proxy source each kind of traffic follows. "App proxy" means the pinned key if one is set, otherwise the OS settings, with PAC rules applied per request. + +| Traffic | Proxy it follows | +| ------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------- | +| App window, in-app sign-in, connection test, model list | App proxy | +| Inference requests from Chat, Cowork, and Code sessions | The single proxy resolved for the inference endpoint (from the pinned key or the OS), or Claude Code managed settings if deployed | +| Agent web fetch, remote MCP servers, and plugin installs in Code sessions | Same single proxy as inference | +| Web Fetch and managed MCP servers in Chat and Cowork sessions | App proxy (the app makes these connections) | +| Plugin marketplace sync and `aws` CLI calls the app makes for Bedrock sign-in | App proxy, resolved for the specific host | +| Cowork sandbox download from `downloads.claude.ai` | App proxy | +| Telemetry and crash reports to Anthropic, if enabled | App proxy | +| OpenTelemetry export to your collector | App proxy for the app's own events; the same single proxy as inference for Claude Code metrics and logs | +| Commands in Cowork's sandboxed shell on macOS and Windows | The pinned key if one is set (a pinned PAC script is evaluated per request inside the sandbox), otherwise the OS proxy settings | +| Commands in Cowork's sandboxed shell on Linux | None; commands connect directly | +| The agent in an [SSH remote Code session](/docs/third-party/claude-desktop/ssh-remote-sessions) | None from the device; the remote host's own network route applies | +| App update check and download | OS proxy settings only | +| Credential helper and header helper scripts you configure | None injected; the script's own environment applies | +| Brokered Microsoft Entra sign-in (Company Portal on macOS, Web Account Manager on Windows) | The OS broker's own settings | +| Pages opened in the system browser | The browser's own settings | + +## Traffic that bypasses the app proxy + +Some traffic never uses the pinned key or the proxy the app resolved, and it is worth being explicit about each case and what you can do about it. + +* **App updates.** Checking for and downloading Claude Desktop updates is handled by the OS-native updater on macOS and Windows, which follows the OS proxy settings only. This is the one app-controlled path with no admin-side option other than the OS proxy: neither the pinned key nor Claude Code managed settings reach it. If updates must not traverse a direct path, configure the OS proxy on the device or distribute updates yourself with [`disableAutoUpdates`](/docs/third-party/claude-desktop/configuration) and your software-distribution tool. On Linux, updates come from your package manager, which has its own proxy configuration. +* **Commands in Cowork's sandboxed shell on Linux.** No proxy settings reach the Cowork sandbox on Linux, so `curl`, `pip`, `npm`, `git`, and anything else the agent runs there connect directly. On macOS and Windows those commands follow the pinned key, or the OS proxy settings when no key is set, and are not a bypass. On every platform, [`coworkEgressAllowedHosts`](/docs/third-party/claude-desktop/web-tools) still applies inside the sandbox and sits in front of any proxy: a host must be on the allowlist to be reachable at all, and an allowed host is then reached through the proxy. +* **SSH remote Code sessions.** When a user runs a Code session on another machine through [`sshHostAllowlist`](/docs/third-party/claude-desktop/ssh-remote-sessions), the agent runs on that host and connects to the inference endpoint from there. Claude Desktop passes the endpoint address to the remote agent but not the pinned key, the device's OS proxy settings, or proxy variables from Claude Code managed settings on the device. The host's own network route and any Claude Code managed settings installed on the host apply instead. See [Inference credentials on the remote host](/docs/third-party/claude-desktop/ssh-remote-sessions#inference-credentials-on-the-remote-host). +* **Pages opened in the system browser.** Some sign-in flows open your default browser. That traffic follows the browser's proxy settings, which normally track the OS; pin it with the browser's own policy (for example, the Chrome or Edge `ProxySettings` policy) or the device's network profile. +* **Brokered Microsoft Entra sign-in.** When [brokered authentication](/docs/third-party/claude-desktop/entra-broker) is in use, the token request is made by Company Portal (macOS) or Web Account Manager (Windows), not by the app. Those components follow the OS proxy settings; configure them through the same MDM that manages the device. +* **Helper scripts.** An `inferenceCredentialHelper` or MCP `headersHelper` script runs with the app's environment and no injected proxy variables, because helpers typically talk to internal vaults or identity providers that should not go through the inference proxy. If a helper needs a proxy, set it inside the script. +* **Programs that ignore proxy variables.** The agent passes `HTTPS_PROXY`, `HTTP_PROXY`, and `NO_PROXY` to the programs it launches on the device, but a program that does not honor those variables connects directly if the network allows it. The only complete control for this case is blocking direct egress at the network layer. + + + A proxy setting is routing, not enforcement. Nothing on this page prevents a process on the device from connecting directly if the network permits it. If you need a guarantee that traffic leaves only through your proxy, block direct egress at the firewall or secure web gateway and allow only the proxy. The inverse also holds: on an open network, a misconfigured or unreachable PAC script can quietly result in direct connections. + + +### The agent uses one proxy + +The agent sends all of its own traffic (inference, and in Code sessions its web fetches, remote MCP connections, and plugin installs) through the one proxy resolved for your inference endpoint. Per-host PAC rules are not re-evaluated inside the agent. For most organizations this is the desirable outcome: everything the agent does is logged and inspected at one place, with nothing further to configure. + +It needs attention only when that one proxy is not right for everything the agent reaches: typically some hosts (an internal MCP server, a private package registry, a self-hosted plugin marketplace) must be reached directly while the proxy only carries public traffic, or the reverse. In order of preference: + +1. Let the proxy these devices use carry both kinds of traffic. Nothing else needs configuring. +2. Otherwise, list the domains that must connect directly in `NO_PROXY` through Claude Code managed settings (see the next section), using leading-dot suffixes such as `.example.corp`, and accept that everything not listed goes to the proxy. + +The inverse edge case: if your PAC script returns `DIRECT` for the inference endpoint (common when the gateway is on your internal network), the agent gets no proxy at all, even for hosts the script would proxy. If the agent's other traffic must go through a proxy in that layout, set `HTTPS_PROXY` and a `NO_PROXY` entry for the gateway's domain through Claude Code managed settings. + +## Interaction with Claude Code managed settings + + + The precedence described here requires the same Claude Desktop release as the pinned-proxy keys above. See the [configuration changelog](/docs/third-party/claude-desktop/configuration-changelog). + + +If you deploy Claude Code [managed settings](https://code.claude.com/docs/en/settings#settings-files) on the device (a `managed-settings.json` file or an OS-level Claude Code policy) and its `env` block sets `HTTPS_PROXY`, `HTTP_PROXY`, or `NO_PROXY`, those values apply to the agent in Chat, Cowork, and Code sessions alike and take precedence over what the app would have supplied. Precedence is per variable: a managed `HTTPS_PROXY` replaces the app's proxy while the app's loopback `NO_PROXY` entries stay in place, and a managed `NO_PROXY` replaces the app's list (the loopback entries are appended for you when the app is also supplying the proxy). See Claude Code's [network configuration](https://code.claude.com/docs/en/network-config) page for the variables themselves. + +```json managed-settings.json theme={null} +{ + "env": { + "HTTPS_PROXY": "http://proxy.example.com:8080", + "NO_PROXY": "localhost,127.0.0.1,::1,.example.corp" + }, + "parentSettingsBehavior": "merge" +} +``` + +Set `parentSettingsBehavior` to `"merge"` whenever you deploy a Claude Code managed-settings file alongside Claude Desktop on 3P: without it, the presence of that file makes Claude Code ignore the policy Claude Desktop supplies (network and filesystem sandbox, allowed MCP servers), even if the file only sets proxy variables. [Claude Code in Claude Desktop on 3P](/docs/third-party/claude-desktop/code#interaction-with-claude-code%E2%80%99s-own-managed-settings) explains the merge behavior. + +`NO_PROXY` matching in the agent follows these rules: + +* A bare hostname matches that host exactly. To cover a domain and its subdomains, use a leading dot: `.example.corp` matches `example.corp` and `api.example.corp`. +* IP addresses match literally. CIDR ranges such as `10.0.0.0/8` are not supported. +* `host:port` entries match that host on that port only. +* `*` disables the proxy entirely, and only when it is the whole value; it is not a wildcard inside a list. + +These settings reach the agent process only. The app itself and Cowork's sandboxed shell keep the proxy behavior described above, and the other paths listed under [Traffic that bypasses the app proxy](#traffic-that-bypasses-the-app-proxy) are likewise unaffected by Claude Code managed settings. + +## TLS-intercepting proxies + +If your proxy performs TLS interception, it presents its own certificate authority. The app trusts the operating system's certificate store. On macOS, the app also configures the agent to trust the System keychain in addition to the bundled CA roots, so a corporate CA installed there normally works without extra setup. + +If inference or tool requests still fail certificate verification, the CA was likely added with policy-restricted trust: certificates installed via `security add-trusted-cert -p ssl …` are trusted by Safari and Chrome but are not picked up by the agent's keychain reader. Re-add the CA with full root trust (omit `-p`): + +```bash theme={null} +sudo security add-trusted-cert -d -r trustRoot \ + -k /Library/Keychains/System.keychain /path/to/corp-ca.pem +``` + +If the certificate is MDM-managed and you cannot change how it is installed, set `NODE_EXTRA_CA_CERTS` as a fallback, then quit and relaunch Claude: + +```bash theme={null} +security find-certificate -a -p /Library/Keychains/System.keychain > ~/corp-ca.pem +launchctl setenv NODE_EXTRA_CA_CERTS "$HOME/corp-ca.pem" +``` + +`launchctl setenv` makes the variable visible to apps launched from Finder or the Dock (shell-profile exports only reach terminal sessions). It applies until the next reboot; to make it permanent, run the command from a LaunchAgent at login. + +## Troubleshoot + +**"Can't reach" banner.** The app could not get a response from the inference host the banner names. Behind a proxy this usually means the proxy resolved for that host is unreachable, requires a sign-in the app cannot perform, or does not allow the host. Use **Copy report** on the banner to capture the details, confirm the device's OS proxy settings (or the pinned key) point at a reachable HTTP proxy, and confirm the proxy allows the inference host listed in [Required egress paths](/docs/third-party/claude-desktop/telemetry#required-egress-paths). + +**Confirm which proxy is in effect.** Open `main.log` in the app's [logs directory](/docs/third-party/claude-desktop/data-storage). When a key is pinned, startup logs `[egress-proxy] pinned to fixed proxy at proxy.example.com:8080; OS proxy settings ignored` (or `pinned to PAC script at …`). When a session starts, the log records the proxy handed to the agent, for example `Resolved system proxy for Code sessions: http://proxy.example.com:8080`, and a `Skipping SOCKS proxy entry` line if the OS answer was SOCKS. If Claude Code managed settings supplied any proxy variable, a line names the variables it set or replaced and the settings file they came from. For Cowork's sandboxed shell, `cowork_vm_node.log` in the same directory records `[VM:start] guest egress pinned to fixed proxy at …` (or `PAC script at …`) when the sandbox starts with a key pinned, and `[VM:start] PAC fetch from … failed (…); guest connects directly` if the sandbox's copy of the script could not be downloaded. + +**Agent connects directly while the app is proxied.** The OS or PAC answer for the inference endpoint was `DIRECT` or SOCKS-only. Adjust the PAC rule for the inference host, or pin `egressProxyUrl`. + +**Web fetches or MCP connections fail in Code sessions but inference works.** Either the proxy resolved for the inference endpoint does not carry that traffic, or the answer for the inference endpoint was `DIRECT` and the agent has no proxy. See [The agent uses one proxy](#the-agent-uses-one-proxy). + +**Certificate errors.** See [TLS-intercepting proxies](#tls-intercepting-proxies). + +## Related + +* [Configuration reference](/docs/third-party/claude-desktop/configuration) for `egressProxyUrl`, `egressProxyPacUrl`, and `coworkEgressAllowedHosts` +* [Telemetry and egress](/docs/third-party/claude-desktop/telemetry#required-egress-paths) for the hosts your proxy must allow +* [Claude Code in Claude Desktop on 3P](/docs/third-party/claude-desktop/code) for how Claude Code managed settings combine with Claude Desktop policy +* [Web tools](/docs/third-party/claude-desktop/web-tools) for `coworkEgressAllowedHosts` diff --git a/content/claude/third-party/claude-desktop/ssh-remote-sessions.md b/content/claude/third-party/claude-desktop/ssh-remote-sessions.md index 757a1d06b7..bb10a6be9b 100644 --- a/content/claude/third-party/claude-desktop/ssh-remote-sessions.md +++ b/content/claude/third-party/claude-desktop/ssh-remote-sessions.md @@ -129,8 +129,8 @@ Claude Desktop writes the following into the SSH user's home directory on the ho Each side of a remote session needs its own network access. -* The device must reach `downloads.claude.ai`, including devices installed with the [offline installer](/docs/third-party/claude-desktop/installation#offline-installation). Claude Desktop downloads the remote server there and uploads it to the host over SFTP. -* The host must reach your inference endpoint and, if configured, your OTLP collector, plus whatever the user's own work needs. It downloads the Claude Code engine from `downloads.claude.ai` when it can; when that fails, Claude Desktop downloads the engine on the device and uploads it over SFTP. Unless you disabled telemetry, the engine on the host also reports to the same Anthropic hosts as a local Code session (see [Telemetry and egress](/docs/third-party/claude-desktop/telemetry)). Blocking them does not affect the session. +* Devices installed with the regular installer must reach `downloads.claude.ai`: Claude Desktop downloads the remote server there and uploads it to the host over SFTP. Devices installed with the [offline installer](/docs/third-party/claude-desktop/installation#offline-installation) don't: it bundles the remote server and the Claude Code engine for Linux x64 and arm64 hosts, and Claude Desktop uploads both over SFTP. Hosts on other platforms still need the download, and on an offline install the session fails with a message saying the installer doesn't include remote components for that platform. +* The host must reach your inference endpoint and, if configured, your OTLP collector, plus whatever the user's own work needs. With the regular installer, it downloads the Claude Code engine from `downloads.claude.ai` when it can; when that fails, Claude Desktop downloads the engine on the device and uploads it over SFTP. Unless you disabled telemetry, the engine on the host also reports to the same Anthropic hosts as a local Code session (see [Telemetry and egress](/docs/third-party/claude-desktop/telemetry)). Blocking them does not affect the session. ### SSH configuration on the device diff --git a/content/claude/third-party/claude-desktop/telemetry.md b/content/claude/third-party/claude-desktop/telemetry.md index 2b5b90a048..d4e02b7e53 100644 --- a/content/claude/third-party/claude-desktop/telemetry.md +++ b/content/claude/third-party/claude-desktop/telemetry.md @@ -66,7 +66,7 @@ For collector authentication headers, extra resource attributes, and the log lev Set [`otlpEndpoint`](/docs/third-party/claude-desktop/configuration#otlpendpoint) to the base address of your collector's OTLP/HTTP receiver, for example `https://otel-collector.example.com:4318`. The app appends the OpenTelemetry request paths itself (`/v1/logs`, `/v1/metrics`, and `/v1/traces` when [traces](#traces-beta) are enabled), so enter the address without those suffixes. A path prefix in front of them, such as `https://observability.example.com/otlp`, is kept. -The receiver must implement the OpenTelemetry protocol (OTLP) over HTTP in both its protobuf and JSON encodings, as an OpenTelemetry Collector does by default. If your logging or SIEM platform accepts only its own HTTP ingestion format, run an OpenTelemetry Collector that receives OTLP and forwards to that platform, and set `otlpEndpoint` to the collector's address. Each device opens its own connection to the collector, so the collector must present a TLS certificate the operating system trusts. See [Proxy support](#proxy-support) if a TLS-intercepting proxy sits in between. +The receiver must implement the OpenTelemetry protocol (OTLP) over HTTP in both its protobuf and JSON encodings, as an OpenTelemetry Collector does by default. If your logging or SIEM platform accepts only its own HTTP ingestion format, run an OpenTelemetry Collector that receives OTLP and forwards to that platform, and set `otlpEndpoint` to the collector's address. Each device opens its own connection to the collector, so the collector must present a TLS certificate the operating system trusts. See [TLS-intercepting proxies](/docs/third-party/claude-desktop/network-proxy#tls-intercepting-proxies) if a TLS-intercepting proxy sits in between. [`otlpHeaders`](/docs/third-party/claude-desktop/configuration#otlpheaders) is a JSON object that maps each header name to its value, for example `{"Authorization":"Bearer ","X-Tenant":"agency"}`. As with the other object-typed keys described under [Value types](/docs/third-party/claude-desktop/configuration#value-types), write it as a JSON string. @@ -273,24 +273,4 @@ See the [Locked down profile](/docs/third-party/claude-desktop/configuration#rec ## Proxy support -The Cowork sandbox honors the host operating system's proxy configuration, including PAC (proxy auto-configuration) files. If the device routes HTTPS through a corporate proxy, the sandbox will too, with no additional configuration required. - -### TLS-intercepting proxies on macOS - -If your proxy performs TLS interception, it presents its own certificate authority. Claude configures its CLI processes to trust the macOS System keychain in addition to the bundled CA roots, so a corporate CA installed there normally works without extra setup. - -If inference or tool requests still fail certificate verification, the CA was likely added with policy-restricted trust: certificates installed via `security add-trusted-cert -p ssl …` are trusted by Safari and Chrome but are not picked up by the CLI runtime's keychain reader. Re-add the CA with full root trust (omit `-p`): - -```bash theme={null} -sudo security add-trusted-cert -d -r trustRoot \ - -k /Library/Keychains/System.keychain /path/to/corp-ca.pem -``` - -If the certificate is MDM-managed and you cannot change how it is installed, set `NODE_EXTRA_CA_CERTS` as a fallback, then quit and relaunch Claude: - -```bash theme={null} -security find-certificate -a -p /Library/Keychains/System.keychain > ~/corp-ca.pem -launchctl setenv NODE_EXTRA_CA_CERTS "$HOME/corp-ca.pem" -``` - -`launchctl setenv` makes the variable visible to apps launched from Finder or the Dock (shell-profile exports only reach terminal sessions). It applies until the next reboot; to make it permanent, run the command from a LaunchAgent at login. +Claude Desktop and the Claude Code engine it runs follow the operating system's proxy settings by default, including PAC files, and on macOS and Windows so does the Cowork sandbox. You can also pin a specific proxy for all three from managed configuration. See [Network proxy](/docs/third-party/claude-desktop/network-proxy) for the default behavior, the pinned-proxy keys, the traffic that bypasses the proxy, and [TLS-intercepting proxies](/docs/third-party/claude-desktop/network-proxy#tls-intercepting-proxies). diff --git a/content/en/agents-and-tools/mcp-connector.md b/content/en/agents-and-tools/mcp-connector.md index 7f9ce77454..c10002e1e9 100644 --- a/content/en/agents-and-tools/mcp-connector.md +++ b/content/en/agents-and-tools/mcp-connector.md @@ -663,7 +663,7 @@ Install both the Anthropic SDK and the MCP SDK: ```kotlin - implementation("com.anthropic:anthropic-java-mcp:2.58.0") + implementation("com.anthropic:anthropic-java-mcp:2.60.0") ``` @@ -672,7 +672,7 @@ Install both the Anthropic SDK and the MCP SDK: com.anthropic anthropic-java-mcp - 2.58.0 + 2.60.0 ``` diff --git a/content/en/agents-and-tools/tool-use/advisor-tool.md b/content/en/agents-and-tools/tool-use/advisor-tool.md index 938e69289c..31b09688c6 100644 --- a/content/en/agents-and-tools/tool-use/advisor-tool.md +++ b/content/en/agents-and-tools/tool-use/advisor-tool.md @@ -31,7 +31,7 @@ sequenceDiagram The advisor fits these configurations: -* **You currently use Sonnet on complex tasks:** Add a higher-tier advisor. Opus keeps total cost similar or lower; Claude Fable 5 maximizes the quality lift. +* **You currently use Sonnet on complex tasks:** Add a higher-tier advisor. Opus keeps total cost similar or lower; Claude Fable 5.1 maximizes the quality lift. * **You currently use Haiku and want a step up in intelligence:** Add an Opus or Fable advisor. Expect higher cost than Haiku alone, but lower than switching the executor to a larger model. Results are task-dependent. Evaluate on your own workload. diff --git a/content/en/agents-and-tools/tool-use/code-execution-tool.md b/content/en/agents-and-tools/tool-use/code-execution-tool.md index 98d18cdd0c..65b4155a82 100644 --- a/content/en/agents-and-tools/tool-use/code-execution-tool.md +++ b/content/en/agents-and-tools/tool-use/code-execution-tool.md @@ -888,7 +888,7 @@ A file Claude wrote elsewhere is still in the container, so you can [reuse the c ### Content Credentials on generated files -On the Claude API, supported image and video files that Claude produces in the code execution sandbox carry [C2PA](https://c2pa.org/) Content Credentials when you download them through the [Files API](https://platform.claude.com/docs/en/build-with-claude/files). [Supported formats](https://opensource.contentauthenticity.org/docs/sdk-repos/c2pa-python/docs/supported-formats/) include PNG, JPEG, GIF, WebP, TIFF, HEIC, AVIF, SVG, MP4, and MOV. The credential is a cryptographically signed manifest embedded in the file's metadata. It identifies Anthropic as the issuer, carries a timestamp, and records the action description "Claude provided this file at the request of a user and may have created or modified the file contents." +On the Claude API, supported image, video, and audio files that Claude produces in the code execution sandbox carry [C2PA](https://c2pa.org/) Content Credentials when you download them through the [Files API](https://platform.claude.com/docs/en/build-with-claude/files). [Supported formats](https://opensource.contentauthenticity.org/docs/sdk-repos/c2pa-python/docs/supported-formats/) include PNG, JPEG, GIF, WebP, TIFF, HEIC, AVIF, SVG, MP4, MOV, MP3, WAV, FLAC, and M4A. The credential is a cryptographically signed manifest embedded in the file's metadata. It identifies Anthropic as the issuer, carries a timestamp, and records the action description "Claude provided this file at the request of a user and may have created or modified the file contents." Signing requires no changes to your requests or response handling, and the manifest records nothing about you, your organization, or your request. The file's visible content is unchanged. The manifest adds a few kilobytes, so the downloaded file's size and checksum differ from the file as it exists inside the container. Text files, PDFs, and office documents are not signed because they are not supported formats for signing. Files you upload are stored as-is, including any Content Credentials they already carry. diff --git a/content/en/agents-and-tools/tool-use/web-fetch-tool.md b/content/en/agents-and-tools/tool-use/web-fetch-tool.md index 1ec2a6cc13..3182b6dbba 100644 --- a/content/en/agents-and-tools/tool-use/web-fetch-tool.md +++ b/content/en/agents-and-tools/tool-use/web-fetch-tool.md @@ -27,7 +27,7 @@ For Zero Data Retention eligibility and the `allowed_callers` workaround, see [S Enabling the web fetch tool in environments where Claude processes untrusted input alongside sensitive data poses data exfiltration risks. Only use this tool in trusted environments or when handling non-sensitive data. - To minimize exfiltration risks, Claude is not allowed to dynamically construct URLs. Claude can only fetch URLs that have been explicitly provided by the user or that come from previous web search or web fetch results. However, there is still residual risk that you should carefully consider when using this tool. + To minimize exfiltration risks, Claude cannot fetch URLs that appear only in its own output. Claude can only fetch URLs that have previously appeared in the conversation: URLs in user messages, URLs in client-side tool results (even when a result echoes text that Claude generated), and URLs from previous web search or web fetch results (see [URL validation](https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-fetch-tool#url-validation)). However, there is still residual risk that you should carefully consider when using this tool. If data exfiltration is a concern, consider: @@ -503,7 +503,7 @@ The `response_inclusion` parameter controls how fetch result blocks appear in th Unlike web search where citations are always enabled, citations are optional for web fetch and disabled by default. Set `"citations": {"enabled": true}` to enable Claude to cite specific passages from fetched documents. - When displaying API outputs directly to end users, include citations to the original source. If you are making modifications to API outputs, including by reprocessing and/or combining them with your own material before displaying them to end users, display citations as appropriate based on consultation with your legal team. + When displaying API outputs directly to end users, include citations to the original source. If you are making modifications to API outputs, including by reprocessing or combining them with your own material before displaying them to end users, display citations as appropriate based on consultation with your legal team. ## Response @@ -650,7 +650,7 @@ For security reasons, the web fetch tool can only fetch URLs that have previousl * URLs in client-side tool results * URLs from previous web search or web fetch results -The tool cannot fetch arbitrary URLs that Claude generates or URLs from container-based server tools (such as Code Execution and Bash). +The tool cannot fetch URLs that appear only in Claude's own output or only in the system prompt. To make a URL from the system prompt fetchable, also include it in a user message. Results of other server-side tools, such as [code execution](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool), the [MCP connector](https://platform.claude.com/docs/en/agents-and-tools/mcp-connector), or [tool search](https://platform.claude.com/docs/en/agents-and-tools/tool-use/tool-search-tool), are not an allowed source either. Client-side tool results are an allowed source even when they echo text that Claude produced (for example, a command that prints its input, or an error message that quotes it). ## Combined search and fetch diff --git a/content/en/api/csharp/beta.md b/content/en/api/csharp/beta.md index 6a1f47935a..19459cb93a 100644 --- a/content/en/api/csharp/beta.md +++ b/content/en/api/csharp/beta.md @@ -8,7 +8,7 @@ - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "api_error"` ### Beta Authentication Error @@ -16,7 +16,7 @@ - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "authentication_error"` ### Beta Billing Error @@ -24,13 +24,13 @@ - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "billing_error"` ### Beta Currency - `enum BetaCurrency:` - - `Usd` + - `Usd("USD")` ### Beta Error @@ -40,55 +40,55 @@ - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "invalid_request_error"` - `class BetaAuthenticationError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "authentication_error"` - `class BetaBillingError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "billing_error"` - `class BetaPermissionError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "permission_error"` - `class BetaNotFoundError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "not_found_error"` - `class BetaRateLimitError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "rate_limit_error"` - `class BetaGatewayTimeoutError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "timeout_error"` - `class BetaApiError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "api_error"` - `class BetaOverloadedError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "overloaded_error"` ### Beta Error Response @@ -100,59 +100,59 @@ - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "invalid_request_error"` - `class BetaAuthenticationError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "authentication_error"` - `class BetaBillingError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "billing_error"` - `class BetaPermissionError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "permission_error"` - `class BetaNotFoundError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "not_found_error"` - `class BetaRateLimitError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "rate_limit_error"` - `class BetaGatewayTimeoutError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "timeout_error"` - `class BetaApiError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "api_error"` - `class BetaOverloadedError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "overloaded_error"` - `required string? RequestID` - - `JsonElement Type constant` + - `JsonElement Type = "error"` ### Beta Gateway Timeout Error @@ -160,7 +160,7 @@ - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "timeout_error"` ### Beta Invalid Request Error @@ -168,7 +168,7 @@ - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "invalid_request_error"` ### Beta Monetary Amount @@ -190,7 +190,7 @@ - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "not_found_error"` ### Beta Overloaded Error @@ -198,7 +198,7 @@ - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "overloaded_error"` ### Beta Permission Error @@ -206,7 +206,7 @@ - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "permission_error"` ### Beta Rate Limit Error @@ -214,7 +214,7 @@ - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "rate_limit_error"` ## Beta › Models @@ -252,93 +252,93 @@ The Models API response can be used to determine which models are available for Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -470,7 +470,7 @@ The Models API response can be used to determine which models are available for Maximum value for the `max_tokens` parameter when using this model. - - `JsonElement Type constant` + - `JsonElement Type = "model"` Object type. @@ -594,93 +594,93 @@ The Models API response can be used to determine information about a specific mo Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -812,7 +812,7 @@ The Models API response can be used to determine information about a specific mo Maximum value for the `max_tokens` parameter when using this model. - - `JsonElement Type constant` + - `JsonElement Type = "model"` Object type. @@ -998,13 +998,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -1017,9 +1017,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -1041,7 +1041,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -1061,7 +1061,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -1091,7 +1091,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -1103,7 +1103,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -1141,7 +1141,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class BetaImageBlockParam:` @@ -1155,19 +1155,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaUrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -1175,9 +1175,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `BetaCacheControlEphemeral? CacheControl` @@ -1191,9 +1191,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - `class BetaRequestDocumentBlock:` @@ -1205,17 +1205,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaContentBlockSource:` @@ -1229,11 +1229,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaImageBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class BetaUrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -1241,9 +1241,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `BetaCacheControlEphemeral? CacheControl` @@ -1269,7 +1269,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -1281,7 +1281,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -1301,7 +1301,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `thinking` text of this block as returned by the API. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class BetaRedactedThinkingBlockParam:` @@ -1309,7 +1309,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class BetaToolUseBlockParam:` @@ -1323,7 +1323,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 200, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -1337,7 +1337,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -1347,7 +1347,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -1355,7 +1355,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -1369,7 +1369,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -1397,7 +1397,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` @@ -1441,7 +1441,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonElement Type constant` + - `JsonElement Type = "browser_state"` - `BetaCacheControlEphemeral? CacheControl` @@ -1469,7 +1469,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -1481,7 +1481,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -1502,7 +1502,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -1532,7 +1532,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -1564,23 +1564,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -1610,7 +1610,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -1620,25 +1620,25 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -1666,31 +1666,31 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlockParam:` - `required BetaRequestDocumentBlock Content` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -1704,7 +1704,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -1732,27 +1732,27 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlockParam:` - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `string? StopReason` @@ -1762,7 +1762,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `string? StopReason` @@ -1770,7 +1770,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -1786,15 +1786,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -1802,7 +1802,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -1810,7 +1810,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -1820,7 +1820,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -1828,13 +1828,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -1848,17 +1848,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlockParam:` @@ -1866,7 +1866,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -1874,13 +1874,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -1894,17 +1894,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `string? ErrorMessage` @@ -1914,13 +1914,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `long? NumLines` @@ -1932,11 +1932,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `IReadOnlyList? Lines` @@ -1952,7 +1952,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -1966,15 +1966,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `string? ErrorMessage` @@ -1986,19 +1986,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -2018,7 +2018,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -2030,7 +2030,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -2046,7 +2046,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -2063,7 +2063,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `BetaCacheControlEphemeral? CacheControl` @@ -2079,7 +2079,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co When content is None, the block represents a failed compaction. The server treats these as no-ops. Empty string content is not allowed. - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `BetaCacheControlEphemeral? CacheControl` @@ -2119,7 +2119,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -2130,7 +2130,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -2138,9 +2138,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_toolset_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_addition"` - `BetaCacheControlEphemeral? CacheControl` @@ -2177,7 +2177,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Reference to every tool in the named MCP server's toolset. - - `JsonElement Type constant` + - `JsonElement Type = "tool_removal"` - `BetaCacheControlEphemeral? CacheControl` @@ -2209,71 +2209,71 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -2281,7 +2281,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Identifies one hop of a fallback transition. - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` - `JsonElement Trigger` @@ -2289,19 +2289,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required Role Role` - - `User` + - `User("user")` - - `Assistant` + - `Assistant("assistant")` - - `System` + - `System("system")` - `ClearAt? ClearAt` How long this system message's text stays in front of the model. `"never"` (the default) renders it on every request that includes it. `"next_user_message"` renders it only for the user turn it follows: once a later `role: "user"` message exists in `messages` the message stays in the array (send it unchanged) but is no longer shown to the model. Only permitted on `role: "system"` messages. - - `NextUserMessage` + - `NextUserMessage("next_user_message")` - - `Never` + - `Never("never")` - `BetaSystemMessageOutputConfig? OutputConfig` @@ -2315,15 +2315,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co All possible effort levels. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `required Model model` @@ -2363,9 +2363,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `string Version` @@ -2431,9 +2431,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co How a failing token affects the retry. `strict` (the default, and the bare-string behavior): a failing redemption is a 400 and the retry is not served. `best_effort`: the retry is served either way — a token-layer failure no longer rejects the request; the retry proceeds at normal price and the outcome is reported on the response's `usage.fallback_credit`. Two failures stay hard in both modes: a malformed token, and combining `fallback_credit_token` with `fallbacks`. - - `Strict` + - `Strict("strict")` - - `BestEffort` + - `BestEffort("best_effort")` - `BetaFallbacksParam? fallbacks` @@ -2451,7 +2451,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Name` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -2477,17 +2477,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Anthropic offers different levels of service for your API requests. See [service-tiers](https://platform.claude.com/docs/en/api/service-tiers) for details. - - `Auto` + - `Auto("auto")` - - `StandardOnly` + - `StandardOnly("standard_only")` - `Speed? speed` Body param: Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `IReadOnlyList stopSequences` @@ -2511,7 +2511,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -2603,7 +2603,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -2619,13 +2619,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2655,23 +2655,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolBash20241022:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2689,23 +2689,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolBash20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2723,23 +2723,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaCodeExecutionTool20250522:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250522"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2755,23 +2755,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaCodeExecutionTool20250825:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2789,23 +2789,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2823,23 +2823,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Code execution tool with REPL state persistence. - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260521"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2860,7 +2860,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co the family's tool with any members disabled via `configs` removed from its schema. - - `JsonElement Type constant` + - `JsonElement Type = "browser_toolset_20260801"` - `BetaCacheControlEphemeral? CacheControl` @@ -3261,23 +3261,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3301,23 +3301,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaMemoryTool20250818:` - - `JsonElement Name constant` + - `JsonElement Name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "memory_20250818"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3347,23 +3347,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3387,23 +3387,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolTextEditor20241022:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3433,23 +3433,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20251124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3486,7 +3486,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonElement Type constant` + - `JsonElement Type = "computer_toolset_20260801"` - `BetaCacheControlEphemeral? CacheControl` @@ -3707,23 +3707,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolTextEditor20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3741,23 +3741,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolTextEditor20250429:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250429"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3775,23 +3775,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolTextEditor20250728:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250728"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3815,23 +3815,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebSearchTool20250305:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20250305"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3863,7 +3863,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Parameters for the user's location. Used to provide more relevant search results. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -3891,23 +3891,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebFetchTool20250910:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20250910"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3947,23 +3947,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebSearchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3997,23 +3997,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebFetchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -4055,23 +4055,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260309"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -4115,23 +4115,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebSearchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -4159,9 +4159,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -4173,23 +4173,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebFetchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -4227,9 +4227,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -4247,23 +4247,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonElement Name constant` + - `JsonElement Name = "advisor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "advisor_20260301"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -4295,7 +4295,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolSearchToolBm25_20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_bm25"` Name of the tool. @@ -4303,19 +4303,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required Type Type` - - `ToolSearchToolBm25_20251119` + - `ToolSearchToolBm25_20251119("tool_search_tool_bm25_20251119")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -4331,7 +4331,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolSearchToolRegex20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_regex"` Name of the tool. @@ -4339,19 +4339,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required Type Type` - - `ToolSearchToolRegex20251119` + - `ToolSearchToolRegex20251119("tool_search_tool_regex_20251119")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -4378,7 +4378,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 255, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "mcp_toolset"` - `BetaCacheControlEphemeral? CacheControl` @@ -4404,93 +4404,93 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` - `string userProfileID` @@ -4578,9 +4578,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -4643,7 +4643,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocation:` @@ -4663,7 +4663,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -4693,7 +4693,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -4705,7 +4705,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -4741,13 +4741,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaThinkingBlock:` @@ -4763,7 +4763,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -4775,7 +4775,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -4789,7 +4789,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `Caller Caller` @@ -4799,7 +4799,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -4809,7 +4809,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -4817,7 +4817,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -4835,23 +4835,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `Caller Caller` @@ -4875,19 +4875,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -4897,7 +4897,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -4905,7 +4905,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `Caller Caller` @@ -4929,25 +4929,25 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -4967,29 +4967,29 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -4999,7 +4999,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `Caller Caller` @@ -5023,21 +5023,21 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -5047,7 +5047,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -5059,13 +5059,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -5077,15 +5077,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -5093,7 +5093,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -5101,7 +5101,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -5111,7 +5111,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -5119,13 +5119,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -5135,17 +5135,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -5153,7 +5153,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -5161,13 +5161,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -5177,19 +5177,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -5197,11 +5197,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -5209,13 +5209,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -5229,13 +5229,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -5245,17 +5245,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -5265,15 +5265,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -5291,7 +5291,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -5311,7 +5311,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required bool IsError` @@ -5319,7 +5319,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -5327,7 +5327,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `class BetaCompactionBlock:` @@ -5345,7 +5345,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `class BetaFallbackBlock:` @@ -5371,71 +5371,71 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -5451,29 +5451,29 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` - `required BetaContextManagementResponse? ContextManagement` @@ -5499,7 +5499,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -5517,7 +5517,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_thinking_20251015"` The type of context management edit applied. @@ -5536,7 +5536,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -5544,7 +5544,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -5552,7 +5552,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -5560,15 +5560,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonElement Type constant` + - `JsonElement Type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonElement Type constant` + - `JsonElement Type = "unavailable"` - `required Model Model` @@ -5576,7 +5576,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonElement Role constant` + - `JsonElement Role = "assistant"` Conversational role of the generated message. @@ -5590,23 +5590,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -5665,7 +5665,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - `required BetaStopReason? StopReason` @@ -5683,21 +5683,21 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co In non-streaming mode this value is always non-null. In streaming mode, it is null in the `message_start` event and non-null otherwise. - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Compaction` + - `Compaction("compaction")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` - `required string? StopSequence` @@ -5705,7 +5705,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonElement Type constant` + - `JsonElement Type = "message"` Object type. @@ -5769,7 +5769,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonElement Type constant` + - `JsonElement Type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -5782,31 +5782,31 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co A closed enum; additions to the redemption-check vocabulary arrive as deliberate schema updates. - - `BodyMismatch` + - `BodyMismatch("body_mismatch")` - - `ContinuationExcluded` + - `ContinuationExcluded("continuation_excluded")` - - `ContinuationOnly` + - `ContinuationOnly("continuation_only")` - - `Expired` + - `Expired("expired")` - - `InvalidTargetModel` + - `InvalidTargetModel("invalid_target_model")` - - `NotEnabled` + - `NotEnabled("not_enabled")` - - `RepriceUnavailable` + - `RepriceUnavailable("reprice_unavailable")` - - `TemporarilyUnavailable` + - `TemporarilyUnavailable("temporarily_unavailable")` - - `VariantFieldsPresent` + - `VariantFieldsPresent("variant_fields_present")` - - `WrongOrganization` + - `WrongOrganization("wrong_organization")` - - `WrongPlatform` + - `WrongPlatform("wrong_platform")` - - `WrongWorkspace` + - `WrongWorkspace("wrong_workspace")` - - `JsonElement Type constant` + - `JsonElement Type = "not_applied"` - `IReadOnlyList? RemoveToRedeem` @@ -5879,7 +5879,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "message"` Usage for a sampling iteration @@ -5915,7 +5915,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` Usage for a compaction iteration @@ -5957,7 +5957,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -6004,7 +6004,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -6056,19 +6056,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co If the request used the priority, standard, or batch tier. - - `Standard` + - `Standard("standard")` - - `Priority` + - `Priority("priority")` - - `Batch` + - `Batch("batch")` - `required Speed? Speed` Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `IReadOnlyList? InputTransformations` @@ -6110,15 +6110,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co `organization_binding_mismatch`, `end_user_binding_mismatch`, `model_binding_mismatch`, `prefix_binding_mismatch`. - - `ModelBindingMismatch` + - `ModelBindingMismatch("model_binding_mismatch")` - - `PrefixBindingMismatch` + - `PrefixBindingMismatch("prefix_binding_mismatch")` - - `OrganizationBindingMismatch` + - `OrganizationBindingMismatch("organization_binding_mismatch")` - - `EndUserBindingMismatch` + - `EndUserBindingMismatch("end_user_binding_mismatch")` - - `JsonElement Type constant` + - `JsonElement Type = "thinking_dropped"` Always `thinking_dropped` for this entry type. @@ -6128,7 +6128,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required BetaMessage Message` - - `JsonElement Type constant` + - `JsonElement Type = "message_start"` - `class BetaRawMessageDeltaEvent:` @@ -6150,7 +6150,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string? StopSequence` - - `JsonElement Type constant` + - `JsonElement Type = "message_delta"` - `required BetaMessageDeltaUsage Usage` @@ -6276,13 +6276,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co `organization_binding_mismatch`, `end_user_binding_mismatch`, `model_binding_mismatch`, `prefix_binding_mismatch`. - - `JsonElement Type constant` + - `JsonElement Type = "thinking_dropped"` Always `thinking_dropped` for this entry type. - `class BetaRawMessageStopEvent:` - - `JsonElement Type constant` + - `JsonElement Type = "message_stop"` - `class BetaRawContentBlockStartEvent:` @@ -6346,7 +6346,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required long Index` - - `JsonElement Type constant` + - `JsonElement Type = "content_block_start"` - `class BetaRawContentBlockDeltaEvent:` @@ -6356,13 +6356,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "text_delta"` - `class BetaInputJsonDelta:` - `required string PartialJson` - - `JsonElement Type constant` + - `JsonElement Type = "input_json_delta"` - `class BetaCitationsDelta:` @@ -6378,7 +6378,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaCitationSearchResultLocation:` - - `JsonElement Type constant` + - `JsonElement Type = "citations_delta"` - `class BetaThinkingDelta:` @@ -6390,7 +6390,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The incremental `thinking` text for this content block. Concatenate the `thinking` values of successive `thinking_delta` events to assemble the block's full `thinking` value. - - `JsonElement Type constant` + - `JsonElement Type = "thinking_delta"` - `class BetaSignatureDelta:` @@ -6398,7 +6398,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `signature` for this thinking block: an opaque value used to verify that the block was generated by Claude when it is passed back to the API. Delivered in a `signature_delta` event just before the block's `content_block_stop` event. - - `JsonElement Type constant` + - `JsonElement Type = "signature_delta"` - `class BetaCompactionContentBlockDelta:` @@ -6408,17 +6408,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonElement Type constant` + - `JsonElement Type = "compaction_delta"` - `required long Index` - - `JsonElement Type constant` + - `JsonElement Type = "content_block_delta"` - `class BetaRawContentBlockStopEvent:` - `required long Index` - - `JsonElement Type constant` + - `JsonElement Type = "content_block_stop"` #### Example @@ -6633,13 +6633,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -6652,9 +6652,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -6676,7 +6676,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -6696,7 +6696,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -6726,7 +6726,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -6738,7 +6738,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -6776,7 +6776,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class BetaImageBlockParam:` @@ -6790,19 +6790,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaUrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -6810,9 +6810,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `BetaCacheControlEphemeral? CacheControl` @@ -6826,9 +6826,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - `class BetaRequestDocumentBlock:` @@ -6840,17 +6840,17 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaContentBlockSource:` @@ -6864,11 +6864,11 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaImageBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class BetaUrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -6876,9 +6876,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `BetaCacheControlEphemeral? CacheControl` @@ -6904,7 +6904,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -6916,7 +6916,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -6936,7 +6936,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ The `thinking` text of this block as returned by the API. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class BetaRedactedThinkingBlockParam:` @@ -6944,7 +6944,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class BetaToolUseBlockParam:` @@ -6958,7 +6958,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 200, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -6972,7 +6972,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -6982,7 +6982,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -6990,7 +6990,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -7004,7 +7004,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -7032,7 +7032,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` @@ -7076,7 +7076,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonElement Type constant` + - `JsonElement Type = "browser_state"` - `BetaCacheControlEphemeral? CacheControl` @@ -7104,7 +7104,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -7116,7 +7116,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -7137,7 +7137,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -7167,7 +7167,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -7199,23 +7199,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -7245,7 +7245,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -7255,25 +7255,25 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -7301,31 +7301,31 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlockParam:` - `required BetaRequestDocumentBlock Content` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -7339,7 +7339,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -7367,27 +7367,27 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlockParam:` - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `string? StopReason` @@ -7397,7 +7397,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `string? StopReason` @@ -7405,7 +7405,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -7421,15 +7421,15 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -7437,7 +7437,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -7445,7 +7445,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -7455,7 +7455,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -7463,13 +7463,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -7483,17 +7483,17 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlockParam:` @@ -7501,7 +7501,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -7509,13 +7509,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -7529,17 +7529,17 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `string? ErrorMessage` @@ -7549,13 +7549,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `long? NumLines` @@ -7567,11 +7567,11 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `IReadOnlyList? Lines` @@ -7587,7 +7587,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -7601,15 +7601,15 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `string? ErrorMessage` @@ -7621,19 +7621,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -7653,7 +7653,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -7665,7 +7665,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -7681,7 +7681,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -7698,7 +7698,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `BetaCacheControlEphemeral? CacheControl` @@ -7714,7 +7714,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ When content is None, the block represents a failed compaction. The server treats these as no-ops. Empty string content is not allowed. - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `BetaCacheControlEphemeral? CacheControl` @@ -7754,7 +7754,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -7765,7 +7765,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -7773,9 +7773,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_toolset_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_addition"` - `BetaCacheControlEphemeral? CacheControl` @@ -7812,7 +7812,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Reference to every tool in the named MCP server's toolset. - - `JsonElement Type constant` + - `JsonElement Type = "tool_removal"` - `BetaCacheControlEphemeral? CacheControl` @@ -7844,71 +7844,71 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -7916,7 +7916,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Identifies one hop of a fallback transition. - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` - `JsonElement Trigger` @@ -7924,19 +7924,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required Role Role` - - `User` + - `User("user")` - - `Assistant` + - `Assistant("assistant")` - - `System` + - `System("system")` - `ClearAt? ClearAt` How long this system message's text stays in front of the model. `"never"` (the default) renders it on every request that includes it. `"next_user_message"` renders it only for the user turn it follows: once a later `role: "user"` message exists in `messages` the message stays in the array (send it unchanged) but is no longer shown to the model. Only permitted on `role: "system"` messages. - - `NextUserMessage` + - `NextUserMessage("next_user_message")` - - `Never` + - `Never("never")` - `BetaSystemMessageOutputConfig? OutputConfig` @@ -7950,15 +7950,15 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ All possible effort levels. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `required Model model` @@ -7984,7 +7984,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Name` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -8004,9 +8004,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Body param: Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `System system` @@ -8022,7 +8022,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -8114,7 +8114,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -8130,13 +8130,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -8166,23 +8166,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolBash20241022:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -8200,23 +8200,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolBash20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -8234,23 +8234,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaCodeExecutionTool20250522:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250522"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -8266,23 +8266,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaCodeExecutionTool20250825:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -8300,23 +8300,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -8334,23 +8334,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Code execution tool with REPL state persistence. - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260521"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -8371,7 +8371,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ the family's tool with any members disabled via `configs` removed from its schema. - - `JsonElement Type constant` + - `JsonElement Type = "browser_toolset_20260801"` - `BetaCacheControlEphemeral? CacheControl` @@ -8772,23 +8772,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -8812,23 +8812,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaMemoryTool20250818:` - - `JsonElement Name constant` + - `JsonElement Name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "memory_20250818"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -8858,23 +8858,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -8898,23 +8898,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolTextEditor20241022:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -8944,23 +8944,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20251124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -8997,7 +8997,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonElement Type constant` + - `JsonElement Type = "computer_toolset_20260801"` - `BetaCacheControlEphemeral? CacheControl` @@ -9218,23 +9218,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolTextEditor20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -9252,23 +9252,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolTextEditor20250429:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250429"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -9286,23 +9286,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolTextEditor20250728:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250728"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -9326,23 +9326,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebSearchTool20250305:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20250305"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -9374,7 +9374,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Parameters for the user's location. Used to provide more relevant search results. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -9402,23 +9402,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebFetchTool20250910:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20250910"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -9458,23 +9458,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebSearchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -9508,23 +9508,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebFetchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -9566,23 +9566,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260309"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -9626,23 +9626,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebSearchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -9670,9 +9670,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -9684,23 +9684,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebFetchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -9738,9 +9738,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -9758,23 +9758,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonElement Name constant` + - `JsonElement Name = "advisor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "advisor_20260301"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -9806,7 +9806,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolSearchToolBm25_20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_bm25"` Name of the tool. @@ -9814,19 +9814,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required Type Type` - - `ToolSearchToolBm25_20251119` + - `ToolSearchToolBm25_20251119("tool_search_tool_bm25_20251119")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -9842,7 +9842,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolSearchToolRegex20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_regex"` Name of the tool. @@ -9850,19 +9850,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required Type Type` - - `ToolSearchToolRegex20251119` + - `ToolSearchToolRegex20251119("tool_search_tool_regex_20251119")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -9889,7 +9889,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 255, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "mcp_toolset"` - `BetaCacheControlEphemeral? CacheControl` @@ -9915,93 +9915,93 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` - `string userProfileID` @@ -10178,13 +10178,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -10197,9 +10197,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -10221,7 +10221,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -10241,7 +10241,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -10271,7 +10271,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -10283,7 +10283,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -10321,7 +10321,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class BetaImageBlockParam:` @@ -10335,19 +10335,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaUrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -10355,9 +10355,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `BetaCacheControlEphemeral? CacheControl` @@ -10371,9 +10371,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - `class BetaRequestDocumentBlock:` @@ -10385,17 +10385,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaContentBlockSource:` @@ -10409,11 +10409,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaImageBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class BetaUrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -10421,9 +10421,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `BetaCacheControlEphemeral? CacheControl` @@ -10449,7 +10449,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -10461,7 +10461,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -10481,7 +10481,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `thinking` text of this block as returned by the API. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class BetaRedactedThinkingBlockParam:` @@ -10489,7 +10489,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class BetaToolUseBlockParam:` @@ -10503,7 +10503,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 200, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -10517,7 +10517,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -10527,7 +10527,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -10535,7 +10535,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -10549,7 +10549,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -10577,7 +10577,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` @@ -10621,7 +10621,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonElement Type constant` + - `JsonElement Type = "browser_state"` - `BetaCacheControlEphemeral? CacheControl` @@ -10649,7 +10649,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -10661,7 +10661,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -10682,7 +10682,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -10712,7 +10712,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -10744,23 +10744,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -10790,7 +10790,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -10800,25 +10800,25 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -10846,31 +10846,31 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlockParam:` - `required BetaRequestDocumentBlock Content` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -10884,7 +10884,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -10912,27 +10912,27 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlockParam:` - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `string? StopReason` @@ -10942,7 +10942,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `string? StopReason` @@ -10950,7 +10950,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -10966,15 +10966,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -10982,7 +10982,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -10990,7 +10990,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -11000,7 +11000,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -11008,13 +11008,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -11028,17 +11028,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlockParam:` @@ -11046,7 +11046,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -11054,13 +11054,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -11074,17 +11074,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `string? ErrorMessage` @@ -11094,13 +11094,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `long? NumLines` @@ -11112,11 +11112,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `IReadOnlyList? Lines` @@ -11132,7 +11132,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -11146,15 +11146,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `string? ErrorMessage` @@ -11166,19 +11166,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -11198,7 +11198,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -11210,7 +11210,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -11226,7 +11226,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -11243,7 +11243,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `BetaCacheControlEphemeral? CacheControl` @@ -11259,7 +11259,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl When content is None, the block represents a failed compaction. The server treats these as no-ops. Empty string content is not allowed. - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `BetaCacheControlEphemeral? CacheControl` @@ -11299,7 +11299,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -11310,7 +11310,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -11318,9 +11318,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_toolset_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_addition"` - `BetaCacheControlEphemeral? CacheControl` @@ -11357,7 +11357,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Reference to every tool in the named MCP server's toolset. - - `JsonElement Type constant` + - `JsonElement Type = "tool_removal"` - `BetaCacheControlEphemeral? CacheControl` @@ -11389,71 +11389,71 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -11461,7 +11461,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Identifies one hop of a fallback transition. - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` - `JsonElement Trigger` @@ -11469,19 +11469,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Role Role` - - `User` + - `User("user")` - - `Assistant` + - `Assistant("assistant")` - - `System` + - `System("system")` - `ClearAt? ClearAt` How long this system message's text stays in front of the model. `"never"` (the default) renders it on every request that includes it. `"next_user_message"` renders it only for the user turn it follows: once a later `role: "user"` message exists in `messages` the message stays in the array (send it unchanged) but is no longer shown to the model. Only permitted on `role: "system"` messages. - - `NextUserMessage` + - `NextUserMessage("next_user_message")` - - `Never` + - `Never("never")` - `BetaSystemMessageOutputConfig? OutputConfig` @@ -11495,15 +11495,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl All possible effort levels. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `required Model Model` @@ -11543,9 +11543,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `string Version` @@ -11569,13 +11569,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaClearToolUses20250919Edit:` - - `JsonElement Type constant` + - `JsonElement Type = "clear_tool_uses_20250919"` - `BetaInputTokensClearAtLeast? ClearAtLeast` Minimum number of tokens that must be cleared when triggered. Context will only be modified if at least this many tokens can be removed. - - `JsonElement Type constant` + - `JsonElement Type = "input_tokens"` - `required long Value` @@ -11597,7 +11597,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Number of tool uses to retain in the conversation - - `JsonElement Type constant` + - `JsonElement Type = "tool_uses"` - `required long Value` @@ -11609,7 +11609,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaInputTokensTrigger:` - - `JsonElement Type constant` + - `JsonElement Type = "input_tokens"` - `required long Value` @@ -11617,7 +11617,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolUsesTrigger:` - - `JsonElement Type constant` + - `JsonElement Type = "tool_uses"` - `required long Value` @@ -11625,7 +11625,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaClearThinking20251015Edit:` - - `JsonElement Type constant` + - `JsonElement Type = "clear_thinking_20251015"` - `Keep Keep` @@ -11633,7 +11633,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaThinkingTurns:` - - `JsonElement Type constant` + - `JsonElement Type = "thinking_turns"` - `required long Value` @@ -11641,7 +11641,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaAllThinkingTurns:` - - `JsonElement Type constant` + - `JsonElement Type = "all"` - `class All:` @@ -11649,7 +11649,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Automatically compact older context when reaching the configured trigger threshold. - - `JsonElement Type constant` + - `JsonElement Type = "compact_20260112"` - `string? Instructions` @@ -11719,9 +11719,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl How a failing token affects the retry. `strict` (the default, and the bare-string behavior): a failing redemption is a 400 and the retry is not served. `best_effort`: the retry is served either way — a token-layer failure no longer rejects the request; the retry proceeds at normal price and the outcome is reported on the response's `usage.fallback_credit`. Two failures stay hard in both modes: a malformed token, and combining `fallback_credit_token` with `fallbacks`. - - `Strict` + - `Strict("strict")` - - `BestEffort` + - `BestEffort("best_effort")` - `BetaFallbacksParam? Fallbacks` @@ -11743,15 +11743,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl All possible effort levels. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `BetaJsonOutputFormat? Format` @@ -11761,7 +11761,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The JSON schema of the format - - `JsonElement Type constant` + - `JsonElement Type = "json_schema"` - `BetaTokenTaskBudget? TaskBudget` @@ -11773,7 +11773,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1024 - - `JsonElement Type constant` + - `JsonElement Type = "tokens"` The budget type. Currently only 'tokens' is supported. @@ -11787,9 +11787,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `Thinking? Thinking` @@ -11805,7 +11805,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1024 - - `JsonElement Type constant` + - `JsonElement Type = "enabled"` - `BetaThinkingBlockBinding? BlockBinding` @@ -11821,27 +11821,27 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl 400 error. `"drop_block"` removes the failing blocks and the request proceeds; the model no longer sees the dropped reasoning. - - `Error` + - `Error("error")` - - `DropBlock` + - `DropBlock("drop_block")` - `Display? Display` Controls how thinking content appears in the response. When set to `summarized`, thinking is returned normally. When set to `omitted`, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults to `summarized`. - - `Summarized` + - `Summarized("summarized")` - - `Omitted` + - `Omitted("omitted")` - - `Updates` + - `Updates("updates")` - `class BetaThinkingConfigDisabled:` - - `JsonElement Type constant` + - `JsonElement Type = "disabled"` - `class BetaThinkingConfigAdaptive:` - - `JsonElement Type constant` + - `JsonElement Type = "adaptive"` - `BetaThinkingBlockBinding? BlockBinding` @@ -11853,11 +11853,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Controls how thinking content appears in the response. When set to `summarized`, thinking is returned normally. When set to `omitted`, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults to `summarized`. - - `Summarized` + - `Summarized("summarized")` - - `Omitted` + - `Omitted("omitted")` - - `Updates` + - `Updates("updates")` - `JsonElement` @@ -11873,7 +11873,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Name` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -11907,17 +11907,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Anthropic offers different levels of service for your API requests. See [service-tiers](https://platform.claude.com/docs/en/api/service-tiers) for details. - - `Auto` + - `Auto("auto")` - - `StandardOnly` + - `StandardOnly("standard_only")` - `Speed? Speed` Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `IReadOnlyList StopSequences` @@ -11947,7 +11947,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -11977,7 +11977,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will automatically decide whether to use tools. - - `JsonElement Type constant` + - `JsonElement Type = "auto"` - `bool DisableParallelToolUse` @@ -11989,7 +11989,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will use any available tools. - - `JsonElement Type constant` + - `JsonElement Type = "any"` - `bool DisableParallelToolUse` @@ -12005,7 +12005,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the tool to use. - - `JsonElement Type constant` + - `JsonElement Type = "tool"` - `bool DisableParallelToolUse` @@ -12017,7 +12017,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will not be allowed to use tools. - - `JsonElement Type constant` + - `JsonElement Type = "none"` - `IReadOnlyList Tools` @@ -12091,7 +12091,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -12107,13 +12107,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -12143,23 +12143,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolBash20241022:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -12177,23 +12177,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolBash20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -12211,23 +12211,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaCodeExecutionTool20250522:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250522"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -12243,23 +12243,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaCodeExecutionTool20250825:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -12277,23 +12277,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -12311,23 +12311,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence. - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260521"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -12348,7 +12348,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl the family's tool with any members disabled via `configs` removed from its schema. - - `JsonElement Type constant` + - `JsonElement Type = "browser_toolset_20260801"` - `BetaCacheControlEphemeral? CacheControl` @@ -12749,23 +12749,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -12789,23 +12789,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaMemoryTool20250818:` - - `JsonElement Name constant` + - `JsonElement Name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "memory_20250818"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -12835,23 +12835,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -12875,23 +12875,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20241022:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -12921,23 +12921,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20251124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -12974,7 +12974,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonElement Type constant` + - `JsonElement Type = "computer_toolset_20260801"` - `BetaCacheControlEphemeral? CacheControl` @@ -13195,23 +13195,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -13229,23 +13229,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20250429:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250429"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -13263,23 +13263,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20250728:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250728"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -13303,23 +13303,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebSearchTool20250305:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20250305"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -13351,7 +13351,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Parameters for the user's location. Used to provide more relevant search results. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -13379,23 +13379,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebFetchTool20250910:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20250910"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -13435,23 +13435,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebSearchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -13485,23 +13485,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebFetchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -13543,23 +13543,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260309"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -13603,23 +13603,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebSearchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -13647,9 +13647,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -13661,23 +13661,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebFetchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -13715,9 +13715,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -13735,23 +13735,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonElement Name constant` + - `JsonElement Name = "advisor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "advisor_20260301"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -13783,7 +13783,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolSearchToolBm25_20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_bm25"` Name of the tool. @@ -13791,19 +13791,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Type Type` - - `ToolSearchToolBm25_20251119` + - `ToolSearchToolBm25_20251119("tool_search_tool_bm25_20251119")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -13819,7 +13819,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolSearchToolRegex20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_regex"` Name of the tool. @@ -13827,19 +13827,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Type Type` - - `ToolSearchToolRegex20251119` + - `ToolSearchToolRegex20251119("tool_search_tool_regex_20251119")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -13866,7 +13866,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 255, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "mcp_toolset"` - `BetaCacheControlEphemeral? CacheControl` @@ -13936,93 +13936,93 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` - `string userProfileID` @@ -14074,11 +14074,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required BetaMessageBatchRequestCounts RequestCounts` @@ -14120,7 +14120,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. @@ -14366,93 +14366,93 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -14500,11 +14500,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required BetaMessageBatchRequestCounts RequestCounts` @@ -14546,7 +14546,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. @@ -14619,93 +14619,93 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -14753,11 +14753,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required BetaMessageBatchRequestCounts RequestCounts` @@ -14799,7 +14799,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. @@ -14871,93 +14871,93 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -15005,11 +15005,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required BetaMessageBatchRequestCounts RequestCounts` @@ -15051,7 +15051,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. @@ -15114,93 +15114,93 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -15210,7 +15210,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl ID of the Message Batch. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch_deleted"` Deleted object type. @@ -15259,93 +15259,93 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -15403,9 +15403,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -15468,7 +15468,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocation:` @@ -15488,7 +15488,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -15518,7 +15518,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -15530,7 +15530,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -15566,13 +15566,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaThinkingBlock:` @@ -15588,7 +15588,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -15600,7 +15600,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -15614,7 +15614,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `Caller Caller` @@ -15624,7 +15624,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -15634,7 +15634,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -15642,7 +15642,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -15660,23 +15660,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `Caller Caller` @@ -15700,19 +15700,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -15722,7 +15722,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -15730,7 +15730,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `Caller Caller` @@ -15754,25 +15754,25 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -15792,29 +15792,29 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -15824,7 +15824,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `Caller Caller` @@ -15848,21 +15848,21 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -15872,7 +15872,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -15884,13 +15884,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -15902,15 +15902,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -15918,7 +15918,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -15926,7 +15926,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -15936,7 +15936,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -15944,13 +15944,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -15960,17 +15960,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -15978,7 +15978,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -15986,13 +15986,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -16002,19 +16002,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -16022,11 +16022,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -16034,13 +16034,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -16054,13 +16054,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -16070,17 +16070,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -16090,15 +16090,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -16116,7 +16116,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -16136,7 +16136,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required bool IsError` @@ -16144,7 +16144,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -16152,7 +16152,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `class BetaCompactionBlock:` @@ -16170,7 +16170,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `class BetaFallbackBlock:` @@ -16196,71 +16196,71 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -16276,29 +16276,29 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` - `required BetaContextManagementResponse? ContextManagement` @@ -16324,7 +16324,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -16342,7 +16342,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_thinking_20251015"` The type of context management edit applied. @@ -16361,7 +16361,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -16369,7 +16369,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -16377,7 +16377,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -16385,15 +16385,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonElement Type constant` + - `JsonElement Type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonElement Type constant` + - `JsonElement Type = "unavailable"` - `required Model Model` @@ -16401,7 +16401,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonElement Role constant` + - `JsonElement Role = "assistant"` Conversational role of the generated message. @@ -16415,23 +16415,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -16490,7 +16490,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - `required BetaStopReason? StopReason` @@ -16508,21 +16508,21 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl In non-streaming mode this value is always non-null. In streaming mode, it is null in the `message_start` event and non-null otherwise. - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Compaction` + - `Compaction("compaction")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` - `required string? StopSequence` @@ -16530,7 +16530,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonElement Type constant` + - `JsonElement Type = "message"` Object type. @@ -16594,7 +16594,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonElement Type constant` + - `JsonElement Type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -16607,31 +16607,31 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl A closed enum; additions to the redemption-check vocabulary arrive as deliberate schema updates. - - `BodyMismatch` + - `BodyMismatch("body_mismatch")` - - `ContinuationExcluded` + - `ContinuationExcluded("continuation_excluded")` - - `ContinuationOnly` + - `ContinuationOnly("continuation_only")` - - `Expired` + - `Expired("expired")` - - `InvalidTargetModel` + - `InvalidTargetModel("invalid_target_model")` - - `NotEnabled` + - `NotEnabled("not_enabled")` - - `RepriceUnavailable` + - `RepriceUnavailable("reprice_unavailable")` - - `TemporarilyUnavailable` + - `TemporarilyUnavailable("temporarily_unavailable")` - - `VariantFieldsPresent` + - `VariantFieldsPresent("variant_fields_present")` - - `WrongOrganization` + - `WrongOrganization("wrong_organization")` - - `WrongPlatform` + - `WrongPlatform("wrong_platform")` - - `WrongWorkspace` + - `WrongWorkspace("wrong_workspace")` - - `JsonElement Type constant` + - `JsonElement Type = "not_applied"` - `IReadOnlyList? RemoveToRedeem` @@ -16704,7 +16704,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "message"` Usage for a sampling iteration @@ -16740,7 +16740,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` Usage for a compaction iteration @@ -16782,7 +16782,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -16829,7 +16829,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -16881,19 +16881,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl If the request used the priority, standard, or batch tier. - - `Standard` + - `Standard("standard")` - - `Priority` + - `Priority("priority")` - - `Batch` + - `Batch("batch")` - `required Speed? Speed` Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `IReadOnlyList? InputTransformations` @@ -16935,19 +16935,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl `organization_binding_mismatch`, `end_user_binding_mismatch`, `model_binding_mismatch`, `prefix_binding_mismatch`. - - `ModelBindingMismatch` + - `ModelBindingMismatch("model_binding_mismatch")` - - `PrefixBindingMismatch` + - `PrefixBindingMismatch("prefix_binding_mismatch")` - - `OrganizationBindingMismatch` + - `OrganizationBindingMismatch("organization_binding_mismatch")` - - `EndUserBindingMismatch` + - `EndUserBindingMismatch("end_user_binding_mismatch")` - - `JsonElement Type constant` + - `JsonElement Type = "thinking_dropped"` Always `thinking_dropped` for this entry type. - - `JsonElement Type constant` + - `JsonElement Type = "succeeded"` - `class BetaMessageBatchErroredResult:` @@ -16959,69 +16959,69 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "invalid_request_error"` - `class BetaAuthenticationError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "authentication_error"` - `class BetaBillingError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "billing_error"` - `class BetaPermissionError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "permission_error"` - `class BetaNotFoundError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "not_found_error"` - `class BetaRateLimitError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "rate_limit_error"` - `class BetaGatewayTimeoutError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "timeout_error"` - `class BetaApiError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "api_error"` - `class BetaOverloadedError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "overloaded_error"` - `required string? RequestID` - - `JsonElement Type constant` + - `JsonElement Type = "error"` - - `JsonElement Type constant` + - `JsonElement Type = "errored"` - `class BetaMessageBatchCanceledResult:` - - `JsonElement Type constant` + - `JsonElement Type = "canceled"` - `class BetaMessageBatchExpiredResult:` - - `JsonElement Type constant` + - `JsonElement Type = "expired"` #### Example @@ -17058,59 +17058,59 @@ Create Agent See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -17124,59 +17124,59 @@ Create Agent See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -17188,15 +17188,15 @@ Create Agent How hard Claude works on each turn. Higher levels favor reasoning depth over latency. Not all models accept every level; invalid combinations are rejected at create time. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `class BetaManagedAgentsEffortLow:` @@ -17236,9 +17236,9 @@ Create Agent Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required string name` @@ -17342,7 +17342,7 @@ Create Agent Configuration override for the bash tool. - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Must be "bash". @@ -17372,7 +17372,7 @@ Create Agent Configuration override for the edit tool. - - `JsonElement Name constant` + - `JsonElement Name = "edit"` Must be "edit". @@ -17398,7 +17398,7 @@ Create Agent Configuration override for the read tool. - - `JsonElement Name constant` + - `JsonElement Name = "read"` Must be "read". @@ -17424,7 +17424,7 @@ Create Agent Configuration override for the write tool. - - `JsonElement Name constant` + - `JsonElement Name = "write"` Must be "write". @@ -17450,7 +17450,7 @@ Create Agent Configuration override for the glob tool. - - `JsonElement Name constant` + - `JsonElement Name = "glob"` Must be "glob". @@ -17476,7 +17476,7 @@ Create Agent Configuration override for the grep tool. - - `JsonElement Name constant` + - `JsonElement Name = "grep"` Must be "grep". @@ -17502,7 +17502,7 @@ Create Agent Configuration override for the web_fetch tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Must be "web_fetch". @@ -17542,7 +17542,7 @@ Create Agent Configuration override for the web_search tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Must be "web_search". @@ -17576,7 +17576,7 @@ Create Agent Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -17694,7 +17694,7 @@ Create Agent JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -17712,93 +17712,93 @@ Create Agent Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -17842,59 +17842,59 @@ Create Agent See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -17940,9 +17940,9 @@ Create Agent Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsMultiagent? Multiagent` @@ -18014,7 +18014,7 @@ Create Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -18032,7 +18032,7 @@ Create Agent - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -18040,7 +18040,7 @@ Create Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -18054,7 +18054,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -18062,7 +18062,7 @@ Create Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -18076,7 +18076,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -18084,7 +18084,7 @@ Create Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -18098,7 +18098,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -18106,7 +18106,7 @@ Create Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -18120,7 +18120,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -18128,7 +18128,7 @@ Create Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -18142,7 +18142,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -18150,7 +18150,7 @@ Create Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -18164,7 +18164,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -18180,7 +18180,7 @@ Create Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -18194,7 +18194,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -18204,7 +18204,7 @@ Create Agent Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -18302,7 +18302,7 @@ Create Agent JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -18459,93 +18459,93 @@ List Agents Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -18589,59 +18589,59 @@ List Agents See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -18687,9 +18687,9 @@ List Agents Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsMultiagent? Multiagent` @@ -18761,7 +18761,7 @@ List Agents - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -18779,7 +18779,7 @@ List Agents - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -18787,7 +18787,7 @@ List Agents - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -18801,7 +18801,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -18809,7 +18809,7 @@ List Agents - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -18823,7 +18823,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -18831,7 +18831,7 @@ List Agents - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -18845,7 +18845,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -18853,7 +18853,7 @@ List Agents - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -18867,7 +18867,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -18875,7 +18875,7 @@ List Agents - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -18889,7 +18889,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -18897,7 +18897,7 @@ List Agents - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -18911,7 +18911,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -18927,7 +18927,7 @@ List Agents - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -18941,7 +18941,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -18951,7 +18951,7 @@ List Agents Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -19049,7 +19049,7 @@ List Agents JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -19193,93 +19193,93 @@ Get Agent Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -19323,59 +19323,59 @@ Get Agent See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -19421,9 +19421,9 @@ Get Agent Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsMultiagent? Multiagent` @@ -19495,7 +19495,7 @@ Get Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -19513,7 +19513,7 @@ Get Agent - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -19521,7 +19521,7 @@ Get Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -19535,7 +19535,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -19543,7 +19543,7 @@ Get Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -19557,7 +19557,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -19565,7 +19565,7 @@ Get Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -19579,7 +19579,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -19587,7 +19587,7 @@ Get Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -19601,7 +19601,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -19609,7 +19609,7 @@ Get Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -19623,7 +19623,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -19631,7 +19631,7 @@ Get Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -19645,7 +19645,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -19661,7 +19661,7 @@ Get Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -19675,7 +19675,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -19685,7 +19685,7 @@ Get Agent Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -19783,7 +19783,7 @@ Get Agent JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -19951,59 +19951,59 @@ Update Agent See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -20017,59 +20017,59 @@ Update Agent See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -20081,15 +20081,15 @@ Update Agent How hard Claude works on each turn. Higher levels favor reasoning depth over latency. Not all models accept every level; invalid combinations are rejected at create time. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `class BetaManagedAgentsEffortLow:` @@ -20129,9 +20129,9 @@ Update Agent Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `BetaManagedAgentsMultiagentParams? multiagent` @@ -20207,7 +20207,7 @@ Update Agent Configuration override for the bash tool. - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Must be "bash". @@ -20237,7 +20237,7 @@ Update Agent Configuration override for the edit tool. - - `JsonElement Name constant` + - `JsonElement Name = "edit"` Must be "edit". @@ -20263,7 +20263,7 @@ Update Agent Configuration override for the read tool. - - `JsonElement Name constant` + - `JsonElement Name = "read"` Must be "read". @@ -20289,7 +20289,7 @@ Update Agent Configuration override for the write tool. - - `JsonElement Name constant` + - `JsonElement Name = "write"` Must be "write". @@ -20315,7 +20315,7 @@ Update Agent Configuration override for the glob tool. - - `JsonElement Name constant` + - `JsonElement Name = "glob"` Must be "glob". @@ -20341,7 +20341,7 @@ Update Agent Configuration override for the grep tool. - - `JsonElement Name constant` + - `JsonElement Name = "grep"` Must be "grep". @@ -20367,7 +20367,7 @@ Update Agent Configuration override for the web_fetch tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Must be "web_fetch". @@ -20407,7 +20407,7 @@ Update Agent Configuration override for the web_search tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Must be "web_search". @@ -20441,7 +20441,7 @@ Update Agent Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -20559,7 +20559,7 @@ Update Agent JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -20583,93 +20583,93 @@ Update Agent Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -20713,59 +20713,59 @@ Update Agent See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -20811,9 +20811,9 @@ Update Agent Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsMultiagent? Multiagent` @@ -20885,7 +20885,7 @@ Update Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -20903,7 +20903,7 @@ Update Agent - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -20911,7 +20911,7 @@ Update Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -20925,7 +20925,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -20933,7 +20933,7 @@ Update Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -20947,7 +20947,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -20955,7 +20955,7 @@ Update Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -20969,7 +20969,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -20977,7 +20977,7 @@ Update Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -20991,7 +20991,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -20999,7 +20999,7 @@ Update Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -21013,7 +21013,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -21021,7 +21021,7 @@ Update Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -21035,7 +21035,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -21051,7 +21051,7 @@ Update Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -21065,7 +21065,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -21075,7 +21075,7 @@ Update Agent Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -21173,7 +21173,7 @@ Update Agent JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -21307,93 +21307,93 @@ Archive Agent Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -21437,59 +21437,59 @@ Archive Agent See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -21535,9 +21535,9 @@ Archive Agent Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsMultiagent? Multiagent` @@ -21609,7 +21609,7 @@ Archive Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -21627,7 +21627,7 @@ Archive Agent - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -21635,7 +21635,7 @@ Archive Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -21649,7 +21649,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -21657,7 +21657,7 @@ Archive Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -21671,7 +21671,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -21679,7 +21679,7 @@ Archive Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -21693,7 +21693,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -21701,7 +21701,7 @@ Archive Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -21715,7 +21715,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -21723,7 +21723,7 @@ Archive Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -21737,7 +21737,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -21745,7 +21745,7 @@ Archive Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -21759,7 +21759,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -21775,7 +21775,7 @@ Archive Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -21789,7 +21789,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -21799,7 +21799,7 @@ Archive Agent Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -21897,7 +21897,7 @@ Archive Agent JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -22043,93 +22043,93 @@ List Agent Versions Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -22173,59 +22173,59 @@ List Agent Versions See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -22271,9 +22271,9 @@ List Agent Versions Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsMultiagent? Multiagent` @@ -22345,7 +22345,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -22363,7 +22363,7 @@ List Agent Versions - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -22371,7 +22371,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -22385,7 +22385,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -22393,7 +22393,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -22407,7 +22407,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -22415,7 +22415,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -22429,7 +22429,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -22437,7 +22437,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -22451,7 +22451,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -22459,7 +22459,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -22473,7 +22473,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -22481,7 +22481,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -22495,7 +22495,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -22511,7 +22511,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -22525,7 +22525,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -22535,7 +22535,7 @@ List Agent Versions Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -22633,7 +22633,7 @@ List Agent Versions JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -22785,7 +22785,7 @@ Create a new environment with the specified configuration. Fields default to null; on update, omitted fields preserve the existing value. - - `JsonElement Type constant` + - `JsonElement Type = "cloud"` Environment type @@ -22797,7 +22797,7 @@ Create a new environment with the specified configuration. Unrestricted network access. - - `JsonElement Type constant` + - `JsonElement Type = "unrestricted"` Network policy type @@ -22808,7 +22808,7 @@ Create a new environment with the specified configuration. Fields default to null; on update, omitted fields preserve the existing value. - - `JsonElement Type constant` + - `JsonElement Type = "limited"` Network policy type @@ -22864,7 +22864,7 @@ Create a new environment with the specified configuration. Request params for `self_hosted` environment configuration. - - `JsonElement Type constant` + - `JsonElement Type = "self_hosted"` Environment type @@ -22882,101 +22882,101 @@ Create a new environment with the specified configuration. Body param: The visibility scope for this environment. 'organization' makes the environment visible to all accounts. 'account' restricts visibility to the owning account only. Only applicable for self-hosted environments. If not specified, defaults based on organization type. - - `Organization` + - `Organization("organization")` - - `Account` + - `Account("account")` - `IReadOnlyList betas` Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -23008,7 +23008,7 @@ Create a new environment with the specified configuration. Unrestricted network access. - - `JsonElement Type constant` + - `JsonElement Type = "unrestricted"` Network policy type @@ -23028,7 +23028,7 @@ Create a new environment with the specified configuration. Specifies domains the container can reach. - - `JsonElement Type constant` + - `JsonElement Type = "limited"` Network policy type @@ -23064,7 +23064,7 @@ Create a new environment with the specified configuration. Package configuration type - - `JsonElement Type constant` + - `JsonElement Type = "cloud"` Environment type @@ -23072,7 +23072,7 @@ Create a new environment with the specified configuration. Configuration for self-hosted environments. - - `JsonElement Type constant` + - `JsonElement Type = "self_hosted"` Environment type @@ -23092,7 +23092,7 @@ Create a new environment with the specified configuration. Human-readable name for the environment - - `JsonElement Type constant` + - `JsonElement Type = "environment"` The type of object (always 'environment') @@ -23104,9 +23104,9 @@ Create a new environment with the specified configuration. The visibility scope for this environment. 'organization' means visible to all accounts. 'account' means visible only to the owning account. - - `Organization` + - `Organization("organization")` - - `Account` + - `Account("account")` #### Example @@ -23197,93 +23197,93 @@ List environments with pagination support. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -23315,7 +23315,7 @@ List environments with pagination support. Unrestricted network access. - - `JsonElement Type constant` + - `JsonElement Type = "unrestricted"` Network policy type @@ -23335,7 +23335,7 @@ List environments with pagination support. Specifies domains the container can reach. - - `JsonElement Type constant` + - `JsonElement Type = "limited"` Network policy type @@ -23371,7 +23371,7 @@ List environments with pagination support. Package configuration type - - `JsonElement Type constant` + - `JsonElement Type = "cloud"` Environment type @@ -23379,7 +23379,7 @@ List environments with pagination support. Configuration for self-hosted environments. - - `JsonElement Type constant` + - `JsonElement Type = "self_hosted"` Environment type @@ -23399,7 +23399,7 @@ List environments with pagination support. Human-readable name for the environment - - `JsonElement Type constant` + - `JsonElement Type = "environment"` The type of object (always 'environment') @@ -23411,9 +23411,9 @@ List environments with pagination support. The visibility scope for this environment. 'organization' means visible to all accounts. 'account' means visible only to the owning account. - - `Organization` + - `Organization("organization")` - - `Account` + - `Account("account")` #### Example @@ -23499,93 +23499,93 @@ Retrieve a specific environment by ID. Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -23617,7 +23617,7 @@ Retrieve a specific environment by ID. Unrestricted network access. - - `JsonElement Type constant` + - `JsonElement Type = "unrestricted"` Network policy type @@ -23637,7 +23637,7 @@ Retrieve a specific environment by ID. Specifies domains the container can reach. - - `JsonElement Type constant` + - `JsonElement Type = "limited"` Network policy type @@ -23673,7 +23673,7 @@ Retrieve a specific environment by ID. Package configuration type - - `JsonElement Type constant` + - `JsonElement Type = "cloud"` Environment type @@ -23681,7 +23681,7 @@ Retrieve a specific environment by ID. Configuration for self-hosted environments. - - `JsonElement Type constant` + - `JsonElement Type = "self_hosted"` Environment type @@ -23701,7 +23701,7 @@ Retrieve a specific environment by ID. Human-readable name for the environment - - `JsonElement Type constant` + - `JsonElement Type = "environment"` The type of object (always 'environment') @@ -23713,9 +23713,9 @@ Retrieve a specific environment by ID. The visibility scope for this environment. 'organization' means visible to all accounts. 'account' means visible only to the owning account. - - `Organization` + - `Organization("organization")` - - `Account` + - `Account("account")` #### Example @@ -23806,7 +23806,7 @@ Update an existing environment's configuration. Fields default to null; on update, omitted fields preserve the existing value. - - `JsonElement Type constant` + - `JsonElement Type = "cloud"` Environment type @@ -23818,7 +23818,7 @@ Update an existing environment's configuration. Unrestricted network access. - - `JsonElement Type constant` + - `JsonElement Type = "unrestricted"` Network policy type @@ -23829,7 +23829,7 @@ Update an existing environment's configuration. Fields default to null; on update, omitted fields preserve the existing value. - - `JsonElement Type constant` + - `JsonElement Type = "limited"` Network policy type @@ -23885,7 +23885,7 @@ Update an existing environment's configuration. Request params for `self_hosted` environment configuration. - - `JsonElement Type constant` + - `JsonElement Type = "self_hosted"` Environment type @@ -23909,101 +23909,101 @@ Update an existing environment's configuration. Body param: The visibility scope for this environment. 'organization' makes the environment visible to all accounts. 'account' restricts visibility to the owning account only. - - `Organization` + - `Organization("organization")` - - `Account` + - `Account("account")` - `IReadOnlyList betas` Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -24035,7 +24035,7 @@ Update an existing environment's configuration. Unrestricted network access. - - `JsonElement Type constant` + - `JsonElement Type = "unrestricted"` Network policy type @@ -24055,7 +24055,7 @@ Update an existing environment's configuration. Specifies domains the container can reach. - - `JsonElement Type constant` + - `JsonElement Type = "limited"` Network policy type @@ -24091,7 +24091,7 @@ Update an existing environment's configuration. Package configuration type - - `JsonElement Type constant` + - `JsonElement Type = "cloud"` Environment type @@ -24099,7 +24099,7 @@ Update an existing environment's configuration. Configuration for self-hosted environments. - - `JsonElement Type constant` + - `JsonElement Type = "self_hosted"` Environment type @@ -24119,7 +24119,7 @@ Update an existing environment's configuration. Human-readable name for the environment - - `JsonElement Type constant` + - `JsonElement Type = "environment"` The type of object (always 'environment') @@ -24131,9 +24131,9 @@ Update an existing environment's configuration. The visibility scope for this environment. 'organization' means visible to all accounts. 'account' means visible only to the owning account. - - `Organization` + - `Organization("organization")` - - `Account` + - `Account("account")` #### Example @@ -24215,93 +24215,93 @@ Delete an environment by ID. Returns a confirmation of the deletion. Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -24357,93 +24357,93 @@ Archive an environment by ID. Archived environments cannot be used to create new Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -24475,7 +24475,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Unrestricted network access. - - `JsonElement Type constant` + - `JsonElement Type = "unrestricted"` Network policy type @@ -24495,7 +24495,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Specifies domains the container can reach. - - `JsonElement Type constant` + - `JsonElement Type = "limited"` Network policy type @@ -24531,7 +24531,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Package configuration type - - `JsonElement Type constant` + - `JsonElement Type = "cloud"` Environment type @@ -24539,7 +24539,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Configuration for self-hosted environments. - - `JsonElement Type constant` + - `JsonElement Type = "self_hosted"` Environment type @@ -24559,7 +24559,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Human-readable name for the environment - - `JsonElement Type constant` + - `JsonElement Type = "environment"` The type of object (always 'environment') @@ -24571,9 +24571,9 @@ Archive an environment by ID. Archived environments cannot be used to create new The visibility scope for this environment. 'organization' means visible to all accounts. 'account' means visible only to the owning account. - - `Organization` + - `Organization("organization")` - - `Account` + - `Account("account")` #### Example @@ -24665,93 +24665,93 @@ Retrieve detailed information about a specific work item. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -24783,7 +24783,7 @@ Retrieve detailed information about a specific work item. Session identifier (e.g., 'session_...') - - `JsonElement Type constant` + - `JsonElement Type = "session"` Type of work data @@ -24811,15 +24811,15 @@ Retrieve detailed information about a specific work item. Current state of the work item - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required string? StopRequestedAt` @@ -24829,7 +24829,7 @@ Retrieve detailed information about a specific work item. RFC 3339 timestamp when work execution stopped - - `JsonElement Type constant` + - `JsonElement Type = "work"` The type of object (always 'work') @@ -24906,93 +24906,93 @@ Long poll for work items in the queue. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` - `string anthropicWorkerID` @@ -25028,7 +25028,7 @@ Long poll for work items in the queue. Session identifier (e.g., 'session_...') - - `JsonElement Type constant` + - `JsonElement Type = "session"` Type of work data @@ -25056,15 +25056,15 @@ Long poll for work items in the queue. Current state of the work item - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required string? StopRequestedAt` @@ -25074,7 +25074,7 @@ Long poll for work items in the queue. RFC 3339 timestamp when work execution stopped - - `JsonElement Type constant` + - `JsonElement Type = "work"` The type of object (always 'work') @@ -25142,93 +25142,93 @@ Acknowledge receipt of a work item, transitioning it from 'queued' to 'starting' Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -25260,7 +25260,7 @@ Acknowledge receipt of a work item, transitioning it from 'queued' to 'starting' Session identifier (e.g., 'session_...') - - `JsonElement Type constant` + - `JsonElement Type = "session"` Type of work data @@ -25288,15 +25288,15 @@ Acknowledge receipt of a work item, transitioning it from 'queued' to 'starting' Current state of the work item - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required string? StopRequestedAt` @@ -25306,7 +25306,7 @@ Acknowledge receipt of a work item, transitioning it from 'queued' to 'starting' RFC 3339 timestamp when work execution stopped - - `JsonElement Type constant` + - `JsonElement Type = "work"` The type of object (always 'work') @@ -25383,93 +25383,93 @@ Record a heartbeat for a work item to maintain the lease. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -25489,21 +25489,21 @@ Record a heartbeat for a work item to maintain the lease. Current state of the work item (active/stopping/stopped) - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required long TtlSeconds` Effective TTL applied to the lease - - `JsonElement Type constant` + - `JsonElement Type = "work_heartbeat"` The type of response @@ -25563,93 +25563,93 @@ Stop a work item, initiating graceful or forced shutdown. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -25681,7 +25681,7 @@ Stop a work item, initiating graceful or forced shutdown. Session identifier (e.g., 'session_...') - - `JsonElement Type constant` + - `JsonElement Type = "session"` Type of work data @@ -25709,15 +25709,15 @@ Stop a work item, initiating graceful or forced shutdown. Current state of the work item - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required string? StopRequestedAt` @@ -25727,7 +25727,7 @@ Stop a work item, initiating graceful or forced shutdown. RFC 3339 timestamp when work execution stopped - - `JsonElement Type constant` + - `JsonElement Type = "work"` The type of object (always 'work') @@ -25802,93 +25802,93 @@ List work items in an environment. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -25920,7 +25920,7 @@ List work items in an environment. Session identifier (e.g., 'session_...') - - `JsonElement Type constant` + - `JsonElement Type = "session"` Type of work data @@ -25948,15 +25948,15 @@ List work items in an environment. Current state of the work item - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required string? StopRequestedAt` @@ -25966,7 +25966,7 @@ List work items in an environment. RFC 3339 timestamp when work execution stopped - - `JsonElement Type constant` + - `JsonElement Type = "work"` The type of object (always 'work') @@ -26045,93 +26045,93 @@ Update work item metadata with merge semantics. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -26163,7 +26163,7 @@ Update work item metadata with merge semantics. Session identifier (e.g., 'session_...') - - `JsonElement Type constant` + - `JsonElement Type = "session"` Type of work data @@ -26191,15 +26191,15 @@ Update work item metadata with merge semantics. Current state of the work item - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required string? StopRequestedAt` @@ -26209,7 +26209,7 @@ Update work item metadata with merge semantics. RFC 3339 timestamp when work execution stopped - - `JsonElement Type constant` + - `JsonElement Type = "work"` The type of object (always 'work') @@ -26271,93 +26271,93 @@ Get statistics about the work queue for an environment. Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -26379,7 +26379,7 @@ Get statistics about the work queue for an environment. Number of work items being processed (polled but not acknowledged) - - `JsonElement Type constant` + - `JsonElement Type = "work_queue_stats"` The type of object @@ -26490,59 +26490,59 @@ Create Session See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -26556,59 +26556,59 @@ Create Session See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -26620,15 +26620,15 @@ Create Session How hard Claude works on each turn. Higher levels favor reasoning depth over latency. Not all models accept every level; invalid combinations are rejected at create time. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `class BetaManagedAgentsEffortLow:` @@ -26668,9 +26668,9 @@ Create Session Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `IReadOnlyList Skills` @@ -26736,7 +26736,7 @@ Create Session Configuration override for the bash tool. - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Must be "bash". @@ -26766,7 +26766,7 @@ Create Session Configuration override for the edit tool. - - `JsonElement Name constant` + - `JsonElement Name = "edit"` Must be "edit". @@ -26792,7 +26792,7 @@ Create Session Configuration override for the read tool. - - `JsonElement Name constant` + - `JsonElement Name = "read"` Must be "read". @@ -26818,7 +26818,7 @@ Create Session Configuration override for the write tool. - - `JsonElement Name constant` + - `JsonElement Name = "write"` Must be "write". @@ -26844,7 +26844,7 @@ Create Session Configuration override for the glob tool. - - `JsonElement Name constant` + - `JsonElement Name = "glob"` Must be "glob". @@ -26870,7 +26870,7 @@ Create Session Configuration override for the grep tool. - - `JsonElement Name constant` + - `JsonElement Name = "grep"` Must be "grep". @@ -26896,7 +26896,7 @@ Create Session Configuration override for the web_fetch tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Must be "web_fetch". @@ -26936,7 +26936,7 @@ Create Session Configuration override for the web_search tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Must be "web_search". @@ -26970,7 +26970,7 @@ Create Session Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -27088,7 +27088,7 @@ Create Session JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -27408,9 +27408,9 @@ Create Session Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -27432,93 +27432,93 @@ Create Session Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -27554,59 +27554,59 @@ Create Session See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -27652,9 +27652,9 @@ Create Session Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -27722,7 +27722,7 @@ Create Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -27740,7 +27740,7 @@ Create Session - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -27748,7 +27748,7 @@ Create Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -27762,7 +27762,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -27770,7 +27770,7 @@ Create Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -27784,7 +27784,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -27792,7 +27792,7 @@ Create Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -27806,7 +27806,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -27814,7 +27814,7 @@ Create Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -27828,7 +27828,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -27836,7 +27836,7 @@ Create Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -27850,7 +27850,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -27858,7 +27858,7 @@ Create Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -27872,7 +27872,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -27888,7 +27888,7 @@ Create Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -27902,7 +27902,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -27912,7 +27912,7 @@ Create Session Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -28010,7 +28010,7 @@ Create Session JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -28218,9 +28218,9 @@ Create Session Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` @@ -28260,13 +28260,13 @@ Create Session SessionStatus enum - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Terminated` + - `Terminated("terminated")` - `required string? Title` @@ -28626,9 +28626,9 @@ List Sessions Query param: Sort direction for results, ordered by `created_at`. Defaults to `desc` (newest first). - - `Asc` + - `Asc("asc")` - - `Desc` + - `Desc("desc")` - `string page` @@ -28638,105 +28638,105 @@ List Sessions Query param: Filter by session status. Repeat the parameter to match any of multiple statuses. - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Terminated` + - `Terminated("terminated")` - `IReadOnlyList betas` Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -28772,59 +28772,59 @@ List Sessions See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -28870,9 +28870,9 @@ List Sessions Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -28940,7 +28940,7 @@ List Sessions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -28958,7 +28958,7 @@ List Sessions - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -28966,7 +28966,7 @@ List Sessions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -28980,7 +28980,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -28988,7 +28988,7 @@ List Sessions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -29002,7 +29002,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -29010,7 +29010,7 @@ List Sessions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -29024,7 +29024,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -29032,7 +29032,7 @@ List Sessions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -29046,7 +29046,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -29054,7 +29054,7 @@ List Sessions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -29068,7 +29068,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -29076,7 +29076,7 @@ List Sessions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -29090,7 +29090,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -29106,7 +29106,7 @@ List Sessions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -29120,7 +29120,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -29130,7 +29130,7 @@ List Sessions Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -29228,7 +29228,7 @@ List Sessions JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -29436,9 +29436,9 @@ List Sessions Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` @@ -29478,13 +29478,13 @@ List Sessions SessionStatus enum - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Terminated` + - `Terminated("terminated")` - `required string? Title` @@ -29800,93 +29800,93 @@ Get Session Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -29922,59 +29922,59 @@ Get Session See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -30020,9 +30020,9 @@ Get Session Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -30090,7 +30090,7 @@ Get Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -30108,7 +30108,7 @@ Get Session - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -30116,7 +30116,7 @@ Get Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -30130,7 +30130,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -30138,7 +30138,7 @@ Get Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -30152,7 +30152,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -30160,7 +30160,7 @@ Get Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -30174,7 +30174,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -30182,7 +30182,7 @@ Get Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -30196,7 +30196,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -30204,7 +30204,7 @@ Get Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -30218,7 +30218,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -30226,7 +30226,7 @@ Get Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -30240,7 +30240,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -30256,7 +30256,7 @@ Get Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -30270,7 +30270,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -30280,7 +30280,7 @@ Get Session Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -30378,7 +30378,7 @@ Get Session JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -30586,9 +30586,9 @@ Get Session Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` @@ -30628,13 +30628,13 @@ Get Session SessionStatus enum - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Terminated` + - `Terminated("terminated")` - `required string? Title` @@ -30967,93 +30967,93 @@ Update Session Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -31089,59 +31089,59 @@ Update Session See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -31187,9 +31187,9 @@ Update Session Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -31257,7 +31257,7 @@ Update Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -31275,7 +31275,7 @@ Update Session - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -31283,7 +31283,7 @@ Update Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -31297,7 +31297,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -31305,7 +31305,7 @@ Update Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -31319,7 +31319,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -31327,7 +31327,7 @@ Update Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -31341,7 +31341,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -31349,7 +31349,7 @@ Update Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -31363,7 +31363,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -31371,7 +31371,7 @@ Update Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -31385,7 +31385,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -31393,7 +31393,7 @@ Update Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -31407,7 +31407,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -31423,7 +31423,7 @@ Update Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -31437,7 +31437,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -31447,7 +31447,7 @@ Update Session Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -31545,7 +31545,7 @@ Update Session JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -31753,9 +31753,9 @@ Update Session Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` @@ -31795,13 +31795,13 @@ Update Session SessionStatus enum - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Terminated` + - `Terminated("terminated")` - `required string? Title` @@ -32112,93 +32112,93 @@ Delete Session Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -32252,93 +32252,93 @@ Archive Session Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -32374,59 +32374,59 @@ Archive Session See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -32472,9 +32472,9 @@ Archive Session Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -32542,7 +32542,7 @@ Archive Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -32560,7 +32560,7 @@ Archive Session - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -32568,7 +32568,7 @@ Archive Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -32582,7 +32582,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -32590,7 +32590,7 @@ Archive Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -32604,7 +32604,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -32612,7 +32612,7 @@ Archive Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -32626,7 +32626,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -32634,7 +32634,7 @@ Archive Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -32648,7 +32648,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -32656,7 +32656,7 @@ Archive Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -32670,7 +32670,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -32678,7 +32678,7 @@ Archive Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -32692,7 +32692,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -32708,7 +32708,7 @@ Archive Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -32722,7 +32722,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -32732,7 +32732,7 @@ Archive Session Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -32830,7 +32830,7 @@ Archive Session JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -33038,9 +33038,9 @@ Archive Session Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` @@ -33080,13 +33080,13 @@ Archive Session SessionStatus enum - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Terminated` + - `Terminated("terminated")` - `required string? Title` @@ -33429,9 +33429,9 @@ List Events Query param: Sort direction for results, ordered by the event's `processed_at`. Defaults to `asc` (chronological). - - `Asc` + - `Asc("asc")` - - `Desc` + - `Desc("desc")` - `string page` @@ -33445,93 +33445,93 @@ List Events Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -33737,9 +33737,9 @@ List Events UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -33949,11 +33949,11 @@ List Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -34031,11 +34031,11 @@ List Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -34655,9 +34655,9 @@ List Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `class BetaManagedAgentsSpanModelRequestStartEvent:` @@ -35005,59 +35005,59 @@ List Events See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -35103,9 +35103,9 @@ List Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -35173,7 +35173,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -35191,7 +35191,7 @@ List Events - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -35199,7 +35199,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -35213,7 +35213,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -35221,7 +35221,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -35235,7 +35235,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -35243,7 +35243,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -35257,7 +35257,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -35265,7 +35265,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -35279,7 +35279,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -35287,7 +35287,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -35301,7 +35301,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -35309,7 +35309,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -35323,7 +35323,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -35339,7 +35339,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -35353,7 +35353,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -35363,7 +35363,7 @@ List Events Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -35461,7 +35461,7 @@ List Events JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -35898,9 +35898,9 @@ Send Events UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -36086,93 +36086,93 @@ Send Events Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -36382,9 +36382,9 @@ Send Events UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -36688,101 +36688,101 @@ Stream Events Query param: When set, this connection also receives streaming deltas (`event_start`, `event_delta`) while an event is being produced, before the event itself arrives. Deltas are best-effort; when the final event is produced it carries the complete content. A model request that ends early (an error or interrupt) produces no final event — its terminal `span.model_request_end` closes the preview. Accepts one or more event types to preview and may be repeated: `agent.message` streams `content_delta` fragments; `agent.thinking` is start-only — a signal that the agent has begun extended thinking, concluded by the `agent.thinking` event itself. Only previews of the requested event types are sent. - - `AgentMessage` + - `AgentMessage("agent.message")` - - `AgentThinking` + - `AgentThinking("agent.thinking")` - `IReadOnlyList betas` Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -36988,9 +36988,9 @@ Stream Events UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -37200,11 +37200,11 @@ Stream Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -37282,11 +37282,11 @@ Stream Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -37906,9 +37906,9 @@ Stream Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `class BetaManagedAgentsSpanModelRequestStartEvent:` @@ -38256,59 +38256,59 @@ Stream Events See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -38354,9 +38354,9 @@ Stream Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -38424,7 +38424,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -38442,7 +38442,7 @@ Stream Events - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -38450,7 +38450,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -38464,7 +38464,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -38472,7 +38472,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -38486,7 +38486,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -38494,7 +38494,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -38508,7 +38508,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -38516,7 +38516,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -38530,7 +38530,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -38538,7 +38538,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -38552,7 +38552,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -38560,7 +38560,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -38574,7 +38574,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -38590,7 +38590,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -38604,7 +38604,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -38614,7 +38614,7 @@ Stream Events Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -38712,7 +38712,7 @@ Stream Events JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -39022,7 +39022,7 @@ Add Session Resource Body param - - `File` + - `File("file")` - `string? mountPath` @@ -39034,93 +39034,93 @@ Add Session Resource Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -39204,93 +39204,93 @@ List Session Resources Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -39378,9 +39378,9 @@ List Session Resources Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` @@ -39469,93 +39469,93 @@ Get Session Resource Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -39643,9 +39643,9 @@ Get Session Resource Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` @@ -39726,93 +39726,93 @@ Update Session Resource Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -39900,9 +39900,9 @@ Update Session Resource Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` @@ -39978,93 +39978,93 @@ Delete Session Resource Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -40131,93 +40131,93 @@ List Session Threads Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -40259,59 +40259,59 @@ List Session Threads See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -40357,9 +40357,9 @@ List Session Threads Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required string Name` @@ -40399,7 +40399,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -40417,7 +40417,7 @@ List Session Threads - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -40425,7 +40425,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -40439,7 +40439,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -40447,7 +40447,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -40461,7 +40461,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -40469,7 +40469,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -40483,7 +40483,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -40491,7 +40491,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -40505,7 +40505,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -40513,7 +40513,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -40527,7 +40527,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -40535,7 +40535,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -40549,7 +40549,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -40565,7 +40565,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -40579,7 +40579,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -40589,7 +40589,7 @@ List Session Threads Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -40687,7 +40687,7 @@ List Session Threads JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -40759,13 +40759,13 @@ List Session Threads SessionThreadStatus enum - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Terminated` + - `Terminated("terminated")` - `required Type Type` @@ -40980,93 +40980,93 @@ Get Session Thread Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -41108,59 +41108,59 @@ Get Session Thread See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -41206,9 +41206,9 @@ Get Session Thread Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required string Name` @@ -41248,7 +41248,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -41266,7 +41266,7 @@ Get Session Thread - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -41274,7 +41274,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -41288,7 +41288,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -41296,7 +41296,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -41310,7 +41310,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -41318,7 +41318,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -41332,7 +41332,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -41340,7 +41340,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -41354,7 +41354,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -41362,7 +41362,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -41376,7 +41376,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -41384,7 +41384,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -41398,7 +41398,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -41414,7 +41414,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -41428,7 +41428,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -41438,7 +41438,7 @@ Get Session Thread Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -41536,7 +41536,7 @@ Get Session Thread JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -41608,13 +41608,13 @@ Get Session Thread SessionThreadStatus enum - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Terminated` + - `Terminated("terminated")` - `required Type Type` @@ -41823,93 +41823,93 @@ Archive Session Thread Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -41951,59 +41951,59 @@ Archive Session Thread See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -42049,9 +42049,9 @@ Archive Session Thread Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required string Name` @@ -42091,7 +42091,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -42109,7 +42109,7 @@ Archive Session Thread - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -42117,7 +42117,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -42131,7 +42131,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -42139,7 +42139,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -42153,7 +42153,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -42161,7 +42161,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -42175,7 +42175,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -42183,7 +42183,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -42197,7 +42197,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -42205,7 +42205,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -42219,7 +42219,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -42227,7 +42227,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -42241,7 +42241,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -42257,7 +42257,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -42271,7 +42271,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -42281,7 +42281,7 @@ Archive Session Thread Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -42379,7 +42379,7 @@ Archive Session Thread JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -42451,13 +42451,13 @@ Archive Session Thread SessionThreadStatus enum - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Terminated` + - `Terminated("terminated")` - `required Type Type` @@ -42678,93 +42678,93 @@ List Session Thread Events Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -42970,9 +42970,9 @@ List Session Thread Events UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -43182,11 +43182,11 @@ List Session Thread Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -43264,11 +43264,11 @@ List Session Thread Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -43888,9 +43888,9 @@ List Session Thread Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `class BetaManagedAgentsSpanModelRequestStartEvent:` @@ -44238,59 +44238,59 @@ List Session Thread Events See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -44336,9 +44336,9 @@ List Session Thread Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -44406,7 +44406,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -44424,7 +44424,7 @@ List Session Thread Events - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -44432,7 +44432,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -44446,7 +44446,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -44454,7 +44454,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -44468,7 +44468,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -44476,7 +44476,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -44490,7 +44490,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -44498,7 +44498,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -44512,7 +44512,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -44520,7 +44520,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -44534,7 +44534,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -44542,7 +44542,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -44556,7 +44556,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -44572,7 +44572,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -44586,7 +44586,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -44596,7 +44596,7 @@ List Session Thread Events Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -44694,7 +44694,7 @@ List Session Thread Events JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -44951,101 +44951,101 @@ Stream Session Thread Events Query param: When set, this connection also receives streaming deltas (`event_start`, `event_delta`) while an event is being produced, before the event itself arrives. Deltas are best-effort; when the final event is produced it carries the complete content. A model request that ends early (an error or interrupt) produces no final event — its terminal `span.model_request_end` closes the preview. Accepts one or more event types to preview and may be repeated: `agent.message` streams `content_delta` fragments; `agent.thinking` is start-only — a signal that the agent has begun extended thinking, concluded by the `agent.thinking` event itself. Only previews of the requested event types are sent. - - `AgentMessage` + - `AgentMessage("agent.message")` - - `AgentThinking` + - `AgentThinking("agent.thinking")` - `IReadOnlyList betas` Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -45251,9 +45251,9 @@ Stream Session Thread Events UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -45463,11 +45463,11 @@ Stream Session Thread Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -45545,11 +45545,11 @@ Stream Session Thread Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -46169,9 +46169,9 @@ Stream Session Thread Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `class BetaManagedAgentsSpanModelRequestStartEvent:` @@ -46519,59 +46519,59 @@ Stream Session Thread Events See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -46617,9 +46617,9 @@ Stream Session Thread Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -46687,7 +46687,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -46705,7 +46705,7 @@ Stream Session Thread Events - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -46713,7 +46713,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -46727,7 +46727,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -46735,7 +46735,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -46749,7 +46749,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -46757,7 +46757,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -46771,7 +46771,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -46779,7 +46779,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -46793,7 +46793,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -46801,7 +46801,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -46815,7 +46815,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -46823,7 +46823,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -46837,7 +46837,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -46853,7 +46853,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -46867,7 +46867,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -46877,7 +46877,7 @@ Stream Session Thread Events Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -46975,7 +46975,7 @@ Stream Session Thread Events JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -47626,9 +47626,9 @@ Create Deployment Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -47648,93 +47648,93 @@ Create Deployment Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -48178,9 +48178,9 @@ Create Deployment Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -48218,9 +48218,9 @@ Create Deployment Lifecycle status of a deployment. - - `Active` + - `Active("active")` - - `Paused` + - `Paused("paused")` - `required Type Type` @@ -48399,93 +48399,93 @@ List Deployments Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -48929,9 +48929,9 @@ List Deployments Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -48969,9 +48969,9 @@ List Deployments Lifecycle status of a deployment. - - `Active` + - `Active("active")` - - `Paused` + - `Paused("paused")` - `required Type Type` @@ -49107,93 +49107,93 @@ Get Deployment Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -49637,9 +49637,9 @@ Get Deployment Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -49677,9 +49677,9 @@ Get Deployment Lifecycle status of a deployment. - - `Active` + - `Active("active")` - - `Paused` + - `Paused("paused")` - `required Type Type` @@ -50161,9 +50161,9 @@ Update Deployment Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -50183,93 +50183,93 @@ Update Deployment Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -50713,9 +50713,9 @@ Update Deployment Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -50753,9 +50753,9 @@ Update Deployment Lifecycle status of a deployment. - - `Active` + - `Active("active")` - - `Paused` + - `Paused("paused")` - `required Type Type` @@ -50887,93 +50887,93 @@ Archive Deployment Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -51417,9 +51417,9 @@ Archive Deployment Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -51457,9 +51457,9 @@ Archive Deployment Lifecycle status of a deployment. - - `Active` + - `Active("active")` - - `Paused` + - `Paused("paused")` - `required Type Type` @@ -51591,93 +51591,93 @@ Run Deployment Now Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -51961,93 +51961,93 @@ Pause Deployment Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -52491,9 +52491,9 @@ Pause Deployment Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -52531,9 +52531,9 @@ Pause Deployment Lifecycle status of a deployment. - - `Active` + - `Active("active")` - - `Paused` + - `Paused("paused")` - `required Type Type` @@ -52665,93 +52665,93 @@ Unpause Deployment Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -53195,9 +53195,9 @@ Unpause Deployment Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -53235,9 +53235,9 @@ Unpause Deployment Lifecycle status of a deployment. - - `Active` + - `Active("active")` - - `Paused` + - `Paused("paused")` - `required Type Type` @@ -53413,93 +53413,93 @@ List Deployment Runs Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -53787,93 +53787,93 @@ Get Deployment Run Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -54165,93 +54165,93 @@ Create Vault Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -54347,93 +54347,93 @@ List Vaults Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -54526,93 +54526,93 @@ Get Vault Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -54711,93 +54711,93 @@ Update Vault Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -54886,93 +54886,93 @@ Delete Vault Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -55028,93 +55028,93 @@ Archive Vault Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -55379,93 +55379,93 @@ Create Credential Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -55697,93 +55697,93 @@ List Credentials Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -56006,93 +56006,93 @@ Get Credential Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -56441,93 +56441,93 @@ Update Credential Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -56744,93 +56744,93 @@ Delete Credential Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -56891,93 +56891,93 @@ Archive Credential Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -57194,93 +57194,93 @@ Validate Credential Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -57338,23 +57338,23 @@ Validate Credential Outcome of a refresh-token exchange attempted during credential validation. - - `Succeeded` + - `Succeeded("succeeded")` - - `Failed` + - `Failed("failed")` - - `ConnectError` + - `ConnectError("connect_error")` - - `NoRefreshToken` + - `NoRefreshToken("no_refresh_token")` - `required BetaManagedAgentsCredentialValidationStatus Status` Overall verdict of a credential validation probe. - - `Valid` + - `Valid("valid")` - - `Invalid` + - `Invalid("invalid")` - - `Unknown` + - `Unknown("unknown")` - `required Type Type` @@ -57447,93 +57447,93 @@ Create a memory store Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -57646,93 +57646,93 @@ List memory stores Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -57830,93 +57830,93 @@ Retrieve a memory store Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -58026,93 +58026,93 @@ Update a memory store Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -58206,93 +58206,93 @@ Delete a memory store Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -58348,93 +58348,93 @@ Archive a memory store Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -58544,93 +58544,93 @@ Create a memory Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -58758,93 +58758,93 @@ List memories Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -58972,93 +58972,93 @@ Retrieve a memory Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -59183,93 +59183,93 @@ Update a memory Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -59380,93 +59380,93 @@ Delete a memory Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -59571,93 +59571,93 @@ List memory versions Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -59687,11 +59687,11 @@ List memory versions The kind of mutation a `memory_version` records. Every non-no-op mutation to a memory appends exactly one version row with one of these values. - - `Created` + - `Created("created")` - - `Modified` + - `Modified("modified")` - - `Deleted` + - `Deleted("deleted")` - `required Type Type` @@ -59759,7 +59759,7 @@ List memory versions minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "service_account_actor"` - `string? Path` @@ -59849,93 +59849,93 @@ Retrieve a memory version Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -59965,11 +59965,11 @@ Retrieve a memory version The kind of mutation a `memory_version` records. Every non-no-op mutation to a memory appends exactly one version row with one of these values. - - `Created` + - `Created("created")` - - `Modified` + - `Modified("modified")` - - `Deleted` + - `Deleted("deleted")` - `required Type Type` @@ -60037,7 +60037,7 @@ Retrieve a memory version minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "service_account_actor"` - `string? Path` @@ -60117,93 +60117,93 @@ Redact a memory version Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -60233,11 +60233,11 @@ Redact a memory version The kind of mutation a `memory_version` records. Every non-no-op mutation to a memory appends exactly one version row with one of these values. - - `Created` + - `Created("created")` - - `Modified` + - `Modified("modified")` - - `Deleted` + - `Deleted("deleted")` - `required Type Type` @@ -60305,7 +60305,7 @@ Redact a memory version minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "service_account_actor"` - `string? Path` @@ -60391,93 +60391,93 @@ Upload File Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -60513,7 +60513,7 @@ Upload File minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "file"` Object type. @@ -60537,7 +60537,7 @@ Upload File The ID of the scoping resource (e.g., the session ID). - - `JsonElement Type constant` + - `JsonElement Type = "session"` The type of scope (e.g., `"session"`). @@ -60609,93 +60609,93 @@ List Files Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -60731,7 +60731,7 @@ List Files minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "file"` Object type. @@ -60755,7 +60755,7 @@ List Files The ID of the scoping resource (e.g., the session ID). - - `JsonElement Type constant` + - `JsonElement Type = "session"` The type of scope (e.g., `"session"`). @@ -60815,93 +60815,93 @@ Download File Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Example @@ -60933,93 +60933,93 @@ Get File Metadata Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -61055,7 +61055,7 @@ Get File Metadata minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "file"` Object type. @@ -61079,7 +61079,7 @@ Get File Metadata The ID of the scoping resource (e.g., the session ID). - - `JsonElement Type constant` + - `JsonElement Type = "session"` The type of scope (e.g., `"session"`). @@ -61132,93 +61132,93 @@ Delete File Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -61283,93 +61283,93 @@ Create Skill Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -61419,15 +61419,15 @@ Create Skill * `"anthropic_example"`: Anthropic-published sample Skill * `"plugin"`: resolved from an installed plugin - - `Custom` + - `Custom("custom")` - - `Anthropic` + - `Anthropic("anthropic")` - - `AnthropicExample` + - `AnthropicExample("anthropic_example")` - - `Plugin` + - `Plugin("plugin")` - - `JsonElement Type constant` + - `JsonElement Type = "skill"` Object type. @@ -61510,93 +61510,93 @@ List Skills Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -61646,15 +61646,15 @@ List Skills * `"anthropic_example"`: Anthropic-published sample Skill * `"plugin"`: resolved from an installed plugin - - `Custom` + - `Custom("custom")` - - `Anthropic` + - `Anthropic("anthropic")` - - `AnthropicExample` + - `AnthropicExample("anthropic_example")` - - `Plugin` + - `Plugin("plugin")` - - `JsonElement Type constant` + - `JsonElement Type = "skill"` Object type. @@ -61721,93 +61721,93 @@ Get Skill Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -61857,15 +61857,15 @@ Get Skill * `"anthropic_example"`: Anthropic-published sample Skill * `"plugin"`: resolved from an installed plugin - - `Custom` + - `Custom("custom")` - - `Anthropic` + - `Anthropic("anthropic")` - - `AnthropicExample` + - `AnthropicExample("anthropic_example")` - - `Plugin` + - `Plugin("plugin")` - - `JsonElement Type constant` + - `JsonElement Type = "skill"` Object type. @@ -61925,93 +61925,93 @@ Delete Skill Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -62023,7 +62023,7 @@ Delete Skill The format and length of IDs may change over time. - - `JsonElement Type constant` + - `JsonElement Type = "skill_deleted"` Deleted object type. @@ -62078,93 +62078,93 @@ Create Skill Version Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -62200,7 +62200,7 @@ Create Skill Version The format and length of IDs may change over time. - - `JsonElement Type constant` + - `JsonElement Type = "skill_version"` Object type. @@ -62270,93 +62270,93 @@ List Skill Versions Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -62392,7 +62392,7 @@ List Skill Versions The format and length of IDs may change over time. - - `JsonElement Type constant` + - `JsonElement Type = "skill_version"` Object type. @@ -62456,93 +62456,93 @@ Download a skill version's content as a zip archive. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Example @@ -62586,93 +62586,93 @@ Get Skill Version Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -62708,7 +62708,7 @@ Get Skill Version The format and length of IDs may change over time. - - `JsonElement Type constant` + - `JsonElement Type = "skill_version"` Object type. @@ -62769,93 +62769,93 @@ Delete Skill Version Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -62866,7 +62866,7 @@ Delete Skill Version Unique identifier for this Skill Version. The id addresses the version in paths and pins it in references. - - `JsonElement Type constant` + - `JsonElement Type = "skill_version_deleted"` Deleted object type. @@ -62913,9 +62913,9 @@ Create User Profile Body param: How the platform uses the API on behalf of the entity this profile represents. `application`: the platform sells a product that uses the API behind the scenes, and the profile represents an individual end-user of that product. `passthrough`: the platform resells raw inference, and the profile identifies the resold-to company. - - `Application` + - `Application("application")` - - `Passthrough` + - `Passthrough("passthrough")` - `string? externalID` @@ -62943,93 +62943,93 @@ Create User Profile Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -63057,11 +63057,11 @@ Create User Profile Status of the trust grant. - - `Active` + - `Active("active")` - - `Pending` + - `Pending("pending")` - - `Rejected` + - `Rejected("rejected")` - `required Type Type` @@ -63077,9 +63077,9 @@ Create User Profile How the platform uses the API on behalf of the entity this profile represents. `application`: the platform sells a product that uses the API behind the scenes, and the profile represents an individual end-user of that product. `passthrough`: the platform resells raw inference, and the profile identifies the resold-to company. - - `Application` + - `Application("application")` - - `Passthrough` + - `Passthrough("passthrough")` - `string? ExternalID` @@ -63148,17 +63148,17 @@ List User Profiles Query param: Query parameter for order - - `Asc` + - `Asc("asc")` - - `Desc` + - `Desc("desc")` - `OrderBy orderBy` Query param: Query parameter for order_by - - `CreatedAt` + - `CreatedAt("created_at")` - - `Name` + - `Name("name")` - `string page` @@ -63168,93 +63168,93 @@ List User Profiles Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -63282,11 +63282,11 @@ List User Profiles Status of the trust grant. - - `Active` + - `Active("active")` - - `Pending` + - `Pending("pending")` - - `Rejected` + - `Rejected("rejected")` - `required Type Type` @@ -63302,9 +63302,9 @@ List User Profiles How the platform uses the API on behalf of the entity this profile represents. `application`: the platform sells a product that uses the API behind the scenes, and the profile represents an individual end-user of that product. `passthrough`: the platform resells raw inference, and the profile identifies the resold-to company. - - `Application` + - `Application("application")` - - `Passthrough` + - `Passthrough("passthrough")` - `string? ExternalID` @@ -63378,93 +63378,93 @@ Get User Profile Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -63492,11 +63492,11 @@ Get User Profile Status of the trust grant. - - `Active` + - `Active("active")` - - `Pending` + - `Pending("pending")` - - `Rejected` + - `Rejected("rejected")` - `required Type Type` @@ -63512,9 +63512,9 @@ Get User Profile How the platform uses the API on behalf of the entity this profile represents. `application`: the platform sells a product that uses the API behind the scenes, and the profile represents an individual end-user of that product. `passthrough`: the platform resells raw inference, and the profile identifies the resold-to company. - - `Application` + - `Application("application")` - - `Passthrough` + - `Passthrough("passthrough")` - `string? ExternalID` @@ -63584,9 +63584,9 @@ Update User Profile Body param: How the platform uses the API on behalf of the entity this profile represents. `application`: the platform sells a product that uses the API behind the scenes, and the profile represents an individual end-user of that product. `passthrough`: the platform resells raw inference, and the profile identifies the resold-to company. - - `Application` + - `Application("application")` - - `Passthrough` + - `Passthrough("passthrough")` - `string? externalID` @@ -63614,93 +63614,93 @@ Update User Profile Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -63728,11 +63728,11 @@ Update User Profile Status of the trust grant. - - `Active` + - `Active("active")` - - `Pending` + - `Pending("pending")` - - `Rejected` + - `Rejected("rejected")` - `required Type Type` @@ -63748,9 +63748,9 @@ Update User Profile How the platform uses the API on behalf of the entity this profile represents. `application`: the platform sells a product that uses the API behind the scenes, and the profile represents an individual end-user of that product. `passthrough`: the platform resells raw inference, and the profile identifies the resold-to company. - - `Application` + - `Application("application")` - - `Passthrough` + - `Passthrough("passthrough")` - `string? ExternalID` @@ -63820,93 +63820,93 @@ Create Enrollment URL Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -64005,9 +64005,9 @@ Create a Dream Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `string? instructions` @@ -64023,93 +64023,93 @@ Create a Dream Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -64181,9 +64181,9 @@ Create a Dream Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaOutputBehavior OutputBehavior` @@ -64217,15 +64217,15 @@ Create a Dream Lifecycle status of a Dream. - - `Pending` + - `Pending("pending")` - - `Running` + - `Running("running")` - - `Completed` + - `Completed("completed")` - - `Failed` + - `Failed("failed")` - - `Canceled` + - `Canceled("canceled")` - `required Type Type` @@ -64364,107 +64364,107 @@ List Dreams Query param: Filter by lifecycle status. Repeat the parameter to match any of multiple statuses. Empty applies no status filter. - - `Pending` + - `Pending("pending")` - - `Running` + - `Running("running")` - - `Completed` + - `Completed("completed")` - - `Failed` + - `Failed("failed")` - - `Canceled` + - `Canceled("canceled")` - `IReadOnlyList betas` Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -64536,9 +64536,9 @@ List Dreams Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaOutputBehavior OutputBehavior` @@ -64572,15 +64572,15 @@ List Dreams Lifecycle status of a Dream. - - `Pending` + - `Pending("pending")` - - `Running` + - `Running("running")` - - `Completed` + - `Completed("completed")` - - `Failed` + - `Failed("failed")` - - `Canceled` + - `Canceled("canceled")` - `required Type Type` @@ -64693,93 +64693,93 @@ Get a Dream Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -64851,9 +64851,9 @@ Get a Dream Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaOutputBehavior OutputBehavior` @@ -64887,15 +64887,15 @@ Get a Dream Lifecycle status of a Dream. - - `Pending` + - `Pending("pending")` - - `Running` + - `Running("running")` - - `Completed` + - `Completed("completed")` - - `Failed` + - `Failed("failed")` - - `Canceled` + - `Canceled("canceled")` - `required Type Type` @@ -65001,93 +65001,93 @@ Cancel a Dream Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -65159,9 +65159,9 @@ Cancel a Dream Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaOutputBehavior OutputBehavior` @@ -65195,15 +65195,15 @@ Cancel a Dream Lifecycle status of a Dream. - - `Pending` + - `Pending("pending")` - - `Running` + - `Running("running")` - - `Completed` + - `Completed("completed")` - - `Failed` + - `Failed("failed")` - - `Canceled` + - `Canceled("canceled")` - `required Type Type` @@ -65309,93 +65309,93 @@ Archive a Dream Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -65467,9 +65467,9 @@ Archive a Dream Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaOutputBehavior OutputBehavior` @@ -65503,15 +65503,15 @@ Archive a Dream Lifecycle status of a Dream. - - `Pending` + - `Pending("pending")` - - `Running` + - `Running("running")` - - `Completed` + - `Completed("completed")` - - `Failed` + - `Failed("failed")` - - `Canceled` + - `Canceled("canceled")` - `required Type Type` @@ -65623,93 +65623,93 @@ Creates a tunnel. Creation allocates a fresh hostname and provisions the tunnel; Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -65741,7 +65741,7 @@ Creates a tunnel. Creation allocates a fresh hostname and provisions the tunnel; Anthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel"` #### Example @@ -65788,93 +65788,93 @@ Fetches a tunnel by ID. Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -65906,7 +65906,7 @@ Fetches a tunnel by ID. Anthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel"` #### Example @@ -65963,93 +65963,93 @@ Lists tunnels. Results are ordered by creation time, newest first; archived tunn Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -66081,7 +66081,7 @@ Lists tunnels. Results are ordered by creation time, newest first; archived tunn Anthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel"` #### Example @@ -66135,93 +66135,93 @@ Archives a tunnel. Archival is irreversible: every non-archived certificate on t Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -66253,7 +66253,7 @@ Archives a tunnel. Archival is irreversible: every non-archived certificate on t Anthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel"` #### Example @@ -66300,93 +66300,93 @@ Reveals a tunnel's connector token. The value is fetched live on each call; Anth Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -66402,7 +66402,7 @@ Reveals a tunnel's connector token. The value is fetched live on each call; Anth The connector token used to run the tunnel. Treat as a credential. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel_token"` #### Example @@ -66452,93 +66452,93 @@ Rotates a tunnel's connector token. Rotation invalidates the current token for n Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -66554,7 +66554,7 @@ Rotates a tunnel's connector token. Rotation invalidates the current token for n The connector token used to run the tunnel. Treat as a credential. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel_token"` #### Example @@ -66606,93 +66606,93 @@ Registers a public CA certificate on a tunnel. Anthropic verifies the gateway's Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -66730,7 +66730,7 @@ Registers a public CA certificate on a tunnel. Anthropic verifies the gateway's ID of the tunnel the certificate is registered against. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel_certificate"` #### Example @@ -66786,93 +66786,93 @@ Fetches a tunnel certificate by ID. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -66910,7 +66910,7 @@ Fetches a tunnel certificate by ID. ID of the tunnel the certificate is registered against. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel_certificate"` #### Example @@ -66976,93 +66976,93 @@ Lists the certificates registered on a tunnel. Archived certificates are exclude Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -67100,7 +67100,7 @@ Lists the certificates registered on a tunnel. Archived certificates are exclude ID of the tunnel the certificate is registered against. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel_certificate"` #### Example @@ -67159,93 +67159,93 @@ Archives a tunnel certificate, removing it from the set Anthropic trusts for the Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -67283,7 +67283,7 @@ Archives a tunnel certificate, removing it from the set Anthropic trusts for the ID of the tunnel the certificate is registered against. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel_certificate"` #### Example @@ -67341,7 +67341,7 @@ Retrieve information about the organization associated with the authenticated AP Name of the Organization. - - `JsonElement Type constant` + - `JsonElement Type = "organization"` Object type. @@ -67405,13 +67405,13 @@ List API Keys Filter by API key status. - - `Active` + - `Active("active")` - - `Archived` + - `Archived("archived")` - - `Expired` + - `Expired("expired")` - - `Inactive` + - `Inactive("inactive")` - `string? workspaceID` @@ -67445,9 +67445,9 @@ List API Keys Type of the actor that created the object. - - `ServiceAccount` + - `ServiceAccount("service_account")` - - `User` + - `User("user")` - `required DateTimeOffset? ExpiresAt` @@ -67469,7 +67469,7 @@ List API Keys - `class BetaApiKeyUserActor:` - - `JsonElement Type constant` + - `JsonElement Type = "user_actor"` Principal type. Always `"user_actor"` for a User. @@ -67483,7 +67483,7 @@ List API Keys ID of the Service Account the API key acts as. - - `JsonElement Type constant` + - `JsonElement Type = "service_account_actor"` Principal type. Always `"service_account_actor"` for a Service Account. @@ -67493,13 +67493,13 @@ List API Keys - `class BetaApiKeyOrganizationScope:` - - `JsonElement Type constant` + - `JsonElement Type = "organization"` Scope type. Always `"organization"`: the API key has no Workspace. Only a principal-bound API key can have this scope. - `class BetaApiKeyWorkspaceScope:` - - `JsonElement Type constant` + - `JsonElement Type = "workspace"` Scope type. Always `"workspace"`: the API key belongs to one Workspace. @@ -67511,15 +67511,15 @@ List API Keys Status of the API key. - - `Active` + - `Active("active")` - - `Archived` + - `Archived("archived")` - - `Expired` + - `Expired("expired")` - - `Inactive` + - `Inactive("inactive")` - - `JsonElement Type constant` + - `JsonElement Type = "api_key"` Object type. @@ -67621,9 +67621,9 @@ Get API Key Type of the actor that created the object. - - `ServiceAccount` + - `ServiceAccount("service_account")` - - `User` + - `User("user")` - `required DateTimeOffset? ExpiresAt` @@ -67645,7 +67645,7 @@ Get API Key - `class BetaApiKeyUserActor:` - - `JsonElement Type constant` + - `JsonElement Type = "user_actor"` Principal type. Always `"user_actor"` for a User. @@ -67659,7 +67659,7 @@ Get API Key ID of the Service Account the API key acts as. - - `JsonElement Type constant` + - `JsonElement Type = "service_account_actor"` Principal type. Always `"service_account_actor"` for a Service Account. @@ -67669,13 +67669,13 @@ Get API Key - `class BetaApiKeyOrganizationScope:` - - `JsonElement Type constant` + - `JsonElement Type = "organization"` Scope type. Always `"organization"`: the API key has no Workspace. Only a principal-bound API key can have this scope. - `class BetaApiKeyWorkspaceScope:` - - `JsonElement Type constant` + - `JsonElement Type = "workspace"` Scope type. Always `"workspace"`: the API key belongs to one Workspace. @@ -67687,15 +67687,15 @@ Get API Key Status of the API key. - - `Active` + - `Active("active")` - - `Archived` + - `Archived("archived")` - - `Expired` + - `Expired("expired")` - - `Inactive` + - `Inactive("inactive")` - - `JsonElement Type constant` + - `JsonElement Type = "api_key"` Object type. @@ -67770,11 +67770,11 @@ Update API Key Status of the API key. - - `Active` + - `Active("active")` - - `Archived` + - `Archived("archived")` - - `Inactive` + - `Inactive("inactive")` #### Returns @@ -67804,9 +67804,9 @@ Update API Key Type of the actor that created the object. - - `ServiceAccount` + - `ServiceAccount("service_account")` - - `User` + - `User("user")` - `required DateTimeOffset? ExpiresAt` @@ -67828,7 +67828,7 @@ Update API Key - `class BetaApiKeyUserActor:` - - `JsonElement Type constant` + - `JsonElement Type = "user_actor"` Principal type. Always `"user_actor"` for a User. @@ -67842,7 +67842,7 @@ Update API Key ID of the Service Account the API key acts as. - - `JsonElement Type constant` + - `JsonElement Type = "service_account_actor"` Principal type. Always `"service_account_actor"` for a Service Account. @@ -67852,13 +67852,13 @@ Update API Key - `class BetaApiKeyOrganizationScope:` - - `JsonElement Type constant` + - `JsonElement Type = "organization"` Scope type. Always `"organization"`: the API key has no Workspace. Only a principal-bound API key can have this scope. - `class BetaApiKeyWorkspaceScope:` - - `JsonElement Type constant` + - `JsonElement Type = "workspace"` Scope type. Always `"workspace"`: the API key belongs to one Workspace. @@ -67870,15 +67870,15 @@ Update API Key Status of the API key. - - `Active` + - `Active("active")` - - `Archived` + - `Archived("archived")` - - `Expired` + - `Expired("expired")` - - `Inactive` + - `Inactive("inactive")` - - `JsonElement Type constant` + - `JsonElement Type = "api_key"` Object type. @@ -67953,7 +67953,7 @@ Create an external key config owned by the caller's organization. maxLength: 2048 - - `JsonElement Type constant` + - `JsonElement Type = "aws"` - `string? Region` @@ -67971,7 +67971,7 @@ Create an external key config owned by the caller's organization. Full resource name of the Cloud KMS key. - - `JsonElement Type constant` + - `JsonElement Type = "gcp"` - `class BetaAzureExternalKeyConfigParam:` @@ -67985,7 +67985,7 @@ Create an external key config owned by the caller's organization. Azure AD tenant ID. - - `JsonElement Type constant` + - `JsonElement Type = "azure"` - `required string VaultUri` @@ -68005,7 +68005,7 @@ Create an external key config owned by the caller's organization. Data residency geo. Only `us` is supported. - - `Us` + - `Us("us")` #### Returns @@ -68027,11 +68027,11 @@ Create an external key config owned by the caller's organization. - `class BetaExternalKeyAttachedAttachment:` - - `JsonElement Type constant` + - `JsonElement Type = "attached"` - `class BetaExternalKeyUnattachedAttachment:` - - `JsonElement Type constant` + - `JsonElement Type = "unattached"` - `required DateTimeOffset CreatedAt` @@ -68057,7 +68057,7 @@ Create an external key config owned by the caller's organization. maxLength: 2048 - - `JsonElement Type constant` + - `JsonElement Type = "aws"` - `string? Region` @@ -68075,7 +68075,7 @@ Create an external key config owned by the caller's organization. Full resource name of the Cloud KMS key. - - `JsonElement Type constant` + - `JsonElement Type = "gcp"` - `class BetaAzureExternalKeyConfig:` @@ -68087,7 +68087,7 @@ Create an external key config owned by the caller's organization. Azure AD tenant ID. - - `JsonElement Type constant` + - `JsonElement Type = "azure"` - `required string VaultUri` @@ -68097,7 +68097,7 @@ Create an external key config owned by the caller's organization. Azure AD application (client) ID. Omit to use Anthropic's multitenant app. Provide only if using a single-tenant app registration in the customer's directory. - - `JsonElement Type constant` + - `JsonElement Type = "external_key"` - `required DateTimeOffset UpdatedAt` @@ -68188,11 +68188,11 @@ Results are ordered by creation time (newest first). Use the - `class BetaExternalKeyAttachedAttachment:` - - `JsonElement Type constant` + - `JsonElement Type = "attached"` - `class BetaExternalKeyUnattachedAttachment:` - - `JsonElement Type constant` + - `JsonElement Type = "unattached"` - `required DateTimeOffset CreatedAt` @@ -68218,7 +68218,7 @@ Results are ordered by creation time (newest first). Use the maxLength: 2048 - - `JsonElement Type constant` + - `JsonElement Type = "aws"` - `string? Region` @@ -68236,7 +68236,7 @@ Results are ordered by creation time (newest first). Use the Full resource name of the Cloud KMS key. - - `JsonElement Type constant` + - `JsonElement Type = "gcp"` - `class BetaAzureExternalKeyConfig:` @@ -68248,7 +68248,7 @@ Results are ordered by creation time (newest first). Use the Azure AD tenant ID. - - `JsonElement Type constant` + - `JsonElement Type = "azure"` - `required string VaultUri` @@ -68258,7 +68258,7 @@ Results are ordered by creation time (newest first). Use the Azure AD application (client) ID. Omit to use Anthropic's multitenant app. Provide only if using a single-tenant app registration in the customer's directory. - - `JsonElement Type constant` + - `JsonElement Type = "external_key"` - `required DateTimeOffset UpdatedAt` @@ -68341,11 +68341,11 @@ Retrieve a single external key config in the caller's organization by ID. - `class BetaExternalKeyAttachedAttachment:` - - `JsonElement Type constant` + - `JsonElement Type = "attached"` - `class BetaExternalKeyUnattachedAttachment:` - - `JsonElement Type constant` + - `JsonElement Type = "unattached"` - `required DateTimeOffset CreatedAt` @@ -68371,7 +68371,7 @@ Retrieve a single external key config in the caller's organization by ID. maxLength: 2048 - - `JsonElement Type constant` + - `JsonElement Type = "aws"` - `string? Region` @@ -68389,7 +68389,7 @@ Retrieve a single external key config in the caller's organization by ID. Full resource name of the Cloud KMS key. - - `JsonElement Type constant` + - `JsonElement Type = "gcp"` - `class BetaAzureExternalKeyConfig:` @@ -68401,7 +68401,7 @@ Retrieve a single external key config in the caller's organization by ID. Azure AD tenant ID. - - `JsonElement Type constant` + - `JsonElement Type = "azure"` - `required string VaultUri` @@ -68411,7 +68411,7 @@ Retrieve a single external key config in the caller's organization by ID. Azure AD application (client) ID. Omit to use Anthropic's multitenant app. Provide only if using a single-tenant app registration in the customer's directory. - - `JsonElement Type constant` + - `JsonElement Type = "external_key"` - `required DateTimeOffset UpdatedAt` @@ -68484,7 +68484,7 @@ encrypted data requires the original key identity to decrypt. Data residency geo. Only `us` is supported. - - `Us` + - `Us("us")` - `ProviderConfig? providerConfig` @@ -68498,7 +68498,7 @@ encrypted data requires the original key identity to decrypt. maxLength: 2048 - - `JsonElement Type constant` + - `JsonElement Type = "aws"` - `string? Region` @@ -68516,7 +68516,7 @@ encrypted data requires the original key identity to decrypt. Full resource name of the Cloud KMS key. - - `JsonElement Type constant` + - `JsonElement Type = "gcp"` - `class BetaAzureExternalKeyConfigParam:` @@ -68530,7 +68530,7 @@ encrypted data requires the original key identity to decrypt. Azure AD tenant ID. - - `JsonElement Type constant` + - `JsonElement Type = "azure"` - `required string VaultUri` @@ -68560,11 +68560,11 @@ encrypted data requires the original key identity to decrypt. - `class BetaExternalKeyAttachedAttachment:` - - `JsonElement Type constant` + - `JsonElement Type = "attached"` - `class BetaExternalKeyUnattachedAttachment:` - - `JsonElement Type constant` + - `JsonElement Type = "unattached"` - `required DateTimeOffset CreatedAt` @@ -68590,7 +68590,7 @@ encrypted data requires the original key identity to decrypt. maxLength: 2048 - - `JsonElement Type constant` + - `JsonElement Type = "aws"` - `string? Region` @@ -68608,7 +68608,7 @@ encrypted data requires the original key identity to decrypt. Full resource name of the Cloud KMS key. - - `JsonElement Type constant` + - `JsonElement Type = "gcp"` - `class BetaAzureExternalKeyConfig:` @@ -68620,7 +68620,7 @@ encrypted data requires the original key identity to decrypt. Azure AD tenant ID. - - `JsonElement Type constant` + - `JsonElement Type = "azure"` - `required string VaultUri` @@ -68630,7 +68630,7 @@ encrypted data requires the original key identity to decrypt. Azure AD application (client) ID. Omit to use Anthropic's multitenant app. Provide only if using a single-tenant app registration in the customer's directory. - - `JsonElement Type constant` + - `JsonElement Type = "external_key"` - `required DateTimeOffset UpdatedAt` @@ -68699,7 +68699,7 @@ The request is rejected if any workspace still references this config. ID of the deleted External Key. - - `JsonElement Type constant` + - `JsonElement Type = "external_key_deleted"` #### Example @@ -68763,11 +68763,11 @@ message if it failed or timed out. `success` — encrypt/decrypt roundtrip succeeded. `failure` — the roundtrip failed or timed out; see `error`. - - `Failure` + - `Failure("failure")` - - `Success` + - `Success("success")` - - `JsonElement Type constant` + - `JsonElement Type = "external_key_validation"` #### Example @@ -68842,7 +68842,7 @@ matched as the JWT's `iss` claim and is not fetched. JWKS via the issuer's OIDC discovery document. - - `JsonElement Type constant` + - `JsonElement Type = "discovery"` - `string? CACertPem` @@ -68858,7 +68858,7 @@ matched as the JWT's `iss` claim and is not fetched. JWKS fetched from a fixed endpoint. - - `JsonElement Type constant` + - `JsonElement Type = "explicit_url"` - `required string Url` @@ -68882,7 +68882,7 @@ matched as the JWT's `iss` claim and is not fetched. minItems: 1 - - `JsonElement Type constant` + - `JsonElement Type = "inline"` - `long? maxJwtLifetimeSeconds` @@ -68894,93 +68894,93 @@ matched as the JWT's `iss` claim and is not fetched. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -69031,7 +69031,7 @@ matched as the JWT's `iss` claim and is not fetched. JWKS via the issuer's OIDC discovery document. - - `JsonElement Type constant` + - `JsonElement Type = "discovery"` - `string? CACertPem` @@ -69047,7 +69047,7 @@ matched as the JWT's `iss` claim and is not fetched. JWKS fetched from a fixed endpoint. - - `JsonElement Type constant` + - `JsonElement Type = "explicit_url"` - `required string Url` @@ -69071,7 +69071,7 @@ matched as the JWT's `iss` claim and is not fetched. minItems: 1 - - `JsonElement Type constant` + - `JsonElement Type = "inline"` - `required DateTimeOffset? JwksPollingDisabledAt` @@ -69111,7 +69111,7 @@ matched as the JWT's `iss` claim and is not fetched. format: date-time - - `JsonElement Type constant` + - `JsonElement Type = "federation_issuer"` - `required DateTimeOffset UpdatedAt` @@ -69201,93 +69201,93 @@ Archived issuers are excluded unless `include_archived=true`. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -69338,7 +69338,7 @@ Archived issuers are excluded unless `include_archived=true`. JWKS via the issuer's OIDC discovery document. - - `JsonElement Type constant` + - `JsonElement Type = "discovery"` - `string? CACertPem` @@ -69354,7 +69354,7 @@ Archived issuers are excluded unless `include_archived=true`. JWKS fetched from a fixed endpoint. - - `JsonElement Type constant` + - `JsonElement Type = "explicit_url"` - `required string Url` @@ -69378,7 +69378,7 @@ Archived issuers are excluded unless `include_archived=true`. minItems: 1 - - `JsonElement Type constant` + - `JsonElement Type = "inline"` - `required DateTimeOffset? JwksPollingDisabledAt` @@ -69418,7 +69418,7 @@ Archived issuers are excluded unless `include_archived=true`. format: date-time - - `JsonElement Type constant` + - `JsonElement Type = "federation_issuer"` - `required DateTimeOffset UpdatedAt` @@ -69499,93 +69499,93 @@ Retrieve a federation issuer by its ID (`fdis_...`). Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -69636,7 +69636,7 @@ Retrieve a federation issuer by its ID (`fdis_...`). JWKS via the issuer's OIDC discovery document. - - `JsonElement Type constant` + - `JsonElement Type = "discovery"` - `string? CACertPem` @@ -69652,7 +69652,7 @@ Retrieve a federation issuer by its ID (`fdis_...`). JWKS fetched from a fixed endpoint. - - `JsonElement Type constant` + - `JsonElement Type = "explicit_url"` - `required string Url` @@ -69676,7 +69676,7 @@ Retrieve a federation issuer by its ID (`fdis_...`). minItems: 1 - - `JsonElement Type constant` + - `JsonElement Type = "inline"` - `required DateTimeOffset? JwksPollingDisabledAt` @@ -69716,7 +69716,7 @@ Retrieve a federation issuer by its ID (`fdis_...`). format: date-time - - `JsonElement Type constant` + - `JsonElement Type = "federation_issuer"` - `required DateTimeOffset UpdatedAt` @@ -69814,7 +69814,7 @@ session. JWKS via the issuer's OIDC discovery document. - - `JsonElement Type constant` + - `JsonElement Type = "discovery"` - `string? CACertPem` @@ -69830,7 +69830,7 @@ session. JWKS fetched from a fixed endpoint. - - `JsonElement Type constant` + - `JsonElement Type = "explicit_url"` - `required string Url` @@ -69854,7 +69854,7 @@ session. minItems: 1 - - `JsonElement Type constant` + - `JsonElement Type = "inline"` - `bool? jwksPollingDisabled` @@ -69876,93 +69876,93 @@ session. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -70013,7 +70013,7 @@ session. JWKS via the issuer's OIDC discovery document. - - `JsonElement Type constant` + - `JsonElement Type = "discovery"` - `string? CACertPem` @@ -70029,7 +70029,7 @@ session. JWKS fetched from a fixed endpoint. - - `JsonElement Type constant` + - `JsonElement Type = "explicit_url"` - `required string Url` @@ -70053,7 +70053,7 @@ session. minItems: 1 - - `JsonElement Type constant` + - `JsonElement Type = "inline"` - `required DateTimeOffset? JwksPollingDisabledAt` @@ -70093,7 +70093,7 @@ session. format: date-time - - `JsonElement Type constant` + - `JsonElement Type = "federation_issuer"` - `required DateTimeOffset UpdatedAt` @@ -70175,93 +70175,93 @@ issuer cannot be changed), or recreate them against another issuer. Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -70312,7 +70312,7 @@ issuer cannot be changed), or recreate them against another issuer. JWKS via the issuer's OIDC discovery document. - - `JsonElement Type constant` + - `JsonElement Type = "discovery"` - `string? CACertPem` @@ -70328,7 +70328,7 @@ issuer cannot be changed), or recreate them against another issuer. JWKS fetched from a fixed endpoint. - - `JsonElement Type constant` + - `JsonElement Type = "explicit_url"` - `required string Url` @@ -70352,7 +70352,7 @@ issuer cannot be changed), or recreate them against another issuer. minItems: 1 - - `JsonElement Type constant` + - `JsonElement Type = "inline"` - `required DateTimeOffset? JwksPollingDisabledAt` @@ -70392,7 +70392,7 @@ issuer cannot be changed), or recreate them against another issuer. format: date-time - - `JsonElement Type constant` + - `JsonElement Type = "federation_issuer"` - `required DateTimeOffset UpdatedAt` @@ -70529,93 +70529,93 @@ manage rules whose `oauth_scope` is `workspace:developer` or Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -70718,7 +70718,7 @@ manage rules whose `oauth_scope` is `workspace:developer` or Tagged ID of the service account to mint tokens for. - - `JsonElement Type constant` + - `JsonElement Type = "service_account"` - `string? ServiceAccountName` @@ -70728,7 +70728,7 @@ manage rules whose `oauth_scope` is `workspace:developer` or Lifetime in seconds of access tokens minted via this rule. Minted tokens are capped at `max(60, min(this value, 2 × remaining assertion validity))` seconds. - - `JsonElement Type constant` + - `JsonElement Type = "federation_rule"` - `required DateTimeOffset UpdatedAt` @@ -70856,93 +70856,93 @@ unless `include_archived=true`. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -71045,7 +71045,7 @@ unless `include_archived=true`. Tagged ID of the service account to mint tokens for. - - `JsonElement Type constant` + - `JsonElement Type = "service_account"` - `string? ServiceAccountName` @@ -71055,7 +71055,7 @@ unless `include_archived=true`. Lifetime in seconds of access tokens minted via this rule. Minted tokens are capped at `max(60, min(this value, 2 × remaining assertion validity))` seconds. - - `JsonElement Type constant` + - `JsonElement Type = "federation_rule"` - `required DateTimeOffset UpdatedAt` @@ -71156,93 +71156,93 @@ Retrieve a federation rule by its ID (`fdrl_...`). Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -71345,7 +71345,7 @@ Retrieve a federation rule by its ID (`fdrl_...`). Tagged ID of the service account to mint tokens for. - - `JsonElement Type constant` + - `JsonElement Type = "service_account"` - `string? ServiceAccountName` @@ -71355,7 +71355,7 @@ Retrieve a federation rule by its ID (`fdrl_...`). Lifetime in seconds of access tokens minted via this rule. Minted tokens are capped at `max(60, min(this value, 2 × remaining assertion validity))` seconds. - - `JsonElement Type constant` + - `JsonElement Type = "federation_rule"` - `required DateTimeOffset UpdatedAt` @@ -71516,93 +71516,93 @@ Console session. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -71705,7 +71705,7 @@ Console session. Tagged ID of the service account to mint tokens for. - - `JsonElement Type constant` + - `JsonElement Type = "service_account"` - `string? ServiceAccountName` @@ -71715,7 +71715,7 @@ Console session. Lifetime in seconds of access tokens minted via this rule. Minted tokens are capped at `max(60, min(this value, 2 × remaining assertion validity))` seconds. - - `JsonElement Type constant` + - `JsonElement Type = "federation_rule"` - `required DateTimeOffset UpdatedAt` @@ -71817,93 +71817,93 @@ other scopes require a Console session. Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -72006,7 +72006,7 @@ other scopes require a Console session. Tagged ID of the service account to mint tokens for. - - `JsonElement Type constant` + - `JsonElement Type = "service_account"` - `string? ServiceAccountName` @@ -72016,7 +72016,7 @@ other scopes require a Console session. Lifetime in seconds of access tokens minted via this rule. Minted tokens are capped at `max(60, min(this value, 2 × remaining assertion validity))` seconds. - - `JsonElement Type constant` + - `JsonElement Type = "federation_rule"` - `required DateTimeOffset UpdatedAt` @@ -72128,93 +72128,93 @@ other scopes require a Console session. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -72234,7 +72234,7 @@ other scopes require a Console session. Tagged ID of the federation rule. - - `JsonElement Type constant` + - `JsonElement Type = "federation_rule_workspace"` - `required string WorkspaceID` @@ -72309,93 +72309,93 @@ rules with `applies_to_all_workspaces` or a legacy single Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -72415,7 +72415,7 @@ rules with `applies_to_all_workspaces` or a legacy single Tagged ID of the federation rule. - - `JsonElement Type constant` + - `JsonElement Type = "federation_rule_workspace"` - `required string WorkspaceID` @@ -72489,93 +72489,93 @@ Console session. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -72585,7 +72585,7 @@ Console session. Tagged ID of the federation rule. - - `JsonElement Type constant` + - `JsonElement Type = "federation_rule_workspace_deleted"` - `required string WorkspaceID` @@ -72643,15 +72643,15 @@ On plans that draw members from a finite pool of purchased seats, the invite aut The accepted values depend on the organization type. Console and API organizations accept `user`, `developer`, `billing`, and `claude_code_user`; `admin` cannot be assigned through the API. Claude Enterprise organizations accept `user` and `managed`. - - `Billing` + - `Billing("billing")` - - `ClaudeCodeUser` + - `ClaudeCodeUser("claude_code_user")` - - `Developer` + - `Developer("developer")` - - `Managed` + - `Managed("managed")` - - `User` + - `User("user")` - `IReadOnlyList rbacGroupIds` @@ -72697,37 +72697,37 @@ On plans that draw members from a finite pool of purchased seats, the invite aut Organization role of the User. - - `Admin` + - `Admin("admin")` - - `Billing` + - `Billing("billing")` - - `ClaudeCodeUser` + - `ClaudeCodeUser("claude_code_user")` - - `Developer` + - `Developer("developer")` - - `Managed` + - `Managed("managed")` - - `MembershipAdmin` + - `MembershipAdmin("membership_admin")` - - `Owner` + - `Owner("owner")` - - `PrimaryOwner` + - `PrimaryOwner("primary_owner")` - - `User` + - `User("user")` - `required Status Status` Status of the Invite. - - `Accepted` + - `Accepted("accepted")` - - `Deleted` + - `Deleted("deleted")` - - `Expired` + - `Expired("expired")` - - `Pending` + - `Pending("pending")` - - `JsonElement Type constant` + - `JsonElement Type = "invite"` Object type. @@ -72809,11 +72809,11 @@ List the organization's invites. Filter by Invite status. Repeatable; values are OR'ed together. Omit to return `pending`, `accepted`, and `expired` Invites alike. - - `Accepted` + - `Accepted("accepted")` - - `Expired` + - `Expired("expired")` - - `Pending` + - `Pending("pending")` #### Returns @@ -72853,37 +72853,37 @@ List the organization's invites. Organization role of the User. - - `Admin` + - `Admin("admin")` - - `Billing` + - `Billing("billing")` - - `ClaudeCodeUser` + - `ClaudeCodeUser("claude_code_user")` - - `Developer` + - `Developer("developer")` - - `Managed` + - `Managed("managed")` - - `MembershipAdmin` + - `MembershipAdmin("membership_admin")` - - `Owner` + - `Owner("owner")` - - `PrimaryOwner` + - `PrimaryOwner("primary_owner")` - - `User` + - `User("user")` - `required Status Status` Status of the Invite. - - `Accepted` + - `Accepted("accepted")` - - `Deleted` + - `Deleted("deleted")` - - `Expired` + - `Expired("expired")` - - `Pending` + - `Pending("pending")` - - `JsonElement Type constant` + - `JsonElement Type = "invite"` Object type. @@ -72980,37 +72980,37 @@ Retrieve an invite by ID. Organization role of the User. - - `Admin` + - `Admin("admin")` - - `Billing` + - `Billing("billing")` - - `ClaudeCodeUser` + - `ClaudeCodeUser("claude_code_user")` - - `Developer` + - `Developer("developer")` - - `Managed` + - `Managed("managed")` - - `MembershipAdmin` + - `MembershipAdmin("membership_admin")` - - `Owner` + - `Owner("owner")` - - `PrimaryOwner` + - `PrimaryOwner("primary_owner")` - - `User` + - `User("user")` - `required Status Status` Status of the Invite. - - `Accepted` + - `Accepted("accepted")` - - `Deleted` + - `Deleted("deleted")` - - `Expired` + - `Expired("expired")` - - `Pending` + - `Pending("pending")` - - `JsonElement Type constant` + - `JsonElement Type = "invite"` Object type. @@ -73068,7 +73068,7 @@ Delete a pending invite. ID of the Invite. - - `JsonElement Type constant` + - `JsonElement Type = "invite_deleted"` Deleted object type. @@ -73133,101 +73133,101 @@ accounts. Body param: Org-level role. Defaults to `developer`. - - `Admin` + - `Admin("admin")` - - `Developer` + - `Developer("developer")` - `IReadOnlyList betas` Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -73274,11 +73274,11 @@ accounts. Org-level role. A federation rule may only be created or retargeted to grant `org:admin` scope when this is `admin`. A rule granting `org:admin` whose target is later demoted to `developer` is rejected at token exchange. Rules granting `org:admin` are managed in the Console. - - `Admin` + - `Admin("admin")` - - `Developer` + - `Developer("developer")` - - `JsonElement Type constant` + - `JsonElement Type = "service_account"` - `required DateTimeOffset UpdatedAt` @@ -73354,93 +73354,93 @@ archived service accounts. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -73487,11 +73487,11 @@ archived service accounts. Org-level role. A federation rule may only be created or retargeted to grant `org:admin` scope when this is `admin`. A rule granting `org:admin` whose target is later demoted to `developer` is rejected at token exchange. Rules granting `org:admin` are managed in the Console. - - `Admin` + - `Admin("admin")` - - `Developer` + - `Developer("developer")` - - `JsonElement Type constant` + - `JsonElement Type = "service_account"` - `required DateTimeOffset UpdatedAt` @@ -73560,93 +73560,93 @@ Retrieve a service account by its ID (`svac_...`). Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -73693,11 +73693,11 @@ Retrieve a service account by its ID (`svac_...`). Org-level role. A federation rule may only be created or retargeted to grant `org:admin` scope when this is `admin`. A rule granting `org:admin` whose target is later demoted to `developer` is rejected at token exchange. Rules granting `org:admin` are managed in the Console. - - `Admin` + - `Admin("admin")` - - `Developer` + - `Developer("developer")` - - `JsonElement Type constant` + - `JsonElement Type = "service_account"` - `required DateTimeOffset UpdatedAt` @@ -73773,101 +73773,101 @@ interactive credential (a user OAuth token or a Console session). Body param: Replaces the org-level role. Omit or send `null` to leave unchanged. - - `Admin` + - `Admin("admin")` - - `Developer` + - `Developer("developer")` - `IReadOnlyList betas` Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -73914,11 +73914,11 @@ interactive credential (a user OAuth token or a Console session). Org-level role. A federation rule may only be created or retargeted to grant `org:admin` scope when this is `admin`. A rule granting `org:admin` whose target is later demoted to `developer` is rejected at token exchange. Rules granting `org:admin` are managed in the Console. - - `Admin` + - `Admin("admin")` - - `Developer` + - `Developer("developer")` - - `JsonElement Type constant` + - `JsonElement Type = "service_account"` - `required DateTimeOffset UpdatedAt` @@ -73988,93 +73988,93 @@ those rules first or change their target to another service account. Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -74121,11 +74121,11 @@ those rules first or change their target to another service account. Org-level role. A federation rule may only be created or retargeted to grant `org:admin` scope when this is `admin`. A rule granting `org:admin` whose target is later demoted to `developer` is rejected at token exchange. Rules granting `org:admin` are managed in the Console. - - `Admin` + - `Admin("admin")` - - `Developer` + - `Developer("developer")` - - `JsonElement Type constant` + - `JsonElement Type = "service_account"` - `required DateTimeOffset UpdatedAt` @@ -74207,93 +74207,93 @@ rejected. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -74311,7 +74311,7 @@ rejected. Tagged service account ID (`svac_...`). - - `JsonElement Type constant` + - `JsonElement Type = "service_account_workspace_member"` - `required string WorkspaceID` @@ -74321,15 +74321,15 @@ rejected. Role of the service account in this workspace. Service accounts cannot hold the `workspace_billing` role. - - `WorkspaceAdmin` + - `WorkspaceAdmin("workspace_admin")` - - `WorkspaceBilling` + - `WorkspaceBilling("workspace_billing")` - - `WorkspaceDeveloper` + - `WorkspaceDeveloper("workspace_developer")` - - `WorkspaceRestrictedDeveloper` + - `WorkspaceRestrictedDeveloper("workspace_restricted_developer")` - - `WorkspaceUser` + - `WorkspaceUser("workspace_user")` #### Example @@ -74405,93 +74405,93 @@ page to recover. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -74509,7 +74509,7 @@ page to recover. Tagged service account ID (`svac_...`). - - `JsonElement Type constant` + - `JsonElement Type = "service_account_workspace_member"` - `required string WorkspaceID` @@ -74519,15 +74519,15 @@ page to recover. Role of the service account in this workspace. Service accounts cannot hold the `workspace_billing` role. - - `WorkspaceAdmin` + - `WorkspaceAdmin("workspace_admin")` - - `WorkspaceBilling` + - `WorkspaceBilling("workspace_billing")` - - `WorkspaceDeveloper` + - `WorkspaceDeveloper("workspace_developer")` - - `WorkspaceRestrictedDeveloper` + - `WorkspaceRestrictedDeveloper("workspace_restricted_developer")` - - `WorkspaceUser` + - `WorkspaceUser("workspace_user")` #### Example @@ -74596,93 +74596,93 @@ to the implicit `workspace_user` membership. Archived workspaces return Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -74692,7 +74692,7 @@ to the implicit `workspace_user` membership. Archived workspaces return Tagged service account ID (`svac_...`) named in the delete request. Removal is idempotent; see the endpoint description for the implicit-membership no-op. - - `JsonElement Type constant` + - `JsonElement Type = "service_account_workspace_member_deleted"` - `required string WorkspaceID` @@ -74790,25 +74790,25 @@ List the organization's members. Organization role of the User. - - `Admin` + - `Admin("admin")` - - `Billing` + - `Billing("billing")` - - `ClaudeCodeUser` + - `ClaudeCodeUser("claude_code_user")` - - `Developer` + - `Developer("developer")` - - `Managed` + - `Managed("managed")` - - `MembershipAdmin` + - `MembershipAdmin("membership_admin")` - - `Owner` + - `Owner("owner")` - - `PrimaryOwner` + - `PrimaryOwner("primary_owner")` - - `User` + - `User("user")` - - `JsonElement Type constant` + - `JsonElement Type = "user"` Object type. @@ -74888,25 +74888,25 @@ Retrieve a member of the organization by user ID. Organization role of the User. - - `Admin` + - `Admin("admin")` - - `Billing` + - `Billing("billing")` - - `ClaudeCodeUser` + - `ClaudeCodeUser("claude_code_user")` - - `Developer` + - `Developer("developer")` - - `Managed` + - `Managed("managed")` - - `MembershipAdmin` + - `MembershipAdmin("membership_admin")` - - `Owner` + - `Owner("owner")` - - `PrimaryOwner` + - `PrimaryOwner("primary_owner")` - - `User` + - `User("user")` - - `JsonElement Type constant` + - `JsonElement Type = "user"` Object type. @@ -74957,15 +74957,15 @@ Update a member's organization role. The accepted values depend on the organization type. Console and API organizations accept `user`, `developer`, `billing`, and `claude_code_user`; `admin` cannot be assigned through the API. Claude Enterprise organizations accept `user` and `managed`. - - `Billing` + - `Billing("billing")` - - `ClaudeCodeUser` + - `ClaudeCodeUser("claude_code_user")` - - `Developer` + - `Developer("developer")` - - `Managed` + - `Managed("managed")` - - `User` + - `User("user")` #### Returns @@ -74993,25 +74993,25 @@ Update a member's organization role. Organization role of the User. - - `Admin` + - `Admin("admin")` - - `Billing` + - `Billing("billing")` - - `ClaudeCodeUser` + - `ClaudeCodeUser("claude_code_user")` - - `Developer` + - `Developer("developer")` - - `Managed` + - `Managed("managed")` - - `MembershipAdmin` + - `MembershipAdmin("membership_admin")` - - `Owner` + - `Owner("owner")` - - `PrimaryOwner` + - `PrimaryOwner("primary_owner")` - - `User` + - `User("user")` - - `JsonElement Type constant` + - `JsonElement Type = "user"` Object type. @@ -75068,7 +75068,7 @@ Remove a member from the organization. ID of the User. - - `JsonElement Type constant` + - `JsonElement Type = "user_deleted"` Deleted object type. @@ -75207,7 +75207,7 @@ List Workspaces User-defined tags as string key-value pairs. Keys may not begin with `anthropic`. - - `JsonElement Type constant` + - `JsonElement Type = "workspace"` Object type. @@ -75306,93 +75306,93 @@ Create Workspace Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -75474,7 +75474,7 @@ Create Workspace User-defined tags as string key-value pairs. Keys may not begin with `anthropic`. - - `JsonElement Type constant` + - `JsonElement Type = "workspace"` Object type. @@ -75610,7 +75610,7 @@ Get Workspace User-defined tags as string key-value pairs. Keys may not begin with `anthropic`. - - `JsonElement Type constant` + - `JsonElement Type = "workspace"` Object type. @@ -75778,7 +75778,7 @@ Update Workspace User-defined tags as string key-value pairs. Keys may not begin with `anthropic`. - - `JsonElement Type constant` + - `JsonElement Type = "workspace"` Object type. @@ -75912,7 +75912,7 @@ Archive Workspace User-defined tags as string key-value pairs. Keys may not begin with `anthropic`. - - `JsonElement Type constant` + - `JsonElement Type = "workspace"` Object type. @@ -75982,17 +75982,17 @@ the remaining entries. Filter by group type. - - `Batch` + - `Batch("batch")` - - `Files` + - `Files("files")` - - `ModelGroup` + - `ModelGroup("model_group")` - - `Skills` + - `Skills("skills")` - - `TokenCount` + - `TokenCount("token_count")` - - `WebSearch` + - `WebSearch("web_search")` - `long? limit` @@ -76014,17 +76014,17 @@ the remaining entries. The kind of rate-limit group this entry represents. `model_group` entries apply to a family of models (listed in `models`); other values apply to an API-surface category and have `models` set to `null`. - - `Batch` + - `Batch("batch")` - - `Files` + - `Files("files")` - - `ModelGroup` + - `ModelGroup("model_group")` - - `Skills` + - `Skills("skills")` - - `TokenCount` + - `TokenCount("token_count")` - - `WebSearch` + - `WebSearch("web_search")` - `required IReadOnlyList Limits` @@ -76050,7 +76050,7 @@ the remaining entries. The `id` of the RateLimit group this override applies to. - - `JsonElement Type constant` + - `JsonElement Type = "workspace_rate_limit"` Object type. Always `workspace_rate_limit` for workspace rate-limit entries. @@ -76134,7 +76134,7 @@ List Workspace Members - `class BetaWorkspaceMember:` - - `JsonElement Type constant` + - `JsonElement Type = "workspace_member"` Object type. @@ -76152,15 +76152,15 @@ List Workspace Members Role of the Workspace Member. - - `WorkspaceAdmin` + - `WorkspaceAdmin("workspace_admin")` - - `WorkspaceBilling` + - `WorkspaceBilling("workspace_billing")` - - `WorkspaceDeveloper` + - `WorkspaceDeveloper("workspace_developer")` - - `WorkspaceRestrictedDeveloper` + - `WorkspaceRestrictedDeveloper("workspace_restricted_developer")` - - `WorkspaceUser` + - `WorkspaceUser("workspace_user")` #### Example @@ -76220,7 +76220,7 @@ Create Workspace Member - `class BetaWorkspaceMember:` - - `JsonElement Type constant` + - `JsonElement Type = "workspace_member"` Object type. @@ -76238,15 +76238,15 @@ Create Workspace Member Role of the Workspace Member. - - `WorkspaceAdmin` + - `WorkspaceAdmin("workspace_admin")` - - `WorkspaceBilling` + - `WorkspaceBilling("workspace_billing")` - - `WorkspaceDeveloper` + - `WorkspaceDeveloper("workspace_developer")` - - `WorkspaceRestrictedDeveloper` + - `WorkspaceRestrictedDeveloper("workspace_restricted_developer")` - - `WorkspaceUser` + - `WorkspaceUser("workspace_user")` #### Example @@ -76298,7 +76298,7 @@ Get Workspace Member - `class BetaWorkspaceMember:` - - `JsonElement Type constant` + - `JsonElement Type = "workspace_member"` Object type. @@ -76316,15 +76316,15 @@ Get Workspace Member Role of the Workspace Member. - - `WorkspaceAdmin` + - `WorkspaceAdmin("workspace_admin")` - - `WorkspaceBilling` + - `WorkspaceBilling("workspace_billing")` - - `WorkspaceDeveloper` + - `WorkspaceDeveloper("workspace_developer")` - - `WorkspaceRestrictedDeveloper` + - `WorkspaceRestrictedDeveloper("workspace_restricted_developer")` - - `WorkspaceUser` + - `WorkspaceUser("workspace_user")` #### Example @@ -76379,7 +76379,7 @@ Update Workspace Member - `class BetaWorkspaceMember:` - - `JsonElement Type constant` + - `JsonElement Type = "workspace_member"` Object type. @@ -76397,15 +76397,15 @@ Update Workspace Member Role of the Workspace Member. - - `WorkspaceAdmin` + - `WorkspaceAdmin("workspace_admin")` - - `WorkspaceBilling` + - `WorkspaceBilling("workspace_billing")` - - `WorkspaceDeveloper` + - `WorkspaceDeveloper("workspace_developer")` - - `WorkspaceRestrictedDeveloper` + - `WorkspaceRestrictedDeveloper("workspace_restricted_developer")` - - `WorkspaceUser` + - `WorkspaceUser("workspace_user")` #### Example @@ -76457,7 +76457,7 @@ Delete Workspace Member - `class MemberRemoveResponse:` - - `JsonElement Type constant` + - `JsonElement Type = "workspace_member_deleted"` Deleted object type. @@ -76536,93 +76536,93 @@ omitted from the results. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -76640,7 +76640,7 @@ omitted from the results. Tagged service account ID (`svac_...`). - - `JsonElement Type constant` + - `JsonElement Type = "service_account_workspace_member"` - `required string WorkspaceID` @@ -76650,15 +76650,15 @@ omitted from the results. Role of the service account in this workspace. Service accounts cannot hold the `workspace_billing` role. - - `WorkspaceAdmin` + - `WorkspaceAdmin("workspace_admin")` - - `WorkspaceBilling` + - `WorkspaceBilling("workspace_billing")` - - `WorkspaceDeveloper` + - `WorkspaceDeveloper("workspace_developer")` - - `WorkspaceRestrictedDeveloper` + - `WorkspaceRestrictedDeveloper("workspace_restricted_developer")` - - `WorkspaceUser` + - `WorkspaceUser("workspace_user")` #### Example @@ -76729,93 +76729,93 @@ accounts cannot be added and are rejected. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -76833,7 +76833,7 @@ accounts cannot be added and are rejected. Tagged service account ID (`svac_...`). - - `JsonElement Type constant` + - `JsonElement Type = "service_account_workspace_member"` - `required string WorkspaceID` @@ -76843,15 +76843,15 @@ accounts cannot be added and are rejected. Role of the service account in this workspace. Service accounts cannot hold the `workspace_billing` role. - - `WorkspaceAdmin` + - `WorkspaceAdmin("workspace_admin")` - - `WorkspaceBilling` + - `WorkspaceBilling("workspace_billing")` - - `WorkspaceDeveloper` + - `WorkspaceDeveloper("workspace_developer")` - - `WorkspaceRestrictedDeveloper` + - `WorkspaceRestrictedDeveloper("workspace_restricted_developer")` - - `WorkspaceUser` + - `WorkspaceUser("workspace_user")` #### Example @@ -76914,93 +76914,93 @@ account returns 404. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -77018,7 +77018,7 @@ account returns 404. Tagged service account ID (`svac_...`). - - `JsonElement Type constant` + - `JsonElement Type = "service_account_workspace_member"` - `required string WorkspaceID` @@ -77028,15 +77028,15 @@ account returns 404. Role of the service account in this workspace. Service accounts cannot hold the `workspace_billing` role. - - `WorkspaceAdmin` + - `WorkspaceAdmin("workspace_admin")` - - `WorkspaceBilling` + - `WorkspaceBilling("workspace_billing")` - - `WorkspaceDeveloper` + - `WorkspaceDeveloper("workspace_developer")` - - `WorkspaceRestrictedDeveloper` + - `WorkspaceRestrictedDeveloper("workspace_restricted_developer")` - - `WorkspaceUser` + - `WorkspaceUser("workspace_user")` #### Example @@ -77102,93 +77102,93 @@ rejected. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -77206,7 +77206,7 @@ rejected. Tagged service account ID (`svac_...`). - - `JsonElement Type constant` + - `JsonElement Type = "service_account_workspace_member"` - `required string WorkspaceID` @@ -77216,15 +77216,15 @@ rejected. Role of the service account in this workspace. Service accounts cannot hold the `workspace_billing` role. - - `WorkspaceAdmin` + - `WorkspaceAdmin("workspace_admin")` - - `WorkspaceBilling` + - `WorkspaceBilling("workspace_billing")` - - `WorkspaceDeveloper` + - `WorkspaceDeveloper("workspace_developer")` - - `WorkspaceRestrictedDeveloper` + - `WorkspaceRestrictedDeveloper("workspace_restricted_developer")` - - `WorkspaceUser` + - `WorkspaceUser("workspace_user")` #### Example @@ -77286,93 +77286,93 @@ membership. Archived workspaces return 400. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -77382,7 +77382,7 @@ membership. Archived workspaces return 400. Tagged service account ID (`svac_...`) named in the delete request. Removal is idempotent; see the endpoint description for the implicit-membership no-op. - - `JsonElement Type constant` + - `JsonElement Type = "service_account_workspace_member_deleted"` - `required string WorkspaceID` @@ -77438,17 +77438,17 @@ the remaining entries. Filter by group type. - - `Batch` + - `Batch("batch")` - - `Files` + - `Files("files")` - - `ModelGroup` + - `ModelGroup("model_group")` - - `Skills` + - `Skills("skills")` - - `TokenCount` + - `TokenCount("token_count")` - - `WebSearch` + - `WebSearch("web_search")` - `long? limit` @@ -77478,17 +77478,17 @@ the remaining entries. The kind of rate-limit group this entry represents. `model_group` entries apply to a family of models (listed in `models`); other values apply to an API-surface category and have `models` set to `null`. - - `Batch` + - `Batch("batch")` - - `Files` + - `Files("files")` - - `ModelGroup` + - `ModelGroup("model_group")` - - `Skills` + - `Skills("skills")` - - `TokenCount` + - `TokenCount("token_count")` - - `WebSearch` + - `WebSearch("web_search")` - `required IReadOnlyList Limits` @@ -77506,7 +77506,7 @@ the remaining entries. Model names this entry's limits apply to, including aliases. `null` when `group_type` is not `"model_group"`. - - `JsonElement Type constant` + - `JsonElement Type = "rate_limit"` Object type. Always `rate_limit` for organization rate-limit entries. @@ -77575,13 +77575,13 @@ organization reads the state inherited from the parent's configuration. - `class BetaComplianceSettingsStateEnabled:` - - `JsonElement Type constant` + - `JsonElement Type = "enabled"` - `class BetaComplianceSettingsStateDisabled:` - - `JsonElement Type constant` + - `JsonElement Type = "disabled"` - - `JsonElement Type constant` + - `JsonElement Type = "compliance_settings"` #### Example @@ -77635,11 +77635,11 @@ compliance settings. - `class BetaComplianceSettingsStateEnabledParam:` - - `JsonElement Type constant` + - `JsonElement Type = "enabled"` - `class BetaComplianceSettingsStateDisabledParam:` - - `JsonElement Type constant` + - `JsonElement Type = "disabled"` #### Returns @@ -77651,13 +77651,13 @@ compliance settings. - `class BetaComplianceSettingsStateEnabled:` - - `JsonElement Type constant` + - `JsonElement Type = "enabled"` - `class BetaComplianceSettingsStateDisabled:` - - `JsonElement Type constant` + - `JsonElement Type = "disabled"` - - `JsonElement Type constant` + - `JsonElement Type = "compliance_settings"` #### Example diff --git a/content/en/api/csharp/beta/agents.md b/content/en/api/csharp/beta/agents.md index 5ac0c8aaf6..848414158c 100644 --- a/content/en/api/csharp/beta/agents.md +++ b/content/en/api/csharp/beta/agents.md @@ -22,59 +22,59 @@ Create Agent See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -88,59 +88,59 @@ Create Agent See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -152,15 +152,15 @@ Create Agent How hard Claude works on each turn. Higher levels favor reasoning depth over latency. Not all models accept every level; invalid combinations are rejected at create time. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `class BetaManagedAgentsEffortLow:` @@ -200,9 +200,9 @@ Create Agent Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required string name` @@ -306,7 +306,7 @@ Create Agent Configuration override for the bash tool. - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Must be "bash". @@ -336,7 +336,7 @@ Create Agent Configuration override for the edit tool. - - `JsonElement Name constant` + - `JsonElement Name = "edit"` Must be "edit". @@ -362,7 +362,7 @@ Create Agent Configuration override for the read tool. - - `JsonElement Name constant` + - `JsonElement Name = "read"` Must be "read". @@ -388,7 +388,7 @@ Create Agent Configuration override for the write tool. - - `JsonElement Name constant` + - `JsonElement Name = "write"` Must be "write". @@ -414,7 +414,7 @@ Create Agent Configuration override for the glob tool. - - `JsonElement Name constant` + - `JsonElement Name = "glob"` Must be "glob". @@ -440,7 +440,7 @@ Create Agent Configuration override for the grep tool. - - `JsonElement Name constant` + - `JsonElement Name = "grep"` Must be "grep". @@ -466,7 +466,7 @@ Create Agent Configuration override for the web_fetch tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Must be "web_fetch". @@ -506,7 +506,7 @@ Create Agent Configuration override for the web_search tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Must be "web_search". @@ -540,7 +540,7 @@ Create Agent Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -658,7 +658,7 @@ Create Agent JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -676,93 +676,93 @@ Create Agent Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -806,59 +806,59 @@ Create Agent See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -904,9 +904,9 @@ Create Agent Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsMultiagent? Multiagent` @@ -978,7 +978,7 @@ Create Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -996,7 +996,7 @@ Create Agent - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -1004,7 +1004,7 @@ Create Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -1018,7 +1018,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -1026,7 +1026,7 @@ Create Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -1040,7 +1040,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -1048,7 +1048,7 @@ Create Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -1062,7 +1062,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -1070,7 +1070,7 @@ Create Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -1084,7 +1084,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -1092,7 +1092,7 @@ Create Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -1106,7 +1106,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -1114,7 +1114,7 @@ Create Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -1128,7 +1128,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -1144,7 +1144,7 @@ Create Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -1158,7 +1158,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -1168,7 +1168,7 @@ Create Agent Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -1266,7 +1266,7 @@ Create Agent JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -1423,93 +1423,93 @@ List Agents Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -1553,59 +1553,59 @@ List Agents See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -1651,9 +1651,9 @@ List Agents Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsMultiagent? Multiagent` @@ -1725,7 +1725,7 @@ List Agents - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -1743,7 +1743,7 @@ List Agents - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -1751,7 +1751,7 @@ List Agents - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -1765,7 +1765,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -1773,7 +1773,7 @@ List Agents - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -1787,7 +1787,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -1795,7 +1795,7 @@ List Agents - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -1809,7 +1809,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -1817,7 +1817,7 @@ List Agents - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -1831,7 +1831,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -1839,7 +1839,7 @@ List Agents - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -1853,7 +1853,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -1861,7 +1861,7 @@ List Agents - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -1875,7 +1875,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -1891,7 +1891,7 @@ List Agents - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -1905,7 +1905,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -1915,7 +1915,7 @@ List Agents Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -2013,7 +2013,7 @@ List Agents JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -2157,93 +2157,93 @@ Get Agent Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -2287,59 +2287,59 @@ Get Agent See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -2385,9 +2385,9 @@ Get Agent Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsMultiagent? Multiagent` @@ -2459,7 +2459,7 @@ Get Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -2477,7 +2477,7 @@ Get Agent - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -2485,7 +2485,7 @@ Get Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -2499,7 +2499,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -2507,7 +2507,7 @@ Get Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -2521,7 +2521,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -2529,7 +2529,7 @@ Get Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -2543,7 +2543,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -2551,7 +2551,7 @@ Get Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -2565,7 +2565,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -2573,7 +2573,7 @@ Get Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -2587,7 +2587,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -2595,7 +2595,7 @@ Get Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -2609,7 +2609,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -2625,7 +2625,7 @@ Get Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -2639,7 +2639,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -2649,7 +2649,7 @@ Get Agent Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -2747,7 +2747,7 @@ Get Agent JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -2915,59 +2915,59 @@ Update Agent See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -2981,59 +2981,59 @@ Update Agent See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -3045,15 +3045,15 @@ Update Agent How hard Claude works on each turn. Higher levels favor reasoning depth over latency. Not all models accept every level; invalid combinations are rejected at create time. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `class BetaManagedAgentsEffortLow:` @@ -3093,9 +3093,9 @@ Update Agent Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `BetaManagedAgentsMultiagentParams? multiagent` @@ -3171,7 +3171,7 @@ Update Agent Configuration override for the bash tool. - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Must be "bash". @@ -3201,7 +3201,7 @@ Update Agent Configuration override for the edit tool. - - `JsonElement Name constant` + - `JsonElement Name = "edit"` Must be "edit". @@ -3227,7 +3227,7 @@ Update Agent Configuration override for the read tool. - - `JsonElement Name constant` + - `JsonElement Name = "read"` Must be "read". @@ -3253,7 +3253,7 @@ Update Agent Configuration override for the write tool. - - `JsonElement Name constant` + - `JsonElement Name = "write"` Must be "write". @@ -3279,7 +3279,7 @@ Update Agent Configuration override for the glob tool. - - `JsonElement Name constant` + - `JsonElement Name = "glob"` Must be "glob". @@ -3305,7 +3305,7 @@ Update Agent Configuration override for the grep tool. - - `JsonElement Name constant` + - `JsonElement Name = "grep"` Must be "grep". @@ -3331,7 +3331,7 @@ Update Agent Configuration override for the web_fetch tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Must be "web_fetch". @@ -3371,7 +3371,7 @@ Update Agent Configuration override for the web_search tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Must be "web_search". @@ -3405,7 +3405,7 @@ Update Agent Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -3523,7 +3523,7 @@ Update Agent JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -3547,93 +3547,93 @@ Update Agent Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -3677,59 +3677,59 @@ Update Agent See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -3775,9 +3775,9 @@ Update Agent Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsMultiagent? Multiagent` @@ -3849,7 +3849,7 @@ Update Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -3867,7 +3867,7 @@ Update Agent - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -3875,7 +3875,7 @@ Update Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -3889,7 +3889,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -3897,7 +3897,7 @@ Update Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -3911,7 +3911,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -3919,7 +3919,7 @@ Update Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -3933,7 +3933,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -3941,7 +3941,7 @@ Update Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -3955,7 +3955,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -3963,7 +3963,7 @@ Update Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -3977,7 +3977,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -3985,7 +3985,7 @@ Update Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -3999,7 +3999,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -4015,7 +4015,7 @@ Update Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -4029,7 +4029,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -4039,7 +4039,7 @@ Update Agent Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -4137,7 +4137,7 @@ Update Agent JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -4271,93 +4271,93 @@ Archive Agent Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -4401,59 +4401,59 @@ Archive Agent See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -4499,9 +4499,9 @@ Archive Agent Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsMultiagent? Multiagent` @@ -4573,7 +4573,7 @@ Archive Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -4591,7 +4591,7 @@ Archive Agent - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -4599,7 +4599,7 @@ Archive Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -4613,7 +4613,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -4621,7 +4621,7 @@ Archive Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -4635,7 +4635,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -4643,7 +4643,7 @@ Archive Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -4657,7 +4657,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -4665,7 +4665,7 @@ Archive Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -4679,7 +4679,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -4687,7 +4687,7 @@ Archive Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -4701,7 +4701,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -4709,7 +4709,7 @@ Archive Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -4723,7 +4723,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -4739,7 +4739,7 @@ Archive Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -4753,7 +4753,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -4763,7 +4763,7 @@ Archive Agent Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -4861,7 +4861,7 @@ Archive Agent JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -5031,59 +5031,59 @@ Console.WriteLine(betaManagedAgentsAgent); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -5129,9 +5129,9 @@ Console.WriteLine(betaManagedAgentsAgent); Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsMultiagent? Multiagent` @@ -5203,7 +5203,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -5221,7 +5221,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -5229,7 +5229,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -5243,7 +5243,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -5251,7 +5251,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -5265,7 +5265,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -5273,7 +5273,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -5287,7 +5287,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -5295,7 +5295,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -5309,7 +5309,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -5317,7 +5317,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -5331,7 +5331,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -5339,7 +5339,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -5353,7 +5353,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -5369,7 +5369,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -5383,7 +5383,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -5393,7 +5393,7 @@ Console.WriteLine(betaManagedAgentsAgent); Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -5491,7 +5491,7 @@ Console.WriteLine(betaManagedAgentsAgent); JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -5541,7 +5541,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -5559,7 +5559,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -5567,7 +5567,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -5581,7 +5581,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -5589,7 +5589,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -5603,7 +5603,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -5611,7 +5611,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -5625,7 +5625,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -5633,7 +5633,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -5647,7 +5647,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -5655,7 +5655,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -5669,7 +5669,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -5677,7 +5677,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -5691,7 +5691,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -5707,7 +5707,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -5721,7 +5721,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -5731,7 +5731,7 @@ Console.WriteLine(betaManagedAgentsAgent); Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -5767,7 +5767,7 @@ Console.WriteLine(betaManagedAgentsAgent); Configuration override for the bash tool. - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Must be "bash". @@ -5797,7 +5797,7 @@ Console.WriteLine(betaManagedAgentsAgent); Configuration override for the edit tool. - - `JsonElement Name constant` + - `JsonElement Name = "edit"` Must be "edit". @@ -5823,7 +5823,7 @@ Console.WriteLine(betaManagedAgentsAgent); Configuration override for the read tool. - - `JsonElement Name constant` + - `JsonElement Name = "read"` Must be "read". @@ -5849,7 +5849,7 @@ Console.WriteLine(betaManagedAgentsAgent); Configuration override for the write tool. - - `JsonElement Name constant` + - `JsonElement Name = "write"` Must be "write". @@ -5875,7 +5875,7 @@ Console.WriteLine(betaManagedAgentsAgent); Configuration override for the glob tool. - - `JsonElement Name constant` + - `JsonElement Name = "glob"` Must be "glob". @@ -5901,7 +5901,7 @@ Console.WriteLine(betaManagedAgentsAgent); Configuration override for the grep tool. - - `JsonElement Name constant` + - `JsonElement Name = "grep"` Must be "grep". @@ -5927,7 +5927,7 @@ Console.WriteLine(betaManagedAgentsAgent); Configuration override for the web_fetch tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Must be "web_fetch". @@ -5967,7 +5967,7 @@ Console.WriteLine(betaManagedAgentsAgent); Configuration override for the web_search tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Must be "web_search". @@ -6001,7 +6001,7 @@ Console.WriteLine(betaManagedAgentsAgent); Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -6089,7 +6089,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -6107,7 +6107,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -6115,7 +6115,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -6129,7 +6129,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -6137,7 +6137,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -6151,7 +6151,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -6159,7 +6159,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -6173,7 +6173,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -6181,7 +6181,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -6195,7 +6195,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -6203,7 +6203,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -6217,7 +6217,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -6225,7 +6225,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -6239,7 +6239,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -6255,7 +6255,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -6269,7 +6269,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -6279,7 +6279,7 @@ Console.WriteLine(betaManagedAgentsAgent); Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -6426,7 +6426,7 @@ Console.WriteLine(betaManagedAgentsAgent); Configuration override for the bash tool. - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Must be "bash". @@ -6456,7 +6456,7 @@ Console.WriteLine(betaManagedAgentsAgent); Configuration override for the edit tool. - - `JsonElement Name constant` + - `JsonElement Name = "edit"` Must be "edit". @@ -6482,7 +6482,7 @@ Console.WriteLine(betaManagedAgentsAgent); Configuration override for the read tool. - - `JsonElement Name constant` + - `JsonElement Name = "read"` Must be "read". @@ -6508,7 +6508,7 @@ Console.WriteLine(betaManagedAgentsAgent); Configuration override for the write tool. - - `JsonElement Name constant` + - `JsonElement Name = "write"` Must be "write". @@ -6534,7 +6534,7 @@ Console.WriteLine(betaManagedAgentsAgent); Configuration override for the glob tool. - - `JsonElement Name constant` + - `JsonElement Name = "glob"` Must be "glob". @@ -6560,7 +6560,7 @@ Console.WriteLine(betaManagedAgentsAgent); Configuration override for the grep tool. - - `JsonElement Name constant` + - `JsonElement Name = "grep"` Must be "grep". @@ -6586,7 +6586,7 @@ Console.WriteLine(betaManagedAgentsAgent); Configuration override for the web_fetch tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Must be "web_fetch". @@ -6626,7 +6626,7 @@ Console.WriteLine(betaManagedAgentsAgent); Configuration override for the web_search tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Must be "web_search". @@ -6660,7 +6660,7 @@ Console.WriteLine(betaManagedAgentsAgent); Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -6797,7 +6797,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -6815,7 +6815,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` ### Beta Managed Agents Bash Tool Config Params @@ -6823,7 +6823,7 @@ Console.WriteLine(betaManagedAgentsAgent); Configuration override for the bash tool. - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Must be "bash". @@ -6893,7 +6893,7 @@ Console.WriteLine(betaManagedAgentsAgent); JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -6909,7 +6909,7 @@ Console.WriteLine(betaManagedAgentsAgent); JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -6931,7 +6931,7 @@ Console.WriteLine(betaManagedAgentsAgent); JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -6953,7 +6953,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -6971,7 +6971,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "edit"` ### Beta Managed Agents Edit Tool Config Params @@ -6979,7 +6979,7 @@ Console.WriteLine(betaManagedAgentsAgent); Configuration override for the edit tool. - - `JsonElement Name constant` + - `JsonElement Name = "edit"` Must be "edit". @@ -7053,7 +7053,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -7071,7 +7071,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "glob"` ### Beta Managed Agents Glob Tool Config Params @@ -7079,7 +7079,7 @@ Console.WriteLine(betaManagedAgentsAgent); Configuration override for the glob tool. - - `JsonElement Name constant` + - `JsonElement Name = "glob"` Must be "glob". @@ -7113,7 +7113,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -7131,7 +7131,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "grep"` ### Beta Managed Agents Grep Tool Config Params @@ -7139,7 +7139,7 @@ Console.WriteLine(betaManagedAgentsAgent); Configuration override for the grep tool. - - `JsonElement Name constant` + - `JsonElement Name = "grep"` Must be "grep". @@ -7409,59 +7409,59 @@ Console.WriteLine(betaManagedAgentsAgent); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -7507,9 +7507,9 @@ Console.WriteLine(betaManagedAgentsAgent); Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` ### Beta Managed Agents Model Config Params @@ -7523,59 +7523,59 @@ Console.WriteLine(betaManagedAgentsAgent); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -7587,15 +7587,15 @@ Console.WriteLine(betaManagedAgentsAgent); How hard Claude works on each turn. Higher levels favor reasoning depth over latency. Not all models accept every level; invalid combinations are rejected at create time. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `class BetaManagedAgentsEffortLow:` @@ -7635,9 +7635,9 @@ Console.WriteLine(betaManagedAgentsAgent); Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` ### Beta Managed Agents Multiagent Coordinator @@ -7739,7 +7739,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -7757,7 +7757,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "read"` ### Beta Managed Agents Read Tool Config Params @@ -7765,7 +7765,7 @@ Console.WriteLine(betaManagedAgentsAgent); Configuration override for the read tool. - - `JsonElement Name constant` + - `JsonElement Name = "read"` Must be "read". @@ -7819,59 +7819,59 @@ Console.WriteLine(betaManagedAgentsAgent); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -7917,9 +7917,9 @@ Console.WriteLine(betaManagedAgentsAgent); Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required string Name` @@ -7959,7 +7959,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -7977,7 +7977,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -7985,7 +7985,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -7999,7 +7999,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -8007,7 +8007,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -8021,7 +8021,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -8029,7 +8029,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -8043,7 +8043,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -8051,7 +8051,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -8065,7 +8065,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -8073,7 +8073,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -8087,7 +8087,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -8095,7 +8095,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -8109,7 +8109,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -8125,7 +8125,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -8139,7 +8139,7 @@ Console.WriteLine(betaManagedAgentsAgent); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -8149,7 +8149,7 @@ Console.WriteLine(betaManagedAgentsAgent); Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -8247,7 +8247,7 @@ Console.WriteLine(betaManagedAgentsAgent); JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -8331,7 +8331,7 @@ Console.WriteLine(betaManagedAgentsAgent); Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -8365,7 +8365,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -8383,7 +8383,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -8399,7 +8399,7 @@ Console.WriteLine(betaManagedAgentsAgent); Configuration override for the web_fetch tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Must be "web_fetch". @@ -8447,7 +8447,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -8465,7 +8465,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -8475,7 +8475,7 @@ Console.WriteLine(betaManagedAgentsAgent); Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -8507,7 +8507,7 @@ Console.WriteLine(betaManagedAgentsAgent); Configuration override for the web_search tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Must be "web_search". @@ -8545,7 +8545,7 @@ Console.WriteLine(betaManagedAgentsAgent); Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -8579,7 +8579,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -8597,7 +8597,7 @@ Console.WriteLine(betaManagedAgentsAgent); - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "write"` ### Beta Managed Agents Write Tool Config Params @@ -8605,7 +8605,7 @@ Console.WriteLine(betaManagedAgentsAgent); Configuration override for the write tool. - - `JsonElement Name constant` + - `JsonElement Name = "write"` Must be "write". @@ -8663,93 +8663,93 @@ List Agent Versions Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -8793,59 +8793,59 @@ List Agent Versions See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -8891,9 +8891,9 @@ List Agent Versions Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsMultiagent? Multiagent` @@ -8965,7 +8965,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -8983,7 +8983,7 @@ List Agent Versions - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -8991,7 +8991,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -9005,7 +9005,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -9013,7 +9013,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -9027,7 +9027,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -9035,7 +9035,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -9049,7 +9049,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -9057,7 +9057,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -9071,7 +9071,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -9079,7 +9079,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -9093,7 +9093,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -9101,7 +9101,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -9115,7 +9115,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -9131,7 +9131,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -9145,7 +9145,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -9155,7 +9155,7 @@ List Agent Versions Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -9253,7 +9253,7 @@ List Agent Versions JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` diff --git a/content/en/api/csharp/beta/agents/archive.md b/content/en/api/csharp/beta/agents/archive.md index f8d3dbd1b1..8cceb9cb0d 100644 --- a/content/en/api/csharp/beta/agents/archive.md +++ b/content/en/api/csharp/beta/agents/archive.md @@ -18,93 +18,93 @@ Archive Agent Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -148,59 +148,59 @@ Archive Agent See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -246,9 +246,9 @@ Archive Agent Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsMultiagent? Multiagent` @@ -320,7 +320,7 @@ Archive Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -338,7 +338,7 @@ Archive Agent - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -346,7 +346,7 @@ Archive Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -360,7 +360,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -368,7 +368,7 @@ Archive Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -382,7 +382,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -390,7 +390,7 @@ Archive Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -404,7 +404,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -412,7 +412,7 @@ Archive Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -426,7 +426,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -434,7 +434,7 @@ Archive Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -448,7 +448,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -456,7 +456,7 @@ Archive Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -470,7 +470,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -486,7 +486,7 @@ Archive Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -500,7 +500,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -510,7 +510,7 @@ Archive Agent Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -608,7 +608,7 @@ Archive Agent JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` diff --git a/content/en/api/csharp/beta/agents/create.md b/content/en/api/csharp/beta/agents/create.md index 2c59fb6a6b..80cc3e7cb0 100644 --- a/content/en/api/csharp/beta/agents/create.md +++ b/content/en/api/csharp/beta/agents/create.md @@ -20,59 +20,59 @@ Create Agent See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -86,59 +86,59 @@ Create Agent See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -150,15 +150,15 @@ Create Agent How hard Claude works on each turn. Higher levels favor reasoning depth over latency. Not all models accept every level; invalid combinations are rejected at create time. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `class BetaManagedAgentsEffortLow:` @@ -198,9 +198,9 @@ Create Agent Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required string name` @@ -304,7 +304,7 @@ Create Agent Configuration override for the bash tool. - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Must be "bash". @@ -334,7 +334,7 @@ Create Agent Configuration override for the edit tool. - - `JsonElement Name constant` + - `JsonElement Name = "edit"` Must be "edit". @@ -360,7 +360,7 @@ Create Agent Configuration override for the read tool. - - `JsonElement Name constant` + - `JsonElement Name = "read"` Must be "read". @@ -386,7 +386,7 @@ Create Agent Configuration override for the write tool. - - `JsonElement Name constant` + - `JsonElement Name = "write"` Must be "write". @@ -412,7 +412,7 @@ Create Agent Configuration override for the glob tool. - - `JsonElement Name constant` + - `JsonElement Name = "glob"` Must be "glob". @@ -438,7 +438,7 @@ Create Agent Configuration override for the grep tool. - - `JsonElement Name constant` + - `JsonElement Name = "grep"` Must be "grep". @@ -464,7 +464,7 @@ Create Agent Configuration override for the web_fetch tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Must be "web_fetch". @@ -504,7 +504,7 @@ Create Agent Configuration override for the web_search tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Must be "web_search". @@ -538,7 +538,7 @@ Create Agent Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -656,7 +656,7 @@ Create Agent JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -674,93 +674,93 @@ Create Agent Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -804,59 +804,59 @@ Create Agent See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -902,9 +902,9 @@ Create Agent Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsMultiagent? Multiagent` @@ -976,7 +976,7 @@ Create Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -994,7 +994,7 @@ Create Agent - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -1002,7 +1002,7 @@ Create Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -1016,7 +1016,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -1024,7 +1024,7 @@ Create Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -1038,7 +1038,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -1046,7 +1046,7 @@ Create Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -1060,7 +1060,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -1068,7 +1068,7 @@ Create Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -1082,7 +1082,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -1090,7 +1090,7 @@ Create Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -1104,7 +1104,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -1112,7 +1112,7 @@ Create Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -1126,7 +1126,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -1142,7 +1142,7 @@ Create Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -1156,7 +1156,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -1166,7 +1166,7 @@ Create Agent Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -1264,7 +1264,7 @@ Create Agent JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` diff --git a/content/en/api/csharp/beta/agents/list.md b/content/en/api/csharp/beta/agents/list.md index 2512496f43..7be8885c2e 100644 --- a/content/en/api/csharp/beta/agents/list.md +++ b/content/en/api/csharp/beta/agents/list.md @@ -40,93 +40,93 @@ List Agents Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -170,59 +170,59 @@ List Agents See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -268,9 +268,9 @@ List Agents Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsMultiagent? Multiagent` @@ -342,7 +342,7 @@ List Agents - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -360,7 +360,7 @@ List Agents - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -368,7 +368,7 @@ List Agents - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -382,7 +382,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -390,7 +390,7 @@ List Agents - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -404,7 +404,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -412,7 +412,7 @@ List Agents - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -426,7 +426,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -434,7 +434,7 @@ List Agents - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -448,7 +448,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -456,7 +456,7 @@ List Agents - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -470,7 +470,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -478,7 +478,7 @@ List Agents - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -492,7 +492,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -508,7 +508,7 @@ List Agents - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -522,7 +522,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -532,7 +532,7 @@ List Agents Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -630,7 +630,7 @@ List Agents JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` diff --git a/content/en/api/csharp/beta/agents/retrieve.md b/content/en/api/csharp/beta/agents/retrieve.md index 178637e3f8..efb956be77 100644 --- a/content/en/api/csharp/beta/agents/retrieve.md +++ b/content/en/api/csharp/beta/agents/retrieve.md @@ -24,93 +24,93 @@ Get Agent Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -154,59 +154,59 @@ Get Agent See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -252,9 +252,9 @@ Get Agent Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsMultiagent? Multiagent` @@ -326,7 +326,7 @@ Get Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -344,7 +344,7 @@ Get Agent - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -352,7 +352,7 @@ Get Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -366,7 +366,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -374,7 +374,7 @@ Get Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -388,7 +388,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -396,7 +396,7 @@ Get Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -410,7 +410,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -418,7 +418,7 @@ Get Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -432,7 +432,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -440,7 +440,7 @@ Get Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -454,7 +454,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -462,7 +462,7 @@ Get Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -476,7 +476,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -492,7 +492,7 @@ Get Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -506,7 +506,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -516,7 +516,7 @@ Get Agent Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -614,7 +614,7 @@ Get Agent JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` diff --git a/content/en/api/csharp/beta/agents/update.md b/content/en/api/csharp/beta/agents/update.md index d26a23cb01..f88f2db892 100644 --- a/content/en/api/csharp/beta/agents/update.md +++ b/content/en/api/csharp/beta/agents/update.md @@ -52,59 +52,59 @@ Update Agent See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -118,59 +118,59 @@ Update Agent See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -182,15 +182,15 @@ Update Agent How hard Claude works on each turn. Higher levels favor reasoning depth over latency. Not all models accept every level; invalid combinations are rejected at create time. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `class BetaManagedAgentsEffortLow:` @@ -230,9 +230,9 @@ Update Agent Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `BetaManagedAgentsMultiagentParams? multiagent` @@ -308,7 +308,7 @@ Update Agent Configuration override for the bash tool. - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Must be "bash". @@ -338,7 +338,7 @@ Update Agent Configuration override for the edit tool. - - `JsonElement Name constant` + - `JsonElement Name = "edit"` Must be "edit". @@ -364,7 +364,7 @@ Update Agent Configuration override for the read tool. - - `JsonElement Name constant` + - `JsonElement Name = "read"` Must be "read". @@ -390,7 +390,7 @@ Update Agent Configuration override for the write tool. - - `JsonElement Name constant` + - `JsonElement Name = "write"` Must be "write". @@ -416,7 +416,7 @@ Update Agent Configuration override for the glob tool. - - `JsonElement Name constant` + - `JsonElement Name = "glob"` Must be "glob". @@ -442,7 +442,7 @@ Update Agent Configuration override for the grep tool. - - `JsonElement Name constant` + - `JsonElement Name = "grep"` Must be "grep". @@ -468,7 +468,7 @@ Update Agent Configuration override for the web_fetch tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Must be "web_fetch". @@ -508,7 +508,7 @@ Update Agent Configuration override for the web_search tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Must be "web_search". @@ -542,7 +542,7 @@ Update Agent Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -660,7 +660,7 @@ Update Agent JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -684,93 +684,93 @@ Update Agent Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -814,59 +814,59 @@ Update Agent See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -912,9 +912,9 @@ Update Agent Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsMultiagent? Multiagent` @@ -986,7 +986,7 @@ Update Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -1004,7 +1004,7 @@ Update Agent - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -1012,7 +1012,7 @@ Update Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -1026,7 +1026,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -1034,7 +1034,7 @@ Update Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -1048,7 +1048,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -1056,7 +1056,7 @@ Update Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -1070,7 +1070,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -1078,7 +1078,7 @@ Update Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -1092,7 +1092,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -1100,7 +1100,7 @@ Update Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -1114,7 +1114,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -1122,7 +1122,7 @@ Update Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -1136,7 +1136,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -1152,7 +1152,7 @@ Update Agent - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -1166,7 +1166,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -1176,7 +1176,7 @@ Update Agent Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -1274,7 +1274,7 @@ Update Agent JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` diff --git a/content/en/api/csharp/beta/agents/versions.md b/content/en/api/csharp/beta/agents/versions.md index 83c7b9d130..dca64a1399 100644 --- a/content/en/api/csharp/beta/agents/versions.md +++ b/content/en/api/csharp/beta/agents/versions.md @@ -30,93 +30,93 @@ List Agent Versions Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -160,59 +160,59 @@ List Agent Versions See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -258,9 +258,9 @@ List Agent Versions Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsMultiagent? Multiagent` @@ -332,7 +332,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -350,7 +350,7 @@ List Agent Versions - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -358,7 +358,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -372,7 +372,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -380,7 +380,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -394,7 +394,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -402,7 +402,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -416,7 +416,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -424,7 +424,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -438,7 +438,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -446,7 +446,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -460,7 +460,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -468,7 +468,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -482,7 +482,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -498,7 +498,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -512,7 +512,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -522,7 +522,7 @@ List Agent Versions Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -620,7 +620,7 @@ List Agent Versions JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` diff --git a/content/en/api/csharp/beta/agents/versions/list.md b/content/en/api/csharp/beta/agents/versions/list.md index f2525d9d7c..0bebb48a2a 100644 --- a/content/en/api/csharp/beta/agents/versions/list.md +++ b/content/en/api/csharp/beta/agents/versions/list.md @@ -28,93 +28,93 @@ List Agent Versions Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -158,59 +158,59 @@ List Agent Versions See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -256,9 +256,9 @@ List Agent Versions Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsMultiagent? Multiagent` @@ -330,7 +330,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -348,7 +348,7 @@ List Agent Versions - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -356,7 +356,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -370,7 +370,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -378,7 +378,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -392,7 +392,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -400,7 +400,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -414,7 +414,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -422,7 +422,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -436,7 +436,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -444,7 +444,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -458,7 +458,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -466,7 +466,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -480,7 +480,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -496,7 +496,7 @@ List Agent Versions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -510,7 +510,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -520,7 +520,7 @@ List Agent Versions Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -618,7 +618,7 @@ List Agent Versions JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` diff --git a/content/en/api/csharp/beta/deployment_runs.md b/content/en/api/csharp/beta/deployment_runs.md index db17482a92..b74a0daa65 100644 --- a/content/en/api/csharp/beta/deployment_runs.md +++ b/content/en/api/csharp/beta/deployment_runs.md @@ -62,93 +62,93 @@ List Deployment Runs Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -436,93 +436,93 @@ Get Deployment Run Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -1208,9 +1208,9 @@ Console.WriteLine(betaManagedAgentsDeploymentRun); What triggered a deployment run. - - `Schedule` + - `Schedule("schedule")` - - `Manual` + - `Manual("manual")` ### Beta Managed Agents Unknown Run Error diff --git a/content/en/api/csharp/beta/deployment_runs/list.md b/content/en/api/csharp/beta/deployment_runs/list.md index 036c08fcc2..3034aa519b 100644 --- a/content/en/api/csharp/beta/deployment_runs/list.md +++ b/content/en/api/csharp/beta/deployment_runs/list.md @@ -60,93 +60,93 @@ List Deployment Runs Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/deployment_runs/retrieve.md b/content/en/api/csharp/beta/deployment_runs/retrieve.md index b43f69e1bb..127bb8c834 100644 --- a/content/en/api/csharp/beta/deployment_runs/retrieve.md +++ b/content/en/api/csharp/beta/deployment_runs/retrieve.md @@ -18,93 +18,93 @@ Get Deployment Run Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/deployments.md b/content/en/api/csharp/beta/deployments.md index 7974cc4803..221efbb871 100644 --- a/content/en/api/csharp/beta/deployments.md +++ b/content/en/api/csharp/beta/deployments.md @@ -366,9 +366,9 @@ Create Deployment Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -388,93 +388,93 @@ Create Deployment Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -918,9 +918,9 @@ Create Deployment Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -958,9 +958,9 @@ Create Deployment Lifecycle status of a deployment. - - `Active` + - `Active("active")` - - `Paused` + - `Paused("paused")` - `required Type Type` @@ -1139,93 +1139,93 @@ List Deployments Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -1669,9 +1669,9 @@ List Deployments Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -1709,9 +1709,9 @@ List Deployments Lifecycle status of a deployment. - - `Active` + - `Active("active")` - - `Paused` + - `Paused("paused")` - `required Type Type` @@ -1847,93 +1847,93 @@ Get Deployment Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -2377,9 +2377,9 @@ Get Deployment Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -2417,9 +2417,9 @@ Get Deployment Lifecycle status of a deployment. - - `Active` + - `Active("active")` - - `Paused` + - `Paused("paused")` - `required Type Type` @@ -2901,9 +2901,9 @@ Update Deployment Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -2923,93 +2923,93 @@ Update Deployment Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -3453,9 +3453,9 @@ Update Deployment Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -3493,9 +3493,9 @@ Update Deployment Lifecycle status of a deployment. - - `Active` + - `Active("active")` - - `Paused` + - `Paused("paused")` - `required Type Type` @@ -3627,93 +3627,93 @@ Archive Deployment Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -4157,9 +4157,9 @@ Archive Deployment Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -4197,9 +4197,9 @@ Archive Deployment Lifecycle status of a deployment. - - `Active` + - `Active("active")` - - `Paused` + - `Paused("paused")` - `required Type Type` @@ -4331,93 +4331,93 @@ Run Deployment Now Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -4701,93 +4701,93 @@ Pause Deployment Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -5231,9 +5231,9 @@ Pause Deployment Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -5271,9 +5271,9 @@ Pause Deployment Lifecycle status of a deployment. - - `Active` + - `Active("active")` - - `Paused` + - `Paused("paused")` - `required Type Type` @@ -5405,93 +5405,93 @@ Unpause Deployment Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -5935,9 +5935,9 @@ Unpause Deployment Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -5975,9 +5975,9 @@ Unpause Deployment Lifecycle status of a deployment. - - `Active` + - `Active("active")` - - `Paused` + - `Paused("paused")` - `required Type Type` @@ -6591,9 +6591,9 @@ Console.WriteLine(betaManagedAgentsDeployment); Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -6631,9 +6631,9 @@ Console.WriteLine(betaManagedAgentsDeployment); Lifecycle status of a deployment. - - `Active` + - `Active("active")` - - `Paused` + - `Paused("paused")` - `required Type Type` @@ -7309,9 +7309,9 @@ Console.WriteLine(betaManagedAgentsDeployment); Lifecycle status of a deployment. - - `Active` + - `Active("active")` - - `Paused` + - `Paused("paused")` ### Beta Managed Agents Deployment System Message Event @@ -7749,9 +7749,9 @@ Console.WriteLine(betaManagedAgentsDeployment); Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -7895,9 +7895,9 @@ Console.WriteLine(betaManagedAgentsDeployment); Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` diff --git a/content/en/api/csharp/beta/deployments/archive.md b/content/en/api/csharp/beta/deployments/archive.md index 0032e7520b..6d08122ed0 100644 --- a/content/en/api/csharp/beta/deployments/archive.md +++ b/content/en/api/csharp/beta/deployments/archive.md @@ -18,93 +18,93 @@ Archive Deployment Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -548,9 +548,9 @@ Archive Deployment Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -588,9 +588,9 @@ Archive Deployment Lifecycle status of a deployment. - - `Active` + - `Active("active")` - - `Paused` + - `Paused("paused")` - `required Type Type` diff --git a/content/en/api/csharp/beta/deployments/create.md b/content/en/api/csharp/beta/deployments/create.md index 71f6c71443..d0576d9248 100644 --- a/content/en/api/csharp/beta/deployments/create.md +++ b/content/en/api/csharp/beta/deployments/create.md @@ -364,9 +364,9 @@ Create Deployment Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -386,93 +386,93 @@ Create Deployment Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -916,9 +916,9 @@ Create Deployment Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -956,9 +956,9 @@ Create Deployment Lifecycle status of a deployment. - - `Active` + - `Active("active")` - - `Paused` + - `Paused("paused")` - `required Type Type` diff --git a/content/en/api/csharp/beta/deployments/list.md b/content/en/api/csharp/beta/deployments/list.md index 510bf96363..9f5b652698 100644 --- a/content/en/api/csharp/beta/deployments/list.md +++ b/content/en/api/csharp/beta/deployments/list.md @@ -48,93 +48,93 @@ List Deployments Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -578,9 +578,9 @@ List Deployments Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -618,9 +618,9 @@ List Deployments Lifecycle status of a deployment. - - `Active` + - `Active("active")` - - `Paused` + - `Paused("paused")` - `required Type Type` diff --git a/content/en/api/csharp/beta/deployments/pause.md b/content/en/api/csharp/beta/deployments/pause.md index 019ffa70e2..2f4365f4f8 100644 --- a/content/en/api/csharp/beta/deployments/pause.md +++ b/content/en/api/csharp/beta/deployments/pause.md @@ -18,93 +18,93 @@ Pause Deployment Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -548,9 +548,9 @@ Pause Deployment Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -588,9 +588,9 @@ Pause Deployment Lifecycle status of a deployment. - - `Active` + - `Active("active")` - - `Paused` + - `Paused("paused")` - `required Type Type` diff --git a/content/en/api/csharp/beta/deployments/retrieve.md b/content/en/api/csharp/beta/deployments/retrieve.md index e62407b512..7f051184f9 100644 --- a/content/en/api/csharp/beta/deployments/retrieve.md +++ b/content/en/api/csharp/beta/deployments/retrieve.md @@ -18,93 +18,93 @@ Get Deployment Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -548,9 +548,9 @@ Get Deployment Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -588,9 +588,9 @@ Get Deployment Lifecycle status of a deployment. - - `Active` + - `Active("active")` - - `Paused` + - `Paused("paused")` - `required Type Type` diff --git a/content/en/api/csharp/beta/deployments/run.md b/content/en/api/csharp/beta/deployments/run.md index eae6b29d46..091400b56d 100644 --- a/content/en/api/csharp/beta/deployments/run.md +++ b/content/en/api/csharp/beta/deployments/run.md @@ -18,93 +18,93 @@ Run Deployment Now Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/deployments/unpause.md b/content/en/api/csharp/beta/deployments/unpause.md index dfd2ac00f4..b3c53a336a 100644 --- a/content/en/api/csharp/beta/deployments/unpause.md +++ b/content/en/api/csharp/beta/deployments/unpause.md @@ -18,93 +18,93 @@ Unpause Deployment Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -548,9 +548,9 @@ Unpause Deployment Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -588,9 +588,9 @@ Unpause Deployment Lifecycle status of a deployment. - - `Active` + - `Active("active")` - - `Paused` + - `Paused("paused")` - `required Type Type` diff --git a/content/en/api/csharp/beta/deployments/update.md b/content/en/api/csharp/beta/deployments/update.md index a732f9eab9..542e87380c 100644 --- a/content/en/api/csharp/beta/deployments/update.md +++ b/content/en/api/csharp/beta/deployments/update.md @@ -368,9 +368,9 @@ Update Deployment Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -390,93 +390,93 @@ Update Deployment Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -920,9 +920,9 @@ Update Deployment Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -960,9 +960,9 @@ Update Deployment Lifecycle status of a deployment. - - `Active` + - `Active("active")` - - `Paused` + - `Paused("paused")` - `required Type Type` diff --git a/content/en/api/csharp/beta/environments.md b/content/en/api/csharp/beta/environments.md index 28740b1448..c70b8fbfb0 100644 --- a/content/en/api/csharp/beta/environments.md +++ b/content/en/api/csharp/beta/environments.md @@ -29,7 +29,7 @@ Create a new environment with the specified configuration. Fields default to null; on update, omitted fields preserve the existing value. - - `JsonElement Type constant` + - `JsonElement Type = "cloud"` Environment type @@ -41,7 +41,7 @@ Create a new environment with the specified configuration. Unrestricted network access. - - `JsonElement Type constant` + - `JsonElement Type = "unrestricted"` Network policy type @@ -52,7 +52,7 @@ Create a new environment with the specified configuration. Fields default to null; on update, omitted fields preserve the existing value. - - `JsonElement Type constant` + - `JsonElement Type = "limited"` Network policy type @@ -108,7 +108,7 @@ Create a new environment with the specified configuration. Request params for `self_hosted` environment configuration. - - `JsonElement Type constant` + - `JsonElement Type = "self_hosted"` Environment type @@ -126,101 +126,101 @@ Create a new environment with the specified configuration. Body param: The visibility scope for this environment. 'organization' makes the environment visible to all accounts. 'account' restricts visibility to the owning account only. Only applicable for self-hosted environments. If not specified, defaults based on organization type. - - `Organization` + - `Organization("organization")` - - `Account` + - `Account("account")` - `IReadOnlyList betas` Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -252,7 +252,7 @@ Create a new environment with the specified configuration. Unrestricted network access. - - `JsonElement Type constant` + - `JsonElement Type = "unrestricted"` Network policy type @@ -272,7 +272,7 @@ Create a new environment with the specified configuration. Specifies domains the container can reach. - - `JsonElement Type constant` + - `JsonElement Type = "limited"` Network policy type @@ -308,7 +308,7 @@ Create a new environment with the specified configuration. Package configuration type - - `JsonElement Type constant` + - `JsonElement Type = "cloud"` Environment type @@ -316,7 +316,7 @@ Create a new environment with the specified configuration. Configuration for self-hosted environments. - - `JsonElement Type constant` + - `JsonElement Type = "self_hosted"` Environment type @@ -336,7 +336,7 @@ Create a new environment with the specified configuration. Human-readable name for the environment - - `JsonElement Type constant` + - `JsonElement Type = "environment"` The type of object (always 'environment') @@ -348,9 +348,9 @@ Create a new environment with the specified configuration. The visibility scope for this environment. 'organization' means visible to all accounts. 'account' means visible only to the owning account. - - `Organization` + - `Organization("organization")` - - `Account` + - `Account("account")` ### Example @@ -441,93 +441,93 @@ List environments with pagination support. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -559,7 +559,7 @@ List environments with pagination support. Unrestricted network access. - - `JsonElement Type constant` + - `JsonElement Type = "unrestricted"` Network policy type @@ -579,7 +579,7 @@ List environments with pagination support. Specifies domains the container can reach. - - `JsonElement Type constant` + - `JsonElement Type = "limited"` Network policy type @@ -615,7 +615,7 @@ List environments with pagination support. Package configuration type - - `JsonElement Type constant` + - `JsonElement Type = "cloud"` Environment type @@ -623,7 +623,7 @@ List environments with pagination support. Configuration for self-hosted environments. - - `JsonElement Type constant` + - `JsonElement Type = "self_hosted"` Environment type @@ -643,7 +643,7 @@ List environments with pagination support. Human-readable name for the environment - - `JsonElement Type constant` + - `JsonElement Type = "environment"` The type of object (always 'environment') @@ -655,9 +655,9 @@ List environments with pagination support. The visibility scope for this environment. 'organization' means visible to all accounts. 'account' means visible only to the owning account. - - `Organization` + - `Organization("organization")` - - `Account` + - `Account("account")` ### Example @@ -743,93 +743,93 @@ Retrieve a specific environment by ID. Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -861,7 +861,7 @@ Retrieve a specific environment by ID. Unrestricted network access. - - `JsonElement Type constant` + - `JsonElement Type = "unrestricted"` Network policy type @@ -881,7 +881,7 @@ Retrieve a specific environment by ID. Specifies domains the container can reach. - - `JsonElement Type constant` + - `JsonElement Type = "limited"` Network policy type @@ -917,7 +917,7 @@ Retrieve a specific environment by ID. Package configuration type - - `JsonElement Type constant` + - `JsonElement Type = "cloud"` Environment type @@ -925,7 +925,7 @@ Retrieve a specific environment by ID. Configuration for self-hosted environments. - - `JsonElement Type constant` + - `JsonElement Type = "self_hosted"` Environment type @@ -945,7 +945,7 @@ Retrieve a specific environment by ID. Human-readable name for the environment - - `JsonElement Type constant` + - `JsonElement Type = "environment"` The type of object (always 'environment') @@ -957,9 +957,9 @@ Retrieve a specific environment by ID. The visibility scope for this environment. 'organization' means visible to all accounts. 'account' means visible only to the owning account. - - `Organization` + - `Organization("organization")` - - `Account` + - `Account("account")` ### Example @@ -1050,7 +1050,7 @@ Update an existing environment's configuration. Fields default to null; on update, omitted fields preserve the existing value. - - `JsonElement Type constant` + - `JsonElement Type = "cloud"` Environment type @@ -1062,7 +1062,7 @@ Update an existing environment's configuration. Unrestricted network access. - - `JsonElement Type constant` + - `JsonElement Type = "unrestricted"` Network policy type @@ -1073,7 +1073,7 @@ Update an existing environment's configuration. Fields default to null; on update, omitted fields preserve the existing value. - - `JsonElement Type constant` + - `JsonElement Type = "limited"` Network policy type @@ -1129,7 +1129,7 @@ Update an existing environment's configuration. Request params for `self_hosted` environment configuration. - - `JsonElement Type constant` + - `JsonElement Type = "self_hosted"` Environment type @@ -1153,101 +1153,101 @@ Update an existing environment's configuration. Body param: The visibility scope for this environment. 'organization' makes the environment visible to all accounts. 'account' restricts visibility to the owning account only. - - `Organization` + - `Organization("organization")` - - `Account` + - `Account("account")` - `IReadOnlyList betas` Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -1279,7 +1279,7 @@ Update an existing environment's configuration. Unrestricted network access. - - `JsonElement Type constant` + - `JsonElement Type = "unrestricted"` Network policy type @@ -1299,7 +1299,7 @@ Update an existing environment's configuration. Specifies domains the container can reach. - - `JsonElement Type constant` + - `JsonElement Type = "limited"` Network policy type @@ -1335,7 +1335,7 @@ Update an existing environment's configuration. Package configuration type - - `JsonElement Type constant` + - `JsonElement Type = "cloud"` Environment type @@ -1343,7 +1343,7 @@ Update an existing environment's configuration. Configuration for self-hosted environments. - - `JsonElement Type constant` + - `JsonElement Type = "self_hosted"` Environment type @@ -1363,7 +1363,7 @@ Update an existing environment's configuration. Human-readable name for the environment - - `JsonElement Type constant` + - `JsonElement Type = "environment"` The type of object (always 'environment') @@ -1375,9 +1375,9 @@ Update an existing environment's configuration. The visibility scope for this environment. 'organization' means visible to all accounts. 'account' means visible only to the owning account. - - `Organization` + - `Organization("organization")` - - `Account` + - `Account("account")` ### Example @@ -1459,93 +1459,93 @@ Delete an environment by ID. Returns a confirmation of the deletion. Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -1601,93 +1601,93 @@ Archive an environment by ID. Archived environments cannot be used to create new Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -1719,7 +1719,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Unrestricted network access. - - `JsonElement Type constant` + - `JsonElement Type = "unrestricted"` Network policy type @@ -1739,7 +1739,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Specifies domains the container can reach. - - `JsonElement Type constant` + - `JsonElement Type = "limited"` Network policy type @@ -1775,7 +1775,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Package configuration type - - `JsonElement Type constant` + - `JsonElement Type = "cloud"` Environment type @@ -1783,7 +1783,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Configuration for self-hosted environments. - - `JsonElement Type constant` + - `JsonElement Type = "self_hosted"` Environment type @@ -1803,7 +1803,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Human-readable name for the environment - - `JsonElement Type constant` + - `JsonElement Type = "environment"` The type of object (always 'environment') @@ -1815,9 +1815,9 @@ Archive an environment by ID. Archived environments cannot be used to create new The visibility scope for this environment. 'organization' means visible to all accounts. 'account' means visible only to the owning account. - - `Organization` + - `Organization("organization")` - - `Account` + - `Account("account")` ### Example @@ -1897,7 +1897,7 @@ Console.WriteLine(betaEnvironment); Unrestricted network access. - - `JsonElement Type constant` + - `JsonElement Type = "unrestricted"` Network policy type @@ -1917,7 +1917,7 @@ Console.WriteLine(betaEnvironment); Specifies domains the container can reach. - - `JsonElement Type constant` + - `JsonElement Type = "limited"` Network policy type @@ -1953,7 +1953,7 @@ Console.WriteLine(betaEnvironment); Package configuration type - - `JsonElement Type constant` + - `JsonElement Type = "cloud"` Environment type @@ -1966,7 +1966,7 @@ Console.WriteLine(betaEnvironment); Fields default to null; on update, omitted fields preserve the existing value. - - `JsonElement Type constant` + - `JsonElement Type = "cloud"` Environment type @@ -1978,7 +1978,7 @@ Console.WriteLine(betaEnvironment); Unrestricted network access. - - `JsonElement Type constant` + - `JsonElement Type = "unrestricted"` Network policy type @@ -1989,7 +1989,7 @@ Console.WriteLine(betaEnvironment); Fields default to null; on update, omitted fields preserve the existing value. - - `JsonElement Type constant` + - `JsonElement Type = "limited"` Network policy type @@ -2071,7 +2071,7 @@ Console.WriteLine(betaEnvironment); Unrestricted network access. - - `JsonElement Type constant` + - `JsonElement Type = "unrestricted"` Network policy type @@ -2091,7 +2091,7 @@ Console.WriteLine(betaEnvironment); Specifies domains the container can reach. - - `JsonElement Type constant` + - `JsonElement Type = "limited"` Network policy type @@ -2127,7 +2127,7 @@ Console.WriteLine(betaEnvironment); Package configuration type - - `JsonElement Type constant` + - `JsonElement Type = "cloud"` Environment type @@ -2135,7 +2135,7 @@ Console.WriteLine(betaEnvironment); Configuration for self-hosted environments. - - `JsonElement Type constant` + - `JsonElement Type = "self_hosted"` Environment type @@ -2155,7 +2155,7 @@ Console.WriteLine(betaEnvironment); Human-readable name for the environment - - `JsonElement Type constant` + - `JsonElement Type = "environment"` The type of object (always 'environment') @@ -2167,9 +2167,9 @@ Console.WriteLine(betaEnvironment); The visibility scope for this environment. 'organization' means visible to all accounts. 'account' means visible only to the owning account. - - `Organization` + - `Organization("organization")` - - `Account` + - `Account("account")` ### Beta Environment Delete Response @@ -2203,7 +2203,7 @@ Console.WriteLine(betaEnvironment); Specifies domains the container can reach. - - `JsonElement Type constant` + - `JsonElement Type = "limited"` Network policy type @@ -2216,7 +2216,7 @@ Console.WriteLine(betaEnvironment); Fields default to null; on update, omitted fields preserve the existing value. - - `JsonElement Type constant` + - `JsonElement Type = "limited"` Network policy type @@ -2310,7 +2310,7 @@ Console.WriteLine(betaEnvironment); Configuration for self-hosted environments. - - `JsonElement Type constant` + - `JsonElement Type = "self_hosted"` Environment type @@ -2320,7 +2320,7 @@ Console.WriteLine(betaEnvironment); Request params for `self_hosted` environment configuration. - - `JsonElement Type constant` + - `JsonElement Type = "self_hosted"` Environment type @@ -2330,7 +2330,7 @@ Console.WriteLine(betaEnvironment); Unrestricted network access. - - `JsonElement Type constant` + - `JsonElement Type = "unrestricted"` Network policy type @@ -2362,93 +2362,93 @@ Retrieve detailed information about a specific work item. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -2480,7 +2480,7 @@ Retrieve detailed information about a specific work item. Session identifier (e.g., 'session_...') - - `JsonElement Type constant` + - `JsonElement Type = "session"` Type of work data @@ -2508,15 +2508,15 @@ Retrieve detailed information about a specific work item. Current state of the work item - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required string? StopRequestedAt` @@ -2526,7 +2526,7 @@ Retrieve detailed information about a specific work item. RFC 3339 timestamp when work execution stopped - - `JsonElement Type constant` + - `JsonElement Type = "work"` The type of object (always 'work') @@ -2603,93 +2603,93 @@ Long poll for work items in the queue. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` - `string anthropicWorkerID` @@ -2725,7 +2725,7 @@ Long poll for work items in the queue. Session identifier (e.g., 'session_...') - - `JsonElement Type constant` + - `JsonElement Type = "session"` Type of work data @@ -2753,15 +2753,15 @@ Long poll for work items in the queue. Current state of the work item - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required string? StopRequestedAt` @@ -2771,7 +2771,7 @@ Long poll for work items in the queue. RFC 3339 timestamp when work execution stopped - - `JsonElement Type constant` + - `JsonElement Type = "work"` The type of object (always 'work') @@ -2839,93 +2839,93 @@ Acknowledge receipt of a work item, transitioning it from 'queued' to 'starting' Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -2957,7 +2957,7 @@ Acknowledge receipt of a work item, transitioning it from 'queued' to 'starting' Session identifier (e.g., 'session_...') - - `JsonElement Type constant` + - `JsonElement Type = "session"` Type of work data @@ -2985,15 +2985,15 @@ Acknowledge receipt of a work item, transitioning it from 'queued' to 'starting' Current state of the work item - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required string? StopRequestedAt` @@ -3003,7 +3003,7 @@ Acknowledge receipt of a work item, transitioning it from 'queued' to 'starting' RFC 3339 timestamp when work execution stopped - - `JsonElement Type constant` + - `JsonElement Type = "work"` The type of object (always 'work') @@ -3080,93 +3080,93 @@ Record a heartbeat for a work item to maintain the lease. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -3186,21 +3186,21 @@ Record a heartbeat for a work item to maintain the lease. Current state of the work item (active/stopping/stopped) - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required long TtlSeconds` Effective TTL applied to the lease - - `JsonElement Type constant` + - `JsonElement Type = "work_heartbeat"` The type of response @@ -3260,93 +3260,93 @@ Stop a work item, initiating graceful or forced shutdown. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -3378,7 +3378,7 @@ Stop a work item, initiating graceful or forced shutdown. Session identifier (e.g., 'session_...') - - `JsonElement Type constant` + - `JsonElement Type = "session"` Type of work data @@ -3406,15 +3406,15 @@ Stop a work item, initiating graceful or forced shutdown. Current state of the work item - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required string? StopRequestedAt` @@ -3424,7 +3424,7 @@ Stop a work item, initiating graceful or forced shutdown. RFC 3339 timestamp when work execution stopped - - `JsonElement Type constant` + - `JsonElement Type = "work"` The type of object (always 'work') @@ -3499,93 +3499,93 @@ List work items in an environment. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -3617,7 +3617,7 @@ List work items in an environment. Session identifier (e.g., 'session_...') - - `JsonElement Type constant` + - `JsonElement Type = "session"` Type of work data @@ -3645,15 +3645,15 @@ List work items in an environment. Current state of the work item - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required string? StopRequestedAt` @@ -3663,7 +3663,7 @@ List work items in an environment. RFC 3339 timestamp when work execution stopped - - `JsonElement Type constant` + - `JsonElement Type = "work"` The type of object (always 'work') @@ -3742,93 +3742,93 @@ Update work item metadata with merge semantics. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -3860,7 +3860,7 @@ Update work item metadata with merge semantics. Session identifier (e.g., 'session_...') - - `JsonElement Type constant` + - `JsonElement Type = "session"` Type of work data @@ -3888,15 +3888,15 @@ Update work item metadata with merge semantics. Current state of the work item - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required string? StopRequestedAt` @@ -3906,7 +3906,7 @@ Update work item metadata with merge semantics. RFC 3339 timestamp when work execution stopped - - `JsonElement Type constant` + - `JsonElement Type = "work"` The type of object (always 'work') @@ -3968,93 +3968,93 @@ Get statistics about the work queue for an environment. Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -4076,7 +4076,7 @@ Get statistics about the work queue for an environment. Number of work items being processed (polled but not acknowledged) - - `JsonElement Type constant` + - `JsonElement Type = "work_queue_stats"` The type of object diff --git a/content/en/api/csharp/beta/environments/archive.md b/content/en/api/csharp/beta/environments/archive.md index 4cda66d292..a633e770b9 100644 --- a/content/en/api/csharp/beta/environments/archive.md +++ b/content/en/api/csharp/beta/environments/archive.md @@ -16,93 +16,93 @@ Archive an environment by ID. Archived environments cannot be used to create new Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -134,7 +134,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Unrestricted network access. - - `JsonElement Type constant` + - `JsonElement Type = "unrestricted"` Network policy type @@ -154,7 +154,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Specifies domains the container can reach. - - `JsonElement Type constant` + - `JsonElement Type = "limited"` Network policy type @@ -190,7 +190,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Package configuration type - - `JsonElement Type constant` + - `JsonElement Type = "cloud"` Environment type @@ -198,7 +198,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Configuration for self-hosted environments. - - `JsonElement Type constant` + - `JsonElement Type = "self_hosted"` Environment type @@ -218,7 +218,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Human-readable name for the environment - - `JsonElement Type constant` + - `JsonElement Type = "environment"` The type of object (always 'environment') @@ -230,9 +230,9 @@ Archive an environment by ID. Archived environments cannot be used to create new The visibility scope for this environment. 'organization' means visible to all accounts. 'account' means visible only to the owning account. - - `Organization` + - `Organization("organization")` - - `Account` + - `Account("account")` ## Example diff --git a/content/en/api/csharp/beta/environments/create.md b/content/en/api/csharp/beta/environments/create.md index dfb311b992..7413dbba51 100644 --- a/content/en/api/csharp/beta/environments/create.md +++ b/content/en/api/csharp/beta/environments/create.md @@ -27,7 +27,7 @@ Create a new environment with the specified configuration. Fields default to null; on update, omitted fields preserve the existing value. - - `JsonElement Type constant` + - `JsonElement Type = "cloud"` Environment type @@ -39,7 +39,7 @@ Create a new environment with the specified configuration. Unrestricted network access. - - `JsonElement Type constant` + - `JsonElement Type = "unrestricted"` Network policy type @@ -50,7 +50,7 @@ Create a new environment with the specified configuration. Fields default to null; on update, omitted fields preserve the existing value. - - `JsonElement Type constant` + - `JsonElement Type = "limited"` Network policy type @@ -106,7 +106,7 @@ Create a new environment with the specified configuration. Request params for `self_hosted` environment configuration. - - `JsonElement Type constant` + - `JsonElement Type = "self_hosted"` Environment type @@ -124,101 +124,101 @@ Create a new environment with the specified configuration. Body param: The visibility scope for this environment. 'organization' makes the environment visible to all accounts. 'account' restricts visibility to the owning account only. Only applicable for self-hosted environments. If not specified, defaults based on organization type. - - `Organization` + - `Organization("organization")` - - `Account` + - `Account("account")` - `IReadOnlyList betas` Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -250,7 +250,7 @@ Create a new environment with the specified configuration. Unrestricted network access. - - `JsonElement Type constant` + - `JsonElement Type = "unrestricted"` Network policy type @@ -270,7 +270,7 @@ Create a new environment with the specified configuration. Specifies domains the container can reach. - - `JsonElement Type constant` + - `JsonElement Type = "limited"` Network policy type @@ -306,7 +306,7 @@ Create a new environment with the specified configuration. Package configuration type - - `JsonElement Type constant` + - `JsonElement Type = "cloud"` Environment type @@ -314,7 +314,7 @@ Create a new environment with the specified configuration. Configuration for self-hosted environments. - - `JsonElement Type constant` + - `JsonElement Type = "self_hosted"` Environment type @@ -334,7 +334,7 @@ Create a new environment with the specified configuration. Human-readable name for the environment - - `JsonElement Type constant` + - `JsonElement Type = "environment"` The type of object (always 'environment') @@ -346,9 +346,9 @@ Create a new environment with the specified configuration. The visibility scope for this environment. 'organization' means visible to all accounts. 'account' means visible only to the owning account. - - `Organization` + - `Organization("organization")` - - `Account` + - `Account("account")` ## Example diff --git a/content/en/api/csharp/beta/environments/delete.md b/content/en/api/csharp/beta/environments/delete.md index 8b9ae54620..a9f35ff27d 100644 --- a/content/en/api/csharp/beta/environments/delete.md +++ b/content/en/api/csharp/beta/environments/delete.md @@ -16,93 +16,93 @@ Delete an environment by ID. Returns a confirmation of the deletion. Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/environments/list.md b/content/en/api/csharp/beta/environments/list.md index 53b608a3f9..872e4af595 100644 --- a/content/en/api/csharp/beta/environments/list.md +++ b/content/en/api/csharp/beta/environments/list.md @@ -28,93 +28,93 @@ List environments with pagination support. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -146,7 +146,7 @@ List environments with pagination support. Unrestricted network access. - - `JsonElement Type constant` + - `JsonElement Type = "unrestricted"` Network policy type @@ -166,7 +166,7 @@ List environments with pagination support. Specifies domains the container can reach. - - `JsonElement Type constant` + - `JsonElement Type = "limited"` Network policy type @@ -202,7 +202,7 @@ List environments with pagination support. Package configuration type - - `JsonElement Type constant` + - `JsonElement Type = "cloud"` Environment type @@ -210,7 +210,7 @@ List environments with pagination support. Configuration for self-hosted environments. - - `JsonElement Type constant` + - `JsonElement Type = "self_hosted"` Environment type @@ -230,7 +230,7 @@ List environments with pagination support. Human-readable name for the environment - - `JsonElement Type constant` + - `JsonElement Type = "environment"` The type of object (always 'environment') @@ -242,9 +242,9 @@ List environments with pagination support. The visibility scope for this environment. 'organization' means visible to all accounts. 'account' means visible only to the owning account. - - `Organization` + - `Organization("organization")` - - `Account` + - `Account("account")` ## Example diff --git a/content/en/api/csharp/beta/environments/retrieve.md b/content/en/api/csharp/beta/environments/retrieve.md index c95546a2f9..6d37d5d7dd 100644 --- a/content/en/api/csharp/beta/environments/retrieve.md +++ b/content/en/api/csharp/beta/environments/retrieve.md @@ -16,93 +16,93 @@ Retrieve a specific environment by ID. Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -134,7 +134,7 @@ Retrieve a specific environment by ID. Unrestricted network access. - - `JsonElement Type constant` + - `JsonElement Type = "unrestricted"` Network policy type @@ -154,7 +154,7 @@ Retrieve a specific environment by ID. Specifies domains the container can reach. - - `JsonElement Type constant` + - `JsonElement Type = "limited"` Network policy type @@ -190,7 +190,7 @@ Retrieve a specific environment by ID. Package configuration type - - `JsonElement Type constant` + - `JsonElement Type = "cloud"` Environment type @@ -198,7 +198,7 @@ Retrieve a specific environment by ID. Configuration for self-hosted environments. - - `JsonElement Type constant` + - `JsonElement Type = "self_hosted"` Environment type @@ -218,7 +218,7 @@ Retrieve a specific environment by ID. Human-readable name for the environment - - `JsonElement Type constant` + - `JsonElement Type = "environment"` The type of object (always 'environment') @@ -230,9 +230,9 @@ Retrieve a specific environment by ID. The visibility scope for this environment. 'organization' means visible to all accounts. 'account' means visible only to the owning account. - - `Organization` + - `Organization("organization")` - - `Account` + - `Account("account")` ## Example diff --git a/content/en/api/csharp/beta/environments/update.md b/content/en/api/csharp/beta/environments/update.md index f0284d9e29..b691ea4db6 100644 --- a/content/en/api/csharp/beta/environments/update.md +++ b/content/en/api/csharp/beta/environments/update.md @@ -25,7 +25,7 @@ Update an existing environment's configuration. Fields default to null; on update, omitted fields preserve the existing value. - - `JsonElement Type constant` + - `JsonElement Type = "cloud"` Environment type @@ -37,7 +37,7 @@ Update an existing environment's configuration. Unrestricted network access. - - `JsonElement Type constant` + - `JsonElement Type = "unrestricted"` Network policy type @@ -48,7 +48,7 @@ Update an existing environment's configuration. Fields default to null; on update, omitted fields preserve the existing value. - - `JsonElement Type constant` + - `JsonElement Type = "limited"` Network policy type @@ -104,7 +104,7 @@ Update an existing environment's configuration. Request params for `self_hosted` environment configuration. - - `JsonElement Type constant` + - `JsonElement Type = "self_hosted"` Environment type @@ -128,101 +128,101 @@ Update an existing environment's configuration. Body param: The visibility scope for this environment. 'organization' makes the environment visible to all accounts. 'account' restricts visibility to the owning account only. - - `Organization` + - `Organization("organization")` - - `Account` + - `Account("account")` - `IReadOnlyList betas` Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -254,7 +254,7 @@ Update an existing environment's configuration. Unrestricted network access. - - `JsonElement Type constant` + - `JsonElement Type = "unrestricted"` Network policy type @@ -274,7 +274,7 @@ Update an existing environment's configuration. Specifies domains the container can reach. - - `JsonElement Type constant` + - `JsonElement Type = "limited"` Network policy type @@ -310,7 +310,7 @@ Update an existing environment's configuration. Package configuration type - - `JsonElement Type constant` + - `JsonElement Type = "cloud"` Environment type @@ -318,7 +318,7 @@ Update an existing environment's configuration. Configuration for self-hosted environments. - - `JsonElement Type constant` + - `JsonElement Type = "self_hosted"` Environment type @@ -338,7 +338,7 @@ Update an existing environment's configuration. Human-readable name for the environment - - `JsonElement Type constant` + - `JsonElement Type = "environment"` The type of object (always 'environment') @@ -350,9 +350,9 @@ Update an existing environment's configuration. The visibility scope for this environment. 'organization' means visible to all accounts. 'account' means visible only to the owning account. - - `Organization` + - `Organization("organization")` - - `Account` + - `Account("account")` ## Example diff --git a/content/en/api/csharp/beta/environments/work.md b/content/en/api/csharp/beta/environments/work.md index 906f4b6f30..9401cbcb6f 100644 --- a/content/en/api/csharp/beta/environments/work.md +++ b/content/en/api/csharp/beta/environments/work.md @@ -26,93 +26,93 @@ Retrieve detailed information about a specific work item. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -144,7 +144,7 @@ Retrieve detailed information about a specific work item. Session identifier (e.g., 'session_...') - - `JsonElement Type constant` + - `JsonElement Type = "session"` Type of work data @@ -172,15 +172,15 @@ Retrieve detailed information about a specific work item. Current state of the work item - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required string? StopRequestedAt` @@ -190,7 +190,7 @@ Retrieve detailed information about a specific work item. RFC 3339 timestamp when work execution stopped - - `JsonElement Type constant` + - `JsonElement Type = "work"` The type of object (always 'work') @@ -267,93 +267,93 @@ Long poll for work items in the queue. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` - `string anthropicWorkerID` @@ -389,7 +389,7 @@ Long poll for work items in the queue. Session identifier (e.g., 'session_...') - - `JsonElement Type constant` + - `JsonElement Type = "session"` Type of work data @@ -417,15 +417,15 @@ Long poll for work items in the queue. Current state of the work item - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required string? StopRequestedAt` @@ -435,7 +435,7 @@ Long poll for work items in the queue. RFC 3339 timestamp when work execution stopped - - `JsonElement Type constant` + - `JsonElement Type = "work"` The type of object (always 'work') @@ -503,93 +503,93 @@ Acknowledge receipt of a work item, transitioning it from 'queued' to 'starting' Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -621,7 +621,7 @@ Acknowledge receipt of a work item, transitioning it from 'queued' to 'starting' Session identifier (e.g., 'session_...') - - `JsonElement Type constant` + - `JsonElement Type = "session"` Type of work data @@ -649,15 +649,15 @@ Acknowledge receipt of a work item, transitioning it from 'queued' to 'starting' Current state of the work item - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required string? StopRequestedAt` @@ -667,7 +667,7 @@ Acknowledge receipt of a work item, transitioning it from 'queued' to 'starting' RFC 3339 timestamp when work execution stopped - - `JsonElement Type constant` + - `JsonElement Type = "work"` The type of object (always 'work') @@ -744,93 +744,93 @@ Record a heartbeat for a work item to maintain the lease. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -850,21 +850,21 @@ Record a heartbeat for a work item to maintain the lease. Current state of the work item (active/stopping/stopped) - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required long TtlSeconds` Effective TTL applied to the lease - - `JsonElement Type constant` + - `JsonElement Type = "work_heartbeat"` The type of response @@ -924,93 +924,93 @@ Stop a work item, initiating graceful or forced shutdown. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -1042,7 +1042,7 @@ Stop a work item, initiating graceful or forced shutdown. Session identifier (e.g., 'session_...') - - `JsonElement Type constant` + - `JsonElement Type = "session"` Type of work data @@ -1070,15 +1070,15 @@ Stop a work item, initiating graceful or forced shutdown. Current state of the work item - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required string? StopRequestedAt` @@ -1088,7 +1088,7 @@ Stop a work item, initiating graceful or forced shutdown. RFC 3339 timestamp when work execution stopped - - `JsonElement Type constant` + - `JsonElement Type = "work"` The type of object (always 'work') @@ -1163,93 +1163,93 @@ List work items in an environment. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -1281,7 +1281,7 @@ List work items in an environment. Session identifier (e.g., 'session_...') - - `JsonElement Type constant` + - `JsonElement Type = "session"` Type of work data @@ -1309,15 +1309,15 @@ List work items in an environment. Current state of the work item - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required string? StopRequestedAt` @@ -1327,7 +1327,7 @@ List work items in an environment. RFC 3339 timestamp when work execution stopped - - `JsonElement Type constant` + - `JsonElement Type = "work"` The type of object (always 'work') @@ -1406,93 +1406,93 @@ Update work item metadata with merge semantics. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -1524,7 +1524,7 @@ Update work item metadata with merge semantics. Session identifier (e.g., 'session_...') - - `JsonElement Type constant` + - `JsonElement Type = "session"` Type of work data @@ -1552,15 +1552,15 @@ Update work item metadata with merge semantics. Current state of the work item - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required string? StopRequestedAt` @@ -1570,7 +1570,7 @@ Update work item metadata with merge semantics. RFC 3339 timestamp when work execution stopped - - `JsonElement Type constant` + - `JsonElement Type = "work"` The type of object (always 'work') @@ -1632,93 +1632,93 @@ Get statistics about the work queue for an environment. Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -1740,7 +1740,7 @@ Get statistics about the work queue for an environment. Number of work items being processed (polled but not acknowledged) - - `JsonElement Type constant` + - `JsonElement Type = "work_queue_stats"` The type of object @@ -1805,7 +1805,7 @@ Console.WriteLine(betaSelfHostedWorkQueueStats); Session identifier (e.g., 'session_...') - - `JsonElement Type constant` + - `JsonElement Type = "session"` Type of work data @@ -1833,15 +1833,15 @@ Console.WriteLine(betaSelfHostedWorkQueueStats); Current state of the work item - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required string? StopRequestedAt` @@ -1851,7 +1851,7 @@ Console.WriteLine(betaSelfHostedWorkQueueStats); RFC 3339 timestamp when work execution stopped - - `JsonElement Type constant` + - `JsonElement Type = "work"` The type of object (always 'work') @@ -1873,21 +1873,21 @@ Console.WriteLine(betaSelfHostedWorkQueueStats); Current state of the work item (active/stopping/stopped) - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required long TtlSeconds` Effective TTL applied to the lease - - `JsonElement Type constant` + - `JsonElement Type = "work_heartbeat"` The type of response @@ -1921,7 +1921,7 @@ Console.WriteLine(betaSelfHostedWorkQueueStats); Session identifier (e.g., 'session_...') - - `JsonElement Type constant` + - `JsonElement Type = "session"` Type of work data @@ -1949,15 +1949,15 @@ Console.WriteLine(betaSelfHostedWorkQueueStats); Current state of the work item - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required string? StopRequestedAt` @@ -1967,7 +1967,7 @@ Console.WriteLine(betaSelfHostedWorkQueueStats); RFC 3339 timestamp when work execution stopped - - `JsonElement Type constant` + - `JsonElement Type = "work"` The type of object (always 'work') @@ -1995,7 +1995,7 @@ Console.WriteLine(betaSelfHostedWorkQueueStats); Number of work items being processed (polled but not acknowledged) - - `JsonElement Type constant` + - `JsonElement Type = "work_queue_stats"` The type of object @@ -2036,6 +2036,6 @@ Console.WriteLine(betaSelfHostedWorkQueueStats); Session identifier (e.g., 'session_...') - - `JsonElement Type constant` + - `JsonElement Type = "session"` Type of work data diff --git a/content/en/api/csharp/beta/environments/work/ack.md b/content/en/api/csharp/beta/environments/work/ack.md index 107570e6ee..8c0a864597 100644 --- a/content/en/api/csharp/beta/environments/work/ack.md +++ b/content/en/api/csharp/beta/environments/work/ack.md @@ -24,93 +24,93 @@ Acknowledge receipt of a work item, transitioning it from 'queued' to 'starting' Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -142,7 +142,7 @@ Acknowledge receipt of a work item, transitioning it from 'queued' to 'starting' Session identifier (e.g., 'session_...') - - `JsonElement Type constant` + - `JsonElement Type = "session"` Type of work data @@ -170,15 +170,15 @@ Acknowledge receipt of a work item, transitioning it from 'queued' to 'starting' Current state of the work item - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required string? StopRequestedAt` @@ -188,7 +188,7 @@ Acknowledge receipt of a work item, transitioning it from 'queued' to 'starting' RFC 3339 timestamp when work execution stopped - - `JsonElement Type constant` + - `JsonElement Type = "work"` The type of object (always 'work') diff --git a/content/en/api/csharp/beta/environments/work/heartbeat.md b/content/en/api/csharp/beta/environments/work/heartbeat.md index 5a2579f2c8..b7065d74d6 100644 --- a/content/en/api/csharp/beta/environments/work/heartbeat.md +++ b/content/en/api/csharp/beta/environments/work/heartbeat.md @@ -32,93 +32,93 @@ Record a heartbeat for a work item to maintain the lease. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -138,21 +138,21 @@ Record a heartbeat for a work item to maintain the lease. Current state of the work item (active/stopping/stopped) - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required long TtlSeconds` Effective TTL applied to the lease - - `JsonElement Type constant` + - `JsonElement Type = "work_heartbeat"` The type of response diff --git a/content/en/api/csharp/beta/environments/work/list.md b/content/en/api/csharp/beta/environments/work/list.md index 93c5437e79..dd55f08cdb 100644 --- a/content/en/api/csharp/beta/environments/work/list.md +++ b/content/en/api/csharp/beta/environments/work/list.md @@ -30,93 +30,93 @@ List work items in an environment. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -148,7 +148,7 @@ List work items in an environment. Session identifier (e.g., 'session_...') - - `JsonElement Type constant` + - `JsonElement Type = "session"` Type of work data @@ -176,15 +176,15 @@ List work items in an environment. Current state of the work item - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required string? StopRequestedAt` @@ -194,7 +194,7 @@ List work items in an environment. RFC 3339 timestamp when work execution stopped - - `JsonElement Type constant` + - `JsonElement Type = "work"` The type of object (always 'work') diff --git a/content/en/api/csharp/beta/environments/work/poll.md b/content/en/api/csharp/beta/environments/work/poll.md index 953368b4cf..8fb4e94229 100644 --- a/content/en/api/csharp/beta/environments/work/poll.md +++ b/content/en/api/csharp/beta/environments/work/poll.md @@ -32,93 +32,93 @@ Long poll for work items in the queue. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` - `string anthropicWorkerID` @@ -154,7 +154,7 @@ Long poll for work items in the queue. Session identifier (e.g., 'session_...') - - `JsonElement Type constant` + - `JsonElement Type = "session"` Type of work data @@ -182,15 +182,15 @@ Long poll for work items in the queue. Current state of the work item - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required string? StopRequestedAt` @@ -200,7 +200,7 @@ Long poll for work items in the queue. RFC 3339 timestamp when work execution stopped - - `JsonElement Type constant` + - `JsonElement Type = "work"` The type of object (always 'work') diff --git a/content/en/api/csharp/beta/environments/work/retrieve.md b/content/en/api/csharp/beta/environments/work/retrieve.md index 65c7058749..b181df27d2 100644 --- a/content/en/api/csharp/beta/environments/work/retrieve.md +++ b/content/en/api/csharp/beta/environments/work/retrieve.md @@ -24,93 +24,93 @@ Retrieve detailed information about a specific work item. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -142,7 +142,7 @@ Retrieve detailed information about a specific work item. Session identifier (e.g., 'session_...') - - `JsonElement Type constant` + - `JsonElement Type = "session"` Type of work data @@ -170,15 +170,15 @@ Retrieve detailed information about a specific work item. Current state of the work item - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required string? StopRequestedAt` @@ -188,7 +188,7 @@ Retrieve detailed information about a specific work item. RFC 3339 timestamp when work execution stopped - - `JsonElement Type constant` + - `JsonElement Type = "work"` The type of object (always 'work') diff --git a/content/en/api/csharp/beta/environments/work/stats.md b/content/en/api/csharp/beta/environments/work/stats.md index 9ccadf2201..63bef0fdc4 100644 --- a/content/en/api/csharp/beta/environments/work/stats.md +++ b/content/en/api/csharp/beta/environments/work/stats.md @@ -16,93 +16,93 @@ Get statistics about the work queue for an environment. Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -124,7 +124,7 @@ Get statistics about the work queue for an environment. Number of work items being processed (polled but not acknowledged) - - `JsonElement Type constant` + - `JsonElement Type = "work_queue_stats"` The type of object diff --git a/content/en/api/csharp/beta/environments/work/stop.md b/content/en/api/csharp/beta/environments/work/stop.md index e0565b04a4..62602e7db4 100644 --- a/content/en/api/csharp/beta/environments/work/stop.md +++ b/content/en/api/csharp/beta/environments/work/stop.md @@ -28,93 +28,93 @@ Stop a work item, initiating graceful or forced shutdown. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -146,7 +146,7 @@ Stop a work item, initiating graceful or forced shutdown. Session identifier (e.g., 'session_...') - - `JsonElement Type constant` + - `JsonElement Type = "session"` Type of work data @@ -174,15 +174,15 @@ Stop a work item, initiating graceful or forced shutdown. Current state of the work item - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required string? StopRequestedAt` @@ -192,7 +192,7 @@ Stop a work item, initiating graceful or forced shutdown. RFC 3339 timestamp when work execution stopped - - `JsonElement Type constant` + - `JsonElement Type = "work"` The type of object (always 'work') diff --git a/content/en/api/csharp/beta/environments/work/update.md b/content/en/api/csharp/beta/environments/work/update.md index 873581cb86..675a7d7ef7 100644 --- a/content/en/api/csharp/beta/environments/work/update.md +++ b/content/en/api/csharp/beta/environments/work/update.md @@ -28,93 +28,93 @@ Update work item metadata with merge semantics. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -146,7 +146,7 @@ Update work item metadata with merge semantics. Session identifier (e.g., 'session_...') - - `JsonElement Type constant` + - `JsonElement Type = "session"` Type of work data @@ -174,15 +174,15 @@ Update work item metadata with merge semantics. Current state of the work item - - `Queued` + - `Queued("queued")` - - `Starting` + - `Starting("starting")` - - `Active` + - `Active("active")` - - `Stopping` + - `Stopping("stopping")` - - `Stopped` + - `Stopped("stopped")` - `required string? StopRequestedAt` @@ -192,7 +192,7 @@ Update work item metadata with merge semantics. RFC 3339 timestamp when work execution stopped - - `JsonElement Type constant` + - `JsonElement Type = "work"` The type of object (always 'work') diff --git a/content/en/api/csharp/beta/files.md b/content/en/api/csharp/beta/files.md index e1557a3773..d5a3560c14 100644 --- a/content/en/api/csharp/beta/files.md +++ b/content/en/api/csharp/beta/files.md @@ -28,93 +28,93 @@ Upload File Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -150,7 +150,7 @@ Upload File minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "file"` Object type. @@ -174,7 +174,7 @@ Upload File The ID of the scoping resource (e.g., the session ID). - - `JsonElement Type constant` + - `JsonElement Type = "session"` The type of scope (e.g., `"session"`). @@ -246,93 +246,93 @@ List Files Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -368,7 +368,7 @@ List Files minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "file"` Object type. @@ -392,7 +392,7 @@ List Files The ID of the scoping resource (e.g., the session ID). - - `JsonElement Type constant` + - `JsonElement Type = "session"` The type of scope (e.g., `"session"`). @@ -452,93 +452,93 @@ Download File Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Example @@ -570,93 +570,93 @@ Get File Metadata Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -692,7 +692,7 @@ Get File Metadata minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "file"` Object type. @@ -716,7 +716,7 @@ Get File Metadata The ID of the scoping resource (e.g., the session ID). - - `JsonElement Type constant` + - `JsonElement Type = "session"` The type of scope (e.g., `"session"`). @@ -769,93 +769,93 @@ Delete File Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -940,7 +940,7 @@ Console.WriteLine(betaDeletedFile); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "file"` Object type. @@ -964,7 +964,7 @@ Console.WriteLine(betaDeletedFile); The ID of the scoping resource (e.g., the session ID). - - `JsonElement Type constant` + - `JsonElement Type = "session"` The type of scope (e.g., `"session"`). @@ -976,6 +976,6 @@ Console.WriteLine(betaDeletedFile); The ID of the scoping resource (e.g., the session ID). - - `JsonElement Type constant` + - `JsonElement Type = "session"` The type of scope (e.g., `"session"`). diff --git a/content/en/api/csharp/beta/files/delete.md b/content/en/api/csharp/beta/files/delete.md index bc14682366..24509cfb62 100644 --- a/content/en/api/csharp/beta/files/delete.md +++ b/content/en/api/csharp/beta/files/delete.md @@ -18,93 +18,93 @@ Delete File Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/files/download.md b/content/en/api/csharp/beta/files/download.md index fd8153cd24..a6d82cd683 100644 --- a/content/en/api/csharp/beta/files/download.md +++ b/content/en/api/csharp/beta/files/download.md @@ -18,93 +18,93 @@ Download File Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Example diff --git a/content/en/api/csharp/beta/files/list.md b/content/en/api/csharp/beta/files/list.md index 622d2dc012..089064ce5c 100644 --- a/content/en/api/csharp/beta/files/list.md +++ b/content/en/api/csharp/beta/files/list.md @@ -34,93 +34,93 @@ List Files Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -156,7 +156,7 @@ List Files minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "file"` Object type. @@ -180,7 +180,7 @@ List Files The ID of the scoping resource (e.g., the session ID). - - `JsonElement Type constant` + - `JsonElement Type = "session"` The type of scope (e.g., `"session"`). diff --git a/content/en/api/csharp/beta/files/retrieve_metadata.md b/content/en/api/csharp/beta/files/retrieve_metadata.md index 31f8ba8ef8..760ad33169 100644 --- a/content/en/api/csharp/beta/files/retrieve_metadata.md +++ b/content/en/api/csharp/beta/files/retrieve_metadata.md @@ -18,93 +18,93 @@ Get File Metadata Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -140,7 +140,7 @@ Get File Metadata minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "file"` Object type. @@ -164,7 +164,7 @@ Get File Metadata The ID of the scoping resource (e.g., the session ID). - - `JsonElement Type constant` + - `JsonElement Type = "session"` The type of scope (e.g., `"session"`). diff --git a/content/en/api/csharp/beta/files/upload.md b/content/en/api/csharp/beta/files/upload.md index ec58848e1f..0a72145b2e 100644 --- a/content/en/api/csharp/beta/files/upload.md +++ b/content/en/api/csharp/beta/files/upload.md @@ -26,93 +26,93 @@ Upload File Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -148,7 +148,7 @@ Upload File minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "file"` Object type. @@ -172,7 +172,7 @@ Upload File The ID of the scoping resource (e.g., the session ID). - - `JsonElement Type constant` + - `JsonElement Type = "session"` The type of scope (e.g., `"session"`). diff --git a/content/en/api/csharp/beta/memory_stores.md b/content/en/api/csharp/beta/memory_stores.md index 36d87bd3da..c4b1c1251a 100644 --- a/content/en/api/csharp/beta/memory_stores.md +++ b/content/en/api/csharp/beta/memory_stores.md @@ -32,93 +32,93 @@ Create a memory store Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -231,93 +231,93 @@ List memory stores Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -415,93 +415,93 @@ Retrieve a memory store Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -611,93 +611,93 @@ Update a memory store Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -791,93 +791,93 @@ Delete a memory store Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -933,93 +933,93 @@ Archive a memory store Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -1185,93 +1185,93 @@ Create a memory Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -1399,93 +1399,93 @@ List memories Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -1613,93 +1613,93 @@ Retrieve a memory Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -1824,93 +1824,93 @@ Update a memory Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -2021,93 +2021,93 @@ Delete a memory Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -2212,93 +2212,93 @@ List memory versions Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -2328,11 +2328,11 @@ List memory versions The kind of mutation a `memory_version` records. Every non-no-op mutation to a memory appends exactly one version row with one of these values. - - `Created` + - `Created("created")` - - `Modified` + - `Modified("modified")` - - `Deleted` + - `Deleted("deleted")` - `required Type Type` @@ -2400,7 +2400,7 @@ List memory versions minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "service_account_actor"` - `string? Path` @@ -2490,93 +2490,93 @@ Retrieve a memory version Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -2606,11 +2606,11 @@ Retrieve a memory version The kind of mutation a `memory_version` records. Every non-no-op mutation to a memory appends exactly one version row with one of these values. - - `Created` + - `Created("created")` - - `Modified` + - `Modified("modified")` - - `Deleted` + - `Deleted("deleted")` - `required Type Type` @@ -2678,7 +2678,7 @@ Retrieve a memory version minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "service_account_actor"` - `string? Path` @@ -2758,93 +2758,93 @@ Redact a memory version Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -2874,11 +2874,11 @@ Redact a memory version The kind of mutation a `memory_version` records. Every non-no-op mutation to a memory appends exactly one version row with one of these values. - - `Created` + - `Created("created")` - - `Modified` + - `Modified("modified")` - - `Deleted` + - `Deleted("deleted")` - `required Type Type` @@ -2946,7 +2946,7 @@ Redact a memory version minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "service_account_actor"` - `string? Path` diff --git a/content/en/api/csharp/beta/memory_stores/archive.md b/content/en/api/csharp/beta/memory_stores/archive.md index a0d280a53c..cf3ef5706b 100644 --- a/content/en/api/csharp/beta/memory_stores/archive.md +++ b/content/en/api/csharp/beta/memory_stores/archive.md @@ -18,93 +18,93 @@ Archive a memory store Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/memory_stores/create.md b/content/en/api/csharp/beta/memory_stores/create.md index 0c13679331..6c7a5cd07a 100644 --- a/content/en/api/csharp/beta/memory_stores/create.md +++ b/content/en/api/csharp/beta/memory_stores/create.md @@ -30,93 +30,93 @@ Create a memory store Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/memory_stores/delete.md b/content/en/api/csharp/beta/memory_stores/delete.md index 5227631df3..2788c1bc2e 100644 --- a/content/en/api/csharp/beta/memory_stores/delete.md +++ b/content/en/api/csharp/beta/memory_stores/delete.md @@ -18,93 +18,93 @@ Delete a memory store Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/memory_stores/list.md b/content/en/api/csharp/beta/memory_stores/list.md index 90dbf6fb95..4e8f2af101 100644 --- a/content/en/api/csharp/beta/memory_stores/list.md +++ b/content/en/api/csharp/beta/memory_stores/list.md @@ -40,93 +40,93 @@ List memory stores Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/memory_stores/memories.md b/content/en/api/csharp/beta/memory_stores/memories.md index 5f922dfa28..626de252f9 100644 --- a/content/en/api/csharp/beta/memory_stores/memories.md +++ b/content/en/api/csharp/beta/memory_stores/memories.md @@ -34,93 +34,93 @@ Create a memory Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -248,93 +248,93 @@ List memories Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -462,93 +462,93 @@ Retrieve a memory Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -673,93 +673,93 @@ Update a memory Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -870,93 +870,93 @@ Delete a memory Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -1035,55 +1035,55 @@ Console.WriteLine(betaManagedAgentsDeletedMemory); - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "invalid_request_error"` - `class BetaAuthenticationError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "authentication_error"` - `class BetaBillingError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "billing_error"` - `class BetaPermissionError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "permission_error"` - `class BetaNotFoundError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "not_found_error"` - `class BetaRateLimitError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "rate_limit_error"` - `class BetaGatewayTimeoutError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "timeout_error"` - `class BetaApiError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "api_error"` - `class BetaOverloadedError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "overloaded_error"` - `class BetaManagedAgentsMemoryPreconditionFailedError:` @@ -1259,9 +1259,9 @@ Console.WriteLine(betaManagedAgentsDeletedMemory); Selects which projection of a `memory` or `memory_version` the server returns. `basic` returns the object with `content` set to `null`; `full` populates `content`. When omitted, the default is endpoint-specific: retrieve operations default to `full`; list, create, and update operations default to `basic`. Listing with `view=full` caps `limit` at 20. - - `Basic` + - `Basic("basic")` - - `Full` + - `Full("full")` ### Beta Managed Agents Precondition diff --git a/content/en/api/csharp/beta/memory_stores/memories/create.md b/content/en/api/csharp/beta/memory_stores/memories/create.md index c648acd8fd..de09f00bac 100644 --- a/content/en/api/csharp/beta/memory_stores/memories/create.md +++ b/content/en/api/csharp/beta/memory_stores/memories/create.md @@ -32,93 +32,93 @@ Create a memory Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/memory_stores/memories/delete.md b/content/en/api/csharp/beta/memory_stores/memories/delete.md index f853033793..0e88332890 100644 --- a/content/en/api/csharp/beta/memory_stores/memories/delete.md +++ b/content/en/api/csharp/beta/memory_stores/memories/delete.md @@ -26,93 +26,93 @@ Delete a memory Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/memory_stores/memories/list.md b/content/en/api/csharp/beta/memory_stores/memories/list.md index f4df315363..90ae699f2c 100644 --- a/content/en/api/csharp/beta/memory_stores/memories/list.md +++ b/content/en/api/csharp/beta/memory_stores/memories/list.md @@ -42,93 +42,93 @@ List memories Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/memory_stores/memories/retrieve.md b/content/en/api/csharp/beta/memory_stores/memories/retrieve.md index 1b5efb4d40..c49b836fc9 100644 --- a/content/en/api/csharp/beta/memory_stores/memories/retrieve.md +++ b/content/en/api/csharp/beta/memory_stores/memories/retrieve.md @@ -26,93 +26,93 @@ Retrieve a memory Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/memory_stores/memories/update.md b/content/en/api/csharp/beta/memory_stores/memories/update.md index 146ea3d9a3..ec08641dfe 100644 --- a/content/en/api/csharp/beta/memory_stores/memories/update.md +++ b/content/en/api/csharp/beta/memory_stores/memories/update.md @@ -40,93 +40,93 @@ Update a memory Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/memory_stores/memory_versions.md b/content/en/api/csharp/beta/memory_stores/memory_versions.md index b79e3a1fe0..0895237369 100644 --- a/content/en/api/csharp/beta/memory_stores/memory_versions.md +++ b/content/en/api/csharp/beta/memory_stores/memory_versions.md @@ -66,93 +66,93 @@ List memory versions Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -182,11 +182,11 @@ List memory versions The kind of mutation a `memory_version` records. Every non-no-op mutation to a memory appends exactly one version row with one of these values. - - `Created` + - `Created("created")` - - `Modified` + - `Modified("modified")` - - `Deleted` + - `Deleted("deleted")` - `required Type Type` @@ -254,7 +254,7 @@ List memory versions minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "service_account_actor"` - `string? Path` @@ -344,93 +344,93 @@ Retrieve a memory version Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -460,11 +460,11 @@ Retrieve a memory version The kind of mutation a `memory_version` records. Every non-no-op mutation to a memory appends exactly one version row with one of these values. - - `Created` + - `Created("created")` - - `Modified` + - `Modified("modified")` - - `Deleted` + - `Deleted("deleted")` - `required Type Type` @@ -532,7 +532,7 @@ Retrieve a memory version minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "service_account_actor"` - `string? Path` @@ -612,93 +612,93 @@ Redact a memory version Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -728,11 +728,11 @@ Redact a memory version The kind of mutation a `memory_version` records. Every non-no-op mutation to a memory appends exactly one version row with one of these values. - - `Created` + - `Created("created")` - - `Modified` + - `Modified("modified")` - - `Deleted` + - `Deleted("deleted")` - `required Type Type` @@ -800,7 +800,7 @@ Redact a memory version minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "service_account_actor"` - `string? Path` @@ -910,7 +910,7 @@ Console.WriteLine(betaManagedAgentsMemoryVersion); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "service_account_actor"` ### Beta Managed Agents API Actor @@ -954,11 +954,11 @@ Console.WriteLine(betaManagedAgentsMemoryVersion); The kind of mutation a `memory_version` records. Every non-no-op mutation to a memory appends exactly one version row with one of these values. - - `Created` + - `Created("created")` - - `Modified` + - `Modified("modified")` - - `Deleted` + - `Deleted("deleted")` - `required Type Type` @@ -1026,7 +1026,7 @@ Console.WriteLine(betaManagedAgentsMemoryVersion); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "service_account_actor"` - `string? Path` @@ -1048,11 +1048,11 @@ Console.WriteLine(betaManagedAgentsMemoryVersion); The kind of mutation a `memory_version` records. Every non-no-op mutation to a memory appends exactly one version row with one of these values. - - `Created` + - `Created("created")` - - `Modified` + - `Modified("modified")` - - `Deleted` + - `Deleted("deleted")` ### Beta Managed Agents Service Account Actor @@ -1066,7 +1066,7 @@ Console.WriteLine(betaManagedAgentsMemoryVersion); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "service_account_actor"` ### Beta Managed Agents Session Actor diff --git a/content/en/api/csharp/beta/memory_stores/memory_versions/list.md b/content/en/api/csharp/beta/memory_stores/memory_versions/list.md index 2c74cb7ef5..a6252467a0 100644 --- a/content/en/api/csharp/beta/memory_stores/memory_versions/list.md +++ b/content/en/api/csharp/beta/memory_stores/memory_versions/list.md @@ -64,93 +64,93 @@ List memory versions Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -180,11 +180,11 @@ List memory versions The kind of mutation a `memory_version` records. Every non-no-op mutation to a memory appends exactly one version row with one of these values. - - `Created` + - `Created("created")` - - `Modified` + - `Modified("modified")` - - `Deleted` + - `Deleted("deleted")` - `required Type Type` @@ -252,7 +252,7 @@ List memory versions minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "service_account_actor"` - `string? Path` diff --git a/content/en/api/csharp/beta/memory_stores/memory_versions/redact.md b/content/en/api/csharp/beta/memory_stores/memory_versions/redact.md index 0b559c6f36..7e2416f0a8 100644 --- a/content/en/api/csharp/beta/memory_stores/memory_versions/redact.md +++ b/content/en/api/csharp/beta/memory_stores/memory_versions/redact.md @@ -22,93 +22,93 @@ Redact a memory version Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -138,11 +138,11 @@ Redact a memory version The kind of mutation a `memory_version` records. Every non-no-op mutation to a memory appends exactly one version row with one of these values. - - `Created` + - `Created("created")` - - `Modified` + - `Modified("modified")` - - `Deleted` + - `Deleted("deleted")` - `required Type Type` @@ -210,7 +210,7 @@ Redact a memory version minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "service_account_actor"` - `string? Path` diff --git a/content/en/api/csharp/beta/memory_stores/memory_versions/retrieve.md b/content/en/api/csharp/beta/memory_stores/memory_versions/retrieve.md index 297dab85aa..37f10271e7 100644 --- a/content/en/api/csharp/beta/memory_stores/memory_versions/retrieve.md +++ b/content/en/api/csharp/beta/memory_stores/memory_versions/retrieve.md @@ -26,93 +26,93 @@ Retrieve a memory version Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -142,11 +142,11 @@ Retrieve a memory version The kind of mutation a `memory_version` records. Every non-no-op mutation to a memory appends exactly one version row with one of these values. - - `Created` + - `Created("created")` - - `Modified` + - `Modified("modified")` - - `Deleted` + - `Deleted("deleted")` - `required Type Type` @@ -214,7 +214,7 @@ Retrieve a memory version minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "service_account_actor"` - `string? Path` diff --git a/content/en/api/csharp/beta/memory_stores/retrieve.md b/content/en/api/csharp/beta/memory_stores/retrieve.md index 6861b7099e..628dd4c551 100644 --- a/content/en/api/csharp/beta/memory_stores/retrieve.md +++ b/content/en/api/csharp/beta/memory_stores/retrieve.md @@ -18,93 +18,93 @@ Retrieve a memory store Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/memory_stores/update.md b/content/en/api/csharp/beta/memory_stores/update.md index 76f9b08b02..f193b9e6cc 100644 --- a/content/en/api/csharp/beta/memory_stores/update.md +++ b/content/en/api/csharp/beta/memory_stores/update.md @@ -34,93 +34,93 @@ Update a memory store Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/messages.md b/content/en/api/csharp/beta/messages.md index e92a3a3a11..0666e74346 100644 --- a/content/en/api/csharp/beta/messages.md +++ b/content/en/api/csharp/beta/messages.md @@ -91,13 +91,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -110,9 +110,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -134,7 +134,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -154,7 +154,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -184,7 +184,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -196,7 +196,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -234,7 +234,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class BetaImageBlockParam:` @@ -248,19 +248,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaUrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -268,9 +268,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `BetaCacheControlEphemeral? CacheControl` @@ -284,9 +284,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - `class BetaRequestDocumentBlock:` @@ -298,17 +298,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaContentBlockSource:` @@ -322,11 +322,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaImageBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class BetaUrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -334,9 +334,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `BetaCacheControlEphemeral? CacheControl` @@ -362,7 +362,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -374,7 +374,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -394,7 +394,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `thinking` text of this block as returned by the API. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class BetaRedactedThinkingBlockParam:` @@ -402,7 +402,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class BetaToolUseBlockParam:` @@ -416,7 +416,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 200, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -430,7 +430,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -440,7 +440,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -448,7 +448,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -462,7 +462,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -490,7 +490,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` @@ -534,7 +534,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonElement Type constant` + - `JsonElement Type = "browser_state"` - `BetaCacheControlEphemeral? CacheControl` @@ -562,7 +562,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -574,7 +574,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -595,7 +595,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -625,7 +625,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -657,23 +657,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -703,7 +703,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -713,25 +713,25 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -759,31 +759,31 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlockParam:` - `required BetaRequestDocumentBlock Content` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -797,7 +797,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -825,27 +825,27 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlockParam:` - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `string? StopReason` @@ -855,7 +855,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `string? StopReason` @@ -863,7 +863,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -879,15 +879,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -895,7 +895,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -903,7 +903,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -913,7 +913,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -921,13 +921,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -941,17 +941,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlockParam:` @@ -959,7 +959,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -967,13 +967,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -987,17 +987,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `string? ErrorMessage` @@ -1007,13 +1007,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `long? NumLines` @@ -1025,11 +1025,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `IReadOnlyList? Lines` @@ -1045,7 +1045,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -1059,15 +1059,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `string? ErrorMessage` @@ -1079,19 +1079,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -1111,7 +1111,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -1123,7 +1123,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -1139,7 +1139,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -1156,7 +1156,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `BetaCacheControlEphemeral? CacheControl` @@ -1172,7 +1172,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co When content is None, the block represents a failed compaction. The server treats these as no-ops. Empty string content is not allowed. - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `BetaCacheControlEphemeral? CacheControl` @@ -1212,7 +1212,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -1223,7 +1223,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -1231,9 +1231,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_toolset_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_addition"` - `BetaCacheControlEphemeral? CacheControl` @@ -1270,7 +1270,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Reference to every tool in the named MCP server's toolset. - - `JsonElement Type constant` + - `JsonElement Type = "tool_removal"` - `BetaCacheControlEphemeral? CacheControl` @@ -1302,71 +1302,71 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -1374,7 +1374,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Identifies one hop of a fallback transition. - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` - `JsonElement Trigger` @@ -1382,19 +1382,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required Role Role` - - `User` + - `User("user")` - - `Assistant` + - `Assistant("assistant")` - - `System` + - `System("system")` - `ClearAt? ClearAt` How long this system message's text stays in front of the model. `"never"` (the default) renders it on every request that includes it. `"next_user_message"` renders it only for the user turn it follows: once a later `role: "user"` message exists in `messages` the message stays in the array (send it unchanged) but is no longer shown to the model. Only permitted on `role: "system"` messages. - - `NextUserMessage` + - `NextUserMessage("next_user_message")` - - `Never` + - `Never("never")` - `BetaSystemMessageOutputConfig? OutputConfig` @@ -1408,15 +1408,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co All possible effort levels. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `required Model model` @@ -1456,9 +1456,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `string Version` @@ -1524,9 +1524,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co How a failing token affects the retry. `strict` (the default, and the bare-string behavior): a failing redemption is a 400 and the retry is not served. `best_effort`: the retry is served either way — a token-layer failure no longer rejects the request; the retry proceeds at normal price and the outcome is reported on the response's `usage.fallback_credit`. Two failures stay hard in both modes: a malformed token, and combining `fallback_credit_token` with `fallbacks`. - - `Strict` + - `Strict("strict")` - - `BestEffort` + - `BestEffort("best_effort")` - `BetaFallbacksParam? fallbacks` @@ -1544,7 +1544,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Name` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -1570,17 +1570,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Anthropic offers different levels of service for your API requests. See [service-tiers](https://platform.claude.com/docs/en/api/service-tiers) for details. - - `Auto` + - `Auto("auto")` - - `StandardOnly` + - `StandardOnly("standard_only")` - `Speed? speed` Body param: Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `IReadOnlyList stopSequences` @@ -1604,7 +1604,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -1696,7 +1696,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -1712,13 +1712,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -1748,23 +1748,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolBash20241022:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -1782,23 +1782,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolBash20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -1816,23 +1816,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaCodeExecutionTool20250522:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250522"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -1848,23 +1848,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaCodeExecutionTool20250825:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -1882,23 +1882,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -1916,23 +1916,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Code execution tool with REPL state persistence. - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260521"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -1953,7 +1953,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co the family's tool with any members disabled via `configs` removed from its schema. - - `JsonElement Type constant` + - `JsonElement Type = "browser_toolset_20260801"` - `BetaCacheControlEphemeral? CacheControl` @@ -2354,23 +2354,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2394,23 +2394,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaMemoryTool20250818:` - - `JsonElement Name constant` + - `JsonElement Name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "memory_20250818"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2440,23 +2440,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2480,23 +2480,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolTextEditor20241022:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2526,23 +2526,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20251124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2579,7 +2579,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonElement Type constant` + - `JsonElement Type = "computer_toolset_20260801"` - `BetaCacheControlEphemeral? CacheControl` @@ -2800,23 +2800,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolTextEditor20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2834,23 +2834,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolTextEditor20250429:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250429"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2868,23 +2868,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolTextEditor20250728:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250728"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2908,23 +2908,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebSearchTool20250305:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20250305"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2956,7 +2956,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Parameters for the user's location. Used to provide more relevant search results. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -2984,23 +2984,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebFetchTool20250910:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20250910"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3040,23 +3040,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebSearchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3090,23 +3090,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebFetchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3148,23 +3148,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260309"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3208,23 +3208,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebSearchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3252,9 +3252,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -3266,23 +3266,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebFetchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3320,9 +3320,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -3340,23 +3340,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonElement Name constant` + - `JsonElement Name = "advisor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "advisor_20260301"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3388,7 +3388,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolSearchToolBm25_20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_bm25"` Name of the tool. @@ -3396,19 +3396,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required Type Type` - - `ToolSearchToolBm25_20251119` + - `ToolSearchToolBm25_20251119("tool_search_tool_bm25_20251119")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3424,7 +3424,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolSearchToolRegex20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_regex"` Name of the tool. @@ -3432,19 +3432,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required Type Type` - - `ToolSearchToolRegex20251119` + - `ToolSearchToolRegex20251119("tool_search_tool_regex_20251119")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3471,7 +3471,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 255, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "mcp_toolset"` - `BetaCacheControlEphemeral? CacheControl` @@ -3497,93 +3497,93 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` - `string userProfileID` @@ -3671,9 +3671,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -3736,7 +3736,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocation:` @@ -3756,7 +3756,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -3786,7 +3786,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -3798,7 +3798,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -3834,13 +3834,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaThinkingBlock:` @@ -3856,7 +3856,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -3868,7 +3868,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -3882,7 +3882,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `Caller Caller` @@ -3892,7 +3892,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -3902,7 +3902,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -3910,7 +3910,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -3928,23 +3928,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `Caller Caller` @@ -3968,19 +3968,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -3990,7 +3990,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -3998,7 +3998,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `Caller Caller` @@ -4022,25 +4022,25 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -4060,29 +4060,29 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -4092,7 +4092,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `Caller Caller` @@ -4116,21 +4116,21 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -4140,7 +4140,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -4152,13 +4152,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -4170,15 +4170,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -4186,7 +4186,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -4194,7 +4194,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -4204,7 +4204,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -4212,13 +4212,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -4228,17 +4228,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -4246,7 +4246,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -4254,13 +4254,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -4270,19 +4270,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -4290,11 +4290,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -4302,13 +4302,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -4322,13 +4322,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -4338,17 +4338,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -4358,15 +4358,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -4384,7 +4384,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -4404,7 +4404,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required bool IsError` @@ -4412,7 +4412,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -4420,7 +4420,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `class BetaCompactionBlock:` @@ -4438,7 +4438,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `class BetaFallbackBlock:` @@ -4464,71 +4464,71 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -4544,29 +4544,29 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` - `required BetaContextManagementResponse? ContextManagement` @@ -4592,7 +4592,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -4610,7 +4610,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_thinking_20251015"` The type of context management edit applied. @@ -4629,7 +4629,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -4637,7 +4637,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -4645,7 +4645,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -4653,15 +4653,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonElement Type constant` + - `JsonElement Type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonElement Type constant` + - `JsonElement Type = "unavailable"` - `required Model Model` @@ -4669,7 +4669,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonElement Role constant` + - `JsonElement Role = "assistant"` Conversational role of the generated message. @@ -4683,23 +4683,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -4758,7 +4758,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - `required BetaStopReason? StopReason` @@ -4776,21 +4776,21 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co In non-streaming mode this value is always non-null. In streaming mode, it is null in the `message_start` event and non-null otherwise. - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Compaction` + - `Compaction("compaction")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` - `required string? StopSequence` @@ -4798,7 +4798,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonElement Type constant` + - `JsonElement Type = "message"` Object type. @@ -4862,7 +4862,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonElement Type constant` + - `JsonElement Type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -4875,31 +4875,31 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co A closed enum; additions to the redemption-check vocabulary arrive as deliberate schema updates. - - `BodyMismatch` + - `BodyMismatch("body_mismatch")` - - `ContinuationExcluded` + - `ContinuationExcluded("continuation_excluded")` - - `ContinuationOnly` + - `ContinuationOnly("continuation_only")` - - `Expired` + - `Expired("expired")` - - `InvalidTargetModel` + - `InvalidTargetModel("invalid_target_model")` - - `NotEnabled` + - `NotEnabled("not_enabled")` - - `RepriceUnavailable` + - `RepriceUnavailable("reprice_unavailable")` - - `TemporarilyUnavailable` + - `TemporarilyUnavailable("temporarily_unavailable")` - - `VariantFieldsPresent` + - `VariantFieldsPresent("variant_fields_present")` - - `WrongOrganization` + - `WrongOrganization("wrong_organization")` - - `WrongPlatform` + - `WrongPlatform("wrong_platform")` - - `WrongWorkspace` + - `WrongWorkspace("wrong_workspace")` - - `JsonElement Type constant` + - `JsonElement Type = "not_applied"` - `IReadOnlyList? RemoveToRedeem` @@ -4972,7 +4972,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "message"` Usage for a sampling iteration @@ -5008,7 +5008,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` Usage for a compaction iteration @@ -5050,7 +5050,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -5097,7 +5097,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -5149,19 +5149,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co If the request used the priority, standard, or batch tier. - - `Standard` + - `Standard("standard")` - - `Priority` + - `Priority("priority")` - - `Batch` + - `Batch("batch")` - `required Speed? Speed` Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `IReadOnlyList? InputTransformations` @@ -5203,15 +5203,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co `organization_binding_mismatch`, `end_user_binding_mismatch`, `model_binding_mismatch`, `prefix_binding_mismatch`. - - `ModelBindingMismatch` + - `ModelBindingMismatch("model_binding_mismatch")` - - `PrefixBindingMismatch` + - `PrefixBindingMismatch("prefix_binding_mismatch")` - - `OrganizationBindingMismatch` + - `OrganizationBindingMismatch("organization_binding_mismatch")` - - `EndUserBindingMismatch` + - `EndUserBindingMismatch("end_user_binding_mismatch")` - - `JsonElement Type constant` + - `JsonElement Type = "thinking_dropped"` Always `thinking_dropped` for this entry type. @@ -5221,7 +5221,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required BetaMessage Message` - - `JsonElement Type constant` + - `JsonElement Type = "message_start"` - `class BetaRawMessageDeltaEvent:` @@ -5243,7 +5243,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string? StopSequence` - - `JsonElement Type constant` + - `JsonElement Type = "message_delta"` - `required BetaMessageDeltaUsage Usage` @@ -5369,13 +5369,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co `organization_binding_mismatch`, `end_user_binding_mismatch`, `model_binding_mismatch`, `prefix_binding_mismatch`. - - `JsonElement Type constant` + - `JsonElement Type = "thinking_dropped"` Always `thinking_dropped` for this entry type. - `class BetaRawMessageStopEvent:` - - `JsonElement Type constant` + - `JsonElement Type = "message_stop"` - `class BetaRawContentBlockStartEvent:` @@ -5439,7 +5439,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required long Index` - - `JsonElement Type constant` + - `JsonElement Type = "content_block_start"` - `class BetaRawContentBlockDeltaEvent:` @@ -5449,13 +5449,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "text_delta"` - `class BetaInputJsonDelta:` - `required string PartialJson` - - `JsonElement Type constant` + - `JsonElement Type = "input_json_delta"` - `class BetaCitationsDelta:` @@ -5471,7 +5471,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaCitationSearchResultLocation:` - - `JsonElement Type constant` + - `JsonElement Type = "citations_delta"` - `class BetaThinkingDelta:` @@ -5483,7 +5483,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The incremental `thinking` text for this content block. Concatenate the `thinking` values of successive `thinking_delta` events to assemble the block's full `thinking` value. - - `JsonElement Type constant` + - `JsonElement Type = "thinking_delta"` - `class BetaSignatureDelta:` @@ -5491,7 +5491,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `signature` for this thinking block: an opaque value used to verify that the block was generated by Claude when it is passed back to the API. Delivered in a `signature_delta` event just before the block's `content_block_stop` event. - - `JsonElement Type constant` + - `JsonElement Type = "signature_delta"` - `class BetaCompactionContentBlockDelta:` @@ -5501,17 +5501,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonElement Type constant` + - `JsonElement Type = "compaction_delta"` - `required long Index` - - `JsonElement Type constant` + - `JsonElement Type = "content_block_delta"` - `class BetaRawContentBlockStopEvent:` - `required long Index` - - `JsonElement Type constant` + - `JsonElement Type = "content_block_stop"` ### Example @@ -5726,13 +5726,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -5745,9 +5745,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -5769,7 +5769,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -5789,7 +5789,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -5819,7 +5819,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -5831,7 +5831,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -5869,7 +5869,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class BetaImageBlockParam:` @@ -5883,19 +5883,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaUrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -5903,9 +5903,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `BetaCacheControlEphemeral? CacheControl` @@ -5919,9 +5919,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - `class BetaRequestDocumentBlock:` @@ -5933,17 +5933,17 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaContentBlockSource:` @@ -5957,11 +5957,11 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaImageBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class BetaUrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -5969,9 +5969,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `BetaCacheControlEphemeral? CacheControl` @@ -5997,7 +5997,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -6009,7 +6009,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -6029,7 +6029,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ The `thinking` text of this block as returned by the API. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class BetaRedactedThinkingBlockParam:` @@ -6037,7 +6037,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class BetaToolUseBlockParam:` @@ -6051,7 +6051,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 200, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -6065,7 +6065,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -6075,7 +6075,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -6083,7 +6083,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -6097,7 +6097,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -6125,7 +6125,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` @@ -6169,7 +6169,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonElement Type constant` + - `JsonElement Type = "browser_state"` - `BetaCacheControlEphemeral? CacheControl` @@ -6197,7 +6197,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -6209,7 +6209,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -6230,7 +6230,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -6260,7 +6260,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -6292,23 +6292,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -6338,7 +6338,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -6348,25 +6348,25 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -6394,31 +6394,31 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlockParam:` - `required BetaRequestDocumentBlock Content` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -6432,7 +6432,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -6460,27 +6460,27 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlockParam:` - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `string? StopReason` @@ -6490,7 +6490,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `string? StopReason` @@ -6498,7 +6498,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -6514,15 +6514,15 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -6530,7 +6530,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -6538,7 +6538,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -6548,7 +6548,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -6556,13 +6556,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -6576,17 +6576,17 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlockParam:` @@ -6594,7 +6594,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -6602,13 +6602,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -6622,17 +6622,17 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `string? ErrorMessage` @@ -6642,13 +6642,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `long? NumLines` @@ -6660,11 +6660,11 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `IReadOnlyList? Lines` @@ -6680,7 +6680,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -6694,15 +6694,15 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `string? ErrorMessage` @@ -6714,19 +6714,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -6746,7 +6746,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -6758,7 +6758,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -6774,7 +6774,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -6791,7 +6791,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `BetaCacheControlEphemeral? CacheControl` @@ -6807,7 +6807,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ When content is None, the block represents a failed compaction. The server treats these as no-ops. Empty string content is not allowed. - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `BetaCacheControlEphemeral? CacheControl` @@ -6847,7 +6847,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -6858,7 +6858,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -6866,9 +6866,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_toolset_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_addition"` - `BetaCacheControlEphemeral? CacheControl` @@ -6905,7 +6905,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Reference to every tool in the named MCP server's toolset. - - `JsonElement Type constant` + - `JsonElement Type = "tool_removal"` - `BetaCacheControlEphemeral? CacheControl` @@ -6937,71 +6937,71 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -7009,7 +7009,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Identifies one hop of a fallback transition. - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` - `JsonElement Trigger` @@ -7017,19 +7017,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required Role Role` - - `User` + - `User("user")` - - `Assistant` + - `Assistant("assistant")` - - `System` + - `System("system")` - `ClearAt? ClearAt` How long this system message's text stays in front of the model. `"never"` (the default) renders it on every request that includes it. `"next_user_message"` renders it only for the user turn it follows: once a later `role: "user"` message exists in `messages` the message stays in the array (send it unchanged) but is no longer shown to the model. Only permitted on `role: "system"` messages. - - `NextUserMessage` + - `NextUserMessage("next_user_message")` - - `Never` + - `Never("never")` - `BetaSystemMessageOutputConfig? OutputConfig` @@ -7043,15 +7043,15 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ All possible effort levels. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `required Model model` @@ -7077,7 +7077,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Name` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -7097,9 +7097,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Body param: Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `System system` @@ -7115,7 +7115,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -7207,7 +7207,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -7223,13 +7223,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -7259,23 +7259,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolBash20241022:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -7293,23 +7293,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolBash20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -7327,23 +7327,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaCodeExecutionTool20250522:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250522"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -7359,23 +7359,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaCodeExecutionTool20250825:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -7393,23 +7393,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -7427,23 +7427,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Code execution tool with REPL state persistence. - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260521"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -7464,7 +7464,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ the family's tool with any members disabled via `configs` removed from its schema. - - `JsonElement Type constant` + - `JsonElement Type = "browser_toolset_20260801"` - `BetaCacheControlEphemeral? CacheControl` @@ -7865,23 +7865,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -7905,23 +7905,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaMemoryTool20250818:` - - `JsonElement Name constant` + - `JsonElement Name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "memory_20250818"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -7951,23 +7951,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -7991,23 +7991,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolTextEditor20241022:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -8037,23 +8037,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20251124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -8090,7 +8090,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonElement Type constant` + - `JsonElement Type = "computer_toolset_20260801"` - `BetaCacheControlEphemeral? CacheControl` @@ -8311,23 +8311,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolTextEditor20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -8345,23 +8345,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolTextEditor20250429:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250429"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -8379,23 +8379,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolTextEditor20250728:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250728"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -8419,23 +8419,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebSearchTool20250305:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20250305"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -8467,7 +8467,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Parameters for the user's location. Used to provide more relevant search results. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -8495,23 +8495,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebFetchTool20250910:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20250910"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -8551,23 +8551,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebSearchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -8601,23 +8601,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebFetchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -8659,23 +8659,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260309"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -8719,23 +8719,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebSearchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -8763,9 +8763,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -8777,23 +8777,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebFetchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -8831,9 +8831,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -8851,23 +8851,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonElement Name constant` + - `JsonElement Name = "advisor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "advisor_20260301"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -8899,7 +8899,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolSearchToolBm25_20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_bm25"` Name of the tool. @@ -8907,19 +8907,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required Type Type` - - `ToolSearchToolBm25_20251119` + - `ToolSearchToolBm25_20251119("tool_search_tool_bm25_20251119")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -8935,7 +8935,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolSearchToolRegex20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_regex"` Name of the tool. @@ -8943,19 +8943,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required Type Type` - - `ToolSearchToolRegex20251119` + - `ToolSearchToolRegex20251119("tool_search_tool_regex_20251119")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -8982,7 +8982,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 255, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "mcp_toolset"` - `BetaCacheControlEphemeral? CacheControl` @@ -9008,93 +9008,93 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` - `string userProfileID` @@ -9206,71 +9206,71 @@ Console.WriteLine(betaMessageTokensCount); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -9280,7 +9280,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -9296,7 +9296,7 @@ Console.WriteLine(betaMessageTokensCount); The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` ### Beta Advisor Redacted Result Block Param @@ -9306,7 +9306,7 @@ Console.WriteLine(betaMessageTokensCount); Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `string? StopReason` @@ -9320,7 +9320,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` ### Beta Advisor Result Block Param @@ -9328,7 +9328,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `string? StopReason` @@ -9342,97 +9342,97 @@ Console.WriteLine(betaMessageTokensCount); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding - - `JsonElement Name constant` + - `JsonElement Name = "advisor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "advisor_20260301"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -9445,9 +9445,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `BetaCacheControlEphemeral? Caching` @@ -9483,21 +9483,21 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -9507,7 +9507,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -9519,13 +9519,13 @@ Console.WriteLine(betaMessageTokensCount); The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` ### Beta Advisor Tool Result Block Param @@ -9537,27 +9537,27 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlockParam:` - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `string? StopReason` @@ -9567,7 +9567,7 @@ Console.WriteLine(betaMessageTokensCount); Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `string? StopReason` @@ -9575,13 +9575,13 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -9594,9 +9594,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` ### Beta Advisor Tool Result Error @@ -9604,21 +9604,21 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` ### Beta Advisor Tool Result Error Param @@ -9626,27 +9626,27 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` ### Beta All Thinking Turns - `class BetaAllThinkingTurns:` - - `JsonElement Type constant` + - `JsonElement Type = "all"` ### Beta Base64 Image Source @@ -9658,15 +9658,15 @@ Console.WriteLine(betaMessageTokensCount); - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` ### Beta Base64 PDF Source @@ -9676,9 +9676,9 @@ Console.WriteLine(betaMessageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` ### Beta Bash Code Execution Output Block @@ -9686,7 +9686,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` ### Beta Bash Code Execution Output Block Param @@ -9694,7 +9694,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` ### Beta Bash Code Execution Result Block @@ -9704,7 +9704,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -9712,7 +9712,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` ### Beta Bash Code Execution Result Block Param @@ -9722,7 +9722,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -9730,7 +9730,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` ### Beta Bash Code Execution Tool Result Block @@ -9742,17 +9742,17 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -9760,7 +9760,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -9768,13 +9768,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` ### Beta Bash Code Execution Tool Result Block Param @@ -9786,17 +9786,17 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlockParam:` @@ -9804,7 +9804,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -9812,19 +9812,19 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -9837,9 +9837,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` ### Beta Bash Code Execution Tool Result Error @@ -9847,17 +9847,17 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` ### Beta Bash Code Execution Tool Result Error Param @@ -9865,17 +9865,17 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` ### Beta Browser Close Tab Config @@ -10281,13 +10281,13 @@ Console.WriteLine(betaMessageTokensCount); Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonElement Type constant` + - `JsonElement Type = "browser_state"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -10300,9 +10300,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? StateChanges` @@ -10326,7 +10326,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -10338,7 +10338,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -10359,7 +10359,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -10389,7 +10389,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -10431,7 +10431,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -10443,7 +10443,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -10464,7 +10464,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -10494,7 +10494,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -10523,7 +10523,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -10555,7 +10555,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -10581,7 +10581,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -10607,7 +10607,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` ### Beta Browser State Tab Entry @@ -10667,13 +10667,13 @@ Console.WriteLine(betaMessageTokensCount); the family's tool with any members disabled via `configs` removed from its schema. - - `JsonElement Type constant` + - `JsonElement Type = "browser_toolset_20260801"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -10686,9 +10686,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `BetaBrowserToolsetConfigs? Configs` @@ -11514,7 +11514,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaCacheControlEphemeral:` - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -11527,9 +11527,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` ### Beta Cache Creation @@ -11555,7 +11555,7 @@ Console.WriteLine(betaMessageTokensCount); Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "messages_changed"` ### Beta Cache Miss Model Changed @@ -11565,13 +11565,13 @@ Console.WriteLine(betaMessageTokensCount); Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "model_changed"` ### Beta Cache Miss Previous Message Not Found - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonElement Type constant` + - `JsonElement Type = "previous_message_not_found"` ### Beta Cache Miss System Changed @@ -11581,7 +11581,7 @@ Console.WriteLine(betaMessageTokensCount); Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "system_changed"` ### Beta Cache Miss Tools Changed @@ -11591,13 +11591,13 @@ Console.WriteLine(betaMessageTokensCount); Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "tools_changed"` ### Beta Cache Miss Unavailable - `class BetaCacheMissUnavailable:` - - `JsonElement Type constant` + - `JsonElement Type = "unavailable"` ### Beta Citation Char Location @@ -11619,7 +11619,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` ### Beta Citation Char Location Param @@ -11641,7 +11641,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` ### Beta Citation Config @@ -11679,7 +11679,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` ### Beta Citation Content Block Location Param @@ -11711,7 +11711,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` ### Beta Citation Page Location @@ -11733,7 +11733,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` ### Beta Citation Page Location Param @@ -11755,7 +11755,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` ### Beta Citation Search Result Location @@ -11791,7 +11791,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` ### Beta Citation Search Result Location Param @@ -11827,7 +11827,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` ### Beta Citation Web Search Result Location Param @@ -11841,7 +11841,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -11877,7 +11877,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocation:` @@ -11897,7 +11897,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -11927,7 +11927,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -11939,7 +11939,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -11975,9 +11975,9 @@ Console.WriteLine(betaMessageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - - `JsonElement Type constant` + - `JsonElement Type = "citations_delta"` ### Beta Citations Web Search Result Location @@ -11991,7 +11991,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -11999,7 +11999,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaClearThinking20251015Edit:` - - `JsonElement Type constant` + - `JsonElement Type = "clear_thinking_20251015"` - `Keep Keep` @@ -12007,7 +12007,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaThinkingTurns:` - - `JsonElement Type constant` + - `JsonElement Type = "thinking_turns"` - `required long Value` @@ -12015,7 +12015,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaAllThinkingTurns:` - - `JsonElement Type constant` + - `JsonElement Type = "all"` - `class All:` @@ -12035,7 +12035,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_thinking_20251015"` The type of context management edit applied. @@ -12043,13 +12043,13 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaClearToolUses20250919Edit:` - - `JsonElement Type constant` + - `JsonElement Type = "clear_tool_uses_20250919"` - `BetaInputTokensClearAtLeast? ClearAtLeast` Minimum number of tokens that must be cleared when triggered. Context will only be modified if at least this many tokens can be removed. - - `JsonElement Type constant` + - `JsonElement Type = "input_tokens"` - `required long Value` @@ -12071,7 +12071,7 @@ Console.WriteLine(betaMessageTokensCount); Number of tool uses to retain in the conversation - - `JsonElement Type constant` + - `JsonElement Type = "tool_uses"` - `required long Value` @@ -12083,7 +12083,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaInputTokensTrigger:` - - `JsonElement Type constant` + - `JsonElement Type = "input_tokens"` - `required long Value` @@ -12091,7 +12091,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaToolUsesTrigger:` - - `JsonElement Type constant` + - `JsonElement Type = "tool_uses"` - `required long Value` @@ -12113,7 +12113,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -12123,7 +12123,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` ### Beta Code Execution Output Block Param @@ -12131,7 +12131,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` ### Beta Code Execution Result Block @@ -12141,7 +12141,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -12149,7 +12149,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` ### Beta Code Execution Result Block Param @@ -12159,7 +12159,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -12167,35 +12167,35 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` ### Beta Code Execution Tool 20250522 - `class BetaCodeExecutionTool20250522:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250522"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -12208,9 +12208,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -12224,29 +12224,29 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaCodeExecutionTool20250825:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -12259,9 +12259,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -12277,29 +12277,29 @@ Console.WriteLine(betaMessageTokensCount); Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -12312,9 +12312,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -12330,29 +12330,29 @@ Console.WriteLine(betaMessageTokensCount); Code execution tool with REPL state persistence. - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260521"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -12365,9 +12365,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -12389,15 +12389,15 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -12405,7 +12405,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -12413,7 +12413,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -12423,7 +12423,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -12431,13 +12431,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` ### Beta Code Execution Tool Result Block Content @@ -12449,15 +12449,15 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -12465,7 +12465,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -12473,7 +12473,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -12483,7 +12483,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -12491,7 +12491,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` ### Beta Code Execution Tool Result Block Param @@ -12505,15 +12505,15 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -12521,7 +12521,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -12529,7 +12529,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -12539,7 +12539,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -12547,19 +12547,19 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -12572,9 +12572,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` ### Beta Code Execution Tool Result Block Param Content @@ -12586,15 +12586,15 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -12602,7 +12602,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -12610,7 +12610,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -12620,7 +12620,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -12628,7 +12628,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` ### Beta Code Execution Tool Result Error @@ -12636,27 +12636,27 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` ### Beta Code Execution Tool Result Error Code - `enum BetaCodeExecutionToolResultErrorCode:` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` ### Beta Code Execution Tool Result Error Param @@ -12664,15 +12664,15 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` ### Beta Compact 20260112 Edit @@ -12680,7 +12680,7 @@ Console.WriteLine(betaMessageTokensCount); Automatically compact older context when reaching the configured trigger threshold. - - `JsonElement Type constant` + - `JsonElement Type = "compact_20260112"` - `string? Instructions` @@ -12694,7 +12694,7 @@ Console.WriteLine(betaMessageTokensCount); When to trigger compaction. Defaults to 150000 input tokens. - - `JsonElement Type constant` + - `JsonElement Type = "input_tokens"` - `required long Value` @@ -12718,7 +12718,7 @@ Console.WriteLine(betaMessageTokensCount); Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` ### Beta Compaction Block Param @@ -12732,13 +12732,13 @@ Console.WriteLine(betaMessageTokensCount); When content is None, the block represents a failed compaction. The server treats these as no-ops. Empty string content is not allowed. - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -12751,9 +12751,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `string? Content` @@ -12773,7 +12773,7 @@ Console.WriteLine(betaMessageTokensCount); Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonElement Type constant` + - `JsonElement Type = "compaction_delta"` ### Beta Compaction Iteration Usage @@ -12821,7 +12821,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` Usage for a compaction iteration @@ -13020,13 +13020,13 @@ Console.WriteLine(betaMessageTokensCount); `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonElement Type constant` + - `JsonElement Type = "computer_toolset_20260801"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -13039,9 +13039,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `BetaComputerToolsetConfigs? Configs` @@ -13557,9 +13557,9 @@ Console.WriteLine(betaMessageTokensCount); Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -13593,9 +13593,9 @@ Console.WriteLine(betaMessageTokensCount); Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `string Version` @@ -13619,9 +13619,9 @@ Console.WriteLine(betaMessageTokensCount); Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -13637,7 +13637,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` ### Beta Container Upload Block Param @@ -13648,13 +13648,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -13667,9 +13667,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` ### Beta Content Block @@ -13703,7 +13703,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocation:` @@ -13723,7 +13723,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -13753,7 +13753,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -13765,7 +13765,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -13801,13 +13801,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaThinkingBlock:` @@ -13823,7 +13823,7 @@ Console.WriteLine(betaMessageTokensCount); The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -13835,7 +13835,7 @@ Console.WriteLine(betaMessageTokensCount); See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -13849,7 +13849,7 @@ Console.WriteLine(betaMessageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `Caller Caller` @@ -13859,7 +13859,7 @@ Console.WriteLine(betaMessageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -13869,7 +13869,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -13877,7 +13877,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -13895,23 +13895,23 @@ Console.WriteLine(betaMessageTokensCount); - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `Caller Caller` @@ -13935,19 +13935,19 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -13957,7 +13957,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -13965,7 +13965,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `Caller Caller` @@ -13989,25 +13989,25 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -14027,29 +14027,29 @@ Console.WriteLine(betaMessageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -14059,7 +14059,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `Caller Caller` @@ -14083,21 +14083,21 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -14107,7 +14107,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -14119,13 +14119,13 @@ Console.WriteLine(betaMessageTokensCount); The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -14137,15 +14137,15 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -14153,7 +14153,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -14161,7 +14161,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -14171,7 +14171,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -14179,13 +14179,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -14195,17 +14195,17 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -14213,7 +14213,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -14221,13 +14221,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -14237,19 +14237,19 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -14257,11 +14257,11 @@ Console.WriteLine(betaMessageTokensCount); - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -14269,13 +14269,13 @@ Console.WriteLine(betaMessageTokensCount); - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -14289,13 +14289,13 @@ Console.WriteLine(betaMessageTokensCount); - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -14305,17 +14305,17 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -14325,15 +14325,15 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -14351,7 +14351,7 @@ Console.WriteLine(betaMessageTokensCount); The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -14371,7 +14371,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required bool IsError` @@ -14379,7 +14379,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -14387,7 +14387,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `class BetaCompactionBlock:` @@ -14405,7 +14405,7 @@ Console.WriteLine(betaMessageTokensCount); Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `class BetaFallbackBlock:` @@ -14431,71 +14431,71 @@ Console.WriteLine(betaMessageTokensCount); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -14511,29 +14511,29 @@ Console.WriteLine(betaMessageTokensCount); The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` ### Beta Content Block Param @@ -14547,13 +14547,13 @@ Console.WriteLine(betaMessageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -14566,9 +14566,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -14590,7 +14590,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -14610,7 +14610,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -14640,7 +14640,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -14652,7 +14652,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -14690,7 +14690,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class BetaImageBlockParam:` @@ -14704,19 +14704,19 @@ Console.WriteLine(betaMessageTokensCount); - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaUrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -14724,9 +14724,9 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `BetaCacheControlEphemeral? CacheControl` @@ -14740,9 +14740,9 @@ Console.WriteLine(betaMessageTokensCount); What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - `class BetaRequestDocumentBlock:` @@ -14754,17 +14754,17 @@ Console.WriteLine(betaMessageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaContentBlockSource:` @@ -14778,11 +14778,11 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaImageBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class BetaUrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -14790,9 +14790,9 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `BetaCacheControlEphemeral? CacheControl` @@ -14818,7 +14818,7 @@ Console.WriteLine(betaMessageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -14830,7 +14830,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -14850,7 +14850,7 @@ Console.WriteLine(betaMessageTokensCount); The `thinking` text of this block as returned by the API. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class BetaRedactedThinkingBlockParam:` @@ -14858,7 +14858,7 @@ Console.WriteLine(betaMessageTokensCount); The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class BetaToolUseBlockParam:` @@ -14872,7 +14872,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 200, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -14886,7 +14886,7 @@ Console.WriteLine(betaMessageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -14896,7 +14896,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -14904,7 +14904,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -14918,7 +14918,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -14946,7 +14946,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` @@ -14990,7 +14990,7 @@ Console.WriteLine(betaMessageTokensCount); Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonElement Type constant` + - `JsonElement Type = "browser_state"` - `BetaCacheControlEphemeral? CacheControl` @@ -15018,7 +15018,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -15030,7 +15030,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -15051,7 +15051,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -15081,7 +15081,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -15113,23 +15113,23 @@ Console.WriteLine(betaMessageTokensCount); - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -15159,7 +15159,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -15169,25 +15169,25 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -15215,31 +15215,31 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlockParam:` - `required BetaRequestDocumentBlock Content` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -15253,7 +15253,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -15281,27 +15281,27 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlockParam:` - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `string? StopReason` @@ -15311,7 +15311,7 @@ Console.WriteLine(betaMessageTokensCount); Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `string? StopReason` @@ -15319,7 +15319,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -15335,15 +15335,15 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -15351,7 +15351,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -15359,7 +15359,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -15369,7 +15369,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -15377,13 +15377,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -15397,17 +15397,17 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlockParam:` @@ -15415,7 +15415,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -15423,13 +15423,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -15443,17 +15443,17 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `string? ErrorMessage` @@ -15463,13 +15463,13 @@ Console.WriteLine(betaMessageTokensCount); - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `long? NumLines` @@ -15481,11 +15481,11 @@ Console.WriteLine(betaMessageTokensCount); - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `IReadOnlyList? Lines` @@ -15501,7 +15501,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -15515,15 +15515,15 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `string? ErrorMessage` @@ -15535,19 +15535,19 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -15567,7 +15567,7 @@ Console.WriteLine(betaMessageTokensCount); The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -15579,7 +15579,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -15595,7 +15595,7 @@ Console.WriteLine(betaMessageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -15612,7 +15612,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `BetaCacheControlEphemeral? CacheControl` @@ -15628,7 +15628,7 @@ Console.WriteLine(betaMessageTokensCount); When content is None, the block represents a failed compaction. The server treats these as no-ops. Empty string content is not allowed. - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `BetaCacheControlEphemeral? CacheControl` @@ -15668,7 +15668,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -15679,7 +15679,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -15687,9 +15687,9 @@ Console.WriteLine(betaMessageTokensCount); - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_toolset_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_addition"` - `BetaCacheControlEphemeral? CacheControl` @@ -15726,7 +15726,7 @@ Console.WriteLine(betaMessageTokensCount); Reference to every tool in the named MCP server's toolset. - - `JsonElement Type constant` + - `JsonElement Type = "tool_removal"` - `BetaCacheControlEphemeral? CacheControl` @@ -15758,71 +15758,71 @@ Console.WriteLine(betaMessageTokensCount); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -15830,7 +15830,7 @@ Console.WriteLine(betaMessageTokensCount); Identifies one hop of a fallback transition. - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` - `JsonElement Trigger` @@ -15852,13 +15852,13 @@ Console.WriteLine(betaMessageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -15871,9 +15871,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -15895,7 +15895,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -15915,7 +15915,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -15945,7 +15945,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -15957,7 +15957,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -15995,7 +15995,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class BetaImageBlockParam:` @@ -16009,19 +16009,19 @@ Console.WriteLine(betaMessageTokensCount); - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaUrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -16029,9 +16029,9 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `BetaCacheControlEphemeral? CacheControl` @@ -16045,11 +16045,11 @@ Console.WriteLine(betaMessageTokensCount); What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - - `JsonElement Type constant` + - `JsonElement Type = "content"` ### Beta Content Block Source Content @@ -16061,13 +16061,13 @@ Console.WriteLine(betaMessageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -16080,9 +16080,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -16104,7 +16104,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -16124,7 +16124,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -16154,7 +16154,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -16166,7 +16166,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -16204,7 +16204,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class BetaImageBlockParam:` @@ -16218,19 +16218,19 @@ Console.WriteLine(betaMessageTokensCount); - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaUrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -16238,9 +16238,9 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `BetaCacheControlEphemeral? CacheControl` @@ -16254,9 +16254,9 @@ Console.WriteLine(betaMessageTokensCount); What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` ### Beta Context Management Config @@ -16270,13 +16270,13 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaClearToolUses20250919Edit:` - - `JsonElement Type constant` + - `JsonElement Type = "clear_tool_uses_20250919"` - `BetaInputTokensClearAtLeast? ClearAtLeast` Minimum number of tokens that must be cleared when triggered. Context will only be modified if at least this many tokens can be removed. - - `JsonElement Type constant` + - `JsonElement Type = "input_tokens"` - `required long Value` @@ -16298,7 +16298,7 @@ Console.WriteLine(betaMessageTokensCount); Number of tool uses to retain in the conversation - - `JsonElement Type constant` + - `JsonElement Type = "tool_uses"` - `required long Value` @@ -16310,7 +16310,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaInputTokensTrigger:` - - `JsonElement Type constant` + - `JsonElement Type = "input_tokens"` - `required long Value` @@ -16318,7 +16318,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaToolUsesTrigger:` - - `JsonElement Type constant` + - `JsonElement Type = "tool_uses"` - `required long Value` @@ -16326,7 +16326,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaClearThinking20251015Edit:` - - `JsonElement Type constant` + - `JsonElement Type = "clear_thinking_20251015"` - `Keep Keep` @@ -16334,7 +16334,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaThinkingTurns:` - - `JsonElement Type constant` + - `JsonElement Type = "thinking_turns"` - `required long Value` @@ -16342,7 +16342,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaAllThinkingTurns:` - - `JsonElement Type constant` + - `JsonElement Type = "all"` - `class All:` @@ -16350,7 +16350,7 @@ Console.WriteLine(betaMessageTokensCount); Automatically compact older context when reaching the configured trigger threshold. - - `JsonElement Type constant` + - `JsonElement Type = "compact_20260112"` - `string? Instructions` @@ -16386,7 +16386,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -16404,7 +16404,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_thinking_20251015"` The type of context management edit applied. @@ -16433,7 +16433,7 @@ Console.WriteLine(betaMessageTokensCount); Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -16441,7 +16441,7 @@ Console.WriteLine(betaMessageTokensCount); Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -16449,7 +16449,7 @@ Console.WriteLine(betaMessageTokensCount); Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -16457,15 +16457,15 @@ Console.WriteLine(betaMessageTokensCount); Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonElement Type constant` + - `JsonElement Type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonElement Type constant` + - `JsonElement Type = "unavailable"` ### Beta Diagnostics Param @@ -16486,7 +16486,7 @@ Console.WriteLine(betaMessageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` ### Beta Document Block @@ -16506,23 +16506,23 @@ Console.WriteLine(betaMessageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` ### Beta Encrypted Code Execution Result Block @@ -16534,7 +16534,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -16542,7 +16542,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` ### Beta Encrypted Code Execution Result Block Param @@ -16554,7 +16554,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -16562,7 +16562,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` ### Beta Fallback Block @@ -16590,71 +16590,71 @@ Console.WriteLine(betaMessageTokensCount); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -16670,29 +16670,29 @@ Console.WriteLine(betaMessageTokensCount); The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` ### Beta Fallback Block Param @@ -16722,71 +16722,71 @@ Console.WriteLine(betaMessageTokensCount); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -16794,7 +16794,7 @@ Console.WriteLine(betaMessageTokensCount); Identifies one hop of a fallback transition. - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` - `JsonElement Trigger` @@ -16813,31 +16813,31 @@ Console.WriteLine(betaMessageTokensCount); A closed enum; additions to the redemption-check vocabulary arrive as deliberate schema updates. - - `BodyMismatch` + - `BodyMismatch("body_mismatch")` - - `ContinuationExcluded` + - `ContinuationExcluded("continuation_excluded")` - - `ContinuationOnly` + - `ContinuationOnly("continuation_only")` - - `Expired` + - `Expired("expired")` - - `InvalidTargetModel` + - `InvalidTargetModel("invalid_target_model")` - - `NotEnabled` + - `NotEnabled("not_enabled")` - - `RepriceUnavailable` + - `RepriceUnavailable("reprice_unavailable")` - - `TemporarilyUnavailable` + - `TemporarilyUnavailable("temporarily_unavailable")` - - `VariantFieldsPresent` + - `VariantFieldsPresent("variant_fields_present")` - - `WrongOrganization` + - `WrongOrganization("wrong_organization")` - - `WrongPlatform` + - `WrongPlatform("wrong_platform")` - - `WrongWorkspace` + - `WrongWorkspace("wrong_workspace")` - - `JsonElement Type constant` + - `JsonElement Type = "not_applied"` - `IReadOnlyList? RemoveToRedeem` @@ -16857,7 +16857,7 @@ Console.WriteLine(betaMessageTokensCount); The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonElement Type constant` + - `JsonElement Type = "redeemed"` ### Beta Fallback Credit Token Param @@ -16881,9 +16881,9 @@ Console.WriteLine(betaMessageTokensCount); How a failing token affects the retry. `strict` (the default, and the bare-string behavior): a failing redemption is a 400 and the retry is not served. `best_effort`: the retry is served either way — a token-layer failure no longer rejects the request; the retry proceeds at normal price and the outcome is reported on the response's `usage.fallback_credit`. Two failures stay hard in both modes: a malformed token, and combining `fallback_credit_token` with `fallbacks`. - - `Strict` + - `Strict("strict")` - - `BestEffort` + - `BestEffort("best_effort")` ### Beta Fallback Credit Usage @@ -16905,7 +16905,7 @@ Console.WriteLine(betaMessageTokensCount); The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonElement Type constant` + - `JsonElement Type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -16918,31 +16918,31 @@ Console.WriteLine(betaMessageTokensCount); A closed enum; additions to the redemption-check vocabulary arrive as deliberate schema updates. - - `BodyMismatch` + - `BodyMismatch("body_mismatch")` - - `ContinuationExcluded` + - `ContinuationExcluded("continuation_excluded")` - - `ContinuationOnly` + - `ContinuationOnly("continuation_only")` - - `Expired` + - `Expired("expired")` - - `InvalidTargetModel` + - `InvalidTargetModel("invalid_target_model")` - - `NotEnabled` + - `NotEnabled("not_enabled")` - - `RepriceUnavailable` + - `RepriceUnavailable("reprice_unavailable")` - - `TemporarilyUnavailable` + - `TemporarilyUnavailable("temporarily_unavailable")` - - `VariantFieldsPresent` + - `VariantFieldsPresent("variant_fields_present")` - - `WrongOrganization` + - `WrongOrganization("wrong_organization")` - - `WrongPlatform` + - `WrongPlatform("wrong_platform")` - - `WrongWorkspace` + - `WrongWorkspace("wrong_workspace")` - - `JsonElement Type constant` + - `JsonElement Type = "not_applied"` - `IReadOnlyList? RemoveToRedeem` @@ -16967,71 +16967,71 @@ Console.WriteLine(betaMessageTokensCount); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -17047,71 +17047,71 @@ Console.WriteLine(betaMessageTokensCount); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -17166,71 +17166,71 @@ Console.WriteLine(betaMessageTokensCount); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -17240,7 +17240,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -17261,71 +17261,71 @@ Console.WriteLine(betaMessageTokensCount); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -17337,15 +17337,15 @@ Console.WriteLine(betaMessageTokensCount); All possible effort levels. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `BetaJsonOutputFormat? Format` @@ -17355,7 +17355,7 @@ Console.WriteLine(betaMessageTokensCount); The JSON schema of the format - - `JsonElement Type constant` + - `JsonElement Type = "json_schema"` - `BetaTokenTaskBudget? TaskBudget` @@ -17367,7 +17367,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1024 - - `JsonElement Type constant` + - `JsonElement Type = "tokens"` The budget type. Currently only 'tokens' is supported. @@ -17381,9 +17381,9 @@ Console.WriteLine(betaMessageTokensCount); Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `Thinking? Thinking` @@ -17399,7 +17399,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1024 - - `JsonElement Type constant` + - `JsonElement Type = "enabled"` - `BetaThinkingBlockBinding? BlockBinding` @@ -17415,27 +17415,27 @@ Console.WriteLine(betaMessageTokensCount); 400 error. `"drop_block"` removes the failing blocks and the request proceeds; the model no longer sees the dropped reasoning. - - `Error` + - `Error("error")` - - `DropBlock` + - `DropBlock("drop_block")` - `Display? Display` Controls how thinking content appears in the response. When set to `summarized`, thinking is returned normally. When set to `omitted`, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults to `summarized`. - - `Summarized` + - `Summarized("summarized")` - - `Omitted` + - `Omitted("omitted")` - - `Updates` + - `Updates("updates")` - `class BetaThinkingConfigDisabled:` - - `JsonElement Type constant` + - `JsonElement Type = "disabled"` - `class BetaThinkingConfigAdaptive:` - - `JsonElement Type constant` + - `JsonElement Type = "adaptive"` - `BetaThinkingBlockBinding? BlockBinding` @@ -17447,11 +17447,11 @@ Console.WriteLine(betaMessageTokensCount); Controls how thinking content appears in the response. When set to `summarized`, thinking is returned normally. When set to `omitted`, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults to `summarized`. - - `Summarized` + - `Summarized("summarized")` - - `Omitted` + - `Omitted("omitted")` - - `Updates` + - `Updates("updates")` ### Beta Fallback Refusal Trigger @@ -17463,27 +17463,27 @@ Console.WriteLine(betaMessageTokensCount); The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` ### Beta Fallbacks Param @@ -17499,71 +17499,71 @@ Console.WriteLine(betaMessageTokensCount); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -17575,15 +17575,15 @@ Console.WriteLine(betaMessageTokensCount); All possible effort levels. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `BetaJsonOutputFormat? Format` @@ -17593,7 +17593,7 @@ Console.WriteLine(betaMessageTokensCount); The JSON schema of the format - - `JsonElement Type constant` + - `JsonElement Type = "json_schema"` - `BetaTokenTaskBudget? TaskBudget` @@ -17605,7 +17605,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1024 - - `JsonElement Type constant` + - `JsonElement Type = "tokens"` The budget type. Currently only 'tokens' is supported. @@ -17619,9 +17619,9 @@ Console.WriteLine(betaMessageTokensCount); Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `Thinking? Thinking` @@ -17637,7 +17637,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1024 - - `JsonElement Type constant` + - `JsonElement Type = "enabled"` - `BetaThinkingBlockBinding? BlockBinding` @@ -17653,27 +17653,27 @@ Console.WriteLine(betaMessageTokensCount); 400 error. `"drop_block"` removes the failing blocks and the request proceeds; the model no longer sees the dropped reasoning. - - `Error` + - `Error("error")` - - `DropBlock` + - `DropBlock("drop_block")` - `Display? Display` Controls how thinking content appears in the response. When set to `summarized`, thinking is returned normally. When set to `omitted`, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults to `summarized`. - - `Summarized` + - `Summarized("summarized")` - - `Omitted` + - `Omitted("omitted")` - - `Updates` + - `Updates("updates")` - `class BetaThinkingConfigDisabled:` - - `JsonElement Type constant` + - `JsonElement Type = "disabled"` - `class BetaThinkingConfigAdaptive:` - - `JsonElement Type constant` + - `JsonElement Type = "adaptive"` - `BetaThinkingBlockBinding? BlockBinding` @@ -17685,11 +17685,11 @@ Console.WriteLine(betaMessageTokensCount); Controls how thinking content appears in the response. When set to `summarized`, thinking is returned normally. When set to `omitted`, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults to `summarized`. - - `Summarized` + - `Summarized("summarized")` - - `Omitted` + - `Omitted("omitted")` - - `Updates` + - `Updates("updates")` - `JsonElement` @@ -17699,7 +17699,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` ### Beta File Image Source @@ -17707,7 +17707,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` ### Beta Image Block Param @@ -17723,19 +17723,19 @@ Console.WriteLine(betaMessageTokensCount); - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaUrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -17743,15 +17743,15 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -17764,9 +17764,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `BetaImageTransformationsParam? Transformations` @@ -17776,9 +17776,9 @@ Console.WriteLine(betaMessageTokensCount); What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` ### Beta Image Transformations Param @@ -17790,9 +17790,9 @@ Console.WriteLine(betaMessageTokensCount); What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` ### Beta Input JSON Delta @@ -17800,13 +17800,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string PartialJson` - - `JsonElement Type constant` + - `JsonElement Type = "input_json_delta"` ### Beta Input Tokens Clear At Least - `class BetaInputTokensClearAtLeast:` - - `JsonElement Type constant` + - `JsonElement Type = "input_tokens"` - `required long Value` @@ -17816,7 +17816,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaInputTokensTrigger:` - - `JsonElement Type constant` + - `JsonElement Type = "input_tokens"` - `required long Value` @@ -17830,7 +17830,7 @@ Console.WriteLine(betaMessageTokensCount); The JSON schema of the format - - `JsonElement Type constant` + - `JsonElement Type = "json_schema"` ### Beta MCP Tool Config @@ -17886,7 +17886,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocation:` @@ -17906,7 +17906,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -17936,7 +17936,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -17948,7 +17948,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -17984,13 +17984,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required bool IsError` @@ -17998,7 +17998,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` ### Beta MCP Tool Use Block @@ -18018,7 +18018,7 @@ Console.WriteLine(betaMessageTokensCount); The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` ### Beta MCP Tool Use Block Param @@ -18036,13 +18036,13 @@ Console.WriteLine(betaMessageTokensCount); The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -18055,9 +18055,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` ### Beta MCP Toolset @@ -18074,13 +18074,13 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 255, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "mcp_toolset"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -18093,9 +18093,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyDictionary? Configs` @@ -18117,29 +18117,29 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaMemoryTool20250818:` - - `JsonElement Name constant` + - `JsonElement Name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "memory_20250818"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -18152,9 +18152,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -18172,7 +18172,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaMemoryTool20250818ViewCommand:` - - `JsonElement Command constant` + - `JsonElement Command = "view"` Command type identifier @@ -18188,7 +18188,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaMemoryTool20250818CreateCommand:` - - `JsonElement Command constant` + - `JsonElement Command = "create"` Command type identifier @@ -18202,7 +18202,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaMemoryTool20250818StrReplaceCommand:` - - `JsonElement Command constant` + - `JsonElement Command = "str_replace"` Command type identifier @@ -18220,7 +18220,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaMemoryTool20250818InsertCommand:` - - `JsonElement Command constant` + - `JsonElement Command = "insert"` Command type identifier @@ -18240,7 +18240,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaMemoryTool20250818DeleteCommand:` - - `JsonElement Command constant` + - `JsonElement Command = "delete"` Command type identifier @@ -18250,7 +18250,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaMemoryTool20250818RenameCommand:` - - `JsonElement Command constant` + - `JsonElement Command = "rename"` Command type identifier @@ -18266,7 +18266,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaMemoryTool20250818CreateCommand:` - - `JsonElement Command constant` + - `JsonElement Command = "create"` Command type identifier @@ -18282,7 +18282,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaMemoryTool20250818DeleteCommand:` - - `JsonElement Command constant` + - `JsonElement Command = "delete"` Command type identifier @@ -18294,7 +18294,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaMemoryTool20250818InsertCommand:` - - `JsonElement Command constant` + - `JsonElement Command = "insert"` Command type identifier @@ -18316,7 +18316,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaMemoryTool20250818RenameCommand:` - - `JsonElement Command constant` + - `JsonElement Command = "rename"` Command type identifier @@ -18332,7 +18332,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaMemoryTool20250818StrReplaceCommand:` - - `JsonElement Command constant` + - `JsonElement Command = "str_replace"` Command type identifier @@ -18352,7 +18352,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaMemoryTool20250818ViewCommand:` - - `JsonElement Command constant` + - `JsonElement Command = "view"` Command type identifier @@ -18404,9 +18404,9 @@ Console.WriteLine(betaMessageTokensCount); Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -18469,7 +18469,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocation:` @@ -18489,7 +18489,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -18519,7 +18519,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -18531,7 +18531,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -18567,13 +18567,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaThinkingBlock:` @@ -18589,7 +18589,7 @@ Console.WriteLine(betaMessageTokensCount); The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -18601,7 +18601,7 @@ Console.WriteLine(betaMessageTokensCount); See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -18615,7 +18615,7 @@ Console.WriteLine(betaMessageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `Caller Caller` @@ -18625,7 +18625,7 @@ Console.WriteLine(betaMessageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -18635,7 +18635,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -18643,7 +18643,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -18661,23 +18661,23 @@ Console.WriteLine(betaMessageTokensCount); - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `Caller Caller` @@ -18701,19 +18701,19 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -18723,7 +18723,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -18731,7 +18731,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `Caller Caller` @@ -18755,25 +18755,25 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -18793,29 +18793,29 @@ Console.WriteLine(betaMessageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -18825,7 +18825,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `Caller Caller` @@ -18849,21 +18849,21 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -18873,7 +18873,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -18885,13 +18885,13 @@ Console.WriteLine(betaMessageTokensCount); The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -18903,15 +18903,15 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -18919,7 +18919,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -18927,7 +18927,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -18937,7 +18937,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -18945,13 +18945,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -18961,17 +18961,17 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -18979,7 +18979,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -18987,13 +18987,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -19003,19 +19003,19 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -19023,11 +19023,11 @@ Console.WriteLine(betaMessageTokensCount); - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -19035,13 +19035,13 @@ Console.WriteLine(betaMessageTokensCount); - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -19055,13 +19055,13 @@ Console.WriteLine(betaMessageTokensCount); - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -19071,17 +19071,17 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -19091,15 +19091,15 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -19117,7 +19117,7 @@ Console.WriteLine(betaMessageTokensCount); The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -19137,7 +19137,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required bool IsError` @@ -19145,7 +19145,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -19153,7 +19153,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `class BetaCompactionBlock:` @@ -19171,7 +19171,7 @@ Console.WriteLine(betaMessageTokensCount); Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `class BetaFallbackBlock:` @@ -19197,71 +19197,71 @@ Console.WriteLine(betaMessageTokensCount); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -19277,29 +19277,29 @@ Console.WriteLine(betaMessageTokensCount); The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` - `required BetaContextManagementResponse? ContextManagement` @@ -19325,7 +19325,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -19343,7 +19343,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_thinking_20251015"` The type of context management edit applied. @@ -19362,7 +19362,7 @@ Console.WriteLine(betaMessageTokensCount); Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -19370,7 +19370,7 @@ Console.WriteLine(betaMessageTokensCount); Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -19378,7 +19378,7 @@ Console.WriteLine(betaMessageTokensCount); Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -19386,15 +19386,15 @@ Console.WriteLine(betaMessageTokensCount); Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonElement Type constant` + - `JsonElement Type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonElement Type constant` + - `JsonElement Type = "unavailable"` - `required Model Model` @@ -19402,7 +19402,7 @@ Console.WriteLine(betaMessageTokensCount); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonElement Role constant` + - `JsonElement Role = "assistant"` Conversational role of the generated message. @@ -19416,23 +19416,23 @@ Console.WriteLine(betaMessageTokensCount); The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -19491,7 +19491,7 @@ Console.WriteLine(betaMessageTokensCount); The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - `required BetaStopReason? StopReason` @@ -19509,21 +19509,21 @@ Console.WriteLine(betaMessageTokensCount); In non-streaming mode this value is always non-null. In streaming mode, it is null in the `message_start` event and non-null otherwise. - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Compaction` + - `Compaction("compaction")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` - `required string? StopSequence` @@ -19531,7 +19531,7 @@ Console.WriteLine(betaMessageTokensCount); This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonElement Type constant` + - `JsonElement Type = "message"` Object type. @@ -19595,7 +19595,7 @@ Console.WriteLine(betaMessageTokensCount); The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonElement Type constant` + - `JsonElement Type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -19608,31 +19608,31 @@ Console.WriteLine(betaMessageTokensCount); A closed enum; additions to the redemption-check vocabulary arrive as deliberate schema updates. - - `BodyMismatch` + - `BodyMismatch("body_mismatch")` - - `ContinuationExcluded` + - `ContinuationExcluded("continuation_excluded")` - - `ContinuationOnly` + - `ContinuationOnly("continuation_only")` - - `Expired` + - `Expired("expired")` - - `InvalidTargetModel` + - `InvalidTargetModel("invalid_target_model")` - - `NotEnabled` + - `NotEnabled("not_enabled")` - - `RepriceUnavailable` + - `RepriceUnavailable("reprice_unavailable")` - - `TemporarilyUnavailable` + - `TemporarilyUnavailable("temporarily_unavailable")` - - `VariantFieldsPresent` + - `VariantFieldsPresent("variant_fields_present")` - - `WrongOrganization` + - `WrongOrganization("wrong_organization")` - - `WrongPlatform` + - `WrongPlatform("wrong_platform")` - - `WrongWorkspace` + - `WrongWorkspace("wrong_workspace")` - - `JsonElement Type constant` + - `JsonElement Type = "not_applied"` - `IReadOnlyList? RemoveToRedeem` @@ -19705,7 +19705,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "message"` Usage for a sampling iteration @@ -19741,7 +19741,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` Usage for a compaction iteration @@ -19783,7 +19783,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -19830,7 +19830,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -19882,19 +19882,19 @@ Console.WriteLine(betaMessageTokensCount); If the request used the priority, standard, or batch tier. - - `Standard` + - `Standard("standard")` - - `Priority` + - `Priority("priority")` - - `Batch` + - `Batch("batch")` - `required Speed? Speed` Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `IReadOnlyList? InputTransformations` @@ -19936,15 +19936,15 @@ Console.WriteLine(betaMessageTokensCount); `organization_binding_mismatch`, `end_user_binding_mismatch`, `model_binding_mismatch`, `prefix_binding_mismatch`. - - `ModelBindingMismatch` + - `ModelBindingMismatch("model_binding_mismatch")` - - `PrefixBindingMismatch` + - `PrefixBindingMismatch("prefix_binding_mismatch")` - - `OrganizationBindingMismatch` + - `OrganizationBindingMismatch("organization_binding_mismatch")` - - `EndUserBindingMismatch` + - `EndUserBindingMismatch("end_user_binding_mismatch")` - - `JsonElement Type constant` + - `JsonElement Type = "thinking_dropped"` Always `thinking_dropped` for this entry type. @@ -19982,7 +19982,7 @@ Console.WriteLine(betaMessageTokensCount); The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonElement Type constant` + - `JsonElement Type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -19995,31 +19995,31 @@ Console.WriteLine(betaMessageTokensCount); A closed enum; additions to the redemption-check vocabulary arrive as deliberate schema updates. - - `BodyMismatch` + - `BodyMismatch("body_mismatch")` - - `ContinuationExcluded` + - `ContinuationExcluded("continuation_excluded")` - - `ContinuationOnly` + - `ContinuationOnly("continuation_only")` - - `Expired` + - `Expired("expired")` - - `InvalidTargetModel` + - `InvalidTargetModel("invalid_target_model")` - - `NotEnabled` + - `NotEnabled("not_enabled")` - - `RepriceUnavailable` + - `RepriceUnavailable("reprice_unavailable")` - - `TemporarilyUnavailable` + - `TemporarilyUnavailable("temporarily_unavailable")` - - `VariantFieldsPresent` + - `VariantFieldsPresent("variant_fields_present")` - - `WrongOrganization` + - `WrongOrganization("wrong_organization")` - - `WrongPlatform` + - `WrongPlatform("wrong_platform")` - - `WrongWorkspace` + - `WrongWorkspace("wrong_workspace")` - - `JsonElement Type constant` + - `JsonElement Type = "not_applied"` - `IReadOnlyList? RemoveToRedeem` @@ -20094,71 +20094,71 @@ Console.WriteLine(betaMessageTokensCount); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -20168,7 +20168,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "message"` Usage for a sampling iteration @@ -20204,7 +20204,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` Usage for a compaction iteration @@ -20246,7 +20246,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -20293,7 +20293,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -20385,71 +20385,71 @@ Console.WriteLine(betaMessageTokensCount); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -20459,7 +20459,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "message"` Usage for a sampling iteration @@ -20479,13 +20479,13 @@ Console.WriteLine(betaMessageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -20498,9 +20498,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -20522,7 +20522,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -20542,7 +20542,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -20572,7 +20572,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -20584,7 +20584,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -20622,7 +20622,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class BetaImageBlockParam:` @@ -20636,19 +20636,19 @@ Console.WriteLine(betaMessageTokensCount); - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaUrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -20656,9 +20656,9 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `BetaCacheControlEphemeral? CacheControl` @@ -20672,9 +20672,9 @@ Console.WriteLine(betaMessageTokensCount); What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - `class BetaRequestDocumentBlock:` @@ -20686,17 +20686,17 @@ Console.WriteLine(betaMessageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaContentBlockSource:` @@ -20710,11 +20710,11 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaImageBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class BetaUrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -20722,9 +20722,9 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `BetaCacheControlEphemeral? CacheControl` @@ -20750,7 +20750,7 @@ Console.WriteLine(betaMessageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -20762,7 +20762,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -20782,7 +20782,7 @@ Console.WriteLine(betaMessageTokensCount); The `thinking` text of this block as returned by the API. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class BetaRedactedThinkingBlockParam:` @@ -20790,7 +20790,7 @@ Console.WriteLine(betaMessageTokensCount); The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class BetaToolUseBlockParam:` @@ -20804,7 +20804,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 200, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -20818,7 +20818,7 @@ Console.WriteLine(betaMessageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -20828,7 +20828,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -20836,7 +20836,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -20850,7 +20850,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -20878,7 +20878,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` @@ -20922,7 +20922,7 @@ Console.WriteLine(betaMessageTokensCount); Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonElement Type constant` + - `JsonElement Type = "browser_state"` - `BetaCacheControlEphemeral? CacheControl` @@ -20950,7 +20950,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -20962,7 +20962,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -20983,7 +20983,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -21013,7 +21013,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -21045,23 +21045,23 @@ Console.WriteLine(betaMessageTokensCount); - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -21091,7 +21091,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -21101,25 +21101,25 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -21147,31 +21147,31 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlockParam:` - `required BetaRequestDocumentBlock Content` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -21185,7 +21185,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -21213,27 +21213,27 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlockParam:` - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `string? StopReason` @@ -21243,7 +21243,7 @@ Console.WriteLine(betaMessageTokensCount); Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `string? StopReason` @@ -21251,7 +21251,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -21267,15 +21267,15 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -21283,7 +21283,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -21291,7 +21291,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -21301,7 +21301,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -21309,13 +21309,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -21329,17 +21329,17 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlockParam:` @@ -21347,7 +21347,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -21355,13 +21355,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -21375,17 +21375,17 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `string? ErrorMessage` @@ -21395,13 +21395,13 @@ Console.WriteLine(betaMessageTokensCount); - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `long? NumLines` @@ -21413,11 +21413,11 @@ Console.WriteLine(betaMessageTokensCount); - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `IReadOnlyList? Lines` @@ -21433,7 +21433,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -21447,15 +21447,15 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `string? ErrorMessage` @@ -21467,19 +21467,19 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -21499,7 +21499,7 @@ Console.WriteLine(betaMessageTokensCount); The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -21511,7 +21511,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -21527,7 +21527,7 @@ Console.WriteLine(betaMessageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -21544,7 +21544,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `BetaCacheControlEphemeral? CacheControl` @@ -21560,7 +21560,7 @@ Console.WriteLine(betaMessageTokensCount); When content is None, the block represents a failed compaction. The server treats these as no-ops. Empty string content is not allowed. - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `BetaCacheControlEphemeral? CacheControl` @@ -21600,7 +21600,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -21611,7 +21611,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -21619,9 +21619,9 @@ Console.WriteLine(betaMessageTokensCount); - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_toolset_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_addition"` - `BetaCacheControlEphemeral? CacheControl` @@ -21658,7 +21658,7 @@ Console.WriteLine(betaMessageTokensCount); Reference to every tool in the named MCP server's toolset. - - `JsonElement Type constant` + - `JsonElement Type = "tool_removal"` - `BetaCacheControlEphemeral? CacheControl` @@ -21690,71 +21690,71 @@ Console.WriteLine(betaMessageTokensCount); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -21762,7 +21762,7 @@ Console.WriteLine(betaMessageTokensCount); Identifies one hop of a fallback transition. - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` - `JsonElement Trigger` @@ -21770,19 +21770,19 @@ Console.WriteLine(betaMessageTokensCount); - `required Role Role` - - `User` + - `User("user")` - - `Assistant` + - `Assistant("assistant")` - - `System` + - `System("system")` - `ClearAt? ClearAt` How long this system message's text stays in front of the model. `"never"` (the default) renders it on every request that includes it. `"next_user_message"` renders it only for the user turn it follows: once a later `role: "user"` message exists in `messages` the message stays in the array (send it unchanged) but is no longer shown to the model. Only permitted on `role: "system"` messages. - - `NextUserMessage` + - `NextUserMessage("next_user_message")` - - `Never` + - `Never("never")` - `BetaSystemMessageOutputConfig? OutputConfig` @@ -21796,15 +21796,15 @@ Console.WriteLine(betaMessageTokensCount); All possible effort levels. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` ### Beta Message Tokens Count @@ -21842,15 +21842,15 @@ Console.WriteLine(betaMessageTokensCount); All possible effort levels. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `BetaJsonOutputFormat? Format` @@ -21860,7 +21860,7 @@ Console.WriteLine(betaMessageTokensCount); The JSON schema of the format - - `JsonElement Type constant` + - `JsonElement Type = "json_schema"` - `BetaTokenTaskBudget? TaskBudget` @@ -21872,7 +21872,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1024 - - `JsonElement Type constant` + - `JsonElement Type = "tokens"` The budget type. Currently only 'tokens' is supported. @@ -21905,9 +21905,9 @@ Console.WriteLine(betaMessageTokensCount); - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` ### Beta Raw Content Block Delta @@ -21917,13 +21917,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "text_delta"` - `class BetaInputJsonDelta:` - `required string PartialJson` - - `JsonElement Type constant` + - `JsonElement Type = "input_json_delta"` - `class BetaCitationsDelta:` @@ -21947,7 +21947,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocation:` @@ -21967,7 +21967,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -21997,7 +21997,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -22009,7 +22009,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -22045,9 +22045,9 @@ Console.WriteLine(betaMessageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - - `JsonElement Type constant` + - `JsonElement Type = "citations_delta"` - `class BetaThinkingDelta:` @@ -22059,7 +22059,7 @@ Console.WriteLine(betaMessageTokensCount); The incremental `thinking` text for this content block. Concatenate the `thinking` values of successive `thinking_delta` events to assemble the block's full `thinking` value. - - `JsonElement Type constant` + - `JsonElement Type = "thinking_delta"` - `class BetaSignatureDelta:` @@ -22067,7 +22067,7 @@ Console.WriteLine(betaMessageTokensCount); The `signature` for this thinking block: an opaque value used to verify that the block was generated by Claude when it is passed back to the API. Delivered in a `signature_delta` event just before the block's `content_block_stop` event. - - `JsonElement Type constant` + - `JsonElement Type = "signature_delta"` - `class BetaCompactionContentBlockDelta:` @@ -22077,7 +22077,7 @@ Console.WriteLine(betaMessageTokensCount); Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonElement Type constant` + - `JsonElement Type = "compaction_delta"` ### Beta Raw Content Block Delta Event @@ -22089,13 +22089,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "text_delta"` - `class BetaInputJsonDelta:` - `required string PartialJson` - - `JsonElement Type constant` + - `JsonElement Type = "input_json_delta"` - `class BetaCitationsDelta:` @@ -22119,7 +22119,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocation:` @@ -22139,7 +22139,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -22169,7 +22169,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -22181,7 +22181,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -22217,9 +22217,9 @@ Console.WriteLine(betaMessageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - - `JsonElement Type constant` + - `JsonElement Type = "citations_delta"` - `class BetaThinkingDelta:` @@ -22231,7 +22231,7 @@ Console.WriteLine(betaMessageTokensCount); The incremental `thinking` text for this content block. Concatenate the `thinking` values of successive `thinking_delta` events to assemble the block's full `thinking` value. - - `JsonElement Type constant` + - `JsonElement Type = "thinking_delta"` - `class BetaSignatureDelta:` @@ -22239,7 +22239,7 @@ Console.WriteLine(betaMessageTokensCount); The `signature` for this thinking block: an opaque value used to verify that the block was generated by Claude when it is passed back to the API. Delivered in a `signature_delta` event just before the block's `content_block_stop` event. - - `JsonElement Type constant` + - `JsonElement Type = "signature_delta"` - `class BetaCompactionContentBlockDelta:` @@ -22249,11 +22249,11 @@ Console.WriteLine(betaMessageTokensCount); Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonElement Type constant` + - `JsonElement Type = "compaction_delta"` - `required long Index` - - `JsonElement Type constant` + - `JsonElement Type = "content_block_delta"` ### Beta Raw Content Block Start Event @@ -22289,7 +22289,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocation:` @@ -22309,7 +22309,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -22339,7 +22339,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -22351,7 +22351,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -22387,13 +22387,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaThinkingBlock:` @@ -22409,7 +22409,7 @@ Console.WriteLine(betaMessageTokensCount); The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -22421,7 +22421,7 @@ Console.WriteLine(betaMessageTokensCount); See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -22435,7 +22435,7 @@ Console.WriteLine(betaMessageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `Caller Caller` @@ -22445,7 +22445,7 @@ Console.WriteLine(betaMessageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -22455,7 +22455,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -22463,7 +22463,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -22481,23 +22481,23 @@ Console.WriteLine(betaMessageTokensCount); - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `Caller Caller` @@ -22521,19 +22521,19 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -22543,7 +22543,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -22551,7 +22551,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `Caller Caller` @@ -22575,25 +22575,25 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -22613,29 +22613,29 @@ Console.WriteLine(betaMessageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -22645,7 +22645,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `Caller Caller` @@ -22669,21 +22669,21 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -22693,7 +22693,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -22705,13 +22705,13 @@ Console.WriteLine(betaMessageTokensCount); The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -22723,15 +22723,15 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -22739,7 +22739,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -22747,7 +22747,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -22757,7 +22757,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -22765,13 +22765,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -22781,17 +22781,17 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -22799,7 +22799,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -22807,13 +22807,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -22823,19 +22823,19 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -22843,11 +22843,11 @@ Console.WriteLine(betaMessageTokensCount); - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -22855,13 +22855,13 @@ Console.WriteLine(betaMessageTokensCount); - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -22875,13 +22875,13 @@ Console.WriteLine(betaMessageTokensCount); - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -22891,17 +22891,17 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -22911,15 +22911,15 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -22937,7 +22937,7 @@ Console.WriteLine(betaMessageTokensCount); The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -22957,7 +22957,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required bool IsError` @@ -22965,7 +22965,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -22973,7 +22973,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `class BetaCompactionBlock:` @@ -22991,7 +22991,7 @@ Console.WriteLine(betaMessageTokensCount); Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `class BetaFallbackBlock:` @@ -23017,71 +23017,71 @@ Console.WriteLine(betaMessageTokensCount); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -23097,33 +23097,33 @@ Console.WriteLine(betaMessageTokensCount); The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` - `required long Index` - - `JsonElement Type constant` + - `JsonElement Type = "content_block_start"` ### Beta Raw Content Block Stop Event @@ -23131,7 +23131,7 @@ Console.WriteLine(betaMessageTokensCount); - `required long Index` - - `JsonElement Type constant` + - `JsonElement Type = "content_block_stop"` ### Beta Raw Message Delta Event @@ -23159,7 +23159,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -23177,7 +23177,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_thinking_20251015"` The type of context management edit applied. @@ -23211,9 +23211,9 @@ Console.WriteLine(betaMessageTokensCount); Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -23229,23 +23229,23 @@ Console.WriteLine(betaMessageTokensCount); The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -23304,29 +23304,29 @@ Console.WriteLine(betaMessageTokensCount); The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - `required BetaStopReason? StopReason` - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Compaction` + - `Compaction("compaction")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` - `required string? StopSequence` - - `JsonElement Type constant` + - `JsonElement Type = "message_delta"` - `required BetaMessageDeltaUsage Usage` @@ -23370,7 +23370,7 @@ Console.WriteLine(betaMessageTokensCount); The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonElement Type constant` + - `JsonElement Type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -23383,31 +23383,31 @@ Console.WriteLine(betaMessageTokensCount); A closed enum; additions to the redemption-check vocabulary arrive as deliberate schema updates. - - `BodyMismatch` + - `BodyMismatch("body_mismatch")` - - `ContinuationExcluded` + - `ContinuationExcluded("continuation_excluded")` - - `ContinuationOnly` + - `ContinuationOnly("continuation_only")` - - `Expired` + - `Expired("expired")` - - `InvalidTargetModel` + - `InvalidTargetModel("invalid_target_model")` - - `NotEnabled` + - `NotEnabled("not_enabled")` - - `RepriceUnavailable` + - `RepriceUnavailable("reprice_unavailable")` - - `TemporarilyUnavailable` + - `TemporarilyUnavailable("temporarily_unavailable")` - - `VariantFieldsPresent` + - `VariantFieldsPresent("variant_fields_present")` - - `WrongOrganization` + - `WrongOrganization("wrong_organization")` - - `WrongPlatform` + - `WrongPlatform("wrong_platform")` - - `WrongWorkspace` + - `WrongWorkspace("wrong_workspace")` - - `JsonElement Type constant` + - `JsonElement Type = "not_applied"` - `IReadOnlyList? RemoveToRedeem` @@ -23482,71 +23482,71 @@ Console.WriteLine(betaMessageTokensCount); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -23556,7 +23556,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "message"` Usage for a sampling iteration @@ -23592,7 +23592,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` Usage for a compaction iteration @@ -23634,7 +23634,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -23681,7 +23681,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -23767,15 +23767,15 @@ Console.WriteLine(betaMessageTokensCount); `organization_binding_mismatch`, `end_user_binding_mismatch`, `model_binding_mismatch`, `prefix_binding_mismatch`. - - `ModelBindingMismatch` + - `ModelBindingMismatch("model_binding_mismatch")` - - `PrefixBindingMismatch` + - `PrefixBindingMismatch("prefix_binding_mismatch")` - - `OrganizationBindingMismatch` + - `OrganizationBindingMismatch("organization_binding_mismatch")` - - `EndUserBindingMismatch` + - `EndUserBindingMismatch("end_user_binding_mismatch")` - - `JsonElement Type constant` + - `JsonElement Type = "thinking_dropped"` Always `thinking_dropped` for this entry type. @@ -23819,9 +23819,9 @@ Console.WriteLine(betaMessageTokensCount); Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -23884,7 +23884,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocation:` @@ -23904,7 +23904,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -23934,7 +23934,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -23946,7 +23946,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -23982,13 +23982,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaThinkingBlock:` @@ -24004,7 +24004,7 @@ Console.WriteLine(betaMessageTokensCount); The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -24016,7 +24016,7 @@ Console.WriteLine(betaMessageTokensCount); See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -24030,7 +24030,7 @@ Console.WriteLine(betaMessageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `Caller Caller` @@ -24040,7 +24040,7 @@ Console.WriteLine(betaMessageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -24050,7 +24050,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -24058,7 +24058,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -24076,23 +24076,23 @@ Console.WriteLine(betaMessageTokensCount); - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `Caller Caller` @@ -24116,19 +24116,19 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -24138,7 +24138,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -24146,7 +24146,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `Caller Caller` @@ -24170,25 +24170,25 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -24208,29 +24208,29 @@ Console.WriteLine(betaMessageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -24240,7 +24240,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `Caller Caller` @@ -24264,21 +24264,21 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -24288,7 +24288,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -24300,13 +24300,13 @@ Console.WriteLine(betaMessageTokensCount); The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -24318,15 +24318,15 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -24334,7 +24334,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -24342,7 +24342,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -24352,7 +24352,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -24360,13 +24360,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -24376,17 +24376,17 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -24394,7 +24394,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -24402,13 +24402,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -24418,19 +24418,19 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -24438,11 +24438,11 @@ Console.WriteLine(betaMessageTokensCount); - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -24450,13 +24450,13 @@ Console.WriteLine(betaMessageTokensCount); - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -24470,13 +24470,13 @@ Console.WriteLine(betaMessageTokensCount); - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -24486,17 +24486,17 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -24506,15 +24506,15 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -24532,7 +24532,7 @@ Console.WriteLine(betaMessageTokensCount); The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -24552,7 +24552,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required bool IsError` @@ -24560,7 +24560,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -24568,7 +24568,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `class BetaCompactionBlock:` @@ -24586,7 +24586,7 @@ Console.WriteLine(betaMessageTokensCount); Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `class BetaFallbackBlock:` @@ -24612,71 +24612,71 @@ Console.WriteLine(betaMessageTokensCount); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -24692,29 +24692,29 @@ Console.WriteLine(betaMessageTokensCount); The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` - `required BetaContextManagementResponse? ContextManagement` @@ -24740,7 +24740,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -24758,7 +24758,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_thinking_20251015"` The type of context management edit applied. @@ -24777,7 +24777,7 @@ Console.WriteLine(betaMessageTokensCount); Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -24785,7 +24785,7 @@ Console.WriteLine(betaMessageTokensCount); Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -24793,7 +24793,7 @@ Console.WriteLine(betaMessageTokensCount); Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -24801,15 +24801,15 @@ Console.WriteLine(betaMessageTokensCount); Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonElement Type constant` + - `JsonElement Type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonElement Type constant` + - `JsonElement Type = "unavailable"` - `required Model Model` @@ -24817,7 +24817,7 @@ Console.WriteLine(betaMessageTokensCount); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonElement Role constant` + - `JsonElement Role = "assistant"` Conversational role of the generated message. @@ -24831,23 +24831,23 @@ Console.WriteLine(betaMessageTokensCount); The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -24906,7 +24906,7 @@ Console.WriteLine(betaMessageTokensCount); The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - `required BetaStopReason? StopReason` @@ -24924,21 +24924,21 @@ Console.WriteLine(betaMessageTokensCount); In non-streaming mode this value is always non-null. In streaming mode, it is null in the `message_start` event and non-null otherwise. - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Compaction` + - `Compaction("compaction")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` - `required string? StopSequence` @@ -24946,7 +24946,7 @@ Console.WriteLine(betaMessageTokensCount); This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonElement Type constant` + - `JsonElement Type = "message"` Object type. @@ -25010,7 +25010,7 @@ Console.WriteLine(betaMessageTokensCount); The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonElement Type constant` + - `JsonElement Type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -25023,31 +25023,31 @@ Console.WriteLine(betaMessageTokensCount); A closed enum; additions to the redemption-check vocabulary arrive as deliberate schema updates. - - `BodyMismatch` + - `BodyMismatch("body_mismatch")` - - `ContinuationExcluded` + - `ContinuationExcluded("continuation_excluded")` - - `ContinuationOnly` + - `ContinuationOnly("continuation_only")` - - `Expired` + - `Expired("expired")` - - `InvalidTargetModel` + - `InvalidTargetModel("invalid_target_model")` - - `NotEnabled` + - `NotEnabled("not_enabled")` - - `RepriceUnavailable` + - `RepriceUnavailable("reprice_unavailable")` - - `TemporarilyUnavailable` + - `TemporarilyUnavailable("temporarily_unavailable")` - - `VariantFieldsPresent` + - `VariantFieldsPresent("variant_fields_present")` - - `WrongOrganization` + - `WrongOrganization("wrong_organization")` - - `WrongPlatform` + - `WrongPlatform("wrong_platform")` - - `WrongWorkspace` + - `WrongWorkspace("wrong_workspace")` - - `JsonElement Type constant` + - `JsonElement Type = "not_applied"` - `IReadOnlyList? RemoveToRedeem` @@ -25120,7 +25120,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "message"` Usage for a sampling iteration @@ -25156,7 +25156,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` Usage for a compaction iteration @@ -25198,7 +25198,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -25245,7 +25245,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -25297,19 +25297,19 @@ Console.WriteLine(betaMessageTokensCount); If the request used the priority, standard, or batch tier. - - `Standard` + - `Standard("standard")` - - `Priority` + - `Priority("priority")` - - `Batch` + - `Batch("batch")` - `required Speed? Speed` Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `IReadOnlyList? InputTransformations` @@ -25351,25 +25351,25 @@ Console.WriteLine(betaMessageTokensCount); `organization_binding_mismatch`, `end_user_binding_mismatch`, `model_binding_mismatch`, `prefix_binding_mismatch`. - - `ModelBindingMismatch` + - `ModelBindingMismatch("model_binding_mismatch")` - - `PrefixBindingMismatch` + - `PrefixBindingMismatch("prefix_binding_mismatch")` - - `OrganizationBindingMismatch` + - `OrganizationBindingMismatch("organization_binding_mismatch")` - - `EndUserBindingMismatch` + - `EndUserBindingMismatch("end_user_binding_mismatch")` - - `JsonElement Type constant` + - `JsonElement Type = "thinking_dropped"` Always `thinking_dropped` for this entry type. - - `JsonElement Type constant` + - `JsonElement Type = "message_start"` ### Beta Raw Message Stop Event - `class BetaRawMessageStopEvent:` - - `JsonElement Type constant` + - `JsonElement Type = "message_stop"` ### Beta Raw Message Stream Event @@ -25413,9 +25413,9 @@ Console.WriteLine(betaMessageTokensCount); Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -25478,7 +25478,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocation:` @@ -25498,7 +25498,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -25528,7 +25528,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -25540,7 +25540,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -25576,13 +25576,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaThinkingBlock:` @@ -25598,7 +25598,7 @@ Console.WriteLine(betaMessageTokensCount); The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -25610,7 +25610,7 @@ Console.WriteLine(betaMessageTokensCount); See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -25624,7 +25624,7 @@ Console.WriteLine(betaMessageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `Caller Caller` @@ -25634,7 +25634,7 @@ Console.WriteLine(betaMessageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -25644,7 +25644,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -25652,7 +25652,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -25670,23 +25670,23 @@ Console.WriteLine(betaMessageTokensCount); - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `Caller Caller` @@ -25710,19 +25710,19 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -25732,7 +25732,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -25740,7 +25740,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `Caller Caller` @@ -25764,25 +25764,25 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -25802,29 +25802,29 @@ Console.WriteLine(betaMessageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -25834,7 +25834,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `Caller Caller` @@ -25858,21 +25858,21 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -25882,7 +25882,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -25894,13 +25894,13 @@ Console.WriteLine(betaMessageTokensCount); The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -25912,15 +25912,15 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -25928,7 +25928,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -25936,7 +25936,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -25946,7 +25946,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -25954,13 +25954,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -25970,17 +25970,17 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -25988,7 +25988,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -25996,13 +25996,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -26012,19 +26012,19 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -26032,11 +26032,11 @@ Console.WriteLine(betaMessageTokensCount); - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -26044,13 +26044,13 @@ Console.WriteLine(betaMessageTokensCount); - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -26064,13 +26064,13 @@ Console.WriteLine(betaMessageTokensCount); - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -26080,17 +26080,17 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -26100,15 +26100,15 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -26126,7 +26126,7 @@ Console.WriteLine(betaMessageTokensCount); The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -26146,7 +26146,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required bool IsError` @@ -26154,7 +26154,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -26162,7 +26162,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `class BetaCompactionBlock:` @@ -26180,7 +26180,7 @@ Console.WriteLine(betaMessageTokensCount); Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `class BetaFallbackBlock:` @@ -26206,71 +26206,71 @@ Console.WriteLine(betaMessageTokensCount); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -26286,29 +26286,29 @@ Console.WriteLine(betaMessageTokensCount); The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` - `required BetaContextManagementResponse? ContextManagement` @@ -26334,7 +26334,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -26352,7 +26352,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_thinking_20251015"` The type of context management edit applied. @@ -26371,7 +26371,7 @@ Console.WriteLine(betaMessageTokensCount); Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -26379,7 +26379,7 @@ Console.WriteLine(betaMessageTokensCount); Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -26387,7 +26387,7 @@ Console.WriteLine(betaMessageTokensCount); Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -26395,15 +26395,15 @@ Console.WriteLine(betaMessageTokensCount); Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonElement Type constant` + - `JsonElement Type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonElement Type constant` + - `JsonElement Type = "unavailable"` - `required Model Model` @@ -26411,7 +26411,7 @@ Console.WriteLine(betaMessageTokensCount); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonElement Role constant` + - `JsonElement Role = "assistant"` Conversational role of the generated message. @@ -26425,23 +26425,23 @@ Console.WriteLine(betaMessageTokensCount); The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -26500,7 +26500,7 @@ Console.WriteLine(betaMessageTokensCount); The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - `required BetaStopReason? StopReason` @@ -26518,21 +26518,21 @@ Console.WriteLine(betaMessageTokensCount); In non-streaming mode this value is always non-null. In streaming mode, it is null in the `message_start` event and non-null otherwise. - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Compaction` + - `Compaction("compaction")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` - `required string? StopSequence` @@ -26540,7 +26540,7 @@ Console.WriteLine(betaMessageTokensCount); This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonElement Type constant` + - `JsonElement Type = "message"` Object type. @@ -26604,7 +26604,7 @@ Console.WriteLine(betaMessageTokensCount); The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonElement Type constant` + - `JsonElement Type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -26617,31 +26617,31 @@ Console.WriteLine(betaMessageTokensCount); A closed enum; additions to the redemption-check vocabulary arrive as deliberate schema updates. - - `BodyMismatch` + - `BodyMismatch("body_mismatch")` - - `ContinuationExcluded` + - `ContinuationExcluded("continuation_excluded")` - - `ContinuationOnly` + - `ContinuationOnly("continuation_only")` - - `Expired` + - `Expired("expired")` - - `InvalidTargetModel` + - `InvalidTargetModel("invalid_target_model")` - - `NotEnabled` + - `NotEnabled("not_enabled")` - - `RepriceUnavailable` + - `RepriceUnavailable("reprice_unavailable")` - - `TemporarilyUnavailable` + - `TemporarilyUnavailable("temporarily_unavailable")` - - `VariantFieldsPresent` + - `VariantFieldsPresent("variant_fields_present")` - - `WrongOrganization` + - `WrongOrganization("wrong_organization")` - - `WrongPlatform` + - `WrongPlatform("wrong_platform")` - - `WrongWorkspace` + - `WrongWorkspace("wrong_workspace")` - - `JsonElement Type constant` + - `JsonElement Type = "not_applied"` - `IReadOnlyList? RemoveToRedeem` @@ -26714,7 +26714,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "message"` Usage for a sampling iteration @@ -26750,7 +26750,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` Usage for a compaction iteration @@ -26792,7 +26792,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -26839,7 +26839,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -26891,19 +26891,19 @@ Console.WriteLine(betaMessageTokensCount); If the request used the priority, standard, or batch tier. - - `Standard` + - `Standard("standard")` - - `Priority` + - `Priority("priority")` - - `Batch` + - `Batch("batch")` - `required Speed? Speed` Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `IReadOnlyList? InputTransformations` @@ -26945,19 +26945,19 @@ Console.WriteLine(betaMessageTokensCount); `organization_binding_mismatch`, `end_user_binding_mismatch`, `model_binding_mismatch`, `prefix_binding_mismatch`. - - `ModelBindingMismatch` + - `ModelBindingMismatch("model_binding_mismatch")` - - `PrefixBindingMismatch` + - `PrefixBindingMismatch("prefix_binding_mismatch")` - - `OrganizationBindingMismatch` + - `OrganizationBindingMismatch("organization_binding_mismatch")` - - `EndUserBindingMismatch` + - `EndUserBindingMismatch("end_user_binding_mismatch")` - - `JsonElement Type constant` + - `JsonElement Type = "thinking_dropped"` Always `thinking_dropped` for this entry type. - - `JsonElement Type constant` + - `JsonElement Type = "message_start"` - `class BetaRawMessageDeltaEvent:` @@ -26979,7 +26979,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string? StopSequence` - - `JsonElement Type constant` + - `JsonElement Type = "message_delta"` - `required BetaMessageDeltaUsage Usage` @@ -27105,13 +27105,13 @@ Console.WriteLine(betaMessageTokensCount); `organization_binding_mismatch`, `end_user_binding_mismatch`, `model_binding_mismatch`, `prefix_binding_mismatch`. - - `JsonElement Type constant` + - `JsonElement Type = "thinking_dropped"` Always `thinking_dropped` for this entry type. - `class BetaRawMessageStopEvent:` - - `JsonElement Type constant` + - `JsonElement Type = "message_stop"` - `class BetaRawContentBlockStartEvent:` @@ -27175,7 +27175,7 @@ Console.WriteLine(betaMessageTokensCount); - `required long Index` - - `JsonElement Type constant` + - `JsonElement Type = "content_block_start"` - `class BetaRawContentBlockDeltaEvent:` @@ -27185,13 +27185,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "text_delta"` - `class BetaInputJsonDelta:` - `required string PartialJson` - - `JsonElement Type constant` + - `JsonElement Type = "input_json_delta"` - `class BetaCitationsDelta:` @@ -27207,7 +27207,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaCitationSearchResultLocation:` - - `JsonElement Type constant` + - `JsonElement Type = "citations_delta"` - `class BetaThinkingDelta:` @@ -27219,7 +27219,7 @@ Console.WriteLine(betaMessageTokensCount); The incremental `thinking` text for this content block. Concatenate the `thinking` values of successive `thinking_delta` events to assemble the block's full `thinking` value. - - `JsonElement Type constant` + - `JsonElement Type = "thinking_delta"` - `class BetaSignatureDelta:` @@ -27227,7 +27227,7 @@ Console.WriteLine(betaMessageTokensCount); The `signature` for this thinking block: an opaque value used to verify that the block was generated by Claude when it is passed back to the API. Delivered in a `signature_delta` event just before the block's `content_block_stop` event. - - `JsonElement Type constant` + - `JsonElement Type = "signature_delta"` - `class BetaCompactionContentBlockDelta:` @@ -27237,17 +27237,17 @@ Console.WriteLine(betaMessageTokensCount); Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonElement Type constant` + - `JsonElement Type = "compaction_delta"` - `required long Index` - - `JsonElement Type constant` + - `JsonElement Type = "content_block_delta"` - `class BetaRawContentBlockStopEvent:` - `required long Index` - - `JsonElement Type constant` + - `JsonElement Type = "content_block_stop"` ### Beta Redacted Thinking Block @@ -27261,7 +27261,7 @@ Console.WriteLine(betaMessageTokensCount); See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` ### Beta Redacted Thinking Block Param @@ -27271,7 +27271,7 @@ Console.WriteLine(betaMessageTokensCount); The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` ### Beta Refusal Stop Details @@ -27283,23 +27283,23 @@ Console.WriteLine(betaMessageTokensCount); The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -27358,7 +27358,7 @@ Console.WriteLine(betaMessageTokensCount); The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` ### Beta Request Document Block @@ -27372,17 +27372,17 @@ Console.WriteLine(betaMessageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaContentBlockSource:` @@ -27398,13 +27398,13 @@ Console.WriteLine(betaMessageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -27417,9 +27417,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -27441,7 +27441,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -27461,7 +27461,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -27491,7 +27491,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -27503,7 +27503,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -27541,7 +27541,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class BetaImageBlockParam:` @@ -27555,19 +27555,19 @@ Console.WriteLine(betaMessageTokensCount); - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaUrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -27575,9 +27575,9 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `BetaCacheControlEphemeral? CacheControl` @@ -27591,15 +27591,15 @@ Console.WriteLine(betaMessageTokensCount); What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class BetaUrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -27607,9 +27607,9 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `BetaCacheControlEphemeral? CacheControl` @@ -27641,7 +27641,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Name` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -27661,13 +27661,13 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -27680,9 +27680,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `Content Content` @@ -27694,7 +27694,7 @@ Console.WriteLine(betaMessageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -27720,7 +27720,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -27740,7 +27740,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -27770,7 +27770,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -27782,7 +27782,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -27820,7 +27820,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `bool IsError` @@ -27852,7 +27852,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -27863,7 +27863,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -27871,15 +27871,15 @@ Console.WriteLine(betaMessageTokensCount); - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_toolset_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_addition"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -27892,9 +27892,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` ### Beta Request Tool Removal Block @@ -27924,7 +27924,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -27935,7 +27935,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -27943,15 +27943,15 @@ Console.WriteLine(betaMessageTokensCount); - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_toolset_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_removal"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -27964,9 +27964,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` ### Beta Search Result Block Param @@ -27978,13 +27978,13 @@ Console.WriteLine(betaMessageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -27997,9 +27997,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -28021,7 +28021,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -28041,7 +28041,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -28071,7 +28071,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -28083,7 +28083,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -28121,13 +28121,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Source` - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -28147,7 +28147,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` ### Beta Server Tool Caller 20260120 @@ -28157,7 +28157,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` ### Beta Server Tool Usage @@ -28187,23 +28187,23 @@ Console.WriteLine(betaMessageTokensCount); - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `Caller Caller` @@ -28213,7 +28213,7 @@ Console.WriteLine(betaMessageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -28223,7 +28223,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -28231,7 +28231,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` ### Beta Server Tool Use Block Param @@ -28245,29 +28245,29 @@ Console.WriteLine(betaMessageTokensCount); - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -28280,9 +28280,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `Caller Caller` @@ -28292,7 +28292,7 @@ Console.WriteLine(betaMessageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -28302,7 +28302,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -28310,7 +28310,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` ### Beta Signature Delta @@ -28320,7 +28320,7 @@ Console.WriteLine(betaMessageTokensCount); The `signature` for this thinking block: an opaque value used to verify that the block was generated by Claude when it is passed back to the API. Delivered in a `signature_delta` event just before the block's `content_block_stop` event. - - `JsonElement Type constant` + - `JsonElement Type = "signature_delta"` ### Beta Skill Params @@ -28338,9 +28338,9 @@ Console.WriteLine(betaMessageTokensCount); Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `string Version` @@ -28352,21 +28352,21 @@ Console.WriteLine(betaMessageTokensCount); - `enum BetaStopReason:` - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Compaction` + - `Compaction("compaction")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` ### Beta System Message Output Config @@ -28382,15 +28382,15 @@ Console.WriteLine(betaMessageTokensCount); All possible effort levels. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` ### Beta Text Block @@ -28420,7 +28420,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocation:` @@ -28440,7 +28440,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -28470,7 +28470,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -28482,7 +28482,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -28518,13 +28518,13 @@ Console.WriteLine(betaMessageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` ### Beta Text Block Param @@ -28534,13 +28534,13 @@ Console.WriteLine(betaMessageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -28553,9 +28553,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -28577,7 +28577,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -28597,7 +28597,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -28627,7 +28627,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -28639,7 +28639,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -28677,7 +28677,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` ### Beta Text Citation @@ -28701,7 +28701,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocation:` @@ -28721,7 +28721,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -28751,7 +28751,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -28763,7 +28763,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -28799,7 +28799,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` ### Beta Text Citation Param @@ -28823,7 +28823,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -28843,7 +28843,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -28873,7 +28873,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -28885,7 +28885,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -28923,7 +28923,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` ### Beta Text Delta @@ -28931,7 +28931,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "text_delta"` ### Beta Text Editor Code Execution Create Result Block @@ -28939,7 +28939,7 @@ Console.WriteLine(betaMessageTokensCount); - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` ### Beta Text Editor Code Execution Create Result Block Param @@ -28947,7 +28947,7 @@ Console.WriteLine(betaMessageTokensCount); - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` ### Beta Text Editor Code Execution Str Replace Result Block @@ -28963,13 +28963,13 @@ Console.WriteLine(betaMessageTokensCount); - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` ### Beta Text Editor Code Execution Str Replace Result Block Param - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `IReadOnlyList? Lines` @@ -28991,19 +28991,19 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -29011,11 +29011,11 @@ Console.WriteLine(betaMessageTokensCount); - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -29023,13 +29023,13 @@ Console.WriteLine(betaMessageTokensCount); - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -29043,13 +29043,13 @@ Console.WriteLine(betaMessageTokensCount); - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` ### Beta Text Editor Code Execution Tool Result Block Param @@ -29061,17 +29061,17 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `string? ErrorMessage` @@ -29081,13 +29081,13 @@ Console.WriteLine(betaMessageTokensCount); - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `long? NumLines` @@ -29099,11 +29099,11 @@ Console.WriteLine(betaMessageTokensCount); - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `IReadOnlyList? Lines` @@ -29119,13 +29119,13 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -29138,9 +29138,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` ### Beta Text Editor Code Execution Tool Result Error @@ -29148,19 +29148,19 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` ### Beta Text Editor Code Execution Tool Result Error Param @@ -29168,17 +29168,17 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `string? ErrorMessage` @@ -29190,11 +29190,11 @@ Console.WriteLine(betaMessageTokensCount); - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -29202,7 +29202,7 @@ Console.WriteLine(betaMessageTokensCount); - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` ### Beta Text Editor Code Execution View Result Block Param @@ -29212,13 +29212,13 @@ Console.WriteLine(betaMessageTokensCount); - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `long? NumLines` @@ -29242,7 +29242,7 @@ Console.WriteLine(betaMessageTokensCount); The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` ### Beta Thinking Block Binding @@ -29260,9 +29260,9 @@ Console.WriteLine(betaMessageTokensCount); 400 error. `"drop_block"` removes the failing blocks and the request proceeds; the model no longer sees the dropped reasoning. - - `Error` + - `Error("error")` - - `DropBlock` + - `DropBlock("drop_block")` ### Beta Thinking Block Param @@ -29278,13 +29278,13 @@ Console.WriteLine(betaMessageTokensCount); The `thinking` text of this block as returned by the API. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` ### Beta Thinking Config Adaptive - `class BetaThinkingConfigAdaptive:` - - `JsonElement Type constant` + - `JsonElement Type = "adaptive"` - `BetaThinkingBlockBinding? BlockBinding` @@ -29300,25 +29300,25 @@ Console.WriteLine(betaMessageTokensCount); 400 error. `"drop_block"` removes the failing blocks and the request proceeds; the model no longer sees the dropped reasoning. - - `Error` + - `Error("error")` - - `DropBlock` + - `DropBlock("drop_block")` - `Display? Display` Controls how thinking content appears in the response. When set to `summarized`, thinking is returned normally. When set to `omitted`, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults to `summarized`. - - `Summarized` + - `Summarized("summarized")` - - `Omitted` + - `Omitted("omitted")` - - `Updates` + - `Updates("updates")` ### Beta Thinking Config Disabled - `class BetaThinkingConfigDisabled:` - - `JsonElement Type constant` + - `JsonElement Type = "disabled"` ### Beta Thinking Config Enabled @@ -29334,7 +29334,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1024 - - `JsonElement Type constant` + - `JsonElement Type = "enabled"` - `BetaThinkingBlockBinding? BlockBinding` @@ -29350,19 +29350,19 @@ Console.WriteLine(betaMessageTokensCount); 400 error. `"drop_block"` removes the failing blocks and the request proceeds; the model no longer sees the dropped reasoning. - - `Error` + - `Error("error")` - - `DropBlock` + - `DropBlock("drop_block")` - `Display? Display` Controls how thinking content appears in the response. When set to `summarized`, thinking is returned normally. When set to `omitted`, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults to `summarized`. - - `Summarized` + - `Summarized("summarized")` - - `Omitted` + - `Omitted("omitted")` - - `Updates` + - `Updates("updates")` ### Beta Thinking Config Param @@ -29386,7 +29386,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1024 - - `JsonElement Type constant` + - `JsonElement Type = "enabled"` - `BetaThinkingBlockBinding? BlockBinding` @@ -29402,27 +29402,27 @@ Console.WriteLine(betaMessageTokensCount); 400 error. `"drop_block"` removes the failing blocks and the request proceeds; the model no longer sees the dropped reasoning. - - `Error` + - `Error("error")` - - `DropBlock` + - `DropBlock("drop_block")` - `Display? Display` Controls how thinking content appears in the response. When set to `summarized`, thinking is returned normally. When set to `omitted`, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults to `summarized`. - - `Summarized` + - `Summarized("summarized")` - - `Omitted` + - `Omitted("omitted")` - - `Updates` + - `Updates("updates")` - `class BetaThinkingConfigDisabled:` - - `JsonElement Type constant` + - `JsonElement Type = "disabled"` - `class BetaThinkingConfigAdaptive:` - - `JsonElement Type constant` + - `JsonElement Type = "adaptive"` - `BetaThinkingBlockBinding? BlockBinding` @@ -29434,11 +29434,11 @@ Console.WriteLine(betaMessageTokensCount); Controls how thinking content appears in the response. When set to `summarized`, thinking is returned normally. When set to `omitted`, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults to `summarized`. - - `Summarized` + - `Summarized("summarized")` - - `Omitted` + - `Omitted("omitted")` - - `Updates` + - `Updates("updates")` ### Beta Thinking Delta @@ -29452,7 +29452,7 @@ Console.WriteLine(betaMessageTokensCount); The incremental `thinking` text for this content block. Concatenate the `thinking` values of successive `thinking_delta` events to assemble the block's full `thinking` value. - - `JsonElement Type constant` + - `JsonElement Type = "thinking_delta"` ### Beta Thinking Dropped Input Transformation @@ -29480,15 +29480,15 @@ Console.WriteLine(betaMessageTokensCount); `organization_binding_mismatch`, `end_user_binding_mismatch`, `model_binding_mismatch`, `prefix_binding_mismatch`. - - `ModelBindingMismatch` + - `ModelBindingMismatch("model_binding_mismatch")` - - `PrefixBindingMismatch` + - `PrefixBindingMismatch("prefix_binding_mismatch")` - - `OrganizationBindingMismatch` + - `OrganizationBindingMismatch("organization_binding_mismatch")` - - `EndUserBindingMismatch` + - `EndUserBindingMismatch("end_user_binding_mismatch")` - - `JsonElement Type constant` + - `JsonElement Type = "thinking_dropped"` Always `thinking_dropped` for this entry type. @@ -29502,15 +29502,15 @@ Console.WriteLine(betaMessageTokensCount); 400 error. `"drop_block"` removes the failing blocks and the request proceeds; the model no longer sees the dropped reasoning. - - `Error` + - `Error("error")` - - `DropBlock` + - `DropBlock("drop_block")` ### Beta Thinking Turns - `class BetaThinkingTurns:` - - `JsonElement Type constant` + - `JsonElement Type = "thinking_turns"` - `required long Value` @@ -29528,7 +29528,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1024 - - `JsonElement Type constant` + - `JsonElement Type = "tokens"` The budget type. Currently only 'tokens' is supported. @@ -29548,7 +29548,7 @@ Console.WriteLine(betaMessageTokensCount); This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -29564,19 +29564,19 @@ Console.WriteLine(betaMessageTokensCount); - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -29589,9 +29589,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -29619,29 +29619,29 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaToolBash20241022:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -29654,9 +29654,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -29672,29 +29672,29 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaToolBash20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -29707,9 +29707,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -29732,7 +29732,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_reference"` ### Beta Tool Change MCP Toolset Reference @@ -29742,7 +29742,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_toolset_reference"` ### Beta Tool Change Tool Reference @@ -29757,7 +29757,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` ### Beta Tool Choice @@ -29769,7 +29769,7 @@ Console.WriteLine(betaMessageTokensCount); The model will automatically decide whether to use tools. - - `JsonElement Type constant` + - `JsonElement Type = "auto"` - `bool DisableParallelToolUse` @@ -29781,7 +29781,7 @@ Console.WriteLine(betaMessageTokensCount); The model will use any available tools. - - `JsonElement Type constant` + - `JsonElement Type = "any"` - `bool DisableParallelToolUse` @@ -29797,7 +29797,7 @@ Console.WriteLine(betaMessageTokensCount); The name of the tool to use. - - `JsonElement Type constant` + - `JsonElement Type = "tool"` - `bool DisableParallelToolUse` @@ -29809,7 +29809,7 @@ Console.WriteLine(betaMessageTokensCount); The model will not be allowed to use tools. - - `JsonElement Type constant` + - `JsonElement Type = "none"` ### Beta Tool Choice Any @@ -29817,7 +29817,7 @@ Console.WriteLine(betaMessageTokensCount); The model will use any available tools. - - `JsonElement Type constant` + - `JsonElement Type = "any"` - `bool DisableParallelToolUse` @@ -29831,7 +29831,7 @@ Console.WriteLine(betaMessageTokensCount); The model will automatically decide whether to use tools. - - `JsonElement Type constant` + - `JsonElement Type = "auto"` - `bool DisableParallelToolUse` @@ -29845,7 +29845,7 @@ Console.WriteLine(betaMessageTokensCount); The model will not be allowed to use tools. - - `JsonElement Type constant` + - `JsonElement Type = "none"` ### Beta Tool Choice Tool @@ -29857,7 +29857,7 @@ Console.WriteLine(betaMessageTokensCount); The name of the tool to use. - - `JsonElement Type constant` + - `JsonElement Type = "tool"` - `bool DisableParallelToolUse` @@ -29881,29 +29881,29 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -29916,9 +29916,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -29952,29 +29952,29 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -29987,9 +29987,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -30023,29 +30023,29 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20251124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -30058,9 +30058,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -30090,7 +30090,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` ### Beta Tool Reference Block Param @@ -30102,13 +30102,13 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -30121,9 +30121,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` ### Beta Tool Result Block Param @@ -30133,13 +30133,13 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_result"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -30152,9 +30152,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `Content Content` @@ -30168,7 +30168,7 @@ Console.WriteLine(betaMessageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -30194,7 +30194,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -30214,7 +30214,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -30244,7 +30244,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -30256,7 +30256,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -30294,7 +30294,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class BetaImageBlockParam:` @@ -30308,19 +30308,19 @@ Console.WriteLine(betaMessageTokensCount); - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaUrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -30328,9 +30328,9 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `BetaCacheControlEphemeral? CacheControl` @@ -30344,9 +30344,9 @@ Console.WriteLine(betaMessageTokensCount); What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - `class BetaSearchResultBlockParam:` @@ -30356,7 +30356,7 @@ Console.WriteLine(betaMessageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -30368,7 +30368,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -30388,17 +30388,17 @@ Console.WriteLine(betaMessageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaContentBlockSource:` @@ -30412,11 +30412,11 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaImageBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class BetaUrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -30424,9 +30424,9 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `BetaCacheControlEphemeral? CacheControl` @@ -30450,7 +30450,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` @@ -30494,7 +30494,7 @@ Console.WriteLine(betaMessageTokensCount); Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonElement Type constant` + - `JsonElement Type = "browser_state"` - `BetaCacheControlEphemeral? CacheControl` @@ -30522,7 +30522,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -30534,7 +30534,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -30555,7 +30555,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -30585,7 +30585,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -30611,7 +30611,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaToolSearchToolBm25_20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_bm25"` Name of the tool. @@ -30619,25 +30619,25 @@ Console.WriteLine(betaMessageTokensCount); - `required Type Type` - - `ToolSearchToolBm25_20251119` + - `ToolSearchToolBm25_20251119("tool_search_tool_bm25_20251119")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -30650,9 +30650,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -30666,7 +30666,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaToolSearchToolRegex20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_regex"` Name of the tool. @@ -30674,25 +30674,25 @@ Console.WriteLine(betaMessageTokensCount); - `required Type Type` - - `ToolSearchToolRegex20251119` + - `ToolSearchToolRegex20251119("tool_search_tool_regex_20251119")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -30705,9 +30705,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -30727,17 +30727,17 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -30747,15 +30747,15 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` ### Beta Tool Search Tool Result Block Param @@ -30767,15 +30767,15 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `string? ErrorMessage` @@ -30787,13 +30787,13 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -30806,17 +30806,17 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -30828,17 +30828,17 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` ### Beta Tool Search Tool Result Error Param @@ -30846,15 +30846,15 @@ Console.WriteLine(betaMessageTokensCount); - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `string? ErrorMessage` @@ -30868,9 +30868,9 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` ### Beta Tool Search Tool Search Result Block Param @@ -30882,13 +30882,13 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -30901,39 +30901,39 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` ### Beta Tool Text Editor 20241022 - `class BetaToolTextEditor20241022:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -30946,9 +30946,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -30964,29 +30964,29 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaToolTextEditor20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -30999,9 +30999,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -31017,29 +31017,29 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaToolTextEditor20250429:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250429"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -31052,9 +31052,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -31070,29 +31070,29 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaToolTextEditor20250728:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250728"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -31105,9 +31105,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -31139,7 +31139,7 @@ Console.WriteLine(betaMessageTokensCount); This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -31155,19 +31155,19 @@ Console.WriteLine(betaMessageTokensCount); - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -31180,9 +31180,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -31208,23 +31208,23 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaToolBash20241022:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -31242,23 +31242,23 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaToolBash20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -31276,23 +31276,23 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaCodeExecutionTool20250522:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250522"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -31308,23 +31308,23 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaCodeExecutionTool20250825:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -31342,23 +31342,23 @@ Console.WriteLine(betaMessageTokensCount); Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -31376,23 +31376,23 @@ Console.WriteLine(betaMessageTokensCount); Code execution tool with REPL state persistence. - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260521"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -31413,7 +31413,7 @@ Console.WriteLine(betaMessageTokensCount); the family's tool with any members disabled via `configs` removed from its schema. - - `JsonElement Type constant` + - `JsonElement Type = "browser_toolset_20260801"` - `BetaCacheControlEphemeral? CacheControl` @@ -31814,23 +31814,23 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -31854,23 +31854,23 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaMemoryTool20250818:` - - `JsonElement Name constant` + - `JsonElement Name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "memory_20250818"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -31900,23 +31900,23 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -31940,23 +31940,23 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaToolTextEditor20241022:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -31986,23 +31986,23 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20251124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -32039,7 +32039,7 @@ Console.WriteLine(betaMessageTokensCount); `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonElement Type constant` + - `JsonElement Type = "computer_toolset_20260801"` - `BetaCacheControlEphemeral? CacheControl` @@ -32260,23 +32260,23 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaToolTextEditor20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -32294,23 +32294,23 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaToolTextEditor20250429:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250429"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -32328,23 +32328,23 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaToolTextEditor20250728:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250728"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -32368,23 +32368,23 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaWebSearchTool20250305:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20250305"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -32416,7 +32416,7 @@ Console.WriteLine(betaMessageTokensCount); Parameters for the user's location. Used to provide more relevant search results. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -32444,23 +32444,23 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaWebFetchTool20250910:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20250910"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -32502,23 +32502,23 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaWebSearchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -32552,23 +32552,23 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaWebFetchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -32610,23 +32610,23 @@ Console.WriteLine(betaMessageTokensCount); Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260309"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -32670,23 +32670,23 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaWebSearchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -32714,9 +32714,9 @@ Console.WriteLine(betaMessageTokensCount); How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -32728,23 +32728,23 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaWebFetchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -32782,9 +32782,9 @@ Console.WriteLine(betaMessageTokensCount); How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -32802,91 +32802,91 @@ Console.WriteLine(betaMessageTokensCount); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding - - `JsonElement Name constant` + - `JsonElement Name = "advisor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "advisor_20260301"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -32918,7 +32918,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaToolSearchToolBm25_20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_bm25"` Name of the tool. @@ -32926,19 +32926,19 @@ Console.WriteLine(betaMessageTokensCount); - `required Type Type` - - `ToolSearchToolBm25_20251119` + - `ToolSearchToolBm25_20251119("tool_search_tool_bm25_20251119")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -32954,7 +32954,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaToolSearchToolRegex20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_regex"` Name of the tool. @@ -32962,19 +32962,19 @@ Console.WriteLine(betaMessageTokensCount); - `required Type Type` - - `ToolSearchToolRegex20251119` + - `ToolSearchToolRegex20251119("tool_search_tool_regex_20251119")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -33001,7 +33001,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 255, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "mcp_toolset"` - `BetaCacheControlEphemeral? CacheControl` @@ -33037,7 +33037,7 @@ Console.WriteLine(betaMessageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `Caller Caller` @@ -33047,7 +33047,7 @@ Console.WriteLine(betaMessageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -33057,7 +33057,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -33065,7 +33065,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -33087,13 +33087,13 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 200, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -33106,9 +33106,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `Caller Caller` @@ -33118,7 +33118,7 @@ Console.WriteLine(betaMessageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -33128,7 +33128,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -33136,7 +33136,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -33148,7 +33148,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaToolUsesKeep:` - - `JsonElement Type constant` + - `JsonElement Type = "tool_uses"` - `required long Value` @@ -33158,7 +33158,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaToolUsesTrigger:` - - `JsonElement Type constant` + - `JsonElement Type = "tool_uses"` - `required long Value` @@ -33168,7 +33168,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaUrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -33176,7 +33176,7 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaUrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -33230,7 +33230,7 @@ Console.WriteLine(betaMessageTokensCount); The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonElement Type constant` + - `JsonElement Type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -33243,31 +33243,31 @@ Console.WriteLine(betaMessageTokensCount); A closed enum; additions to the redemption-check vocabulary arrive as deliberate schema updates. - - `BodyMismatch` + - `BodyMismatch("body_mismatch")` - - `ContinuationExcluded` + - `ContinuationExcluded("continuation_excluded")` - - `ContinuationOnly` + - `ContinuationOnly("continuation_only")` - - `Expired` + - `Expired("expired")` - - `InvalidTargetModel` + - `InvalidTargetModel("invalid_target_model")` - - `NotEnabled` + - `NotEnabled("not_enabled")` - - `RepriceUnavailable` + - `RepriceUnavailable("reprice_unavailable")` - - `TemporarilyUnavailable` + - `TemporarilyUnavailable("temporarily_unavailable")` - - `VariantFieldsPresent` + - `VariantFieldsPresent("variant_fields_present")` - - `WrongOrganization` + - `WrongOrganization("wrong_organization")` - - `WrongPlatform` + - `WrongPlatform("wrong_platform")` - - `WrongWorkspace` + - `WrongWorkspace("wrong_workspace")` - - `JsonElement Type constant` + - `JsonElement Type = "not_applied"` - `IReadOnlyList? RemoveToRedeem` @@ -33334,71 +33334,71 @@ Console.WriteLine(betaMessageTokensCount); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -33408,7 +33408,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "message"` Usage for a sampling iteration @@ -33444,7 +33444,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` Usage for a compaction iteration @@ -33486,7 +33486,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -33533,7 +33533,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -33585,25 +33585,25 @@ Console.WriteLine(betaMessageTokensCount); If the request used the priority, standard, or batch tier. - - `Standard` + - `Standard("standard")` - - `Priority` + - `Priority("priority")` - - `Batch` + - `Batch("batch")` - `required Speed? Speed` Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` ### Beta User Location - `class BetaUserLocation:` - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -33649,29 +33649,29 @@ Console.WriteLine(betaMessageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -33691,17 +33691,17 @@ Console.WriteLine(betaMessageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaContentBlockSource:` @@ -33717,13 +33717,13 @@ Console.WriteLine(betaMessageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -33736,9 +33736,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -33760,7 +33760,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -33780,7 +33780,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -33810,7 +33810,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -33822,7 +33822,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -33860,7 +33860,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class BetaImageBlockParam:` @@ -33874,19 +33874,19 @@ Console.WriteLine(betaMessageTokensCount); - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaUrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -33894,9 +33894,9 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `BetaCacheControlEphemeral? CacheControl` @@ -33910,15 +33910,15 @@ Console.WriteLine(betaMessageTokensCount); What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class BetaUrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -33926,9 +33926,9 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `BetaCacheControlEphemeral? CacheControl` @@ -33946,7 +33946,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 500, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -33960,23 +33960,23 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaWebFetchTool20250910:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20250910"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -33990,7 +33990,7 @@ Console.WriteLine(betaMessageTokensCount); Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -34003,9 +34003,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `BetaCitationsConfigParam? Citations` @@ -34037,23 +34037,23 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaWebFetchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -34067,7 +34067,7 @@ Console.WriteLine(betaMessageTokensCount); Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -34080,9 +34080,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `BetaCitationsConfigParam? Citations` @@ -34116,23 +34116,23 @@ Console.WriteLine(betaMessageTokensCount); Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260309"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -34146,7 +34146,7 @@ Console.WriteLine(betaMessageTokensCount); Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -34159,9 +34159,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `BetaCitationsConfigParam? Citations` @@ -34197,23 +34197,23 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaWebFetchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -34227,7 +34227,7 @@ Console.WriteLine(betaMessageTokensCount); Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -34240,9 +34240,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `BetaCitationsConfigParam? Citations` @@ -34270,9 +34270,9 @@ Console.WriteLine(betaMessageTokensCount); How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -34292,25 +34292,25 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -34330,29 +34330,29 @@ Console.WriteLine(betaMessageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -34362,7 +34362,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `Caller Caller` @@ -34372,7 +34372,7 @@ Console.WriteLine(betaMessageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -34382,7 +34382,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -34390,7 +34390,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` ### Beta Web Fetch Tool Result Block Param @@ -34402,25 +34402,25 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlockParam:` @@ -34434,17 +34434,17 @@ Console.WriteLine(betaMessageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaContentBlockSource:` @@ -34460,13 +34460,13 @@ Console.WriteLine(betaMessageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -34479,9 +34479,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -34503,7 +34503,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -34523,7 +34523,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -34553,7 +34553,7 @@ Console.WriteLine(betaMessageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -34565,7 +34565,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -34603,7 +34603,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class BetaImageBlockParam:` @@ -34617,19 +34617,19 @@ Console.WriteLine(betaMessageTokensCount); - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaUrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -34637,9 +34637,9 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `BetaCacheControlEphemeral? CacheControl` @@ -34653,15 +34653,15 @@ Console.WriteLine(betaMessageTokensCount); What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class BetaUrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -34669,9 +34669,9 @@ Console.WriteLine(betaMessageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `BetaCacheControlEphemeral? CacheControl` @@ -34689,7 +34689,7 @@ Console.WriteLine(betaMessageTokensCount); maxLength: 500, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -34703,7 +34703,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -34717,7 +34717,7 @@ Console.WriteLine(betaMessageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -34727,7 +34727,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -34735,7 +34735,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` ### Beta Web Fetch Tool Result Error Block @@ -34743,25 +34743,25 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` ### Beta Web Fetch Tool Result Error Block Param @@ -34769,47 +34769,47 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` ### Beta Web Fetch Tool Result Error Code - `enum BetaWebFetchToolResultErrorCode:` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` ### Beta Web Search Result Block @@ -34821,7 +34821,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -34833,7 +34833,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -34843,23 +34843,23 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaWebSearchTool20250305:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20250305"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -34873,7 +34873,7 @@ Console.WriteLine(betaMessageTokensCount); Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -34886,9 +34886,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -34908,7 +34908,7 @@ Console.WriteLine(betaMessageTokensCount); Parameters for the user's location. Used to provide more relevant search results. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -34938,23 +34938,23 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaWebSearchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -34968,7 +34968,7 @@ Console.WriteLine(betaMessageTokensCount); Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -34981,9 +34981,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -35003,7 +35003,7 @@ Console.WriteLine(betaMessageTokensCount); Parameters for the user's location. Used to provide more relevant search results. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -35033,23 +35033,23 @@ Console.WriteLine(betaMessageTokensCount); - `class BetaWebSearchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -35063,7 +35063,7 @@ Console.WriteLine(betaMessageTokensCount); Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -35076,9 +35076,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -35094,9 +35094,9 @@ Console.WriteLine(betaMessageTokensCount); How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -35106,7 +35106,7 @@ Console.WriteLine(betaMessageTokensCount); Parameters for the user's location. Used to provide more relevant search results. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -35138,19 +35138,19 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` ### Beta Web Search Tool Result Block @@ -35162,19 +35162,19 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -35184,7 +35184,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -35192,7 +35192,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `Caller Caller` @@ -35202,7 +35202,7 @@ Console.WriteLine(betaMessageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -35212,7 +35212,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -35220,7 +35220,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` ### Beta Web Search Tool Result Block Content @@ -35230,19 +35230,19 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -35252,7 +35252,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -35268,7 +35268,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -35278,31 +35278,31 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -35315,9 +35315,9 @@ Console.WriteLine(betaMessageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `Caller Caller` @@ -35327,7 +35327,7 @@ Console.WriteLine(betaMessageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -35337,7 +35337,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -35345,7 +35345,7 @@ Console.WriteLine(betaMessageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` ### Beta Web Search Tool Result Block Param Content @@ -35357,7 +35357,7 @@ Console.WriteLine(betaMessageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -35367,19 +35367,19 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` ### Beta Web Search Tool Result Error @@ -35387,35 +35387,35 @@ Console.WriteLine(betaMessageTokensCount); - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` ### Beta Web Search Tool Result Error Code - `enum BetaWebSearchToolResultErrorCode:` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` ## Messages › Batches @@ -35530,13 +35530,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -35549,9 +35549,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -35573,7 +35573,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -35593,7 +35593,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -35623,7 +35623,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -35635,7 +35635,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -35673,7 +35673,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class BetaImageBlockParam:` @@ -35687,19 +35687,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaUrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -35707,9 +35707,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `BetaCacheControlEphemeral? CacheControl` @@ -35723,9 +35723,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - `class BetaRequestDocumentBlock:` @@ -35737,17 +35737,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaContentBlockSource:` @@ -35761,11 +35761,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaImageBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class BetaUrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -35773,9 +35773,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `BetaCacheControlEphemeral? CacheControl` @@ -35801,7 +35801,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -35813,7 +35813,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -35833,7 +35833,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `thinking` text of this block as returned by the API. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class BetaRedactedThinkingBlockParam:` @@ -35841,7 +35841,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class BetaToolUseBlockParam:` @@ -35855,7 +35855,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 200, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -35869,7 +35869,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -35879,7 +35879,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -35887,7 +35887,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -35901,7 +35901,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -35929,7 +35929,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` @@ -35973,7 +35973,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonElement Type constant` + - `JsonElement Type = "browser_state"` - `BetaCacheControlEphemeral? CacheControl` @@ -36001,7 +36001,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -36013,7 +36013,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -36034,7 +36034,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -36064,7 +36064,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -36096,23 +36096,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -36142,7 +36142,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -36152,25 +36152,25 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -36198,31 +36198,31 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlockParam:` - `required BetaRequestDocumentBlock Content` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -36236,7 +36236,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -36264,27 +36264,27 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlockParam:` - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `string? StopReason` @@ -36294,7 +36294,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `string? StopReason` @@ -36302,7 +36302,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -36318,15 +36318,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -36334,7 +36334,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -36342,7 +36342,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -36352,7 +36352,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -36360,13 +36360,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -36380,17 +36380,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlockParam:` @@ -36398,7 +36398,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -36406,13 +36406,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -36426,17 +36426,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `string? ErrorMessage` @@ -36446,13 +36446,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `long? NumLines` @@ -36464,11 +36464,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `IReadOnlyList? Lines` @@ -36484,7 +36484,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -36498,15 +36498,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `string? ErrorMessage` @@ -36518,19 +36518,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -36550,7 +36550,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -36562,7 +36562,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -36578,7 +36578,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -36595,7 +36595,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `BetaCacheControlEphemeral? CacheControl` @@ -36611,7 +36611,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl When content is None, the block represents a failed compaction. The server treats these as no-ops. Empty string content is not allowed. - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `BetaCacheControlEphemeral? CacheControl` @@ -36651,7 +36651,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -36662,7 +36662,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -36670,9 +36670,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_toolset_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_addition"` - `BetaCacheControlEphemeral? CacheControl` @@ -36709,7 +36709,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Reference to every tool in the named MCP server's toolset. - - `JsonElement Type constant` + - `JsonElement Type = "tool_removal"` - `BetaCacheControlEphemeral? CacheControl` @@ -36741,71 +36741,71 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -36813,7 +36813,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Identifies one hop of a fallback transition. - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` - `JsonElement Trigger` @@ -36821,19 +36821,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Role Role` - - `User` + - `User("user")` - - `Assistant` + - `Assistant("assistant")` - - `System` + - `System("system")` - `ClearAt? ClearAt` How long this system message's text stays in front of the model. `"never"` (the default) renders it on every request that includes it. `"next_user_message"` renders it only for the user turn it follows: once a later `role: "user"` message exists in `messages` the message stays in the array (send it unchanged) but is no longer shown to the model. Only permitted on `role: "system"` messages. - - `NextUserMessage` + - `NextUserMessage("next_user_message")` - - `Never` + - `Never("never")` - `BetaSystemMessageOutputConfig? OutputConfig` @@ -36847,15 +36847,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl All possible effort levels. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `required Model Model` @@ -36895,9 +36895,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `string Version` @@ -36921,13 +36921,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaClearToolUses20250919Edit:` - - `JsonElement Type constant` + - `JsonElement Type = "clear_tool_uses_20250919"` - `BetaInputTokensClearAtLeast? ClearAtLeast` Minimum number of tokens that must be cleared when triggered. Context will only be modified if at least this many tokens can be removed. - - `JsonElement Type constant` + - `JsonElement Type = "input_tokens"` - `required long Value` @@ -36949,7 +36949,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Number of tool uses to retain in the conversation - - `JsonElement Type constant` + - `JsonElement Type = "tool_uses"` - `required long Value` @@ -36961,7 +36961,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaInputTokensTrigger:` - - `JsonElement Type constant` + - `JsonElement Type = "input_tokens"` - `required long Value` @@ -36969,7 +36969,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolUsesTrigger:` - - `JsonElement Type constant` + - `JsonElement Type = "tool_uses"` - `required long Value` @@ -36977,7 +36977,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaClearThinking20251015Edit:` - - `JsonElement Type constant` + - `JsonElement Type = "clear_thinking_20251015"` - `Keep Keep` @@ -36985,7 +36985,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaThinkingTurns:` - - `JsonElement Type constant` + - `JsonElement Type = "thinking_turns"` - `required long Value` @@ -36993,7 +36993,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaAllThinkingTurns:` - - `JsonElement Type constant` + - `JsonElement Type = "all"` - `class All:` @@ -37001,7 +37001,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Automatically compact older context when reaching the configured trigger threshold. - - `JsonElement Type constant` + - `JsonElement Type = "compact_20260112"` - `string? Instructions` @@ -37071,9 +37071,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl How a failing token affects the retry. `strict` (the default, and the bare-string behavior): a failing redemption is a 400 and the retry is not served. `best_effort`: the retry is served either way — a token-layer failure no longer rejects the request; the retry proceeds at normal price and the outcome is reported on the response's `usage.fallback_credit`. Two failures stay hard in both modes: a malformed token, and combining `fallback_credit_token` with `fallbacks`. - - `Strict` + - `Strict("strict")` - - `BestEffort` + - `BestEffort("best_effort")` - `BetaFallbacksParam? Fallbacks` @@ -37095,15 +37095,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl All possible effort levels. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `BetaJsonOutputFormat? Format` @@ -37113,7 +37113,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The JSON schema of the format - - `JsonElement Type constant` + - `JsonElement Type = "json_schema"` - `BetaTokenTaskBudget? TaskBudget` @@ -37125,7 +37125,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1024 - - `JsonElement Type constant` + - `JsonElement Type = "tokens"` The budget type. Currently only 'tokens' is supported. @@ -37139,9 +37139,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `Thinking? Thinking` @@ -37157,7 +37157,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1024 - - `JsonElement Type constant` + - `JsonElement Type = "enabled"` - `BetaThinkingBlockBinding? BlockBinding` @@ -37173,27 +37173,27 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl 400 error. `"drop_block"` removes the failing blocks and the request proceeds; the model no longer sees the dropped reasoning. - - `Error` + - `Error("error")` - - `DropBlock` + - `DropBlock("drop_block")` - `Display? Display` Controls how thinking content appears in the response. When set to `summarized`, thinking is returned normally. When set to `omitted`, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults to `summarized`. - - `Summarized` + - `Summarized("summarized")` - - `Omitted` + - `Omitted("omitted")` - - `Updates` + - `Updates("updates")` - `class BetaThinkingConfigDisabled:` - - `JsonElement Type constant` + - `JsonElement Type = "disabled"` - `class BetaThinkingConfigAdaptive:` - - `JsonElement Type constant` + - `JsonElement Type = "adaptive"` - `BetaThinkingBlockBinding? BlockBinding` @@ -37205,11 +37205,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Controls how thinking content appears in the response. When set to `summarized`, thinking is returned normally. When set to `omitted`, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults to `summarized`. - - `Summarized` + - `Summarized("summarized")` - - `Omitted` + - `Omitted("omitted")` - - `Updates` + - `Updates("updates")` - `JsonElement` @@ -37225,7 +37225,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Name` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -37259,17 +37259,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Anthropic offers different levels of service for your API requests. See [service-tiers](https://platform.claude.com/docs/en/api/service-tiers) for details. - - `Auto` + - `Auto("auto")` - - `StandardOnly` + - `StandardOnly("standard_only")` - `Speed? Speed` Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `IReadOnlyList StopSequences` @@ -37299,7 +37299,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -37329,7 +37329,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will automatically decide whether to use tools. - - `JsonElement Type constant` + - `JsonElement Type = "auto"` - `bool DisableParallelToolUse` @@ -37341,7 +37341,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will use any available tools. - - `JsonElement Type constant` + - `JsonElement Type = "any"` - `bool DisableParallelToolUse` @@ -37357,7 +37357,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the tool to use. - - `JsonElement Type constant` + - `JsonElement Type = "tool"` - `bool DisableParallelToolUse` @@ -37369,7 +37369,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will not be allowed to use tools. - - `JsonElement Type constant` + - `JsonElement Type = "none"` - `IReadOnlyList Tools` @@ -37443,7 +37443,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -37459,13 +37459,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -37495,23 +37495,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolBash20241022:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -37529,23 +37529,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolBash20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -37563,23 +37563,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaCodeExecutionTool20250522:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250522"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -37595,23 +37595,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaCodeExecutionTool20250825:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -37629,23 +37629,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -37663,23 +37663,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence. - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260521"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -37700,7 +37700,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl the family's tool with any members disabled via `configs` removed from its schema. - - `JsonElement Type constant` + - `JsonElement Type = "browser_toolset_20260801"` - `BetaCacheControlEphemeral? CacheControl` @@ -38101,23 +38101,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -38141,23 +38141,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaMemoryTool20250818:` - - `JsonElement Name constant` + - `JsonElement Name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "memory_20250818"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -38187,23 +38187,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -38227,23 +38227,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20241022:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -38273,23 +38273,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20251124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -38326,7 +38326,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonElement Type constant` + - `JsonElement Type = "computer_toolset_20260801"` - `BetaCacheControlEphemeral? CacheControl` @@ -38547,23 +38547,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -38581,23 +38581,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20250429:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250429"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -38615,23 +38615,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20250728:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250728"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -38655,23 +38655,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebSearchTool20250305:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20250305"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -38703,7 +38703,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Parameters for the user's location. Used to provide more relevant search results. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -38731,23 +38731,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebFetchTool20250910:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20250910"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -38787,23 +38787,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebSearchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -38837,23 +38837,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebFetchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -38895,23 +38895,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260309"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -38955,23 +38955,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebSearchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -38999,9 +38999,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -39013,23 +39013,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebFetchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -39067,9 +39067,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -39087,23 +39087,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonElement Name constant` + - `JsonElement Name = "advisor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "advisor_20260301"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -39135,7 +39135,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolSearchToolBm25_20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_bm25"` Name of the tool. @@ -39143,19 +39143,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Type Type` - - `ToolSearchToolBm25_20251119` + - `ToolSearchToolBm25_20251119("tool_search_tool_bm25_20251119")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -39171,7 +39171,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolSearchToolRegex20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_regex"` Name of the tool. @@ -39179,19 +39179,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Type Type` - - `ToolSearchToolRegex20251119` + - `ToolSearchToolRegex20251119("tool_search_tool_regex_20251119")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -39218,7 +39218,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 255, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "mcp_toolset"` - `BetaCacheControlEphemeral? CacheControl` @@ -39288,93 +39288,93 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` - `string userProfileID` @@ -39426,11 +39426,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required BetaMessageBatchRequestCounts RequestCounts` @@ -39472,7 +39472,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. @@ -39718,93 +39718,93 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -39852,11 +39852,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required BetaMessageBatchRequestCounts RequestCounts` @@ -39898,7 +39898,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. @@ -39971,93 +39971,93 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -40105,11 +40105,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required BetaMessageBatchRequestCounts RequestCounts` @@ -40151,7 +40151,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. @@ -40223,93 +40223,93 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -40357,11 +40357,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required BetaMessageBatchRequestCounts RequestCounts` @@ -40403,7 +40403,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. @@ -40466,93 +40466,93 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -40562,7 +40562,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl ID of the Message Batch. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch_deleted"` Deleted object type. @@ -40611,93 +40611,93 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -40755,9 +40755,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -40820,7 +40820,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocation:` @@ -40840,7 +40840,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -40870,7 +40870,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -40882,7 +40882,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -40918,13 +40918,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaThinkingBlock:` @@ -40940,7 +40940,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -40952,7 +40952,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -40966,7 +40966,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `Caller Caller` @@ -40976,7 +40976,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -40986,7 +40986,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -40994,7 +40994,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -41012,23 +41012,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `Caller Caller` @@ -41052,19 +41052,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -41074,7 +41074,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -41082,7 +41082,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `Caller Caller` @@ -41106,25 +41106,25 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -41144,29 +41144,29 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -41176,7 +41176,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `Caller Caller` @@ -41200,21 +41200,21 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -41224,7 +41224,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -41236,13 +41236,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -41254,15 +41254,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -41270,7 +41270,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -41278,7 +41278,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -41288,7 +41288,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -41296,13 +41296,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -41312,17 +41312,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -41330,7 +41330,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -41338,13 +41338,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -41354,19 +41354,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -41374,11 +41374,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -41386,13 +41386,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -41406,13 +41406,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -41422,17 +41422,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -41442,15 +41442,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -41468,7 +41468,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -41488,7 +41488,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required bool IsError` @@ -41496,7 +41496,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -41504,7 +41504,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `class BetaCompactionBlock:` @@ -41522,7 +41522,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `class BetaFallbackBlock:` @@ -41548,71 +41548,71 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -41628,29 +41628,29 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` - `required BetaContextManagementResponse? ContextManagement` @@ -41676,7 +41676,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -41694,7 +41694,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_thinking_20251015"` The type of context management edit applied. @@ -41713,7 +41713,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -41721,7 +41721,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -41729,7 +41729,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -41737,15 +41737,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonElement Type constant` + - `JsonElement Type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonElement Type constant` + - `JsonElement Type = "unavailable"` - `required Model Model` @@ -41753,7 +41753,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonElement Role constant` + - `JsonElement Role = "assistant"` Conversational role of the generated message. @@ -41767,23 +41767,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -41842,7 +41842,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - `required BetaStopReason? StopReason` @@ -41860,21 +41860,21 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl In non-streaming mode this value is always non-null. In streaming mode, it is null in the `message_start` event and non-null otherwise. - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Compaction` + - `Compaction("compaction")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` - `required string? StopSequence` @@ -41882,7 +41882,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonElement Type constant` + - `JsonElement Type = "message"` Object type. @@ -41946,7 +41946,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonElement Type constant` + - `JsonElement Type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -41959,31 +41959,31 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl A closed enum; additions to the redemption-check vocabulary arrive as deliberate schema updates. - - `BodyMismatch` + - `BodyMismatch("body_mismatch")` - - `ContinuationExcluded` + - `ContinuationExcluded("continuation_excluded")` - - `ContinuationOnly` + - `ContinuationOnly("continuation_only")` - - `Expired` + - `Expired("expired")` - - `InvalidTargetModel` + - `InvalidTargetModel("invalid_target_model")` - - `NotEnabled` + - `NotEnabled("not_enabled")` - - `RepriceUnavailable` + - `RepriceUnavailable("reprice_unavailable")` - - `TemporarilyUnavailable` + - `TemporarilyUnavailable("temporarily_unavailable")` - - `VariantFieldsPresent` + - `VariantFieldsPresent("variant_fields_present")` - - `WrongOrganization` + - `WrongOrganization("wrong_organization")` - - `WrongPlatform` + - `WrongPlatform("wrong_platform")` - - `WrongWorkspace` + - `WrongWorkspace("wrong_workspace")` - - `JsonElement Type constant` + - `JsonElement Type = "not_applied"` - `IReadOnlyList? RemoveToRedeem` @@ -42056,7 +42056,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "message"` Usage for a sampling iteration @@ -42092,7 +42092,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` Usage for a compaction iteration @@ -42134,7 +42134,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -42181,7 +42181,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -42233,19 +42233,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl If the request used the priority, standard, or batch tier. - - `Standard` + - `Standard("standard")` - - `Priority` + - `Priority("priority")` - - `Batch` + - `Batch("batch")` - `required Speed? Speed` Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `IReadOnlyList? InputTransformations` @@ -42287,19 +42287,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl `organization_binding_mismatch`, `end_user_binding_mismatch`, `model_binding_mismatch`, `prefix_binding_mismatch`. - - `ModelBindingMismatch` + - `ModelBindingMismatch("model_binding_mismatch")` - - `PrefixBindingMismatch` + - `PrefixBindingMismatch("prefix_binding_mismatch")` - - `OrganizationBindingMismatch` + - `OrganizationBindingMismatch("organization_binding_mismatch")` - - `EndUserBindingMismatch` + - `EndUserBindingMismatch("end_user_binding_mismatch")` - - `JsonElement Type constant` + - `JsonElement Type = "thinking_dropped"` Always `thinking_dropped` for this entry type. - - `JsonElement Type constant` + - `JsonElement Type = "succeeded"` - `class BetaMessageBatchErroredResult:` @@ -42311,69 +42311,69 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "invalid_request_error"` - `class BetaAuthenticationError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "authentication_error"` - `class BetaBillingError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "billing_error"` - `class BetaPermissionError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "permission_error"` - `class BetaNotFoundError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "not_found_error"` - `class BetaRateLimitError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "rate_limit_error"` - `class BetaGatewayTimeoutError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "timeout_error"` - `class BetaApiError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "api_error"` - `class BetaOverloadedError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "overloaded_error"` - `required string? RequestID` - - `JsonElement Type constant` + - `JsonElement Type = "error"` - - `JsonElement Type constant` + - `JsonElement Type = "errored"` - `class BetaMessageBatchCanceledResult:` - - `JsonElement Type constant` + - `JsonElement Type = "canceled"` - `class BetaMessageBatchExpiredResult:` - - `JsonElement Type constant` + - `JsonElement Type = "expired"` #### Example diff --git a/content/en/api/csharp/beta/messages/batches.md b/content/en/api/csharp/beta/messages/batches.md index 8b956b8862..143fb32e55 100644 --- a/content/en/api/csharp/beta/messages/batches.md +++ b/content/en/api/csharp/beta/messages/batches.md @@ -111,13 +111,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -130,9 +130,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -154,7 +154,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -174,7 +174,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -204,7 +204,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -216,7 +216,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -254,7 +254,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class BetaImageBlockParam:` @@ -268,19 +268,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaUrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -288,9 +288,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `BetaCacheControlEphemeral? CacheControl` @@ -304,9 +304,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - `class BetaRequestDocumentBlock:` @@ -318,17 +318,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaContentBlockSource:` @@ -342,11 +342,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaImageBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class BetaUrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -354,9 +354,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `BetaCacheControlEphemeral? CacheControl` @@ -382,7 +382,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -394,7 +394,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -414,7 +414,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `thinking` text of this block as returned by the API. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class BetaRedactedThinkingBlockParam:` @@ -422,7 +422,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class BetaToolUseBlockParam:` @@ -436,7 +436,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 200, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -450,7 +450,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -460,7 +460,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -468,7 +468,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -482,7 +482,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -510,7 +510,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` @@ -554,7 +554,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonElement Type constant` + - `JsonElement Type = "browser_state"` - `BetaCacheControlEphemeral? CacheControl` @@ -582,7 +582,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -594,7 +594,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -615,7 +615,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -645,7 +645,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -677,23 +677,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -723,7 +723,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -733,25 +733,25 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -779,31 +779,31 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlockParam:` - `required BetaRequestDocumentBlock Content` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -817,7 +817,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -845,27 +845,27 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlockParam:` - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `string? StopReason` @@ -875,7 +875,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `string? StopReason` @@ -883,7 +883,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -899,15 +899,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -915,7 +915,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -923,7 +923,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -933,7 +933,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -941,13 +941,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -961,17 +961,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlockParam:` @@ -979,7 +979,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -987,13 +987,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -1007,17 +1007,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `string? ErrorMessage` @@ -1027,13 +1027,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `long? NumLines` @@ -1045,11 +1045,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `IReadOnlyList? Lines` @@ -1065,7 +1065,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -1079,15 +1079,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `string? ErrorMessage` @@ -1099,19 +1099,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -1131,7 +1131,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -1143,7 +1143,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -1159,7 +1159,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -1176,7 +1176,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `BetaCacheControlEphemeral? CacheControl` @@ -1192,7 +1192,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl When content is None, the block represents a failed compaction. The server treats these as no-ops. Empty string content is not allowed. - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `BetaCacheControlEphemeral? CacheControl` @@ -1232,7 +1232,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -1243,7 +1243,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -1251,9 +1251,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_toolset_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_addition"` - `BetaCacheControlEphemeral? CacheControl` @@ -1290,7 +1290,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Reference to every tool in the named MCP server's toolset. - - `JsonElement Type constant` + - `JsonElement Type = "tool_removal"` - `BetaCacheControlEphemeral? CacheControl` @@ -1322,71 +1322,71 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -1394,7 +1394,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Identifies one hop of a fallback transition. - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` - `JsonElement Trigger` @@ -1402,19 +1402,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Role Role` - - `User` + - `User("user")` - - `Assistant` + - `Assistant("assistant")` - - `System` + - `System("system")` - `ClearAt? ClearAt` How long this system message's text stays in front of the model. `"never"` (the default) renders it on every request that includes it. `"next_user_message"` renders it only for the user turn it follows: once a later `role: "user"` message exists in `messages` the message stays in the array (send it unchanged) but is no longer shown to the model. Only permitted on `role: "system"` messages. - - `NextUserMessage` + - `NextUserMessage("next_user_message")` - - `Never` + - `Never("never")` - `BetaSystemMessageOutputConfig? OutputConfig` @@ -1428,15 +1428,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl All possible effort levels. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `required Model Model` @@ -1476,9 +1476,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `string Version` @@ -1502,13 +1502,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaClearToolUses20250919Edit:` - - `JsonElement Type constant` + - `JsonElement Type = "clear_tool_uses_20250919"` - `BetaInputTokensClearAtLeast? ClearAtLeast` Minimum number of tokens that must be cleared when triggered. Context will only be modified if at least this many tokens can be removed. - - `JsonElement Type constant` + - `JsonElement Type = "input_tokens"` - `required long Value` @@ -1530,7 +1530,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Number of tool uses to retain in the conversation - - `JsonElement Type constant` + - `JsonElement Type = "tool_uses"` - `required long Value` @@ -1542,7 +1542,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaInputTokensTrigger:` - - `JsonElement Type constant` + - `JsonElement Type = "input_tokens"` - `required long Value` @@ -1550,7 +1550,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolUsesTrigger:` - - `JsonElement Type constant` + - `JsonElement Type = "tool_uses"` - `required long Value` @@ -1558,7 +1558,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaClearThinking20251015Edit:` - - `JsonElement Type constant` + - `JsonElement Type = "clear_thinking_20251015"` - `Keep Keep` @@ -1566,7 +1566,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaThinkingTurns:` - - `JsonElement Type constant` + - `JsonElement Type = "thinking_turns"` - `required long Value` @@ -1574,7 +1574,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaAllThinkingTurns:` - - `JsonElement Type constant` + - `JsonElement Type = "all"` - `class All:` @@ -1582,7 +1582,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Automatically compact older context when reaching the configured trigger threshold. - - `JsonElement Type constant` + - `JsonElement Type = "compact_20260112"` - `string? Instructions` @@ -1652,9 +1652,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl How a failing token affects the retry. `strict` (the default, and the bare-string behavior): a failing redemption is a 400 and the retry is not served. `best_effort`: the retry is served either way — a token-layer failure no longer rejects the request; the retry proceeds at normal price and the outcome is reported on the response's `usage.fallback_credit`. Two failures stay hard in both modes: a malformed token, and combining `fallback_credit_token` with `fallbacks`. - - `Strict` + - `Strict("strict")` - - `BestEffort` + - `BestEffort("best_effort")` - `BetaFallbacksParam? Fallbacks` @@ -1676,15 +1676,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl All possible effort levels. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `BetaJsonOutputFormat? Format` @@ -1694,7 +1694,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The JSON schema of the format - - `JsonElement Type constant` + - `JsonElement Type = "json_schema"` - `BetaTokenTaskBudget? TaskBudget` @@ -1706,7 +1706,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1024 - - `JsonElement Type constant` + - `JsonElement Type = "tokens"` The budget type. Currently only 'tokens' is supported. @@ -1720,9 +1720,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `Thinking? Thinking` @@ -1738,7 +1738,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1024 - - `JsonElement Type constant` + - `JsonElement Type = "enabled"` - `BetaThinkingBlockBinding? BlockBinding` @@ -1754,27 +1754,27 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl 400 error. `"drop_block"` removes the failing blocks and the request proceeds; the model no longer sees the dropped reasoning. - - `Error` + - `Error("error")` - - `DropBlock` + - `DropBlock("drop_block")` - `Display? Display` Controls how thinking content appears in the response. When set to `summarized`, thinking is returned normally. When set to `omitted`, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults to `summarized`. - - `Summarized` + - `Summarized("summarized")` - - `Omitted` + - `Omitted("omitted")` - - `Updates` + - `Updates("updates")` - `class BetaThinkingConfigDisabled:` - - `JsonElement Type constant` + - `JsonElement Type = "disabled"` - `class BetaThinkingConfigAdaptive:` - - `JsonElement Type constant` + - `JsonElement Type = "adaptive"` - `BetaThinkingBlockBinding? BlockBinding` @@ -1786,11 +1786,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Controls how thinking content appears in the response. When set to `summarized`, thinking is returned normally. When set to `omitted`, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults to `summarized`. - - `Summarized` + - `Summarized("summarized")` - - `Omitted` + - `Omitted("omitted")` - - `Updates` + - `Updates("updates")` - `JsonElement` @@ -1806,7 +1806,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Name` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -1840,17 +1840,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Anthropic offers different levels of service for your API requests. See [service-tiers](https://platform.claude.com/docs/en/api/service-tiers) for details. - - `Auto` + - `Auto("auto")` - - `StandardOnly` + - `StandardOnly("standard_only")` - `Speed? Speed` Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `IReadOnlyList StopSequences` @@ -1880,7 +1880,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -1910,7 +1910,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will automatically decide whether to use tools. - - `JsonElement Type constant` + - `JsonElement Type = "auto"` - `bool DisableParallelToolUse` @@ -1922,7 +1922,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will use any available tools. - - `JsonElement Type constant` + - `JsonElement Type = "any"` - `bool DisableParallelToolUse` @@ -1938,7 +1938,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the tool to use. - - `JsonElement Type constant` + - `JsonElement Type = "tool"` - `bool DisableParallelToolUse` @@ -1950,7 +1950,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will not be allowed to use tools. - - `JsonElement Type constant` + - `JsonElement Type = "none"` - `IReadOnlyList Tools` @@ -2024,7 +2024,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -2040,13 +2040,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2076,23 +2076,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolBash20241022:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2110,23 +2110,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolBash20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2144,23 +2144,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaCodeExecutionTool20250522:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250522"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2176,23 +2176,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaCodeExecutionTool20250825:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2210,23 +2210,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2244,23 +2244,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence. - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260521"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2281,7 +2281,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl the family's tool with any members disabled via `configs` removed from its schema. - - `JsonElement Type constant` + - `JsonElement Type = "browser_toolset_20260801"` - `BetaCacheControlEphemeral? CacheControl` @@ -2682,23 +2682,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2722,23 +2722,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaMemoryTool20250818:` - - `JsonElement Name constant` + - `JsonElement Name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "memory_20250818"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2768,23 +2768,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2808,23 +2808,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20241022:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2854,23 +2854,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20251124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2907,7 +2907,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonElement Type constant` + - `JsonElement Type = "computer_toolset_20260801"` - `BetaCacheControlEphemeral? CacheControl` @@ -3128,23 +3128,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3162,23 +3162,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20250429:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250429"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3196,23 +3196,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20250728:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250728"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3236,23 +3236,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebSearchTool20250305:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20250305"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3284,7 +3284,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Parameters for the user's location. Used to provide more relevant search results. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -3312,23 +3312,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebFetchTool20250910:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20250910"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3368,23 +3368,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebSearchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3418,23 +3418,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebFetchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3476,23 +3476,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260309"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3536,23 +3536,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebSearchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3580,9 +3580,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -3594,23 +3594,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebFetchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3648,9 +3648,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -3668,23 +3668,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonElement Name constant` + - `JsonElement Name = "advisor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "advisor_20260301"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3716,7 +3716,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolSearchToolBm25_20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_bm25"` Name of the tool. @@ -3724,19 +3724,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Type Type` - - `ToolSearchToolBm25_20251119` + - `ToolSearchToolBm25_20251119("tool_search_tool_bm25_20251119")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3752,7 +3752,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolSearchToolRegex20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_regex"` Name of the tool. @@ -3760,19 +3760,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Type Type` - - `ToolSearchToolRegex20251119` + - `ToolSearchToolRegex20251119("tool_search_tool_regex_20251119")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3799,7 +3799,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 255, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "mcp_toolset"` - `BetaCacheControlEphemeral? CacheControl` @@ -3869,93 +3869,93 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` - `string userProfileID` @@ -4007,11 +4007,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required BetaMessageBatchRequestCounts RequestCounts` @@ -4053,7 +4053,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. @@ -4299,93 +4299,93 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -4433,11 +4433,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required BetaMessageBatchRequestCounts RequestCounts` @@ -4479,7 +4479,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. @@ -4552,93 +4552,93 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -4686,11 +4686,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required BetaMessageBatchRequestCounts RequestCounts` @@ -4732,7 +4732,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. @@ -4804,93 +4804,93 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -4938,11 +4938,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required BetaMessageBatchRequestCounts RequestCounts` @@ -4984,7 +4984,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. @@ -5047,93 +5047,93 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -5143,7 +5143,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl ID of the Message Batch. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch_deleted"` Deleted object type. @@ -5192,93 +5192,93 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -5336,9 +5336,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -5401,7 +5401,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocation:` @@ -5421,7 +5421,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -5451,7 +5451,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -5463,7 +5463,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -5499,13 +5499,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaThinkingBlock:` @@ -5521,7 +5521,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -5533,7 +5533,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -5547,7 +5547,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `Caller Caller` @@ -5557,7 +5557,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -5567,7 +5567,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -5575,7 +5575,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -5593,23 +5593,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `Caller Caller` @@ -5633,19 +5633,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -5655,7 +5655,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -5663,7 +5663,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `Caller Caller` @@ -5687,25 +5687,25 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -5725,29 +5725,29 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -5757,7 +5757,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `Caller Caller` @@ -5781,21 +5781,21 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -5805,7 +5805,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -5817,13 +5817,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -5835,15 +5835,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -5851,7 +5851,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -5859,7 +5859,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -5869,7 +5869,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -5877,13 +5877,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -5893,17 +5893,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -5911,7 +5911,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -5919,13 +5919,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -5935,19 +5935,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -5955,11 +5955,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -5967,13 +5967,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -5987,13 +5987,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -6003,17 +6003,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -6023,15 +6023,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -6049,7 +6049,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -6069,7 +6069,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required bool IsError` @@ -6077,7 +6077,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -6085,7 +6085,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `class BetaCompactionBlock:` @@ -6103,7 +6103,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `class BetaFallbackBlock:` @@ -6129,71 +6129,71 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -6209,29 +6209,29 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` - `required BetaContextManagementResponse? ContextManagement` @@ -6257,7 +6257,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -6275,7 +6275,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_thinking_20251015"` The type of context management edit applied. @@ -6294,7 +6294,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -6302,7 +6302,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -6310,7 +6310,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -6318,15 +6318,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonElement Type constant` + - `JsonElement Type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonElement Type constant` + - `JsonElement Type = "unavailable"` - `required Model Model` @@ -6334,7 +6334,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonElement Role constant` + - `JsonElement Role = "assistant"` Conversational role of the generated message. @@ -6348,23 +6348,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -6423,7 +6423,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - `required BetaStopReason? StopReason` @@ -6441,21 +6441,21 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl In non-streaming mode this value is always non-null. In streaming mode, it is null in the `message_start` event and non-null otherwise. - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Compaction` + - `Compaction("compaction")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` - `required string? StopSequence` @@ -6463,7 +6463,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonElement Type constant` + - `JsonElement Type = "message"` Object type. @@ -6527,7 +6527,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonElement Type constant` + - `JsonElement Type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -6540,31 +6540,31 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl A closed enum; additions to the redemption-check vocabulary arrive as deliberate schema updates. - - `BodyMismatch` + - `BodyMismatch("body_mismatch")` - - `ContinuationExcluded` + - `ContinuationExcluded("continuation_excluded")` - - `ContinuationOnly` + - `ContinuationOnly("continuation_only")` - - `Expired` + - `Expired("expired")` - - `InvalidTargetModel` + - `InvalidTargetModel("invalid_target_model")` - - `NotEnabled` + - `NotEnabled("not_enabled")` - - `RepriceUnavailable` + - `RepriceUnavailable("reprice_unavailable")` - - `TemporarilyUnavailable` + - `TemporarilyUnavailable("temporarily_unavailable")` - - `VariantFieldsPresent` + - `VariantFieldsPresent("variant_fields_present")` - - `WrongOrganization` + - `WrongOrganization("wrong_organization")` - - `WrongPlatform` + - `WrongPlatform("wrong_platform")` - - `WrongWorkspace` + - `WrongWorkspace("wrong_workspace")` - - `JsonElement Type constant` + - `JsonElement Type = "not_applied"` - `IReadOnlyList? RemoveToRedeem` @@ -6637,7 +6637,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "message"` Usage for a sampling iteration @@ -6673,7 +6673,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` Usage for a compaction iteration @@ -6715,7 +6715,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -6762,7 +6762,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -6814,19 +6814,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl If the request used the priority, standard, or batch tier. - - `Standard` + - `Standard("standard")` - - `Priority` + - `Priority("priority")` - - `Batch` + - `Batch("batch")` - `required Speed? Speed` Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `IReadOnlyList? InputTransformations` @@ -6868,19 +6868,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl `organization_binding_mismatch`, `end_user_binding_mismatch`, `model_binding_mismatch`, `prefix_binding_mismatch`. - - `ModelBindingMismatch` + - `ModelBindingMismatch("model_binding_mismatch")` - - `PrefixBindingMismatch` + - `PrefixBindingMismatch("prefix_binding_mismatch")` - - `OrganizationBindingMismatch` + - `OrganizationBindingMismatch("organization_binding_mismatch")` - - `EndUserBindingMismatch` + - `EndUserBindingMismatch("end_user_binding_mismatch")` - - `JsonElement Type constant` + - `JsonElement Type = "thinking_dropped"` Always `thinking_dropped` for this entry type. - - `JsonElement Type constant` + - `JsonElement Type = "succeeded"` - `class BetaMessageBatchErroredResult:` @@ -6892,69 +6892,69 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "invalid_request_error"` - `class BetaAuthenticationError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "authentication_error"` - `class BetaBillingError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "billing_error"` - `class BetaPermissionError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "permission_error"` - `class BetaNotFoundError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "not_found_error"` - `class BetaRateLimitError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "rate_limit_error"` - `class BetaGatewayTimeoutError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "timeout_error"` - `class BetaApiError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "api_error"` - `class BetaOverloadedError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "overloaded_error"` - `required string? RequestID` - - `JsonElement Type constant` + - `JsonElement Type = "error"` - - `JsonElement Type constant` + - `JsonElement Type = "errored"` - `class BetaMessageBatchCanceledResult:` - - `JsonElement Type constant` + - `JsonElement Type = "canceled"` - `class BetaMessageBatchExpiredResult:` - - `JsonElement Type constant` + - `JsonElement Type = "expired"` ### Example @@ -6977,7 +6977,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba ID of the Message Batch. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch_deleted"` Deleted object type. @@ -7029,11 +7029,11 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required BetaMessageBatchRequestCounts RequestCounts` @@ -7075,7 +7075,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. @@ -7085,7 +7085,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `class BetaMessageBatchCanceledResult:` - - `JsonElement Type constant` + - `JsonElement Type = "canceled"` ### Beta Message Batch Errored Result @@ -7099,67 +7099,67 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "invalid_request_error"` - `class BetaAuthenticationError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "authentication_error"` - `class BetaBillingError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "billing_error"` - `class BetaPermissionError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "permission_error"` - `class BetaNotFoundError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "not_found_error"` - `class BetaRateLimitError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "rate_limit_error"` - `class BetaGatewayTimeoutError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "timeout_error"` - `class BetaApiError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "api_error"` - `class BetaOverloadedError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "overloaded_error"` - `required string? RequestID` - - `JsonElement Type constant` + - `JsonElement Type = "error"` - - `JsonElement Type constant` + - `JsonElement Type = "errored"` ### Beta Message Batch Expired Result - `class BetaMessageBatchExpiredResult:` - - `JsonElement Type constant` + - `JsonElement Type = "expired"` ### Beta Message Batch Individual Response @@ -7217,9 +7217,9 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -7282,7 +7282,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocation:` @@ -7302,7 +7302,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -7332,7 +7332,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -7344,7 +7344,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -7380,13 +7380,13 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaThinkingBlock:` @@ -7402,7 +7402,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -7414,7 +7414,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -7428,7 +7428,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `Caller Caller` @@ -7438,7 +7438,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -7448,7 +7448,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -7456,7 +7456,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -7474,23 +7474,23 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `Caller Caller` @@ -7514,19 +7514,19 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -7536,7 +7536,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -7544,7 +7544,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `Caller Caller` @@ -7568,25 +7568,25 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -7606,29 +7606,29 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -7638,7 +7638,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `Caller Caller` @@ -7662,21 +7662,21 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -7686,7 +7686,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -7698,13 +7698,13 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -7716,15 +7716,15 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -7732,7 +7732,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -7740,7 +7740,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -7750,7 +7750,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -7758,13 +7758,13 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -7774,17 +7774,17 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -7792,7 +7792,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -7800,13 +7800,13 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -7816,19 +7816,19 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -7836,11 +7836,11 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -7848,13 +7848,13 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -7868,13 +7868,13 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -7884,17 +7884,17 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -7904,15 +7904,15 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -7930,7 +7930,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -7950,7 +7950,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required bool IsError` @@ -7958,7 +7958,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -7966,7 +7966,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `class BetaCompactionBlock:` @@ -7984,7 +7984,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `class BetaFallbackBlock:` @@ -8010,71 +8010,71 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -8090,29 +8090,29 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` - `required BetaContextManagementResponse? ContextManagement` @@ -8138,7 +8138,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -8156,7 +8156,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_thinking_20251015"` The type of context management edit applied. @@ -8175,7 +8175,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -8183,7 +8183,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -8191,7 +8191,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -8199,15 +8199,15 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonElement Type constant` + - `JsonElement Type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonElement Type constant` + - `JsonElement Type = "unavailable"` - `required Model Model` @@ -8215,7 +8215,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonElement Role constant` + - `JsonElement Role = "assistant"` Conversational role of the generated message. @@ -8229,23 +8229,23 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -8304,7 +8304,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - `required BetaStopReason? StopReason` @@ -8322,21 +8322,21 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba In non-streaming mode this value is always non-null. In streaming mode, it is null in the `message_start` event and non-null otherwise. - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Compaction` + - `Compaction("compaction")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` - `required string? StopSequence` @@ -8344,7 +8344,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonElement Type constant` + - `JsonElement Type = "message"` Object type. @@ -8408,7 +8408,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonElement Type constant` + - `JsonElement Type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -8421,31 +8421,31 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba A closed enum; additions to the redemption-check vocabulary arrive as deliberate schema updates. - - `BodyMismatch` + - `BodyMismatch("body_mismatch")` - - `ContinuationExcluded` + - `ContinuationExcluded("continuation_excluded")` - - `ContinuationOnly` + - `ContinuationOnly("continuation_only")` - - `Expired` + - `Expired("expired")` - - `InvalidTargetModel` + - `InvalidTargetModel("invalid_target_model")` - - `NotEnabled` + - `NotEnabled("not_enabled")` - - `RepriceUnavailable` + - `RepriceUnavailable("reprice_unavailable")` - - `TemporarilyUnavailable` + - `TemporarilyUnavailable("temporarily_unavailable")` - - `VariantFieldsPresent` + - `VariantFieldsPresent("variant_fields_present")` - - `WrongOrganization` + - `WrongOrganization("wrong_organization")` - - `WrongPlatform` + - `WrongPlatform("wrong_platform")` - - `WrongWorkspace` + - `WrongWorkspace("wrong_workspace")` - - `JsonElement Type constant` + - `JsonElement Type = "not_applied"` - `IReadOnlyList? RemoveToRedeem` @@ -8518,7 +8518,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "message"` Usage for a sampling iteration @@ -8554,7 +8554,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` Usage for a compaction iteration @@ -8596,7 +8596,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -8643,7 +8643,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -8695,19 +8695,19 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba If the request used the priority, standard, or batch tier. - - `Standard` + - `Standard("standard")` - - `Priority` + - `Priority("priority")` - - `Batch` + - `Batch("batch")` - `required Speed? Speed` Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `IReadOnlyList? InputTransformations` @@ -8749,19 +8749,19 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba `organization_binding_mismatch`, `end_user_binding_mismatch`, `model_binding_mismatch`, `prefix_binding_mismatch`. - - `ModelBindingMismatch` + - `ModelBindingMismatch("model_binding_mismatch")` - - `PrefixBindingMismatch` + - `PrefixBindingMismatch("prefix_binding_mismatch")` - - `OrganizationBindingMismatch` + - `OrganizationBindingMismatch("organization_binding_mismatch")` - - `EndUserBindingMismatch` + - `EndUserBindingMismatch("end_user_binding_mismatch")` - - `JsonElement Type constant` + - `JsonElement Type = "thinking_dropped"` Always `thinking_dropped` for this entry type. - - `JsonElement Type constant` + - `JsonElement Type = "succeeded"` - `class BetaMessageBatchErroredResult:` @@ -8773,69 +8773,69 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "invalid_request_error"` - `class BetaAuthenticationError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "authentication_error"` - `class BetaBillingError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "billing_error"` - `class BetaPermissionError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "permission_error"` - `class BetaNotFoundError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "not_found_error"` - `class BetaRateLimitError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "rate_limit_error"` - `class BetaGatewayTimeoutError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "timeout_error"` - `class BetaApiError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "api_error"` - `class BetaOverloadedError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "overloaded_error"` - `required string? RequestID` - - `JsonElement Type constant` + - `JsonElement Type = "error"` - - `JsonElement Type constant` + - `JsonElement Type = "errored"` - `class BetaMessageBatchCanceledResult:` - - `JsonElement Type constant` + - `JsonElement Type = "canceled"` - `class BetaMessageBatchExpiredResult:` - - `JsonElement Type constant` + - `JsonElement Type = "expired"` ### Beta Message Batch Request Counts @@ -8915,9 +8915,9 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -8980,7 +8980,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocation:` @@ -9000,7 +9000,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -9030,7 +9030,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -9042,7 +9042,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -9078,13 +9078,13 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaThinkingBlock:` @@ -9100,7 +9100,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -9112,7 +9112,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -9126,7 +9126,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `Caller Caller` @@ -9136,7 +9136,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -9146,7 +9146,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -9154,7 +9154,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -9172,23 +9172,23 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `Caller Caller` @@ -9212,19 +9212,19 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -9234,7 +9234,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -9242,7 +9242,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `Caller Caller` @@ -9266,25 +9266,25 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -9304,29 +9304,29 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -9336,7 +9336,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `Caller Caller` @@ -9360,21 +9360,21 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -9384,7 +9384,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -9396,13 +9396,13 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -9414,15 +9414,15 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -9430,7 +9430,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -9438,7 +9438,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -9448,7 +9448,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -9456,13 +9456,13 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -9472,17 +9472,17 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -9490,7 +9490,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -9498,13 +9498,13 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -9514,19 +9514,19 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -9534,11 +9534,11 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -9546,13 +9546,13 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -9566,13 +9566,13 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -9582,17 +9582,17 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -9602,15 +9602,15 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -9628,7 +9628,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -9648,7 +9648,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required bool IsError` @@ -9656,7 +9656,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -9664,7 +9664,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `class BetaCompactionBlock:` @@ -9682,7 +9682,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `class BetaFallbackBlock:` @@ -9708,71 +9708,71 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -9788,29 +9788,29 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` - `required BetaContextManagementResponse? ContextManagement` @@ -9836,7 +9836,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -9854,7 +9854,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_thinking_20251015"` The type of context management edit applied. @@ -9873,7 +9873,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -9881,7 +9881,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -9889,7 +9889,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -9897,15 +9897,15 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonElement Type constant` + - `JsonElement Type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonElement Type constant` + - `JsonElement Type = "unavailable"` - `required Model Model` @@ -9913,7 +9913,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonElement Role constant` + - `JsonElement Role = "assistant"` Conversational role of the generated message. @@ -9927,23 +9927,23 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -10002,7 +10002,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - `required BetaStopReason? StopReason` @@ -10020,21 +10020,21 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba In non-streaming mode this value is always non-null. In streaming mode, it is null in the `message_start` event and non-null otherwise. - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Compaction` + - `Compaction("compaction")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` - `required string? StopSequence` @@ -10042,7 +10042,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonElement Type constant` + - `JsonElement Type = "message"` Object type. @@ -10106,7 +10106,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonElement Type constant` + - `JsonElement Type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -10119,31 +10119,31 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba A closed enum; additions to the redemption-check vocabulary arrive as deliberate schema updates. - - `BodyMismatch` + - `BodyMismatch("body_mismatch")` - - `ContinuationExcluded` + - `ContinuationExcluded("continuation_excluded")` - - `ContinuationOnly` + - `ContinuationOnly("continuation_only")` - - `Expired` + - `Expired("expired")` - - `InvalidTargetModel` + - `InvalidTargetModel("invalid_target_model")` - - `NotEnabled` + - `NotEnabled("not_enabled")` - - `RepriceUnavailable` + - `RepriceUnavailable("reprice_unavailable")` - - `TemporarilyUnavailable` + - `TemporarilyUnavailable("temporarily_unavailable")` - - `VariantFieldsPresent` + - `VariantFieldsPresent("variant_fields_present")` - - `WrongOrganization` + - `WrongOrganization("wrong_organization")` - - `WrongPlatform` + - `WrongPlatform("wrong_platform")` - - `WrongWorkspace` + - `WrongWorkspace("wrong_workspace")` - - `JsonElement Type constant` + - `JsonElement Type = "not_applied"` - `IReadOnlyList? RemoveToRedeem` @@ -10216,7 +10216,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "message"` Usage for a sampling iteration @@ -10252,7 +10252,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` Usage for a compaction iteration @@ -10294,7 +10294,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -10341,7 +10341,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -10393,19 +10393,19 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba If the request used the priority, standard, or batch tier. - - `Standard` + - `Standard("standard")` - - `Priority` + - `Priority("priority")` - - `Batch` + - `Batch("batch")` - `required Speed? Speed` Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `IReadOnlyList? InputTransformations` @@ -10447,19 +10447,19 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba `organization_binding_mismatch`, `end_user_binding_mismatch`, `model_binding_mismatch`, `prefix_binding_mismatch`. - - `ModelBindingMismatch` + - `ModelBindingMismatch("model_binding_mismatch")` - - `PrefixBindingMismatch` + - `PrefixBindingMismatch("prefix_binding_mismatch")` - - `OrganizationBindingMismatch` + - `OrganizationBindingMismatch("organization_binding_mismatch")` - - `EndUserBindingMismatch` + - `EndUserBindingMismatch("end_user_binding_mismatch")` - - `JsonElement Type constant` + - `JsonElement Type = "thinking_dropped"` Always `thinking_dropped` for this entry type. - - `JsonElement Type constant` + - `JsonElement Type = "succeeded"` - `class BetaMessageBatchErroredResult:` @@ -10471,69 +10471,69 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "invalid_request_error"` - `class BetaAuthenticationError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "authentication_error"` - `class BetaBillingError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "billing_error"` - `class BetaPermissionError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "permission_error"` - `class BetaNotFoundError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "not_found_error"` - `class BetaRateLimitError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "rate_limit_error"` - `class BetaGatewayTimeoutError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "timeout_error"` - `class BetaApiError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "api_error"` - `class BetaOverloadedError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "overloaded_error"` - `required string? RequestID` - - `JsonElement Type constant` + - `JsonElement Type = "error"` - - `JsonElement Type constant` + - `JsonElement Type = "errored"` - `class BetaMessageBatchCanceledResult:` - - `JsonElement Type constant` + - `JsonElement Type = "canceled"` - `class BetaMessageBatchExpiredResult:` - - `JsonElement Type constant` + - `JsonElement Type = "expired"` ### Beta Message Batch Succeeded Result @@ -10575,9 +10575,9 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -10640,7 +10640,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocation:` @@ -10660,7 +10660,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -10690,7 +10690,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -10702,7 +10702,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -10738,13 +10738,13 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaThinkingBlock:` @@ -10760,7 +10760,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -10772,7 +10772,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -10786,7 +10786,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `Caller Caller` @@ -10796,7 +10796,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -10806,7 +10806,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -10814,7 +10814,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -10832,23 +10832,23 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `Caller Caller` @@ -10872,19 +10872,19 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -10894,7 +10894,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -10902,7 +10902,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `Caller Caller` @@ -10926,25 +10926,25 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -10964,29 +10964,29 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -10996,7 +10996,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `Caller Caller` @@ -11020,21 +11020,21 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -11044,7 +11044,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -11056,13 +11056,13 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -11074,15 +11074,15 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -11090,7 +11090,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -11098,7 +11098,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -11108,7 +11108,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -11116,13 +11116,13 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -11132,17 +11132,17 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -11150,7 +11150,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -11158,13 +11158,13 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -11174,19 +11174,19 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -11194,11 +11194,11 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -11206,13 +11206,13 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -11226,13 +11226,13 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -11242,17 +11242,17 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -11262,15 +11262,15 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -11288,7 +11288,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -11308,7 +11308,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required bool IsError` @@ -11316,7 +11316,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -11324,7 +11324,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `class BetaCompactionBlock:` @@ -11342,7 +11342,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `class BetaFallbackBlock:` @@ -11368,71 +11368,71 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -11448,29 +11448,29 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` - `required BetaContextManagementResponse? ContextManagement` @@ -11496,7 +11496,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -11514,7 +11514,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_thinking_20251015"` The type of context management edit applied. @@ -11533,7 +11533,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -11541,7 +11541,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -11549,7 +11549,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -11557,15 +11557,15 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonElement Type constant` + - `JsonElement Type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonElement Type constant` + - `JsonElement Type = "unavailable"` - `required Model Model` @@ -11573,7 +11573,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonElement Role constant` + - `JsonElement Role = "assistant"` Conversational role of the generated message. @@ -11587,23 +11587,23 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -11662,7 +11662,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - `required BetaStopReason? StopReason` @@ -11680,21 +11680,21 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba In non-streaming mode this value is always non-null. In streaming mode, it is null in the `message_start` event and non-null otherwise. - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Compaction` + - `Compaction("compaction")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` - `required string? StopSequence` @@ -11702,7 +11702,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonElement Type constant` + - `JsonElement Type = "message"` Object type. @@ -11766,7 +11766,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonElement Type constant` + - `JsonElement Type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -11779,31 +11779,31 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba A closed enum; additions to the redemption-check vocabulary arrive as deliberate schema updates. - - `BodyMismatch` + - `BodyMismatch("body_mismatch")` - - `ContinuationExcluded` + - `ContinuationExcluded("continuation_excluded")` - - `ContinuationOnly` + - `ContinuationOnly("continuation_only")` - - `Expired` + - `Expired("expired")` - - `InvalidTargetModel` + - `InvalidTargetModel("invalid_target_model")` - - `NotEnabled` + - `NotEnabled("not_enabled")` - - `RepriceUnavailable` + - `RepriceUnavailable("reprice_unavailable")` - - `TemporarilyUnavailable` + - `TemporarilyUnavailable("temporarily_unavailable")` - - `VariantFieldsPresent` + - `VariantFieldsPresent("variant_fields_present")` - - `WrongOrganization` + - `WrongOrganization("wrong_organization")` - - `WrongPlatform` + - `WrongPlatform("wrong_platform")` - - `WrongWorkspace` + - `WrongWorkspace("wrong_workspace")` - - `JsonElement Type constant` + - `JsonElement Type = "not_applied"` - `IReadOnlyList? RemoveToRedeem` @@ -11876,7 +11876,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "message"` Usage for a sampling iteration @@ -11912,7 +11912,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` Usage for a compaction iteration @@ -11954,7 +11954,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -12001,7 +12001,7 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -12053,19 +12053,19 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba If the request used the priority, standard, or batch tier. - - `Standard` + - `Standard("standard")` - - `Priority` + - `Priority("priority")` - - `Batch` + - `Batch("batch")` - `required Speed? Speed` Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `IReadOnlyList? InputTransformations` @@ -12107,16 +12107,16 @@ await foreach (var betaMessageBatchIndividualResponse in client.Beta.Messages.Ba `organization_binding_mismatch`, `end_user_binding_mismatch`, `model_binding_mismatch`, `prefix_binding_mismatch`. - - `ModelBindingMismatch` + - `ModelBindingMismatch("model_binding_mismatch")` - - `PrefixBindingMismatch` + - `PrefixBindingMismatch("prefix_binding_mismatch")` - - `OrganizationBindingMismatch` + - `OrganizationBindingMismatch("organization_binding_mismatch")` - - `EndUserBindingMismatch` + - `EndUserBindingMismatch("end_user_binding_mismatch")` - - `JsonElement Type constant` + - `JsonElement Type = "thinking_dropped"` Always `thinking_dropped` for this entry type. - - `JsonElement Type constant` + - `JsonElement Type = "succeeded"` diff --git a/content/en/api/csharp/beta/messages/batches/cancel.md b/content/en/api/csharp/beta/messages/batches/cancel.md index 7e1e3bcbcb..ea7e9af10e 100644 --- a/content/en/api/csharp/beta/messages/batches/cancel.md +++ b/content/en/api/csharp/beta/messages/batches/cancel.md @@ -22,93 +22,93 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -156,11 +156,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required BetaMessageBatchRequestCounts RequestCounts` @@ -202,7 +202,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. diff --git a/content/en/api/csharp/beta/messages/batches/create.md b/content/en/api/csharp/beta/messages/batches/create.md index be82be2758..effc02b5ed 100644 --- a/content/en/api/csharp/beta/messages/batches/create.md +++ b/content/en/api/csharp/beta/messages/batches/create.md @@ -109,13 +109,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -128,9 +128,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -152,7 +152,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -172,7 +172,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -202,7 +202,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -214,7 +214,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -252,7 +252,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class BetaImageBlockParam:` @@ -266,19 +266,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaUrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -286,9 +286,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `BetaCacheControlEphemeral? CacheControl` @@ -302,9 +302,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - `class BetaRequestDocumentBlock:` @@ -316,17 +316,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaContentBlockSource:` @@ -340,11 +340,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaImageBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class BetaUrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -352,9 +352,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `BetaCacheControlEphemeral? CacheControl` @@ -380,7 +380,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -392,7 +392,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -412,7 +412,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `thinking` text of this block as returned by the API. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class BetaRedactedThinkingBlockParam:` @@ -420,7 +420,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class BetaToolUseBlockParam:` @@ -434,7 +434,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 200, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -448,7 +448,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -458,7 +458,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -466,7 +466,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -480,7 +480,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -508,7 +508,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` @@ -552,7 +552,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonElement Type constant` + - `JsonElement Type = "browser_state"` - `BetaCacheControlEphemeral? CacheControl` @@ -580,7 +580,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -592,7 +592,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -613,7 +613,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -643,7 +643,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -675,23 +675,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -721,7 +721,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -731,25 +731,25 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -777,31 +777,31 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlockParam:` - `required BetaRequestDocumentBlock Content` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -815,7 +815,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -843,27 +843,27 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlockParam:` - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `string? StopReason` @@ -873,7 +873,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `string? StopReason` @@ -881,7 +881,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -897,15 +897,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -913,7 +913,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -921,7 +921,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -931,7 +931,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -939,13 +939,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -959,17 +959,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlockParam:` @@ -977,7 +977,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -985,13 +985,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -1005,17 +1005,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `string? ErrorMessage` @@ -1025,13 +1025,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `long? NumLines` @@ -1043,11 +1043,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `IReadOnlyList? Lines` @@ -1063,7 +1063,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -1077,15 +1077,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `string? ErrorMessage` @@ -1097,19 +1097,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -1129,7 +1129,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -1141,7 +1141,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -1157,7 +1157,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -1174,7 +1174,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `BetaCacheControlEphemeral? CacheControl` @@ -1190,7 +1190,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl When content is None, the block represents a failed compaction. The server treats these as no-ops. Empty string content is not allowed. - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `BetaCacheControlEphemeral? CacheControl` @@ -1230,7 +1230,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -1241,7 +1241,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -1249,9 +1249,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_toolset_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_addition"` - `BetaCacheControlEphemeral? CacheControl` @@ -1288,7 +1288,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Reference to every tool in the named MCP server's toolset. - - `JsonElement Type constant` + - `JsonElement Type = "tool_removal"` - `BetaCacheControlEphemeral? CacheControl` @@ -1320,71 +1320,71 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -1392,7 +1392,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Identifies one hop of a fallback transition. - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` - `JsonElement Trigger` @@ -1400,19 +1400,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Role Role` - - `User` + - `User("user")` - - `Assistant` + - `Assistant("assistant")` - - `System` + - `System("system")` - `ClearAt? ClearAt` How long this system message's text stays in front of the model. `"never"` (the default) renders it on every request that includes it. `"next_user_message"` renders it only for the user turn it follows: once a later `role: "user"` message exists in `messages` the message stays in the array (send it unchanged) but is no longer shown to the model. Only permitted on `role: "system"` messages. - - `NextUserMessage` + - `NextUserMessage("next_user_message")` - - `Never` + - `Never("never")` - `BetaSystemMessageOutputConfig? OutputConfig` @@ -1426,15 +1426,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl All possible effort levels. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `required Model Model` @@ -1474,9 +1474,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `string Version` @@ -1500,13 +1500,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaClearToolUses20250919Edit:` - - `JsonElement Type constant` + - `JsonElement Type = "clear_tool_uses_20250919"` - `BetaInputTokensClearAtLeast? ClearAtLeast` Minimum number of tokens that must be cleared when triggered. Context will only be modified if at least this many tokens can be removed. - - `JsonElement Type constant` + - `JsonElement Type = "input_tokens"` - `required long Value` @@ -1528,7 +1528,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Number of tool uses to retain in the conversation - - `JsonElement Type constant` + - `JsonElement Type = "tool_uses"` - `required long Value` @@ -1540,7 +1540,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaInputTokensTrigger:` - - `JsonElement Type constant` + - `JsonElement Type = "input_tokens"` - `required long Value` @@ -1548,7 +1548,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolUsesTrigger:` - - `JsonElement Type constant` + - `JsonElement Type = "tool_uses"` - `required long Value` @@ -1556,7 +1556,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaClearThinking20251015Edit:` - - `JsonElement Type constant` + - `JsonElement Type = "clear_thinking_20251015"` - `Keep Keep` @@ -1564,7 +1564,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaThinkingTurns:` - - `JsonElement Type constant` + - `JsonElement Type = "thinking_turns"` - `required long Value` @@ -1572,7 +1572,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaAllThinkingTurns:` - - `JsonElement Type constant` + - `JsonElement Type = "all"` - `class All:` @@ -1580,7 +1580,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Automatically compact older context when reaching the configured trigger threshold. - - `JsonElement Type constant` + - `JsonElement Type = "compact_20260112"` - `string? Instructions` @@ -1650,9 +1650,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl How a failing token affects the retry. `strict` (the default, and the bare-string behavior): a failing redemption is a 400 and the retry is not served. `best_effort`: the retry is served either way — a token-layer failure no longer rejects the request; the retry proceeds at normal price and the outcome is reported on the response's `usage.fallback_credit`. Two failures stay hard in both modes: a malformed token, and combining `fallback_credit_token` with `fallbacks`. - - `Strict` + - `Strict("strict")` - - `BestEffort` + - `BestEffort("best_effort")` - `BetaFallbacksParam? Fallbacks` @@ -1674,15 +1674,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl All possible effort levels. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `BetaJsonOutputFormat? Format` @@ -1692,7 +1692,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The JSON schema of the format - - `JsonElement Type constant` + - `JsonElement Type = "json_schema"` - `BetaTokenTaskBudget? TaskBudget` @@ -1704,7 +1704,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1024 - - `JsonElement Type constant` + - `JsonElement Type = "tokens"` The budget type. Currently only 'tokens' is supported. @@ -1718,9 +1718,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `Thinking? Thinking` @@ -1736,7 +1736,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1024 - - `JsonElement Type constant` + - `JsonElement Type = "enabled"` - `BetaThinkingBlockBinding? BlockBinding` @@ -1752,27 +1752,27 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl 400 error. `"drop_block"` removes the failing blocks and the request proceeds; the model no longer sees the dropped reasoning. - - `Error` + - `Error("error")` - - `DropBlock` + - `DropBlock("drop_block")` - `Display? Display` Controls how thinking content appears in the response. When set to `summarized`, thinking is returned normally. When set to `omitted`, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults to `summarized`. - - `Summarized` + - `Summarized("summarized")` - - `Omitted` + - `Omitted("omitted")` - - `Updates` + - `Updates("updates")` - `class BetaThinkingConfigDisabled:` - - `JsonElement Type constant` + - `JsonElement Type = "disabled"` - `class BetaThinkingConfigAdaptive:` - - `JsonElement Type constant` + - `JsonElement Type = "adaptive"` - `BetaThinkingBlockBinding? BlockBinding` @@ -1784,11 +1784,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Controls how thinking content appears in the response. When set to `summarized`, thinking is returned normally. When set to `omitted`, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults to `summarized`. - - `Summarized` + - `Summarized("summarized")` - - `Omitted` + - `Omitted("omitted")` - - `Updates` + - `Updates("updates")` - `JsonElement` @@ -1804,7 +1804,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Name` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -1838,17 +1838,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Anthropic offers different levels of service for your API requests. See [service-tiers](https://platform.claude.com/docs/en/api/service-tiers) for details. - - `Auto` + - `Auto("auto")` - - `StandardOnly` + - `StandardOnly("standard_only")` - `Speed? Speed` Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `IReadOnlyList StopSequences` @@ -1878,7 +1878,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -1908,7 +1908,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will automatically decide whether to use tools. - - `JsonElement Type constant` + - `JsonElement Type = "auto"` - `bool DisableParallelToolUse` @@ -1920,7 +1920,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will use any available tools. - - `JsonElement Type constant` + - `JsonElement Type = "any"` - `bool DisableParallelToolUse` @@ -1936,7 +1936,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the tool to use. - - `JsonElement Type constant` + - `JsonElement Type = "tool"` - `bool DisableParallelToolUse` @@ -1948,7 +1948,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will not be allowed to use tools. - - `JsonElement Type constant` + - `JsonElement Type = "none"` - `IReadOnlyList Tools` @@ -2022,7 +2022,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -2038,13 +2038,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2074,23 +2074,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolBash20241022:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2108,23 +2108,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolBash20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2142,23 +2142,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaCodeExecutionTool20250522:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250522"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2174,23 +2174,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaCodeExecutionTool20250825:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2208,23 +2208,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2242,23 +2242,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence. - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260521"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2279,7 +2279,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl the family's tool with any members disabled via `configs` removed from its schema. - - `JsonElement Type constant` + - `JsonElement Type = "browser_toolset_20260801"` - `BetaCacheControlEphemeral? CacheControl` @@ -2680,23 +2680,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2720,23 +2720,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaMemoryTool20250818:` - - `JsonElement Name constant` + - `JsonElement Name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "memory_20250818"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2766,23 +2766,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2806,23 +2806,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20241022:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2852,23 +2852,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20251124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2905,7 +2905,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonElement Type constant` + - `JsonElement Type = "computer_toolset_20260801"` - `BetaCacheControlEphemeral? CacheControl` @@ -3126,23 +3126,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3160,23 +3160,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20250429:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250429"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3194,23 +3194,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20250728:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250728"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3234,23 +3234,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebSearchTool20250305:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20250305"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3282,7 +3282,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Parameters for the user's location. Used to provide more relevant search results. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -3310,23 +3310,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebFetchTool20250910:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20250910"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3366,23 +3366,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebSearchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3416,23 +3416,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebFetchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3474,23 +3474,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260309"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3534,23 +3534,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebSearchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3578,9 +3578,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -3592,23 +3592,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebFetchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3646,9 +3646,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -3666,23 +3666,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonElement Name constant` + - `JsonElement Name = "advisor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "advisor_20260301"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3714,7 +3714,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolSearchToolBm25_20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_bm25"` Name of the tool. @@ -3722,19 +3722,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Type Type` - - `ToolSearchToolBm25_20251119` + - `ToolSearchToolBm25_20251119("tool_search_tool_bm25_20251119")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3750,7 +3750,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolSearchToolRegex20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_regex"` Name of the tool. @@ -3758,19 +3758,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Type Type` - - `ToolSearchToolRegex20251119` + - `ToolSearchToolRegex20251119("tool_search_tool_regex_20251119")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3797,7 +3797,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 255, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "mcp_toolset"` - `BetaCacheControlEphemeral? CacheControl` @@ -3867,93 +3867,93 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` - `string userProfileID` @@ -4005,11 +4005,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required BetaMessageBatchRequestCounts RequestCounts` @@ -4051,7 +4051,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. diff --git a/content/en/api/csharp/beta/messages/batches/delete.md b/content/en/api/csharp/beta/messages/batches/delete.md index 87570c7ac3..9495a4efc9 100644 --- a/content/en/api/csharp/beta/messages/batches/delete.md +++ b/content/en/api/csharp/beta/messages/batches/delete.md @@ -22,93 +22,93 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -118,7 +118,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl ID of the Message Batch. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch_deleted"` Deleted object type. diff --git a/content/en/api/csharp/beta/messages/batches/list.md b/content/en/api/csharp/beta/messages/batches/list.md index 8ad14c7bb6..34aa474de1 100644 --- a/content/en/api/csharp/beta/messages/batches/list.md +++ b/content/en/api/csharp/beta/messages/batches/list.md @@ -32,93 +32,93 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -166,11 +166,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required BetaMessageBatchRequestCounts RequestCounts` @@ -212,7 +212,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. diff --git a/content/en/api/csharp/beta/messages/batches/results.md b/content/en/api/csharp/beta/messages/batches/results.md index 90ab102e8e..de02fa45b1 100644 --- a/content/en/api/csharp/beta/messages/batches/results.md +++ b/content/en/api/csharp/beta/messages/batches/results.md @@ -22,93 +22,93 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -166,9 +166,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -231,7 +231,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocation:` @@ -251,7 +251,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -281,7 +281,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -293,7 +293,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -329,13 +329,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaThinkingBlock:` @@ -351,7 +351,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -363,7 +363,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -377,7 +377,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `Caller Caller` @@ -387,7 +387,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -397,7 +397,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -405,7 +405,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -423,23 +423,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `Caller Caller` @@ -463,19 +463,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -485,7 +485,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -493,7 +493,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `Caller Caller` @@ -517,25 +517,25 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -555,29 +555,29 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -587,7 +587,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `Caller Caller` @@ -611,21 +611,21 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -635,7 +635,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -647,13 +647,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -665,15 +665,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -681,7 +681,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -689,7 +689,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -699,7 +699,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -707,13 +707,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -723,17 +723,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -741,7 +741,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -749,13 +749,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -765,19 +765,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -785,11 +785,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -797,13 +797,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -817,13 +817,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -833,17 +833,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -853,15 +853,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -879,7 +879,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -899,7 +899,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required bool IsError` @@ -907,7 +907,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -915,7 +915,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `class BetaCompactionBlock:` @@ -933,7 +933,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `class BetaFallbackBlock:` @@ -959,71 +959,71 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -1039,29 +1039,29 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` - `required BetaContextManagementResponse? ContextManagement` @@ -1087,7 +1087,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -1105,7 +1105,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_thinking_20251015"` The type of context management edit applied. @@ -1124,7 +1124,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -1132,7 +1132,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -1140,7 +1140,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -1148,15 +1148,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonElement Type constant` + - `JsonElement Type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonElement Type constant` + - `JsonElement Type = "unavailable"` - `required Model Model` @@ -1164,7 +1164,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonElement Role constant` + - `JsonElement Role = "assistant"` Conversational role of the generated message. @@ -1178,23 +1178,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -1253,7 +1253,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - `required BetaStopReason? StopReason` @@ -1271,21 +1271,21 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl In non-streaming mode this value is always non-null. In streaming mode, it is null in the `message_start` event and non-null otherwise. - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Compaction` + - `Compaction("compaction")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` - `required string? StopSequence` @@ -1293,7 +1293,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonElement Type constant` + - `JsonElement Type = "message"` Object type. @@ -1357,7 +1357,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonElement Type constant` + - `JsonElement Type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -1370,31 +1370,31 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl A closed enum; additions to the redemption-check vocabulary arrive as deliberate schema updates. - - `BodyMismatch` + - `BodyMismatch("body_mismatch")` - - `ContinuationExcluded` + - `ContinuationExcluded("continuation_excluded")` - - `ContinuationOnly` + - `ContinuationOnly("continuation_only")` - - `Expired` + - `Expired("expired")` - - `InvalidTargetModel` + - `InvalidTargetModel("invalid_target_model")` - - `NotEnabled` + - `NotEnabled("not_enabled")` - - `RepriceUnavailable` + - `RepriceUnavailable("reprice_unavailable")` - - `TemporarilyUnavailable` + - `TemporarilyUnavailable("temporarily_unavailable")` - - `VariantFieldsPresent` + - `VariantFieldsPresent("variant_fields_present")` - - `WrongOrganization` + - `WrongOrganization("wrong_organization")` - - `WrongPlatform` + - `WrongPlatform("wrong_platform")` - - `WrongWorkspace` + - `WrongWorkspace("wrong_workspace")` - - `JsonElement Type constant` + - `JsonElement Type = "not_applied"` - `IReadOnlyList? RemoveToRedeem` @@ -1467,7 +1467,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "message"` Usage for a sampling iteration @@ -1503,7 +1503,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` Usage for a compaction iteration @@ -1545,7 +1545,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -1592,7 +1592,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -1644,19 +1644,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl If the request used the priority, standard, or batch tier. - - `Standard` + - `Standard("standard")` - - `Priority` + - `Priority("priority")` - - `Batch` + - `Batch("batch")` - `required Speed? Speed` Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `IReadOnlyList? InputTransformations` @@ -1698,19 +1698,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl `organization_binding_mismatch`, `end_user_binding_mismatch`, `model_binding_mismatch`, `prefix_binding_mismatch`. - - `ModelBindingMismatch` + - `ModelBindingMismatch("model_binding_mismatch")` - - `PrefixBindingMismatch` + - `PrefixBindingMismatch("prefix_binding_mismatch")` - - `OrganizationBindingMismatch` + - `OrganizationBindingMismatch("organization_binding_mismatch")` - - `EndUserBindingMismatch` + - `EndUserBindingMismatch("end_user_binding_mismatch")` - - `JsonElement Type constant` + - `JsonElement Type = "thinking_dropped"` Always `thinking_dropped` for this entry type. - - `JsonElement Type constant` + - `JsonElement Type = "succeeded"` - `class BetaMessageBatchErroredResult:` @@ -1722,69 +1722,69 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "invalid_request_error"` - `class BetaAuthenticationError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "authentication_error"` - `class BetaBillingError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "billing_error"` - `class BetaPermissionError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "permission_error"` - `class BetaNotFoundError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "not_found_error"` - `class BetaRateLimitError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "rate_limit_error"` - `class BetaGatewayTimeoutError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "timeout_error"` - `class BetaApiError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "api_error"` - `class BetaOverloadedError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "overloaded_error"` - `required string? RequestID` - - `JsonElement Type constant` + - `JsonElement Type = "error"` - - `JsonElement Type constant` + - `JsonElement Type = "errored"` - `class BetaMessageBatchCanceledResult:` - - `JsonElement Type constant` + - `JsonElement Type = "canceled"` - `class BetaMessageBatchExpiredResult:` - - `JsonElement Type constant` + - `JsonElement Type = "expired"` ## Example diff --git a/content/en/api/csharp/beta/messages/batches/retrieve.md b/content/en/api/csharp/beta/messages/batches/retrieve.md index 1f139c227e..3fe576e73b 100644 --- a/content/en/api/csharp/beta/messages/batches/retrieve.md +++ b/content/en/api/csharp/beta/messages/batches/retrieve.md @@ -20,93 +20,93 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -154,11 +154,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required BetaMessageBatchRequestCounts RequestCounts` @@ -200,7 +200,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. diff --git a/content/en/api/csharp/beta/messages/count_tokens.md b/content/en/api/csharp/beta/messages/count_tokens.md index ac4faa1298..215f2fe6db 100644 --- a/content/en/api/csharp/beta/messages/count_tokens.md +++ b/content/en/api/csharp/beta/messages/count_tokens.md @@ -77,13 +77,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -96,9 +96,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -120,7 +120,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -140,7 +140,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -170,7 +170,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -182,7 +182,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -220,7 +220,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class BetaImageBlockParam:` @@ -234,19 +234,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaUrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -254,9 +254,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `BetaCacheControlEphemeral? CacheControl` @@ -270,9 +270,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - `class BetaRequestDocumentBlock:` @@ -284,17 +284,17 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaContentBlockSource:` @@ -308,11 +308,11 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaImageBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class BetaUrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -320,9 +320,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `BetaCacheControlEphemeral? CacheControl` @@ -348,7 +348,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -360,7 +360,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -380,7 +380,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ The `thinking` text of this block as returned by the API. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class BetaRedactedThinkingBlockParam:` @@ -388,7 +388,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class BetaToolUseBlockParam:` @@ -402,7 +402,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 200, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -416,7 +416,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -426,7 +426,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -434,7 +434,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -448,7 +448,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -476,7 +476,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` @@ -520,7 +520,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonElement Type constant` + - `JsonElement Type = "browser_state"` - `BetaCacheControlEphemeral? CacheControl` @@ -548,7 +548,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -560,7 +560,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -581,7 +581,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -611,7 +611,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -643,23 +643,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -689,7 +689,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -699,25 +699,25 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -745,31 +745,31 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlockParam:` - `required BetaRequestDocumentBlock Content` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -783,7 +783,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -811,27 +811,27 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlockParam:` - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `string? StopReason` @@ -841,7 +841,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `string? StopReason` @@ -849,7 +849,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -865,15 +865,15 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -881,7 +881,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -889,7 +889,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -899,7 +899,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -907,13 +907,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -927,17 +927,17 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlockParam:` @@ -945,7 +945,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -953,13 +953,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -973,17 +973,17 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `string? ErrorMessage` @@ -993,13 +993,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `long? NumLines` @@ -1011,11 +1011,11 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `IReadOnlyList? Lines` @@ -1031,7 +1031,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -1045,15 +1045,15 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `string? ErrorMessage` @@ -1065,19 +1065,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -1097,7 +1097,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -1109,7 +1109,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -1125,7 +1125,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -1142,7 +1142,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `BetaCacheControlEphemeral? CacheControl` @@ -1158,7 +1158,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ When content is None, the block represents a failed compaction. The server treats these as no-ops. Empty string content is not allowed. - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `BetaCacheControlEphemeral? CacheControl` @@ -1198,7 +1198,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -1209,7 +1209,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -1217,9 +1217,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_toolset_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_addition"` - `BetaCacheControlEphemeral? CacheControl` @@ -1256,7 +1256,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Reference to every tool in the named MCP server's toolset. - - `JsonElement Type constant` + - `JsonElement Type = "tool_removal"` - `BetaCacheControlEphemeral? CacheControl` @@ -1288,71 +1288,71 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -1360,7 +1360,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Identifies one hop of a fallback transition. - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` - `JsonElement Trigger` @@ -1368,19 +1368,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required Role Role` - - `User` + - `User("user")` - - `Assistant` + - `Assistant("assistant")` - - `System` + - `System("system")` - `ClearAt? ClearAt` How long this system message's text stays in front of the model. `"never"` (the default) renders it on every request that includes it. `"next_user_message"` renders it only for the user turn it follows: once a later `role: "user"` message exists in `messages` the message stays in the array (send it unchanged) but is no longer shown to the model. Only permitted on `role: "system"` messages. - - `NextUserMessage` + - `NextUserMessage("next_user_message")` - - `Never` + - `Never("never")` - `BetaSystemMessageOutputConfig? OutputConfig` @@ -1394,15 +1394,15 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ All possible effort levels. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `required Model model` @@ -1428,7 +1428,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Name` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -1448,9 +1448,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Body param: Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `System system` @@ -1466,7 +1466,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -1558,7 +1558,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -1574,13 +1574,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -1610,23 +1610,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolBash20241022:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -1644,23 +1644,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolBash20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -1678,23 +1678,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaCodeExecutionTool20250522:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250522"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -1710,23 +1710,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaCodeExecutionTool20250825:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -1744,23 +1744,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -1778,23 +1778,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Code execution tool with REPL state persistence. - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260521"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -1815,7 +1815,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ the family's tool with any members disabled via `configs` removed from its schema. - - `JsonElement Type constant` + - `JsonElement Type = "browser_toolset_20260801"` - `BetaCacheControlEphemeral? CacheControl` @@ -2216,23 +2216,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2256,23 +2256,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaMemoryTool20250818:` - - `JsonElement Name constant` + - `JsonElement Name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "memory_20250818"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2302,23 +2302,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2342,23 +2342,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolTextEditor20241022:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2388,23 +2388,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20251124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2441,7 +2441,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonElement Type constant` + - `JsonElement Type = "computer_toolset_20260801"` - `BetaCacheControlEphemeral? CacheControl` @@ -2662,23 +2662,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolTextEditor20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2696,23 +2696,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolTextEditor20250429:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250429"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2730,23 +2730,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolTextEditor20250728:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250728"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2770,23 +2770,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebSearchTool20250305:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20250305"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2818,7 +2818,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Parameters for the user's location. Used to provide more relevant search results. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -2846,23 +2846,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebFetchTool20250910:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20250910"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2902,23 +2902,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebSearchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2952,23 +2952,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebFetchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3010,23 +3010,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260309"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3070,23 +3070,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebSearchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3114,9 +3114,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -3128,23 +3128,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebFetchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3182,9 +3182,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -3202,23 +3202,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonElement Name constant` + - `JsonElement Name = "advisor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "advisor_20260301"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3250,7 +3250,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolSearchToolBm25_20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_bm25"` Name of the tool. @@ -3258,19 +3258,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required Type Type` - - `ToolSearchToolBm25_20251119` + - `ToolSearchToolBm25_20251119("tool_search_tool_bm25_20251119")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3286,7 +3286,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolSearchToolRegex20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_regex"` Name of the tool. @@ -3294,19 +3294,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required Type Type` - - `ToolSearchToolRegex20251119` + - `ToolSearchToolRegex20251119("tool_search_tool_regex_20251119")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3333,7 +3333,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 255, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "mcp_toolset"` - `BetaCacheControlEphemeral? CacheControl` @@ -3359,93 +3359,93 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` - `string userProfileID` diff --git a/content/en/api/csharp/beta/messages/create.md b/content/en/api/csharp/beta/messages/create.md index e955be7186..f4cfe5ed77 100644 --- a/content/en/api/csharp/beta/messages/create.md +++ b/content/en/api/csharp/beta/messages/create.md @@ -89,13 +89,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -108,9 +108,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -132,7 +132,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -152,7 +152,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -182,7 +182,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -194,7 +194,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -232,7 +232,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class BetaImageBlockParam:` @@ -246,19 +246,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaUrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -266,9 +266,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `BetaCacheControlEphemeral? CacheControl` @@ -282,9 +282,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - `class BetaRequestDocumentBlock:` @@ -296,17 +296,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaContentBlockSource:` @@ -320,11 +320,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaImageBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class BetaUrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -332,9 +332,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `BetaCacheControlEphemeral? CacheControl` @@ -360,7 +360,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -372,7 +372,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -392,7 +392,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `thinking` text of this block as returned by the API. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class BetaRedactedThinkingBlockParam:` @@ -400,7 +400,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class BetaToolUseBlockParam:` @@ -414,7 +414,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 200, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -428,7 +428,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -438,7 +438,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -446,7 +446,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -460,7 +460,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -488,7 +488,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` @@ -532,7 +532,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonElement Type constant` + - `JsonElement Type = "browser_state"` - `BetaCacheControlEphemeral? CacheControl` @@ -560,7 +560,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -572,7 +572,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -593,7 +593,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -623,7 +623,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -655,23 +655,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -701,7 +701,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -711,25 +711,25 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -757,31 +757,31 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlockParam:` - `required BetaRequestDocumentBlock Content` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -795,7 +795,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -823,27 +823,27 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlockParam:` - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `string? StopReason` @@ -853,7 +853,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `string? StopReason` @@ -861,7 +861,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -877,15 +877,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -893,7 +893,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -901,7 +901,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -911,7 +911,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -919,13 +919,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -939,17 +939,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlockParam:` @@ -957,7 +957,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -965,13 +965,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -985,17 +985,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `string? ErrorMessage` @@ -1005,13 +1005,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `long? NumLines` @@ -1023,11 +1023,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `IReadOnlyList? Lines` @@ -1043,7 +1043,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -1057,15 +1057,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `string? ErrorMessage` @@ -1077,19 +1077,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `BetaCacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -1109,7 +1109,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `BetaCacheControlEphemeral? CacheControl` @@ -1121,7 +1121,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `BetaCacheControlEphemeral? CacheControl` @@ -1137,7 +1137,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -1154,7 +1154,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `BetaCacheControlEphemeral? CacheControl` @@ -1170,7 +1170,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co When content is None, the block represents a failed compaction. The server treats these as no-ops. Empty string content is not allowed. - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `BetaCacheControlEphemeral? CacheControl` @@ -1210,7 +1210,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -1221,7 +1221,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -1229,9 +1229,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string ServerName` - - `JsonElement Type constant` + - `JsonElement Type = "mcp_toolset_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_addition"` - `BetaCacheControlEphemeral? CacheControl` @@ -1268,7 +1268,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Reference to every tool in the named MCP server's toolset. - - `JsonElement Type constant` + - `JsonElement Type = "tool_removal"` - `BetaCacheControlEphemeral? CacheControl` @@ -1300,71 +1300,71 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -1372,7 +1372,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Identifies one hop of a fallback transition. - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` - `JsonElement Trigger` @@ -1380,19 +1380,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required Role Role` - - `User` + - `User("user")` - - `Assistant` + - `Assistant("assistant")` - - `System` + - `System("system")` - `ClearAt? ClearAt` How long this system message's text stays in front of the model. `"never"` (the default) renders it on every request that includes it. `"next_user_message"` renders it only for the user turn it follows: once a later `role: "user"` message exists in `messages` the message stays in the array (send it unchanged) but is no longer shown to the model. Only permitted on `role: "system"` messages. - - `NextUserMessage` + - `NextUserMessage("next_user_message")` - - `Never` + - `Never("never")` - `BetaSystemMessageOutputConfig? OutputConfig` @@ -1406,15 +1406,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co All possible effort levels. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `required Model model` @@ -1454,9 +1454,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `string Version` @@ -1522,9 +1522,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co How a failing token affects the retry. `strict` (the default, and the bare-string behavior): a failing redemption is a 400 and the retry is not served. `best_effort`: the retry is served either way — a token-layer failure no longer rejects the request; the retry proceeds at normal price and the outcome is reported on the response's `usage.fallback_credit`. Two failures stay hard in both modes: a malformed token, and combining `fallback_credit_token` with `fallbacks`. - - `Strict` + - `Strict("strict")` - - `BestEffort` + - `BestEffort("best_effort")` - `BetaFallbacksParam? fallbacks` @@ -1542,7 +1542,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Name` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -1568,17 +1568,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Anthropic offers different levels of service for your API requests. See [service-tiers](https://platform.claude.com/docs/en/api/service-tiers) for details. - - `Auto` + - `Auto("auto")` - - `StandardOnly` + - `StandardOnly("standard_only")` - `Speed? speed` Body param: Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `IReadOnlyList stopSequences` @@ -1602,7 +1602,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `BetaCacheControlEphemeral? CacheControl` @@ -1694,7 +1694,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -1710,13 +1710,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -1746,23 +1746,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolBash20241022:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -1780,23 +1780,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolBash20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -1814,23 +1814,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaCodeExecutionTool20250522:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250522"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -1846,23 +1846,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaCodeExecutionTool20250825:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -1880,23 +1880,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -1914,23 +1914,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Code execution tool with REPL state persistence. - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260521"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -1951,7 +1951,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co the family's tool with any members disabled via `configs` removed from its schema. - - `JsonElement Type constant` + - `JsonElement Type = "browser_toolset_20260801"` - `BetaCacheControlEphemeral? CacheControl` @@ -2352,23 +2352,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2392,23 +2392,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaMemoryTool20250818:` - - `JsonElement Name constant` + - `JsonElement Name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "memory_20250818"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2438,23 +2438,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2478,23 +2478,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolTextEditor20241022:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20241022"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2524,23 +2524,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonElement Name constant` + - `JsonElement Name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "computer_20251124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2577,7 +2577,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonElement Type constant` + - `JsonElement Type = "computer_toolset_20260801"` - `BetaCacheControlEphemeral? CacheControl` @@ -2798,23 +2798,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolTextEditor20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2832,23 +2832,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolTextEditor20250429:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250429"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2866,23 +2866,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolTextEditor20250728:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250728"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -2906,23 +2906,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebSearchTool20250305:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20250305"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2954,7 +2954,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Parameters for the user's location. Used to provide more relevant search results. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -2982,23 +2982,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebFetchTool20250910:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20250910"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3038,23 +3038,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebSearchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3088,23 +3088,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebFetchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3146,23 +3146,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260309"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3206,23 +3206,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebSearchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3250,9 +3250,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -3264,23 +3264,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebFetchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -3318,9 +3318,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -3338,23 +3338,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonElement Name constant` + - `JsonElement Name = "advisor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "advisor_20260301"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3386,7 +3386,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolSearchToolBm25_20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_bm25"` Name of the tool. @@ -3394,19 +3394,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required Type Type` - - `ToolSearchToolBm25_20251119` + - `ToolSearchToolBm25_20251119("tool_search_tool_bm25_20251119")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3422,7 +3422,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolSearchToolRegex20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_regex"` Name of the tool. @@ -3430,19 +3430,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required Type Type` - - `ToolSearchToolRegex20251119` + - `ToolSearchToolRegex20251119("tool_search_tool_regex_20251119")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `BetaCacheControlEphemeral? CacheControl` @@ -3469,7 +3469,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 255, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "mcp_toolset"` - `BetaCacheControlEphemeral? CacheControl` @@ -3495,93 +3495,93 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` - `string userProfileID` @@ -3669,9 +3669,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -3734,7 +3734,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class BetaCitationPageLocation:` @@ -3754,7 +3754,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -3784,7 +3784,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -3796,7 +3796,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -3832,13 +3832,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class BetaThinkingBlock:` @@ -3854,7 +3854,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -3866,7 +3866,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -3880,7 +3880,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `Caller Caller` @@ -3890,7 +3890,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class BetaServerToolCaller:` @@ -3900,7 +3900,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -3908,7 +3908,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -3926,23 +3926,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required Name Name` - - `Advisor` + - `Advisor("advisor")` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `Caller Caller` @@ -3966,19 +3966,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required BetaWebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -3988,7 +3988,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -3996,7 +3996,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `Caller Caller` @@ -4020,25 +4020,25 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required BetaWebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -4058,29 +4058,29 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class BetaPlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -4090,7 +4090,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `Caller Caller` @@ -4114,21 +4114,21 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ErrorCode ErrorCode` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `PromptTooLong` + - `PromptTooLong("prompt_too_long")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `Overloaded` + - `Overloaded("overloaded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `ModelNotFound` + - `ModelNotFound("model_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -4138,7 +4138,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -4150,13 +4150,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonElement Type constant` + - `JsonElement Type = "advisor_redacted_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -4168,15 +4168,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required BetaCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -4184,7 +4184,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -4192,7 +4192,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -4202,7 +4202,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -4210,13 +4210,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -4226,17 +4226,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -4244,7 +4244,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -4252,13 +4252,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -4268,19 +4268,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -4288,11 +4288,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -4300,13 +4300,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -4320,13 +4320,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -4336,17 +4336,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -4356,15 +4356,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -4382,7 +4382,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The name of the MCP server - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -4402,7 +4402,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required bool IsError` @@ -4410,7 +4410,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -4418,7 +4418,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `class BetaCompactionBlock:` @@ -4436,7 +4436,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` - `class BetaFallbackBlock:` @@ -4462,71 +4462,71 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -4542,29 +4542,29 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - - `JsonElement Type constant` + - `JsonElement Type = "fallback"` - `required BetaContextManagementResponse? ContextManagement` @@ -4590,7 +4590,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -4608,7 +4608,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "clear_thinking_20251015"` The type of context management edit applied. @@ -4627,7 +4627,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -4635,7 +4635,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -4643,7 +4643,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -4651,15 +4651,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonElement Type constant` + - `JsonElement Type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonElement Type constant` + - `JsonElement Type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonElement Type constant` + - `JsonElement Type = "unavailable"` - `required Model Model` @@ -4667,7 +4667,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonElement Role constant` + - `JsonElement Role = "assistant"` Conversational role of the generated message. @@ -4681,23 +4681,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -4756,7 +4756,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - `required BetaStopReason? StopReason` @@ -4774,21 +4774,21 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co In non-streaming mode this value is always non-null. In streaming mode, it is null in the `message_start` event and non-null otherwise. - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Compaction` + - `Compaction("compaction")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` - `required string? StopSequence` @@ -4796,7 +4796,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonElement Type constant` + - `JsonElement Type = "message"` Object type. @@ -4860,7 +4860,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonElement Type constant` + - `JsonElement Type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -4873,31 +4873,31 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co A closed enum; additions to the redemption-check vocabulary arrive as deliberate schema updates. - - `BodyMismatch` + - `BodyMismatch("body_mismatch")` - - `ContinuationExcluded` + - `ContinuationExcluded("continuation_excluded")` - - `ContinuationOnly` + - `ContinuationOnly("continuation_only")` - - `Expired` + - `Expired("expired")` - - `InvalidTargetModel` + - `InvalidTargetModel("invalid_target_model")` - - `NotEnabled` + - `NotEnabled("not_enabled")` - - `RepriceUnavailable` + - `RepriceUnavailable("reprice_unavailable")` - - `TemporarilyUnavailable` + - `TemporarilyUnavailable("temporarily_unavailable")` - - `VariantFieldsPresent` + - `VariantFieldsPresent("variant_fields_present")` - - `WrongOrganization` + - `WrongOrganization("wrong_organization")` - - `WrongPlatform` + - `WrongPlatform("wrong_platform")` - - `WrongWorkspace` + - `WrongWorkspace("wrong_workspace")` - - `JsonElement Type constant` + - `JsonElement Type = "not_applied"` - `IReadOnlyList? RemoveToRedeem` @@ -4970,7 +4970,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "message"` Usage for a sampling iteration @@ -5006,7 +5006,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "compaction"` Usage for a compaction iteration @@ -5048,7 +5048,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -5095,7 +5095,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -5147,19 +5147,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co If the request used the priority, standard, or batch tier. - - `Standard` + - `Standard("standard")` - - `Priority` + - `Priority("priority")` - - `Batch` + - `Batch("batch")` - `required Speed? Speed` Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `IReadOnlyList? InputTransformations` @@ -5201,15 +5201,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co `organization_binding_mismatch`, `end_user_binding_mismatch`, `model_binding_mismatch`, `prefix_binding_mismatch`. - - `ModelBindingMismatch` + - `ModelBindingMismatch("model_binding_mismatch")` - - `PrefixBindingMismatch` + - `PrefixBindingMismatch("prefix_binding_mismatch")` - - `OrganizationBindingMismatch` + - `OrganizationBindingMismatch("organization_binding_mismatch")` - - `EndUserBindingMismatch` + - `EndUserBindingMismatch("end_user_binding_mismatch")` - - `JsonElement Type constant` + - `JsonElement Type = "thinking_dropped"` Always `thinking_dropped` for this entry type. @@ -5219,7 +5219,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required BetaMessage Message` - - `JsonElement Type constant` + - `JsonElement Type = "message_start"` - `class BetaRawMessageDeltaEvent:` @@ -5241,7 +5241,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string? StopSequence` - - `JsonElement Type constant` + - `JsonElement Type = "message_delta"` - `required BetaMessageDeltaUsage Usage` @@ -5367,13 +5367,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co `organization_binding_mismatch`, `end_user_binding_mismatch`, `model_binding_mismatch`, `prefix_binding_mismatch`. - - `JsonElement Type constant` + - `JsonElement Type = "thinking_dropped"` Always `thinking_dropped` for this entry type. - `class BetaRawMessageStopEvent:` - - `JsonElement Type constant` + - `JsonElement Type = "message_stop"` - `class BetaRawContentBlockStartEvent:` @@ -5437,7 +5437,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required long Index` - - `JsonElement Type constant` + - `JsonElement Type = "content_block_start"` - `class BetaRawContentBlockDeltaEvent:` @@ -5447,13 +5447,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "text_delta"` - `class BetaInputJsonDelta:` - `required string PartialJson` - - `JsonElement Type constant` + - `JsonElement Type = "input_json_delta"` - `class BetaCitationsDelta:` @@ -5469,7 +5469,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaCitationSearchResultLocation:` - - `JsonElement Type constant` + - `JsonElement Type = "citations_delta"` - `class BetaThinkingDelta:` @@ -5481,7 +5481,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The incremental `thinking` text for this content block. Concatenate the `thinking` values of successive `thinking_delta` events to assemble the block's full `thinking` value. - - `JsonElement Type constant` + - `JsonElement Type = "thinking_delta"` - `class BetaSignatureDelta:` @@ -5489,7 +5489,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `signature` for this thinking block: an opaque value used to verify that the block was generated by Claude when it is passed back to the API. Delivered in a `signature_delta` event just before the block's `content_block_stop` event. - - `JsonElement Type constant` + - `JsonElement Type = "signature_delta"` - `class BetaCompactionContentBlockDelta:` @@ -5499,17 +5499,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonElement Type constant` + - `JsonElement Type = "compaction_delta"` - `required long Index` - - `JsonElement Type constant` + - `JsonElement Type = "content_block_delta"` - `class BetaRawContentBlockStopEvent:` - `required long Index` - - `JsonElement Type constant` + - `JsonElement Type = "content_block_stop"` ## Example diff --git a/content/en/api/csharp/beta/models.md b/content/en/api/csharp/beta/models.md index e1acbac85d..33ba2c5125 100644 --- a/content/en/api/csharp/beta/models.md +++ b/content/en/api/csharp/beta/models.md @@ -34,93 +34,93 @@ The Models API response can be used to determine which models are available for Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -252,7 +252,7 @@ The Models API response can be used to determine which models are available for Maximum value for the `max_tokens` parameter when using this model. - - `JsonElement Type constant` + - `JsonElement Type = "model"` Object type. @@ -376,93 +376,93 @@ The Models API response can be used to determine information about a specific mo Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -594,7 +594,7 @@ The Models API response can be used to determine information about a specific mo Maximum value for the `max_tokens` parameter when using this model. - - `JsonElement Type constant` + - `JsonElement Type = "model"` Object type. @@ -991,7 +991,7 @@ Console.WriteLine(betaModelInfo); Maximum value for the `max_tokens` parameter when using this model. - - `JsonElement Type constant` + - `JsonElement Type = "model"` Object type. diff --git a/content/en/api/csharp/beta/models/list.md b/content/en/api/csharp/beta/models/list.md index a519c321d4..bb0665a9bb 100644 --- a/content/en/api/csharp/beta/models/list.md +++ b/content/en/api/csharp/beta/models/list.md @@ -32,93 +32,93 @@ The Models API response can be used to determine which models are available for Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -250,7 +250,7 @@ The Models API response can be used to determine which models are available for Maximum value for the `max_tokens` parameter when using this model. - - `JsonElement Type constant` + - `JsonElement Type = "model"` Object type. diff --git a/content/en/api/csharp/beta/models/retrieve.md b/content/en/api/csharp/beta/models/retrieve.md index 345592b814..ba4c56b7d2 100644 --- a/content/en/api/csharp/beta/models/retrieve.md +++ b/content/en/api/csharp/beta/models/retrieve.md @@ -20,93 +20,93 @@ The Models API response can be used to determine information about a specific mo Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -238,7 +238,7 @@ The Models API response can be used to determine information about a specific mo Maximum value for the `max_tokens` parameter when using this model. - - `JsonElement Type constant` + - `JsonElement Type = "model"` Object type. diff --git a/content/en/api/csharp/beta/sessions.md b/content/en/api/csharp/beta/sessions.md index 9747a6b885..5b072177c0 100644 --- a/content/en/api/csharp/beta/sessions.md +++ b/content/en/api/csharp/beta/sessions.md @@ -76,59 +76,59 @@ Create Session See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -142,59 +142,59 @@ Create Session See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -206,15 +206,15 @@ Create Session How hard Claude works on each turn. Higher levels favor reasoning depth over latency. Not all models accept every level; invalid combinations are rejected at create time. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `class BetaManagedAgentsEffortLow:` @@ -254,9 +254,9 @@ Create Session Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `IReadOnlyList Skills` @@ -322,7 +322,7 @@ Create Session Configuration override for the bash tool. - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Must be "bash". @@ -352,7 +352,7 @@ Create Session Configuration override for the edit tool. - - `JsonElement Name constant` + - `JsonElement Name = "edit"` Must be "edit". @@ -378,7 +378,7 @@ Create Session Configuration override for the read tool. - - `JsonElement Name constant` + - `JsonElement Name = "read"` Must be "read". @@ -404,7 +404,7 @@ Create Session Configuration override for the write tool. - - `JsonElement Name constant` + - `JsonElement Name = "write"` Must be "write". @@ -430,7 +430,7 @@ Create Session Configuration override for the glob tool. - - `JsonElement Name constant` + - `JsonElement Name = "glob"` Must be "glob". @@ -456,7 +456,7 @@ Create Session Configuration override for the grep tool. - - `JsonElement Name constant` + - `JsonElement Name = "grep"` Must be "grep". @@ -482,7 +482,7 @@ Create Session Configuration override for the web_fetch tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Must be "web_fetch". @@ -522,7 +522,7 @@ Create Session Configuration override for the web_search tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Must be "web_search". @@ -556,7 +556,7 @@ Create Session Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -674,7 +674,7 @@ Create Session JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -994,9 +994,9 @@ Create Session Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -1018,93 +1018,93 @@ Create Session Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -1140,59 +1140,59 @@ Create Session See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -1238,9 +1238,9 @@ Create Session Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -1308,7 +1308,7 @@ Create Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -1326,7 +1326,7 @@ Create Session - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -1334,7 +1334,7 @@ Create Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -1348,7 +1348,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -1356,7 +1356,7 @@ Create Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -1370,7 +1370,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -1378,7 +1378,7 @@ Create Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -1392,7 +1392,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -1400,7 +1400,7 @@ Create Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -1414,7 +1414,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -1422,7 +1422,7 @@ Create Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -1436,7 +1436,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -1444,7 +1444,7 @@ Create Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -1458,7 +1458,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -1474,7 +1474,7 @@ Create Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -1488,7 +1488,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -1498,7 +1498,7 @@ Create Session Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -1596,7 +1596,7 @@ Create Session JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -1804,9 +1804,9 @@ Create Session Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` @@ -1846,13 +1846,13 @@ Create Session SessionStatus enum - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Terminated` + - `Terminated("terminated")` - `required string? Title` @@ -2212,9 +2212,9 @@ List Sessions Query param: Sort direction for results, ordered by `created_at`. Defaults to `desc` (newest first). - - `Asc` + - `Asc("asc")` - - `Desc` + - `Desc("desc")` - `string page` @@ -2224,105 +2224,105 @@ List Sessions Query param: Filter by session status. Repeat the parameter to match any of multiple statuses. - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Terminated` + - `Terminated("terminated")` - `IReadOnlyList betas` Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -2358,59 +2358,59 @@ List Sessions See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -2456,9 +2456,9 @@ List Sessions Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -2526,7 +2526,7 @@ List Sessions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -2544,7 +2544,7 @@ List Sessions - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -2552,7 +2552,7 @@ List Sessions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -2566,7 +2566,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -2574,7 +2574,7 @@ List Sessions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -2588,7 +2588,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -2596,7 +2596,7 @@ List Sessions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -2610,7 +2610,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -2618,7 +2618,7 @@ List Sessions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -2632,7 +2632,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -2640,7 +2640,7 @@ List Sessions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -2654,7 +2654,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -2662,7 +2662,7 @@ List Sessions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -2676,7 +2676,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -2692,7 +2692,7 @@ List Sessions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -2706,7 +2706,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -2716,7 +2716,7 @@ List Sessions Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -2814,7 +2814,7 @@ List Sessions JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -3022,9 +3022,9 @@ List Sessions Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` @@ -3064,13 +3064,13 @@ List Sessions SessionStatus enum - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Terminated` + - `Terminated("terminated")` - `required string? Title` @@ -3386,93 +3386,93 @@ Get Session Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -3508,59 +3508,59 @@ Get Session See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -3606,9 +3606,9 @@ Get Session Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -3676,7 +3676,7 @@ Get Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -3694,7 +3694,7 @@ Get Session - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -3702,7 +3702,7 @@ Get Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -3716,7 +3716,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -3724,7 +3724,7 @@ Get Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -3738,7 +3738,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -3746,7 +3746,7 @@ Get Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -3760,7 +3760,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -3768,7 +3768,7 @@ Get Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -3782,7 +3782,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -3790,7 +3790,7 @@ Get Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -3804,7 +3804,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -3812,7 +3812,7 @@ Get Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -3826,7 +3826,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -3842,7 +3842,7 @@ Get Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -3856,7 +3856,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -3866,7 +3866,7 @@ Get Session Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -3964,7 +3964,7 @@ Get Session JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -4172,9 +4172,9 @@ Get Session Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` @@ -4214,13 +4214,13 @@ Get Session SessionStatus enum - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Terminated` + - `Terminated("terminated")` - `required string? Title` @@ -4553,93 +4553,93 @@ Update Session Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -4675,59 +4675,59 @@ Update Session See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -4773,9 +4773,9 @@ Update Session Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -4843,7 +4843,7 @@ Update Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -4861,7 +4861,7 @@ Update Session - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -4869,7 +4869,7 @@ Update Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -4883,7 +4883,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -4891,7 +4891,7 @@ Update Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -4905,7 +4905,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -4913,7 +4913,7 @@ Update Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -4927,7 +4927,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -4935,7 +4935,7 @@ Update Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -4949,7 +4949,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -4957,7 +4957,7 @@ Update Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -4971,7 +4971,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -4979,7 +4979,7 @@ Update Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -4993,7 +4993,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -5009,7 +5009,7 @@ Update Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -5023,7 +5023,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -5033,7 +5033,7 @@ Update Session Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -5131,7 +5131,7 @@ Update Session JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -5339,9 +5339,9 @@ Update Session Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` @@ -5381,13 +5381,13 @@ Update Session SessionStatus enum - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Terminated` + - `Terminated("terminated")` - `required string? Title` @@ -5698,93 +5698,93 @@ Delete Session Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -5838,93 +5838,93 @@ Archive Session Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -5960,59 +5960,59 @@ Archive Session See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -6058,9 +6058,9 @@ Archive Session Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -6128,7 +6128,7 @@ Archive Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -6146,7 +6146,7 @@ Archive Session - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -6154,7 +6154,7 @@ Archive Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -6168,7 +6168,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -6176,7 +6176,7 @@ Archive Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -6190,7 +6190,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -6198,7 +6198,7 @@ Archive Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -6212,7 +6212,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -6220,7 +6220,7 @@ Archive Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -6234,7 +6234,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -6242,7 +6242,7 @@ Archive Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -6256,7 +6256,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -6264,7 +6264,7 @@ Archive Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -6278,7 +6278,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -6294,7 +6294,7 @@ Archive Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -6308,7 +6308,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -6318,7 +6318,7 @@ Archive Session Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -6416,7 +6416,7 @@ Archive Session JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -6624,9 +6624,9 @@ Archive Session Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` @@ -6666,13 +6666,13 @@ Archive Session SessionStatus enum - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Terminated` + - `Terminated("terminated")` - `required string? Title` @@ -7061,59 +7061,59 @@ Console.WriteLine(betaManagedAgentsSession); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -7127,59 +7127,59 @@ Console.WriteLine(betaManagedAgentsSession); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -7191,15 +7191,15 @@ Console.WriteLine(betaManagedAgentsSession); How hard Claude works on each turn. Higher levels favor reasoning depth over latency. Not all models accept every level; invalid combinations are rejected at create time. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `class BetaManagedAgentsEffortLow:` @@ -7239,9 +7239,9 @@ Console.WriteLine(betaManagedAgentsSession); Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `IReadOnlyList Skills` @@ -7307,7 +7307,7 @@ Console.WriteLine(betaManagedAgentsSession); Configuration override for the bash tool. - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Must be "bash". @@ -7337,7 +7337,7 @@ Console.WriteLine(betaManagedAgentsSession); Configuration override for the edit tool. - - `JsonElement Name constant` + - `JsonElement Name = "edit"` Must be "edit". @@ -7363,7 +7363,7 @@ Console.WriteLine(betaManagedAgentsSession); Configuration override for the read tool. - - `JsonElement Name constant` + - `JsonElement Name = "read"` Must be "read". @@ -7389,7 +7389,7 @@ Console.WriteLine(betaManagedAgentsSession); Configuration override for the write tool. - - `JsonElement Name constant` + - `JsonElement Name = "write"` Must be "write". @@ -7415,7 +7415,7 @@ Console.WriteLine(betaManagedAgentsSession); Configuration override for the glob tool. - - `JsonElement Name constant` + - `JsonElement Name = "glob"` Must be "glob". @@ -7441,7 +7441,7 @@ Console.WriteLine(betaManagedAgentsSession); Configuration override for the grep tool. - - `JsonElement Name constant` + - `JsonElement Name = "grep"` Must be "grep". @@ -7467,7 +7467,7 @@ Console.WriteLine(betaManagedAgentsSession); Configuration override for the web_fetch tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Must be "web_fetch". @@ -7507,7 +7507,7 @@ Console.WriteLine(betaManagedAgentsSession); Configuration override for the web_search tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Must be "web_search". @@ -7541,7 +7541,7 @@ Console.WriteLine(betaManagedAgentsSession); Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -7659,7 +7659,7 @@ Console.WriteLine(betaManagedAgentsSession); JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -7817,9 +7817,9 @@ Console.WriteLine(betaManagedAgentsSession); EventDeltaType enum - - `AgentMessage` + - `AgentMessage("agent.message")` - - `AgentThinking` + - `AgentThinking("agent.thinking")` ### Beta Managed Agents File Resource Params @@ -7907,9 +7907,9 @@ Console.WriteLine(betaManagedAgentsSession); Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -8133,59 +8133,59 @@ Console.WriteLine(betaManagedAgentsSession); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -8231,9 +8231,9 @@ Console.WriteLine(betaManagedAgentsSession); Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -8301,7 +8301,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -8319,7 +8319,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -8327,7 +8327,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -8341,7 +8341,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -8349,7 +8349,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -8363,7 +8363,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -8371,7 +8371,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -8385,7 +8385,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -8393,7 +8393,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -8407,7 +8407,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -8415,7 +8415,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -8429,7 +8429,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -8437,7 +8437,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -8451,7 +8451,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -8467,7 +8467,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -8481,7 +8481,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -8491,7 +8491,7 @@ Console.WriteLine(betaManagedAgentsSession); Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -8589,7 +8589,7 @@ Console.WriteLine(betaManagedAgentsSession); JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -8797,9 +8797,9 @@ Console.WriteLine(betaManagedAgentsSession); Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` @@ -8839,13 +8839,13 @@ Console.WriteLine(betaManagedAgentsSession); SessionStatus enum - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Terminated` + - `Terminated("terminated")` - `required string? Title` @@ -8957,59 +8957,59 @@ Console.WriteLine(betaManagedAgentsSession); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -9055,9 +9055,9 @@ Console.WriteLine(betaManagedAgentsSession); Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -9125,7 +9125,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -9143,7 +9143,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -9151,7 +9151,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -9165,7 +9165,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -9173,7 +9173,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -9187,7 +9187,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -9195,7 +9195,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -9209,7 +9209,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -9217,7 +9217,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -9231,7 +9231,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -9239,7 +9239,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -9253,7 +9253,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -9261,7 +9261,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -9275,7 +9275,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -9291,7 +9291,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -9305,7 +9305,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -9315,7 +9315,7 @@ Console.WriteLine(betaManagedAgentsSession); Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -9413,7 +9413,7 @@ Console.WriteLine(betaManagedAgentsSession); JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -9513,7 +9513,7 @@ Console.WriteLine(betaManagedAgentsSession); Configuration override for the bash tool. - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Must be "bash". @@ -9543,7 +9543,7 @@ Console.WriteLine(betaManagedAgentsSession); Configuration override for the edit tool. - - `JsonElement Name constant` + - `JsonElement Name = "edit"` Must be "edit". @@ -9569,7 +9569,7 @@ Console.WriteLine(betaManagedAgentsSession); Configuration override for the read tool. - - `JsonElement Name constant` + - `JsonElement Name = "read"` Must be "read". @@ -9595,7 +9595,7 @@ Console.WriteLine(betaManagedAgentsSession); Configuration override for the write tool. - - `JsonElement Name constant` + - `JsonElement Name = "write"` Must be "write". @@ -9621,7 +9621,7 @@ Console.WriteLine(betaManagedAgentsSession); Configuration override for the glob tool. - - `JsonElement Name constant` + - `JsonElement Name = "glob"` Must be "glob". @@ -9647,7 +9647,7 @@ Console.WriteLine(betaManagedAgentsSession); Configuration override for the grep tool. - - `JsonElement Name constant` + - `JsonElement Name = "grep"` Must be "grep". @@ -9673,7 +9673,7 @@ Console.WriteLine(betaManagedAgentsSession); Configuration override for the web_fetch tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Must be "web_fetch". @@ -9713,7 +9713,7 @@ Console.WriteLine(betaManagedAgentsSession); Configuration override for the web_search tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Must be "web_search". @@ -9747,7 +9747,7 @@ Console.WriteLine(betaManagedAgentsSession); Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -9865,7 +9865,7 @@ Console.WriteLine(betaManagedAgentsSession); JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -9915,59 +9915,59 @@ Console.WriteLine(betaManagedAgentsSession); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -10013,9 +10013,9 @@ Console.WriteLine(betaManagedAgentsSession); Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required string Name` @@ -10055,7 +10055,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -10073,7 +10073,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -10081,7 +10081,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -10095,7 +10095,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -10103,7 +10103,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -10117,7 +10117,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -10125,7 +10125,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -10139,7 +10139,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -10147,7 +10147,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -10161,7 +10161,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -10169,7 +10169,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -10183,7 +10183,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -10191,7 +10191,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -10205,7 +10205,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -10221,7 +10221,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -10235,7 +10235,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -10245,7 +10245,7 @@ Console.WriteLine(betaManagedAgentsSession); Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -10343,7 +10343,7 @@ Console.WriteLine(betaManagedAgentsSession); JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -10433,59 +10433,59 @@ Console.WriteLine(betaManagedAgentsSession); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -10531,9 +10531,9 @@ Console.WriteLine(betaManagedAgentsSession); Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -10601,7 +10601,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -10619,7 +10619,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -10627,7 +10627,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -10641,7 +10641,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -10649,7 +10649,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -10663,7 +10663,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -10671,7 +10671,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -10685,7 +10685,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -10693,7 +10693,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -10707,7 +10707,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -10715,7 +10715,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -10729,7 +10729,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -10737,7 +10737,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -10751,7 +10751,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -10767,7 +10767,7 @@ Console.WriteLine(betaManagedAgentsSession); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -10781,7 +10781,7 @@ Console.WriteLine(betaManagedAgentsSession); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -10791,7 +10791,7 @@ Console.WriteLine(betaManagedAgentsSession); Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -10889,7 +10889,7 @@ Console.WriteLine(betaManagedAgentsSession); JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -11503,9 +11503,9 @@ List Events Query param: Sort direction for results, ordered by the event's `processed_at`. Defaults to `asc` (chronological). - - `Asc` + - `Asc("asc")` - - `Desc` + - `Desc("desc")` - `string page` @@ -11519,93 +11519,93 @@ List Events Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -11811,9 +11811,9 @@ List Events UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -12023,11 +12023,11 @@ List Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -12105,11 +12105,11 @@ List Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -12729,9 +12729,9 @@ List Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `class BetaManagedAgentsSpanModelRequestStartEvent:` @@ -13079,59 +13079,59 @@ List Events See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -13177,9 +13177,9 @@ List Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -13247,7 +13247,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -13265,7 +13265,7 @@ List Events - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -13273,7 +13273,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -13287,7 +13287,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -13295,7 +13295,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -13309,7 +13309,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -13317,7 +13317,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -13331,7 +13331,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -13339,7 +13339,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -13353,7 +13353,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -13361,7 +13361,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -13375,7 +13375,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -13383,7 +13383,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -13397,7 +13397,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -13413,7 +13413,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -13427,7 +13427,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -13437,7 +13437,7 @@ List Events Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -13535,7 +13535,7 @@ List Events JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -13972,9 +13972,9 @@ Send Events UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -14160,93 +14160,93 @@ Send Events Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -14456,9 +14456,9 @@ Send Events UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -14762,101 +14762,101 @@ Stream Events Query param: When set, this connection also receives streaming deltas (`event_start`, `event_delta`) while an event is being produced, before the event itself arrives. Deltas are best-effort; when the final event is produced it carries the complete content. A model request that ends early (an error or interrupt) produces no final event — its terminal `span.model_request_end` closes the preview. Accepts one or more event types to preview and may be repeated: `agent.message` streams `content_delta` fragments; `agent.thinking` is start-only — a signal that the agent has begun extended thinking, concluded by the `agent.thinking` event itself. Only previews of the requested event types are sent. - - `AgentMessage` + - `AgentMessage("agent.message")` - - `AgentThinking` + - `AgentThinking("agent.thinking")` - `IReadOnlyList betas` Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -15062,9 +15062,9 @@ Stream Events UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -15274,11 +15274,11 @@ Stream Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -15356,11 +15356,11 @@ Stream Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -15980,9 +15980,9 @@ Stream Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `class BetaManagedAgentsSpanModelRequestStartEvent:` @@ -16330,59 +16330,59 @@ Stream Events See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -16428,9 +16428,9 @@ Stream Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -16498,7 +16498,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -16516,7 +16516,7 @@ Stream Events - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -16524,7 +16524,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -16538,7 +16538,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -16546,7 +16546,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -16560,7 +16560,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -16568,7 +16568,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -16582,7 +16582,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -16590,7 +16590,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -16604,7 +16604,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -16612,7 +16612,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -16626,7 +16626,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -16634,7 +16634,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -16648,7 +16648,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -16664,7 +16664,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -16678,7 +16678,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -16688,7 +16688,7 @@ Stream Events Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -16786,7 +16786,7 @@ Stream Events JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -17096,7 +17096,7 @@ Add Session Resource Body param - - `File` + - `File("file")` - `string? mountPath` @@ -17108,93 +17108,93 @@ Add Session Resource Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -17278,93 +17278,93 @@ List Session Resources Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -17452,9 +17452,9 @@ List Session Resources Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` @@ -17543,93 +17543,93 @@ Get Session Resource Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -17717,9 +17717,9 @@ Get Session Resource Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` @@ -17800,93 +17800,93 @@ Update Session Resource Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -17974,9 +17974,9 @@ Update Session Resource Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` @@ -18052,93 +18052,93 @@ Delete Session Resource Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -18205,93 +18205,93 @@ List Session Threads Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -18333,59 +18333,59 @@ List Session Threads See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -18431,9 +18431,9 @@ List Session Threads Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required string Name` @@ -18473,7 +18473,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -18491,7 +18491,7 @@ List Session Threads - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -18499,7 +18499,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -18513,7 +18513,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -18521,7 +18521,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -18535,7 +18535,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -18543,7 +18543,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -18557,7 +18557,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -18565,7 +18565,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -18579,7 +18579,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -18587,7 +18587,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -18601,7 +18601,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -18609,7 +18609,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -18623,7 +18623,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -18639,7 +18639,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -18653,7 +18653,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -18663,7 +18663,7 @@ List Session Threads Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -18761,7 +18761,7 @@ List Session Threads JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -18833,13 +18833,13 @@ List Session Threads SessionThreadStatus enum - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Terminated` + - `Terminated("terminated")` - `required Type Type` @@ -19054,93 +19054,93 @@ Get Session Thread Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -19182,59 +19182,59 @@ Get Session Thread See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -19280,9 +19280,9 @@ Get Session Thread Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required string Name` @@ -19322,7 +19322,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -19340,7 +19340,7 @@ Get Session Thread - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -19348,7 +19348,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -19362,7 +19362,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -19370,7 +19370,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -19384,7 +19384,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -19392,7 +19392,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -19406,7 +19406,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -19414,7 +19414,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -19428,7 +19428,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -19436,7 +19436,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -19450,7 +19450,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -19458,7 +19458,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -19472,7 +19472,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -19488,7 +19488,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -19502,7 +19502,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -19512,7 +19512,7 @@ Get Session Thread Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -19610,7 +19610,7 @@ Get Session Thread JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -19682,13 +19682,13 @@ Get Session Thread SessionThreadStatus enum - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Terminated` + - `Terminated("terminated")` - `required Type Type` @@ -19897,93 +19897,93 @@ Archive Session Thread Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -20025,59 +20025,59 @@ Archive Session Thread See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -20123,9 +20123,9 @@ Archive Session Thread Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required string Name` @@ -20165,7 +20165,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -20183,7 +20183,7 @@ Archive Session Thread - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -20191,7 +20191,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -20205,7 +20205,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -20213,7 +20213,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -20227,7 +20227,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -20235,7 +20235,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -20249,7 +20249,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -20257,7 +20257,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -20271,7 +20271,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -20279,7 +20279,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -20293,7 +20293,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -20301,7 +20301,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -20315,7 +20315,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -20331,7 +20331,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -20345,7 +20345,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -20355,7 +20355,7 @@ Archive Session Thread Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -20453,7 +20453,7 @@ Archive Session Thread JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -20525,13 +20525,13 @@ Archive Session Thread SessionThreadStatus enum - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Terminated` + - `Terminated("terminated")` - `required Type Type` @@ -20752,93 +20752,93 @@ List Session Thread Events Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -21044,9 +21044,9 @@ List Session Thread Events UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -21256,11 +21256,11 @@ List Session Thread Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -21338,11 +21338,11 @@ List Session Thread Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -21962,9 +21962,9 @@ List Session Thread Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `class BetaManagedAgentsSpanModelRequestStartEvent:` @@ -22312,59 +22312,59 @@ List Session Thread Events See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -22410,9 +22410,9 @@ List Session Thread Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -22480,7 +22480,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -22498,7 +22498,7 @@ List Session Thread Events - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -22506,7 +22506,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -22520,7 +22520,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -22528,7 +22528,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -22542,7 +22542,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -22550,7 +22550,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -22564,7 +22564,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -22572,7 +22572,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -22586,7 +22586,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -22594,7 +22594,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -22608,7 +22608,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -22616,7 +22616,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -22630,7 +22630,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -22646,7 +22646,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -22660,7 +22660,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -22670,7 +22670,7 @@ List Session Thread Events Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -22768,7 +22768,7 @@ List Session Thread Events JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -23025,101 +23025,101 @@ Stream Session Thread Events Query param: When set, this connection also receives streaming deltas (`event_start`, `event_delta`) while an event is being produced, before the event itself arrives. Deltas are best-effort; when the final event is produced it carries the complete content. A model request that ends early (an error or interrupt) produces no final event — its terminal `span.model_request_end` closes the preview. Accepts one or more event types to preview and may be repeated: `agent.message` streams `content_delta` fragments; `agent.thinking` is start-only — a signal that the agent has begun extended thinking, concluded by the `agent.thinking` event itself. Only previews of the requested event types are sent. - - `AgentMessage` + - `AgentMessage("agent.message")` - - `AgentThinking` + - `AgentThinking("agent.thinking")` - `IReadOnlyList betas` Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -23325,9 +23325,9 @@ Stream Session Thread Events UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -23537,11 +23537,11 @@ Stream Session Thread Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -23619,11 +23619,11 @@ Stream Session Thread Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -24243,9 +24243,9 @@ Stream Session Thread Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `class BetaManagedAgentsSpanModelRequestStartEvent:` @@ -24593,59 +24593,59 @@ Stream Session Thread Events See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -24691,9 +24691,9 @@ Stream Session Thread Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -24761,7 +24761,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -24779,7 +24779,7 @@ Stream Session Thread Events - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -24787,7 +24787,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -24801,7 +24801,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -24809,7 +24809,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -24823,7 +24823,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -24831,7 +24831,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -24845,7 +24845,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -24853,7 +24853,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -24867,7 +24867,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -24875,7 +24875,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -24889,7 +24889,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -24897,7 +24897,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -24911,7 +24911,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -24927,7 +24927,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -24941,7 +24941,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -24951,7 +24951,7 @@ Stream Session Thread Events Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -25049,7 +25049,7 @@ Stream Session Thread Events JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` diff --git a/content/en/api/csharp/beta/sessions/archive.md b/content/en/api/csharp/beta/sessions/archive.md index 7909ceda61..5cf04683c2 100644 --- a/content/en/api/csharp/beta/sessions/archive.md +++ b/content/en/api/csharp/beta/sessions/archive.md @@ -18,93 +18,93 @@ Archive Session Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -140,59 +140,59 @@ Archive Session See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -238,9 +238,9 @@ Archive Session Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -308,7 +308,7 @@ Archive Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -326,7 +326,7 @@ Archive Session - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -334,7 +334,7 @@ Archive Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -348,7 +348,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -356,7 +356,7 @@ Archive Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -370,7 +370,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -378,7 +378,7 @@ Archive Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -392,7 +392,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -400,7 +400,7 @@ Archive Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -414,7 +414,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -422,7 +422,7 @@ Archive Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -436,7 +436,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -444,7 +444,7 @@ Archive Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -458,7 +458,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -474,7 +474,7 @@ Archive Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -488,7 +488,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -498,7 +498,7 @@ Archive Session Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -596,7 +596,7 @@ Archive Session JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -804,9 +804,9 @@ Archive Session Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` @@ -846,13 +846,13 @@ Archive Session SessionStatus enum - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Terminated` + - `Terminated("terminated")` - `required string? Title` diff --git a/content/en/api/csharp/beta/sessions/create.md b/content/en/api/csharp/beta/sessions/create.md index 68a58c4d7c..1b3501247a 100644 --- a/content/en/api/csharp/beta/sessions/create.md +++ b/content/en/api/csharp/beta/sessions/create.md @@ -74,59 +74,59 @@ Create Session See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -140,59 +140,59 @@ Create Session See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -204,15 +204,15 @@ Create Session How hard Claude works on each turn. Higher levels favor reasoning depth over latency. Not all models accept every level; invalid combinations are rejected at create time. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `class BetaManagedAgentsEffortLow:` @@ -252,9 +252,9 @@ Create Session Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `IReadOnlyList Skills` @@ -320,7 +320,7 @@ Create Session Configuration override for the bash tool. - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Must be "bash". @@ -350,7 +350,7 @@ Create Session Configuration override for the edit tool. - - `JsonElement Name constant` + - `JsonElement Name = "edit"` Must be "edit". @@ -376,7 +376,7 @@ Create Session Configuration override for the read tool. - - `JsonElement Name constant` + - `JsonElement Name = "read"` Must be "read". @@ -402,7 +402,7 @@ Create Session Configuration override for the write tool. - - `JsonElement Name constant` + - `JsonElement Name = "write"` Must be "write". @@ -428,7 +428,7 @@ Create Session Configuration override for the glob tool. - - `JsonElement Name constant` + - `JsonElement Name = "glob"` Must be "glob". @@ -454,7 +454,7 @@ Create Session Configuration override for the grep tool. - - `JsonElement Name constant` + - `JsonElement Name = "grep"` Must be "grep". @@ -480,7 +480,7 @@ Create Session Configuration override for the web_fetch tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Must be "web_fetch". @@ -520,7 +520,7 @@ Create Session Configuration override for the web_search tool. - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Must be "web_search". @@ -554,7 +554,7 @@ Create Session Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -672,7 +672,7 @@ Create Session JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -992,9 +992,9 @@ Create Session Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string? Instructions` @@ -1016,93 +1016,93 @@ Create Session Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -1138,59 +1138,59 @@ Create Session See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -1236,9 +1236,9 @@ Create Session Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -1306,7 +1306,7 @@ Create Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -1324,7 +1324,7 @@ Create Session - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -1332,7 +1332,7 @@ Create Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -1346,7 +1346,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -1354,7 +1354,7 @@ Create Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -1368,7 +1368,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -1376,7 +1376,7 @@ Create Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -1390,7 +1390,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -1398,7 +1398,7 @@ Create Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -1412,7 +1412,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -1420,7 +1420,7 @@ Create Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -1434,7 +1434,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -1442,7 +1442,7 @@ Create Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -1456,7 +1456,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -1472,7 +1472,7 @@ Create Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -1486,7 +1486,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -1496,7 +1496,7 @@ Create Session Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -1594,7 +1594,7 @@ Create Session JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -1802,9 +1802,9 @@ Create Session Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` @@ -1844,13 +1844,13 @@ Create Session SessionStatus enum - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Terminated` + - `Terminated("terminated")` - `required string? Title` diff --git a/content/en/api/csharp/beta/sessions/delete.md b/content/en/api/csharp/beta/sessions/delete.md index 5133fd299c..fe0ca5e1e6 100644 --- a/content/en/api/csharp/beta/sessions/delete.md +++ b/content/en/api/csharp/beta/sessions/delete.md @@ -18,93 +18,93 @@ Delete Session Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/sessions/events.md b/content/en/api/csharp/beta/sessions/events.md index 43519ef30c..ff63df9a4e 100644 --- a/content/en/api/csharp/beta/sessions/events.md +++ b/content/en/api/csharp/beta/sessions/events.md @@ -50,9 +50,9 @@ List Events Query param: Sort direction for results, ordered by the event's `processed_at`. Defaults to `asc` (chronological). - - `Asc` + - `Asc("asc")` - - `Desc` + - `Desc("desc")` - `string page` @@ -66,93 +66,93 @@ List Events Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -358,9 +358,9 @@ List Events UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -570,11 +570,11 @@ List Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -652,11 +652,11 @@ List Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -1276,9 +1276,9 @@ List Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `class BetaManagedAgentsSpanModelRequestStartEvent:` @@ -1626,59 +1626,59 @@ List Events See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -1724,9 +1724,9 @@ List Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -1794,7 +1794,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -1812,7 +1812,7 @@ List Events - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -1820,7 +1820,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -1834,7 +1834,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -1842,7 +1842,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -1856,7 +1856,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -1864,7 +1864,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -1878,7 +1878,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -1886,7 +1886,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -1900,7 +1900,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -1908,7 +1908,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -1922,7 +1922,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -1930,7 +1930,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -1944,7 +1944,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -1960,7 +1960,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -1974,7 +1974,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -1984,7 +1984,7 @@ List Events Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -2082,7 +2082,7 @@ List Events JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -2519,9 +2519,9 @@ Send Events UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -2707,93 +2707,93 @@ Send Events Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -3003,9 +3003,9 @@ Send Events UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -3309,101 +3309,101 @@ Stream Events Query param: When set, this connection also receives streaming deltas (`event_start`, `event_delta`) while an event is being produced, before the event itself arrives. Deltas are best-effort; when the final event is produced it carries the complete content. A model request that ends early (an error or interrupt) produces no final event — its terminal `span.model_request_end` closes the preview. Accepts one or more event types to preview and may be repeated: `agent.message` streams `content_delta` fragments; `agent.thinking` is start-only — a signal that the agent has begun extended thinking, concluded by the `agent.thinking` event itself. Only previews of the requested event types are sent. - - `AgentMessage` + - `AgentMessage("agent.message")` - - `AgentThinking` + - `AgentThinking("agent.thinking")` - `IReadOnlyList betas` Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -3609,9 +3609,9 @@ Stream Events UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -3821,11 +3821,11 @@ Stream Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -3903,11 +3903,11 @@ Stream Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -4527,9 +4527,9 @@ Stream Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `class BetaManagedAgentsSpanModelRequestStartEvent:` @@ -4877,59 +4877,59 @@ Stream Events See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -4975,9 +4975,9 @@ Stream Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -5045,7 +5045,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -5063,7 +5063,7 @@ Stream Events - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -5071,7 +5071,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -5085,7 +5085,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -5093,7 +5093,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -5107,7 +5107,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -5115,7 +5115,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -5129,7 +5129,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -5137,7 +5137,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -5151,7 +5151,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -5159,7 +5159,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -5173,7 +5173,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -5181,7 +5181,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -5195,7 +5195,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -5211,7 +5211,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -5225,7 +5225,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -5235,7 +5235,7 @@ Stream Events Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -5333,7 +5333,7 @@ Stream Events JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -5889,11 +5889,11 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -6565,11 +6565,11 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -6949,9 +6949,9 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -7739,9 +7739,9 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -8467,9 +8467,9 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -8679,11 +8679,11 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -8761,11 +8761,11 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -9385,9 +9385,9 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `class BetaManagedAgentsSpanModelRequestStartEvent:` @@ -9735,59 +9735,59 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -9833,9 +9833,9 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -9903,7 +9903,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -9921,7 +9921,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -9929,7 +9929,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -9943,7 +9943,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -9951,7 +9951,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -9965,7 +9965,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -9973,7 +9973,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -9987,7 +9987,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -9995,7 +9995,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -10009,7 +10009,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -10017,7 +10017,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -10031,7 +10031,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -10039,7 +10039,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -10053,7 +10053,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -10069,7 +10069,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -10083,7 +10083,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -10093,7 +10093,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -10191,7 +10191,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -10797,9 +10797,9 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required DateTimeOffset ProcessedAt` @@ -10861,9 +10861,9 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` ### Beta Managed Agents Span Outcome Evaluation End Event @@ -10937,9 +10937,9 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` ### Beta Managed Agents Span Outcome Evaluation Ongoing Event @@ -11201,9 +11201,9 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -11413,11 +11413,11 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -11495,11 +11495,11 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -12119,9 +12119,9 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `class BetaManagedAgentsSpanModelRequestStartEvent:` @@ -12469,59 +12469,59 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -12567,9 +12567,9 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -12637,7 +12637,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -12655,7 +12655,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -12663,7 +12663,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -12677,7 +12677,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -12685,7 +12685,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -12699,7 +12699,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -12707,7 +12707,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -12721,7 +12721,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -12729,7 +12729,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -12743,7 +12743,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -12751,7 +12751,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -12765,7 +12765,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -12773,7 +12773,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -12787,7 +12787,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -12803,7 +12803,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -12817,7 +12817,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -12827,7 +12827,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -12925,7 +12925,7 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -14181,9 +14181,9 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -14217,9 +14217,9 @@ await foreach (var betaManagedAgentsStreamSessionEvents in client.Beta.Sessions. UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` diff --git a/content/en/api/csharp/beta/sessions/events/list.md b/content/en/api/csharp/beta/sessions/events/list.md index cbb701c25b..2a6ef55a41 100644 --- a/content/en/api/csharp/beta/sessions/events/list.md +++ b/content/en/api/csharp/beta/sessions/events/list.md @@ -48,9 +48,9 @@ List Events Query param: Sort direction for results, ordered by the event's `processed_at`. Defaults to `asc` (chronological). - - `Asc` + - `Asc("asc")` - - `Desc` + - `Desc("desc")` - `string page` @@ -64,93 +64,93 @@ List Events Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -356,9 +356,9 @@ List Events UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -568,11 +568,11 @@ List Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -650,11 +650,11 @@ List Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -1274,9 +1274,9 @@ List Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `class BetaManagedAgentsSpanModelRequestStartEvent:` @@ -1624,59 +1624,59 @@ List Events See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -1722,9 +1722,9 @@ List Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -1792,7 +1792,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -1810,7 +1810,7 @@ List Events - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -1818,7 +1818,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -1832,7 +1832,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -1840,7 +1840,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -1854,7 +1854,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -1862,7 +1862,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -1876,7 +1876,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -1884,7 +1884,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -1898,7 +1898,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -1906,7 +1906,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -1920,7 +1920,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -1928,7 +1928,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -1942,7 +1942,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -1958,7 +1958,7 @@ List Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -1972,7 +1972,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -1982,7 +1982,7 @@ List Events Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -2080,7 +2080,7 @@ List Events JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` diff --git a/content/en/api/csharp/beta/sessions/events/send.md b/content/en/api/csharp/beta/sessions/events/send.md index f1f6ff3770..098a69a7e5 100644 --- a/content/en/api/csharp/beta/sessions/events/send.md +++ b/content/en/api/csharp/beta/sessions/events/send.md @@ -192,9 +192,9 @@ Send Events UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -380,93 +380,93 @@ Send Events Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -676,9 +676,9 @@ Send Events UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` diff --git a/content/en/api/csharp/beta/sessions/events/stream.md b/content/en/api/csharp/beta/sessions/events/stream.md index a06be1f576..f54d511607 100644 --- a/content/en/api/csharp/beta/sessions/events/stream.md +++ b/content/en/api/csharp/beta/sessions/events/stream.md @@ -18,101 +18,101 @@ Stream Events Query param: When set, this connection also receives streaming deltas (`event_start`, `event_delta`) while an event is being produced, before the event itself arrives. Deltas are best-effort; when the final event is produced it carries the complete content. A model request that ends early (an error or interrupt) produces no final event — its terminal `span.model_request_end` closes the preview. Accepts one or more event types to preview and may be repeated: `agent.message` streams `content_delta` fragments; `agent.thinking` is start-only — a signal that the agent has begun extended thinking, concluded by the `agent.thinking` event itself. Only previews of the requested event types are sent. - - `AgentMessage` + - `AgentMessage("agent.message")` - - `AgentThinking` + - `AgentThinking("agent.thinking")` - `IReadOnlyList betas` Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -318,9 +318,9 @@ Stream Events UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -530,11 +530,11 @@ Stream Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -612,11 +612,11 @@ Stream Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -1236,9 +1236,9 @@ Stream Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `class BetaManagedAgentsSpanModelRequestStartEvent:` @@ -1586,59 +1586,59 @@ Stream Events See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -1684,9 +1684,9 @@ Stream Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -1754,7 +1754,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -1772,7 +1772,7 @@ Stream Events - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -1780,7 +1780,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -1794,7 +1794,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -1802,7 +1802,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -1816,7 +1816,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -1824,7 +1824,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -1838,7 +1838,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -1846,7 +1846,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -1860,7 +1860,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -1868,7 +1868,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -1882,7 +1882,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -1890,7 +1890,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -1904,7 +1904,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -1920,7 +1920,7 @@ Stream Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -1934,7 +1934,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -1944,7 +1944,7 @@ Stream Events Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -2042,7 +2042,7 @@ Stream Events JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` diff --git a/content/en/api/csharp/beta/sessions/list.md b/content/en/api/csharp/beta/sessions/list.md index d20a11b7f0..2ffd339ee4 100644 --- a/content/en/api/csharp/beta/sessions/list.md +++ b/content/en/api/csharp/beta/sessions/list.md @@ -66,9 +66,9 @@ List Sessions Query param: Sort direction for results, ordered by `created_at`. Defaults to `desc` (newest first). - - `Asc` + - `Asc("asc")` - - `Desc` + - `Desc("desc")` - `string page` @@ -78,105 +78,105 @@ List Sessions Query param: Filter by session status. Repeat the parameter to match any of multiple statuses. - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Terminated` + - `Terminated("terminated")` - `IReadOnlyList betas` Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -212,59 +212,59 @@ List Sessions See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -310,9 +310,9 @@ List Sessions Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -380,7 +380,7 @@ List Sessions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -398,7 +398,7 @@ List Sessions - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -406,7 +406,7 @@ List Sessions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -420,7 +420,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -428,7 +428,7 @@ List Sessions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -442,7 +442,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -450,7 +450,7 @@ List Sessions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -464,7 +464,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -472,7 +472,7 @@ List Sessions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -486,7 +486,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -494,7 +494,7 @@ List Sessions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -508,7 +508,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -516,7 +516,7 @@ List Sessions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -530,7 +530,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -546,7 +546,7 @@ List Sessions - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -560,7 +560,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -570,7 +570,7 @@ List Sessions Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -668,7 +668,7 @@ List Sessions JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -876,9 +876,9 @@ List Sessions Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` @@ -918,13 +918,13 @@ List Sessions SessionStatus enum - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Terminated` + - `Terminated("terminated")` - `required string? Title` diff --git a/content/en/api/csharp/beta/sessions/resources.md b/content/en/api/csharp/beta/sessions/resources.md index eb8f0e9cac..d197e6b068 100644 --- a/content/en/api/csharp/beta/sessions/resources.md +++ b/content/en/api/csharp/beta/sessions/resources.md @@ -26,7 +26,7 @@ Add Session Resource Body param - - `File` + - `File("file")` - `string? mountPath` @@ -38,93 +38,93 @@ Add Session Resource Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -208,93 +208,93 @@ List Session Resources Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -382,9 +382,9 @@ List Session Resources Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` @@ -473,93 +473,93 @@ Get Session Resource Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -647,9 +647,9 @@ Get Session Resource Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` @@ -730,93 +730,93 @@ Update Session Resource Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -904,9 +904,9 @@ Update Session Resource Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` @@ -982,93 +982,93 @@ Delete Session Resource Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -1201,9 +1201,9 @@ Console.WriteLine(betaManagedAgentsDeleteSessionResource); Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` @@ -1309,9 +1309,9 @@ Console.WriteLine(betaManagedAgentsDeleteSessionResource); Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` diff --git a/content/en/api/csharp/beta/sessions/resources/add.md b/content/en/api/csharp/beta/sessions/resources/add.md index 62f46cdd79..df11d7c9e5 100644 --- a/content/en/api/csharp/beta/sessions/resources/add.md +++ b/content/en/api/csharp/beta/sessions/resources/add.md @@ -24,7 +24,7 @@ Add Session Resource Body param - - `File` + - `File("file")` - `string? mountPath` @@ -36,93 +36,93 @@ Add Session Resource Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/sessions/resources/delete.md b/content/en/api/csharp/beta/sessions/resources/delete.md index b2a427d150..d9252d879f 100644 --- a/content/en/api/csharp/beta/sessions/resources/delete.md +++ b/content/en/api/csharp/beta/sessions/resources/delete.md @@ -22,93 +22,93 @@ Delete Session Resource Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/sessions/resources/list.md b/content/en/api/csharp/beta/sessions/resources/list.md index 88a4bb9cdb..4236cedc08 100644 --- a/content/en/api/csharp/beta/sessions/resources/list.md +++ b/content/en/api/csharp/beta/sessions/resources/list.md @@ -28,93 +28,93 @@ List Session Resources Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -202,9 +202,9 @@ List Session Resources Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` diff --git a/content/en/api/csharp/beta/sessions/resources/retrieve.md b/content/en/api/csharp/beta/sessions/resources/retrieve.md index 8d861c1e65..17660326ab 100644 --- a/content/en/api/csharp/beta/sessions/resources/retrieve.md +++ b/content/en/api/csharp/beta/sessions/resources/retrieve.md @@ -22,93 +22,93 @@ Get Session Resource Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -196,9 +196,9 @@ Get Session Resource Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` diff --git a/content/en/api/csharp/beta/sessions/resources/update.md b/content/en/api/csharp/beta/sessions/resources/update.md index d56cc7d352..31f5aa6c22 100644 --- a/content/en/api/csharp/beta/sessions/resources/update.md +++ b/content/en/api/csharp/beta/sessions/resources/update.md @@ -28,93 +28,93 @@ Update Session Resource Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -202,9 +202,9 @@ Update Session Resource Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` diff --git a/content/en/api/csharp/beta/sessions/retrieve.md b/content/en/api/csharp/beta/sessions/retrieve.md index 093d525fd8..75a665f82c 100644 --- a/content/en/api/csharp/beta/sessions/retrieve.md +++ b/content/en/api/csharp/beta/sessions/retrieve.md @@ -18,93 +18,93 @@ Get Session Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -140,59 +140,59 @@ Get Session See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -238,9 +238,9 @@ Get Session Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -308,7 +308,7 @@ Get Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -326,7 +326,7 @@ Get Session - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -334,7 +334,7 @@ Get Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -348,7 +348,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -356,7 +356,7 @@ Get Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -370,7 +370,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -378,7 +378,7 @@ Get Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -392,7 +392,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -400,7 +400,7 @@ Get Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -414,7 +414,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -422,7 +422,7 @@ Get Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -436,7 +436,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -444,7 +444,7 @@ Get Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -458,7 +458,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -474,7 +474,7 @@ Get Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -488,7 +488,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -498,7 +498,7 @@ Get Session Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -596,7 +596,7 @@ Get Session JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -804,9 +804,9 @@ Get Session Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` @@ -846,13 +846,13 @@ Get Session SessionStatus enum - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Terminated` + - `Terminated("terminated")` - `required string? Title` diff --git a/content/en/api/csharp/beta/sessions/threads.md b/content/en/api/csharp/beta/sessions/threads.md index ca8a5afa88..6421b183ca 100644 --- a/content/en/api/csharp/beta/sessions/threads.md +++ b/content/en/api/csharp/beta/sessions/threads.md @@ -30,93 +30,93 @@ List Session Threads Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -158,59 +158,59 @@ List Session Threads See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -256,9 +256,9 @@ List Session Threads Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required string Name` @@ -298,7 +298,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -316,7 +316,7 @@ List Session Threads - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -324,7 +324,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -338,7 +338,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -346,7 +346,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -360,7 +360,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -368,7 +368,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -382,7 +382,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -390,7 +390,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -404,7 +404,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -412,7 +412,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -426,7 +426,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -434,7 +434,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -448,7 +448,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -464,7 +464,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -478,7 +478,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -488,7 +488,7 @@ List Session Threads Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -586,7 +586,7 @@ List Session Threads JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -658,13 +658,13 @@ List Session Threads SessionThreadStatus enum - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Terminated` + - `Terminated("terminated")` - `required Type Type` @@ -879,93 +879,93 @@ Get Session Thread Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -1007,59 +1007,59 @@ Get Session Thread See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -1105,9 +1105,9 @@ Get Session Thread Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required string Name` @@ -1147,7 +1147,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -1165,7 +1165,7 @@ Get Session Thread - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -1173,7 +1173,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -1187,7 +1187,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -1195,7 +1195,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -1209,7 +1209,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -1217,7 +1217,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -1231,7 +1231,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -1239,7 +1239,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -1253,7 +1253,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -1261,7 +1261,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -1275,7 +1275,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -1283,7 +1283,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -1297,7 +1297,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -1313,7 +1313,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -1327,7 +1327,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -1337,7 +1337,7 @@ Get Session Thread Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -1435,7 +1435,7 @@ Get Session Thread JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -1507,13 +1507,13 @@ Get Session Thread SessionThreadStatus enum - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Terminated` + - `Terminated("terminated")` - `required Type Type` @@ -1722,93 +1722,93 @@ Archive Session Thread Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -1850,59 +1850,59 @@ Archive Session Thread See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -1948,9 +1948,9 @@ Archive Session Thread Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required string Name` @@ -1990,7 +1990,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -2008,7 +2008,7 @@ Archive Session Thread - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -2016,7 +2016,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -2030,7 +2030,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -2038,7 +2038,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -2052,7 +2052,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -2060,7 +2060,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -2074,7 +2074,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -2082,7 +2082,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -2096,7 +2096,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -2104,7 +2104,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -2118,7 +2118,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -2126,7 +2126,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -2140,7 +2140,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -2156,7 +2156,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -2170,7 +2170,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -2180,7 +2180,7 @@ Archive Session Thread Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -2278,7 +2278,7 @@ Archive Session Thread JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -2350,13 +2350,13 @@ Archive Session Thread SessionThreadStatus enum - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Terminated` + - `Terminated("terminated")` - `required Type Type` @@ -2583,59 +2583,59 @@ Console.WriteLine(betaManagedAgentsSessionThread); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -2681,9 +2681,9 @@ Console.WriteLine(betaManagedAgentsSessionThread); Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required string Name` @@ -2723,7 +2723,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -2741,7 +2741,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -2749,7 +2749,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -2763,7 +2763,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -2771,7 +2771,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -2785,7 +2785,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -2793,7 +2793,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -2807,7 +2807,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -2815,7 +2815,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -2829,7 +2829,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -2837,7 +2837,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -2851,7 +2851,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -2859,7 +2859,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -2873,7 +2873,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -2889,7 +2889,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -2903,7 +2903,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -2913,7 +2913,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -3011,7 +3011,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -3083,13 +3083,13 @@ Console.WriteLine(betaManagedAgentsSessionThread); SessionThreadStatus enum - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Terminated` + - `Terminated("terminated")` - `required Type Type` @@ -3201,13 +3201,13 @@ Console.WriteLine(betaManagedAgentsSessionThread); SessionThreadStatus enum - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Terminated` + - `Terminated("terminated")` ### Beta Managed Agents Session Thread Usage @@ -3487,9 +3487,9 @@ Console.WriteLine(betaManagedAgentsSessionThread); UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -3699,11 +3699,11 @@ Console.WriteLine(betaManagedAgentsSessionThread); AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -3781,11 +3781,11 @@ Console.WriteLine(betaManagedAgentsSessionThread); AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -4405,9 +4405,9 @@ Console.WriteLine(betaManagedAgentsSessionThread); Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `class BetaManagedAgentsSpanModelRequestStartEvent:` @@ -4755,59 +4755,59 @@ Console.WriteLine(betaManagedAgentsSessionThread); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -4853,9 +4853,9 @@ Console.WriteLine(betaManagedAgentsSessionThread); Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -4923,7 +4923,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -4941,7 +4941,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -4949,7 +4949,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -4963,7 +4963,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -4971,7 +4971,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -4985,7 +4985,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -4993,7 +4993,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -5007,7 +5007,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -5015,7 +5015,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -5029,7 +5029,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -5037,7 +5037,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -5051,7 +5051,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -5059,7 +5059,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -5073,7 +5073,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -5089,7 +5089,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -5103,7 +5103,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -5113,7 +5113,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -5211,7 +5211,7 @@ Console.WriteLine(betaManagedAgentsSessionThread); JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -5495,93 +5495,93 @@ List Session Thread Events Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -5787,9 +5787,9 @@ List Session Thread Events UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -5999,11 +5999,11 @@ List Session Thread Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -6081,11 +6081,11 @@ List Session Thread Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -6705,9 +6705,9 @@ List Session Thread Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `class BetaManagedAgentsSpanModelRequestStartEvent:` @@ -7055,59 +7055,59 @@ List Session Thread Events See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -7153,9 +7153,9 @@ List Session Thread Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -7223,7 +7223,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -7241,7 +7241,7 @@ List Session Thread Events - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -7249,7 +7249,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -7263,7 +7263,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -7271,7 +7271,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -7285,7 +7285,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -7293,7 +7293,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -7307,7 +7307,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -7315,7 +7315,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -7329,7 +7329,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -7337,7 +7337,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -7351,7 +7351,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -7359,7 +7359,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -7373,7 +7373,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -7389,7 +7389,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -7403,7 +7403,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -7413,7 +7413,7 @@ List Session Thread Events Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -7511,7 +7511,7 @@ List Session Thread Events JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -7768,101 +7768,101 @@ Stream Session Thread Events Query param: When set, this connection also receives streaming deltas (`event_start`, `event_delta`) while an event is being produced, before the event itself arrives. Deltas are best-effort; when the final event is produced it carries the complete content. A model request that ends early (an error or interrupt) produces no final event — its terminal `span.model_request_end` closes the preview. Accepts one or more event types to preview and may be repeated: `agent.message` streams `content_delta` fragments; `agent.thinking` is start-only — a signal that the agent has begun extended thinking, concluded by the `agent.thinking` event itself. Only previews of the requested event types are sent. - - `AgentMessage` + - `AgentMessage("agent.message")` - - `AgentThinking` + - `AgentThinking("agent.thinking")` - `IReadOnlyList betas` Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -8068,9 +8068,9 @@ Stream Session Thread Events UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -8280,11 +8280,11 @@ Stream Session Thread Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -8362,11 +8362,11 @@ Stream Session Thread Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -8986,9 +8986,9 @@ Stream Session Thread Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `class BetaManagedAgentsSpanModelRequestStartEvent:` @@ -9336,59 +9336,59 @@ Stream Session Thread Events See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -9434,9 +9434,9 @@ Stream Session Thread Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -9504,7 +9504,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -9522,7 +9522,7 @@ Stream Session Thread Events - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -9530,7 +9530,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -9544,7 +9544,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -9552,7 +9552,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -9566,7 +9566,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -9574,7 +9574,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -9588,7 +9588,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -9596,7 +9596,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -9610,7 +9610,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -9618,7 +9618,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -9632,7 +9632,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -9640,7 +9640,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -9654,7 +9654,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -9670,7 +9670,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -9684,7 +9684,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -9694,7 +9694,7 @@ Stream Session Thread Events Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -9792,7 +9792,7 @@ Stream Session Thread Events JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` diff --git a/content/en/api/csharp/beta/sessions/threads/archive.md b/content/en/api/csharp/beta/sessions/threads/archive.md index 3940a56d46..ddfdef054a 100644 --- a/content/en/api/csharp/beta/sessions/threads/archive.md +++ b/content/en/api/csharp/beta/sessions/threads/archive.md @@ -22,93 +22,93 @@ Archive Session Thread Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -150,59 +150,59 @@ Archive Session Thread See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -248,9 +248,9 @@ Archive Session Thread Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required string Name` @@ -290,7 +290,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -308,7 +308,7 @@ Archive Session Thread - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -316,7 +316,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -330,7 +330,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -338,7 +338,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -352,7 +352,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -360,7 +360,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -374,7 +374,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -382,7 +382,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -396,7 +396,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -404,7 +404,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -418,7 +418,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -426,7 +426,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -440,7 +440,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -456,7 +456,7 @@ Archive Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -470,7 +470,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -480,7 +480,7 @@ Archive Session Thread Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -578,7 +578,7 @@ Archive Session Thread JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -650,13 +650,13 @@ Archive Session Thread SessionThreadStatus enum - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Terminated` + - `Terminated("terminated")` - `required Type Type` diff --git a/content/en/api/csharp/beta/sessions/threads/events.md b/content/en/api/csharp/beta/sessions/threads/events.md index 63a0b22242..35dd0c3b25 100644 --- a/content/en/api/csharp/beta/sessions/threads/events.md +++ b/content/en/api/csharp/beta/sessions/threads/events.md @@ -34,93 +34,93 @@ List Session Thread Events Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -326,9 +326,9 @@ List Session Thread Events UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -538,11 +538,11 @@ List Session Thread Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -620,11 +620,11 @@ List Session Thread Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -1244,9 +1244,9 @@ List Session Thread Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `class BetaManagedAgentsSpanModelRequestStartEvent:` @@ -1594,59 +1594,59 @@ List Session Thread Events See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -1692,9 +1692,9 @@ List Session Thread Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -1762,7 +1762,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -1780,7 +1780,7 @@ List Session Thread Events - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -1788,7 +1788,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -1802,7 +1802,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -1810,7 +1810,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -1824,7 +1824,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -1832,7 +1832,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -1846,7 +1846,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -1854,7 +1854,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -1868,7 +1868,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -1876,7 +1876,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -1890,7 +1890,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -1898,7 +1898,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -1912,7 +1912,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -1928,7 +1928,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -1942,7 +1942,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -1952,7 +1952,7 @@ List Session Thread Events Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -2050,7 +2050,7 @@ List Session Thread Events JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -2307,101 +2307,101 @@ Stream Session Thread Events Query param: When set, this connection also receives streaming deltas (`event_start`, `event_delta`) while an event is being produced, before the event itself arrives. Deltas are best-effort; when the final event is produced it carries the complete content. A model request that ends early (an error or interrupt) produces no final event — its terminal `span.model_request_end` closes the preview. Accepts one or more event types to preview and may be repeated: `agent.message` streams `content_delta` fragments; `agent.thinking` is start-only — a signal that the agent has begun extended thinking, concluded by the `agent.thinking` event itself. Only previews of the requested event types are sent. - - `AgentMessage` + - `AgentMessage("agent.message")` - - `AgentThinking` + - `AgentThinking("agent.thinking")` - `IReadOnlyList betas` Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -2607,9 +2607,9 @@ Stream Session Thread Events UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -2819,11 +2819,11 @@ Stream Session Thread Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -2901,11 +2901,11 @@ Stream Session Thread Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -3525,9 +3525,9 @@ Stream Session Thread Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `class BetaManagedAgentsSpanModelRequestStartEvent:` @@ -3875,59 +3875,59 @@ Stream Session Thread Events See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -3973,9 +3973,9 @@ Stream Session Thread Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -4043,7 +4043,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -4061,7 +4061,7 @@ Stream Session Thread Events - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -4069,7 +4069,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -4083,7 +4083,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -4091,7 +4091,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -4105,7 +4105,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -4113,7 +4113,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -4127,7 +4127,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -4135,7 +4135,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -4149,7 +4149,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -4157,7 +4157,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -4171,7 +4171,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -4179,7 +4179,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -4193,7 +4193,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -4209,7 +4209,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -4223,7 +4223,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -4233,7 +4233,7 @@ Stream Session Thread Events Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -4331,7 +4331,7 @@ Stream Session Thread Events JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` diff --git a/content/en/api/csharp/beta/sessions/threads/events/list.md b/content/en/api/csharp/beta/sessions/threads/events/list.md index c07944c1b6..86e534f2fb 100644 --- a/content/en/api/csharp/beta/sessions/threads/events/list.md +++ b/content/en/api/csharp/beta/sessions/threads/events/list.md @@ -32,93 +32,93 @@ List Session Thread Events Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -324,9 +324,9 @@ List Session Thread Events UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -536,11 +536,11 @@ List Session Thread Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -618,11 +618,11 @@ List Session Thread Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -1242,9 +1242,9 @@ List Session Thread Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `class BetaManagedAgentsSpanModelRequestStartEvent:` @@ -1592,59 +1592,59 @@ List Session Thread Events See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -1690,9 +1690,9 @@ List Session Thread Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -1760,7 +1760,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -1778,7 +1778,7 @@ List Session Thread Events - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -1786,7 +1786,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -1800,7 +1800,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -1808,7 +1808,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -1822,7 +1822,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -1830,7 +1830,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -1844,7 +1844,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -1852,7 +1852,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -1866,7 +1866,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -1874,7 +1874,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -1888,7 +1888,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -1896,7 +1896,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -1910,7 +1910,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -1926,7 +1926,7 @@ List Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -1940,7 +1940,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -1950,7 +1950,7 @@ List Session Thread Events Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -2048,7 +2048,7 @@ List Session Thread Events JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` diff --git a/content/en/api/csharp/beta/sessions/threads/events/stream.md b/content/en/api/csharp/beta/sessions/threads/events/stream.md index 7499a6812e..5bd0fd5595 100644 --- a/content/en/api/csharp/beta/sessions/threads/events/stream.md +++ b/content/en/api/csharp/beta/sessions/threads/events/stream.md @@ -22,101 +22,101 @@ Stream Session Thread Events Query param: When set, this connection also receives streaming deltas (`event_start`, `event_delta`) while an event is being produced, before the event itself arrives. Deltas are best-effort; when the final event is produced it carries the complete content. A model request that ends early (an error or interrupt) produces no final event — its terminal `span.model_request_end` closes the preview. Accepts one or more event types to preview and may be repeated: `agent.message` streams `content_delta` fragments; `agent.thinking` is start-only — a signal that the agent has begun extended thinking, concluded by the `agent.thinking` event itself. Only previews of the requested event types are sent. - - `AgentMessage` + - `AgentMessage("agent.message")` - - `AgentThinking` + - `AgentThinking("agent.thinking")` - `IReadOnlyList betas` Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -322,9 +322,9 @@ Stream Session Thread Events UserToolConfirmationResult enum - - `Allow` + - `Allow("allow")` - - `Deny` + - `Deny("deny")` - `required string ToolUseID` @@ -534,11 +534,11 @@ Stream Session Thread Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -616,11 +616,11 @@ Stream Session Thread Events AgentEvaluatedPermission enum - - `Allow` + - `Allow("allow")` - - `Ask` + - `Ask("ask")` - - `Deny` + - `Deny("deny")` - `string? SessionThreadID` @@ -1240,9 +1240,9 @@ Stream Session Thread Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `class BetaManagedAgentsSpanModelRequestStartEvent:` @@ -1590,59 +1590,59 @@ Stream Session Thread Events See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -1688,9 +1688,9 @@ Stream Session Thread Events Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -1758,7 +1758,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -1776,7 +1776,7 @@ Stream Session Thread Events - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -1784,7 +1784,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -1798,7 +1798,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -1806,7 +1806,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -1820,7 +1820,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -1828,7 +1828,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -1842,7 +1842,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -1850,7 +1850,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -1864,7 +1864,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -1872,7 +1872,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -1886,7 +1886,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -1894,7 +1894,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -1908,7 +1908,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -1924,7 +1924,7 @@ Stream Session Thread Events - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -1938,7 +1938,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -1948,7 +1948,7 @@ Stream Session Thread Events Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -2046,7 +2046,7 @@ Stream Session Thread Events JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` diff --git a/content/en/api/csharp/beta/sessions/threads/list.md b/content/en/api/csharp/beta/sessions/threads/list.md index 2f4c1e7960..aa4695559d 100644 --- a/content/en/api/csharp/beta/sessions/threads/list.md +++ b/content/en/api/csharp/beta/sessions/threads/list.md @@ -28,93 +28,93 @@ List Session Threads Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -156,59 +156,59 @@ List Session Threads See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -254,9 +254,9 @@ List Session Threads Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required string Name` @@ -296,7 +296,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -314,7 +314,7 @@ List Session Threads - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -322,7 +322,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -336,7 +336,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -344,7 +344,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -358,7 +358,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -366,7 +366,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -380,7 +380,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -388,7 +388,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -402,7 +402,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -410,7 +410,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -424,7 +424,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -432,7 +432,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -446,7 +446,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -462,7 +462,7 @@ List Session Threads - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -476,7 +476,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -486,7 +486,7 @@ List Session Threads Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -584,7 +584,7 @@ List Session Threads JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -656,13 +656,13 @@ List Session Threads SessionThreadStatus enum - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Terminated` + - `Terminated("terminated")` - `required Type Type` diff --git a/content/en/api/csharp/beta/sessions/threads/retrieve.md b/content/en/api/csharp/beta/sessions/threads/retrieve.md index 055a481c33..45a3fe36d0 100644 --- a/content/en/api/csharp/beta/sessions/threads/retrieve.md +++ b/content/en/api/csharp/beta/sessions/threads/retrieve.md @@ -22,93 +22,93 @@ Get Session Thread Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -150,59 +150,59 @@ Get Session Thread See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -248,9 +248,9 @@ Get Session Thread Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required string Name` @@ -290,7 +290,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -308,7 +308,7 @@ Get Session Thread - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -316,7 +316,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -330,7 +330,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -338,7 +338,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -352,7 +352,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -360,7 +360,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -374,7 +374,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -382,7 +382,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -396,7 +396,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -404,7 +404,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -418,7 +418,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -426,7 +426,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -440,7 +440,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -456,7 +456,7 @@ Get Session Thread - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -470,7 +470,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -480,7 +480,7 @@ Get Session Thread Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -578,7 +578,7 @@ Get Session Thread JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -650,13 +650,13 @@ Get Session Thread SessionThreadStatus enum - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Terminated` + - `Terminated("terminated")` - `required Type Type` diff --git a/content/en/api/csharp/beta/sessions/update.md b/content/en/api/csharp/beta/sessions/update.md index 369a23e2a9..c99a2e16ea 100644 --- a/content/en/api/csharp/beta/sessions/update.md +++ b/content/en/api/csharp/beta/sessions/update.md @@ -40,93 +40,93 @@ Update Session Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -162,59 +162,59 @@ Update Session See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -260,9 +260,9 @@ Update Session Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time. - - `Standard` + - `Standard("standard")` - - `Fast` + - `Fast("fast")` - `required BetaManagedAgentsSessionMultiagentCoordinator? Multiagent` @@ -330,7 +330,7 @@ Update Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` - `required PermissionPolicy PermissionPolicy` @@ -348,7 +348,7 @@ Update Session - `required Type Type` - - `JsonElement Type constant` + - `JsonElement Type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -356,7 +356,7 @@ Update Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "edit"` - `required PermissionPolicy PermissionPolicy` @@ -370,7 +370,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -378,7 +378,7 @@ Update Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "read"` - `required PermissionPolicy PermissionPolicy` @@ -392,7 +392,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -400,7 +400,7 @@ Update Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "write"` - `required PermissionPolicy PermissionPolicy` @@ -414,7 +414,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -422,7 +422,7 @@ Update Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "glob"` - `required PermissionPolicy PermissionPolicy` @@ -436,7 +436,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -444,7 +444,7 @@ Update Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "grep"` - `required PermissionPolicy PermissionPolicy` @@ -458,7 +458,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -466,7 +466,7 @@ Update Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` - `required PermissionPolicy PermissionPolicy` @@ -480,7 +480,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch"` - `IReadOnlyList AllowedDomains` @@ -496,7 +496,7 @@ Update Session - `required bool Enabled` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` - `required PermissionPolicy PermissionPolicy` @@ -510,7 +510,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonElement Type constant` + - `JsonElement Type = "web_search"` - `IReadOnlyList AllowedDomains` @@ -520,7 +520,7 @@ Update Session Approximate user location for search result localization. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` Location precision. Only "approximate" is supported. @@ -618,7 +618,7 @@ Update Session JSON Schema for custom tool input parameters. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -826,9 +826,9 @@ Update Session Access mode for an attached memory store. - - `ReadWrite` + - `ReadWrite("read_write")` - - `ReadOnly` + - `ReadOnly("read_only")` - `string Description` @@ -868,13 +868,13 @@ Update Session SessionStatus enum - - `Rescheduling` + - `Rescheduling("rescheduling")` - - `Running` + - `Running("running")` - - `Idle` + - `Idle("idle")` - - `Terminated` + - `Terminated("terminated")` - `required string? Title` diff --git a/content/en/api/csharp/beta/skills.md b/content/en/api/csharp/beta/skills.md index 4555b2925b..e629b88ff1 100644 --- a/content/en/api/csharp/beta/skills.md +++ b/content/en/api/csharp/beta/skills.md @@ -28,93 +28,93 @@ Create Skill Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -164,15 +164,15 @@ Create Skill * `"anthropic_example"`: Anthropic-published sample Skill * `"plugin"`: resolved from an installed plugin - - `Custom` + - `Custom("custom")` - - `Anthropic` + - `Anthropic("anthropic")` - - `AnthropicExample` + - `AnthropicExample("anthropic_example")` - - `Plugin` + - `Plugin("plugin")` - - `JsonElement Type constant` + - `JsonElement Type = "skill"` Object type. @@ -255,93 +255,93 @@ List Skills Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -391,15 +391,15 @@ List Skills * `"anthropic_example"`: Anthropic-published sample Skill * `"plugin"`: resolved from an installed plugin - - `Custom` + - `Custom("custom")` - - `Anthropic` + - `Anthropic("anthropic")` - - `AnthropicExample` + - `AnthropicExample("anthropic_example")` - - `Plugin` + - `Plugin("plugin")` - - `JsonElement Type constant` + - `JsonElement Type = "skill"` Object type. @@ -466,93 +466,93 @@ Get Skill Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -602,15 +602,15 @@ Get Skill * `"anthropic_example"`: Anthropic-published sample Skill * `"plugin"`: resolved from an installed plugin - - `Custom` + - `Custom("custom")` - - `Anthropic` + - `Anthropic("anthropic")` - - `AnthropicExample` + - `AnthropicExample("anthropic_example")` - - `Plugin` + - `Plugin("plugin")` - - `JsonElement Type constant` + - `JsonElement Type = "skill"` Object type. @@ -670,93 +670,93 @@ Delete Skill Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -768,7 +768,7 @@ Delete Skill The format and length of IDs may change over time. - - `JsonElement Type constant` + - `JsonElement Type = "skill_deleted"` Deleted object type. @@ -805,7 +805,7 @@ Console.WriteLine(betaDeletedSkill); The format and length of IDs may change over time. - - `JsonElement Type constant` + - `JsonElement Type = "skill_deleted"` Deleted object type. @@ -859,15 +859,15 @@ Console.WriteLine(betaDeletedSkill); * `"anthropic_example"`: Anthropic-published sample Skill * `"plugin"`: resolved from an installed plugin - - `Custom` + - `Custom("custom")` - - `Anthropic` + - `Anthropic("anthropic")` - - `AnthropicExample` + - `AnthropicExample("anthropic_example")` - - `Plugin` + - `Plugin("plugin")` - - `JsonElement Type constant` + - `JsonElement Type = "skill"` Object type. @@ -894,13 +894,13 @@ Console.WriteLine(betaDeletedSkill); * `"anthropic_example"`: Anthropic-published sample Skill * `"plugin"`: resolved from an installed plugin - - `Custom` + - `Custom("custom")` - - `Anthropic` + - `Anthropic("anthropic")` - - `AnthropicExample` + - `AnthropicExample("anthropic_example")` - - `Plugin` + - `Plugin("plugin")` ## Skills › Versions @@ -932,93 +932,93 @@ Create Skill Version Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -1054,7 +1054,7 @@ Create Skill Version The format and length of IDs may change over time. - - `JsonElement Type constant` + - `JsonElement Type = "skill_version"` Object type. @@ -1124,93 +1124,93 @@ List Skill Versions Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -1246,7 +1246,7 @@ List Skill Versions The format and length of IDs may change over time. - - `JsonElement Type constant` + - `JsonElement Type = "skill_version"` Object type. @@ -1310,93 +1310,93 @@ Download a skill version's content as a zip archive. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Example @@ -1440,93 +1440,93 @@ Get Skill Version Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -1562,7 +1562,7 @@ Get Skill Version The format and length of IDs may change over time. - - `JsonElement Type constant` + - `JsonElement Type = "skill_version"` Object type. @@ -1623,93 +1623,93 @@ Delete Skill Version Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -1720,7 +1720,7 @@ Delete Skill Version Unique identifier for this Skill Version. The id addresses the version in paths and pins it in references. - - `JsonElement Type constant` + - `JsonElement Type = "skill_version_deleted"` Deleted object type. diff --git a/content/en/api/csharp/beta/skills/create.md b/content/en/api/csharp/beta/skills/create.md index 29cf2de22f..654e45c981 100644 --- a/content/en/api/csharp/beta/skills/create.md +++ b/content/en/api/csharp/beta/skills/create.md @@ -26,93 +26,93 @@ Create Skill Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -162,15 +162,15 @@ Create Skill * `"anthropic_example"`: Anthropic-published sample Skill * `"plugin"`: resolved from an installed plugin - - `Custom` + - `Custom("custom")` - - `Anthropic` + - `Anthropic("anthropic")` - - `AnthropicExample` + - `AnthropicExample("anthropic_example")` - - `Plugin` + - `Plugin("plugin")` - - `JsonElement Type constant` + - `JsonElement Type = "skill"` Object type. diff --git a/content/en/api/csharp/beta/skills/delete.md b/content/en/api/csharp/beta/skills/delete.md index 2a48f9556d..98ae9a4234 100644 --- a/content/en/api/csharp/beta/skills/delete.md +++ b/content/en/api/csharp/beta/skills/delete.md @@ -20,93 +20,93 @@ Delete Skill Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -118,7 +118,7 @@ Delete Skill The format and length of IDs may change over time. - - `JsonElement Type constant` + - `JsonElement Type = "skill_deleted"` Deleted object type. diff --git a/content/en/api/csharp/beta/skills/list.md b/content/en/api/csharp/beta/skills/list.md index 086868233b..f0aad03198 100644 --- a/content/en/api/csharp/beta/skills/list.md +++ b/content/en/api/csharp/beta/skills/list.md @@ -37,93 +37,93 @@ List Skills Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -173,15 +173,15 @@ List Skills * `"anthropic_example"`: Anthropic-published sample Skill * `"plugin"`: resolved from an installed plugin - - `Custom` + - `Custom("custom")` - - `Anthropic` + - `Anthropic("anthropic")` - - `AnthropicExample` + - `AnthropicExample("anthropic_example")` - - `Plugin` + - `Plugin("plugin")` - - `JsonElement Type constant` + - `JsonElement Type = "skill"` Object type. diff --git a/content/en/api/csharp/beta/skills/retrieve.md b/content/en/api/csharp/beta/skills/retrieve.md index 604ef97d8c..88f4a70c6e 100644 --- a/content/en/api/csharp/beta/skills/retrieve.md +++ b/content/en/api/csharp/beta/skills/retrieve.md @@ -20,93 +20,93 @@ Get Skill Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -156,15 +156,15 @@ Get Skill * `"anthropic_example"`: Anthropic-published sample Skill * `"plugin"`: resolved from an installed plugin - - `Custom` + - `Custom("custom")` - - `Anthropic` + - `Anthropic("anthropic")` - - `AnthropicExample` + - `AnthropicExample("anthropic_example")` - - `Plugin` + - `Plugin("plugin")` - - `JsonElement Type constant` + - `JsonElement Type = "skill"` Object type. diff --git a/content/en/api/csharp/beta/skills/versions.md b/content/en/api/csharp/beta/skills/versions.md index a4f1e66163..e732e779de 100644 --- a/content/en/api/csharp/beta/skills/versions.md +++ b/content/en/api/csharp/beta/skills/versions.md @@ -28,93 +28,93 @@ Create Skill Version Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -150,7 +150,7 @@ Create Skill Version The format and length of IDs may change over time. - - `JsonElement Type constant` + - `JsonElement Type = "skill_version"` Object type. @@ -220,93 +220,93 @@ List Skill Versions Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -342,7 +342,7 @@ List Skill Versions The format and length of IDs may change over time. - - `JsonElement Type constant` + - `JsonElement Type = "skill_version"` Object type. @@ -406,93 +406,93 @@ Download a skill version's content as a zip archive. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Example @@ -536,93 +536,93 @@ Get Skill Version Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -658,7 +658,7 @@ Get Skill Version The format and length of IDs may change over time. - - `JsonElement Type constant` + - `JsonElement Type = "skill_version"` Object type. @@ -719,93 +719,93 @@ Delete Skill Version Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -816,7 +816,7 @@ Delete Skill Version Unique identifier for this Skill Version. The id addresses the version in paths and pins it in references. - - `JsonElement Type constant` + - `JsonElement Type = "skill_version_deleted"` Deleted object type. @@ -856,7 +856,7 @@ Console.WriteLine(betaDeletedSkillVersion); Unique identifier for this Skill Version. The id addresses the version in paths and pins it in references. - - `JsonElement Type constant` + - `JsonElement Type = "skill_version_deleted"` Deleted object type. @@ -896,7 +896,7 @@ Console.WriteLine(betaDeletedSkillVersion); The format and length of IDs may change over time. - - `JsonElement Type constant` + - `JsonElement Type = "skill_version"` Object type. diff --git a/content/en/api/csharp/beta/skills/versions/create.md b/content/en/api/csharp/beta/skills/versions/create.md index 9ec6b9893e..6d98c165c3 100644 --- a/content/en/api/csharp/beta/skills/versions/create.md +++ b/content/en/api/csharp/beta/skills/versions/create.md @@ -26,93 +26,93 @@ Create Skill Version Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -148,7 +148,7 @@ Create Skill Version The format and length of IDs may change over time. - - `JsonElement Type constant` + - `JsonElement Type = "skill_version"` Object type. diff --git a/content/en/api/csharp/beta/skills/versions/delete.md b/content/en/api/csharp/beta/skills/versions/delete.md index a2e5f61671..9514a7a7c4 100644 --- a/content/en/api/csharp/beta/skills/versions/delete.md +++ b/content/en/api/csharp/beta/skills/versions/delete.md @@ -26,93 +26,93 @@ Delete Skill Version Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -123,7 +123,7 @@ Delete Skill Version Unique identifier for this Skill Version. The id addresses the version in paths and pins it in references. - - `JsonElement Type constant` + - `JsonElement Type = "skill_version_deleted"` Deleted object type. diff --git a/content/en/api/csharp/beta/skills/versions/download.md b/content/en/api/csharp/beta/skills/versions/download.md index 80ebcbb81d..f31a638d04 100644 --- a/content/en/api/csharp/beta/skills/versions/download.md +++ b/content/en/api/csharp/beta/skills/versions/download.md @@ -26,93 +26,93 @@ Download a skill version's content as a zip archive. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Example diff --git a/content/en/api/csharp/beta/skills/versions/list.md b/content/en/api/csharp/beta/skills/versions/list.md index 9b32787f48..f638b9b55d 100644 --- a/content/en/api/csharp/beta/skills/versions/list.md +++ b/content/en/api/csharp/beta/skills/versions/list.md @@ -32,93 +32,93 @@ List Skill Versions Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -154,7 +154,7 @@ List Skill Versions The format and length of IDs may change over time. - - `JsonElement Type constant` + - `JsonElement Type = "skill_version"` Object type. diff --git a/content/en/api/csharp/beta/skills/versions/retrieve.md b/content/en/api/csharp/beta/skills/versions/retrieve.md index df25548818..5a505b9402 100644 --- a/content/en/api/csharp/beta/skills/versions/retrieve.md +++ b/content/en/api/csharp/beta/skills/versions/retrieve.md @@ -26,93 +26,93 @@ Get Skill Version Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -148,7 +148,7 @@ Get Skill Version The format and length of IDs may change over time. - - `JsonElement Type constant` + - `JsonElement Type = "skill_version"` Object type. diff --git a/content/en/api/csharp/beta/tunnels.md b/content/en/api/csharp/beta/tunnels.md index 9d7f868606..a613574687 100644 --- a/content/en/api/csharp/beta/tunnels.md +++ b/content/en/api/csharp/beta/tunnels.md @@ -24,93 +24,93 @@ Creates a tunnel. Creation allocates a fresh hostname and provisions the tunnel; Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -142,7 +142,7 @@ Creates a tunnel. Creation allocates a fresh hostname and provisions the tunnel; Anthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel"` ### Example @@ -189,93 +189,93 @@ Fetches a tunnel by ID. Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -307,7 +307,7 @@ Fetches a tunnel by ID. Anthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel"` ### Example @@ -364,93 +364,93 @@ Lists tunnels. Results are ordered by creation time, newest first; archived tunn Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -482,7 +482,7 @@ Lists tunnels. Results are ordered by creation time, newest first; archived tunn Anthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel"` ### Example @@ -536,93 +536,93 @@ Archives a tunnel. Archival is irreversible: every non-archived certificate on t Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -654,7 +654,7 @@ Archives a tunnel. Archival is irreversible: every non-archived certificate on t Anthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel"` ### Example @@ -701,93 +701,93 @@ Reveals a tunnel's connector token. The value is fetched live on each call; Anth Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -803,7 +803,7 @@ Reveals a tunnel's connector token. The value is fetched live on each call; Anth The connector token used to run the tunnel. Treat as a credential. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel_token"` ### Example @@ -853,93 +853,93 @@ Rotates a tunnel's connector token. Rotation invalidates the current token for n Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -955,7 +955,7 @@ Rotates a tunnel's connector token. Rotation invalidates the current token for n The connector token used to run the tunnel. Treat as a credential. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel_token"` ### Example @@ -1009,7 +1009,7 @@ Console.WriteLine(betaTunnelToken); Anthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel"` ### Beta Tunnel Token @@ -1025,7 +1025,7 @@ Console.WriteLine(betaTunnelToken); The connector token used to run the tunnel. Treat as a credential. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel_token"` ## Tunnels › Certificates @@ -1057,93 +1057,93 @@ Registers a public CA certificate on a tunnel. Anthropic verifies the gateway's Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -1181,7 +1181,7 @@ Registers a public CA certificate on a tunnel. Anthropic verifies the gateway's ID of the tunnel the certificate is registered against. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel_certificate"` #### Example @@ -1237,93 +1237,93 @@ Fetches a tunnel certificate by ID. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -1361,7 +1361,7 @@ Fetches a tunnel certificate by ID. ID of the tunnel the certificate is registered against. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel_certificate"` #### Example @@ -1427,93 +1427,93 @@ Lists the certificates registered on a tunnel. Archived certificates are exclude Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -1551,7 +1551,7 @@ Lists the certificates registered on a tunnel. Archived certificates are exclude ID of the tunnel the certificate is registered against. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel_certificate"` #### Example @@ -1610,93 +1610,93 @@ Archives a tunnel certificate, removing it from the set Anthropic trusts for the Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -1734,7 +1734,7 @@ Archives a tunnel certificate, removing it from the set Anthropic trusts for the ID of the tunnel the certificate is registered against. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel_certificate"` #### Example diff --git a/content/en/api/csharp/beta/tunnels/archive.md b/content/en/api/csharp/beta/tunnels/archive.md index 0bd1b18bf1..5ece5b7c38 100644 --- a/content/en/api/csharp/beta/tunnels/archive.md +++ b/content/en/api/csharp/beta/tunnels/archive.md @@ -20,93 +20,93 @@ Archives a tunnel. Archival is irreversible: every non-archived certificate on t Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -138,7 +138,7 @@ Archives a tunnel. Archival is irreversible: every non-archived certificate on t Anthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel"` ## Example diff --git a/content/en/api/csharp/beta/tunnels/certificates.md b/content/en/api/csharp/beta/tunnels/certificates.md index 3d623dec67..51fca8fdc1 100644 --- a/content/en/api/csharp/beta/tunnels/certificates.md +++ b/content/en/api/csharp/beta/tunnels/certificates.md @@ -28,93 +28,93 @@ Registers a public CA certificate on a tunnel. Anthropic verifies the gateway's Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -152,7 +152,7 @@ Registers a public CA certificate on a tunnel. Anthropic verifies the gateway's ID of the tunnel the certificate is registered against. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel_certificate"` ### Example @@ -208,93 +208,93 @@ Fetches a tunnel certificate by ID. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -332,7 +332,7 @@ Fetches a tunnel certificate by ID. ID of the tunnel the certificate is registered against. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel_certificate"` ### Example @@ -398,93 +398,93 @@ Lists the certificates registered on a tunnel. Archived certificates are exclude Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -522,7 +522,7 @@ Lists the certificates registered on a tunnel. Archived certificates are exclude ID of the tunnel the certificate is registered against. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel_certificate"` ### Example @@ -581,93 +581,93 @@ Archives a tunnel certificate, removing it from the set Anthropic trusts for the Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -705,7 +705,7 @@ Archives a tunnel certificate, removing it from the set Anthropic trusts for the ID of the tunnel the certificate is registered against. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel_certificate"` ### Example @@ -773,4 +773,4 @@ Console.WriteLine(betaTunnelCertificate); ID of the tunnel the certificate is registered against. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel_certificate"` diff --git a/content/en/api/csharp/beta/tunnels/certificates/archive.md b/content/en/api/csharp/beta/tunnels/certificates/archive.md index aeff06943d..6593936e4a 100644 --- a/content/en/api/csharp/beta/tunnels/certificates/archive.md +++ b/content/en/api/csharp/beta/tunnels/certificates/archive.md @@ -24,93 +24,93 @@ Archives a tunnel certificate, removing it from the set Anthropic trusts for the Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -148,7 +148,7 @@ Archives a tunnel certificate, removing it from the set Anthropic trusts for the ID of the tunnel the certificate is registered against. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel_certificate"` ## Example diff --git a/content/en/api/csharp/beta/tunnels/certificates/create.md b/content/en/api/csharp/beta/tunnels/certificates/create.md index 19e411ac0c..b6404e9838 100644 --- a/content/en/api/csharp/beta/tunnels/certificates/create.md +++ b/content/en/api/csharp/beta/tunnels/certificates/create.md @@ -26,93 +26,93 @@ Registers a public CA certificate on a tunnel. Anthropic verifies the gateway's Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -150,7 +150,7 @@ Registers a public CA certificate on a tunnel. Anthropic verifies the gateway's ID of the tunnel the certificate is registered against. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel_certificate"` ## Example diff --git a/content/en/api/csharp/beta/tunnels/certificates/list.md b/content/en/api/csharp/beta/tunnels/certificates/list.md index 2f4d35b273..1c34f289ba 100644 --- a/content/en/api/csharp/beta/tunnels/certificates/list.md +++ b/content/en/api/csharp/beta/tunnels/certificates/list.md @@ -34,93 +34,93 @@ Lists the certificates registered on a tunnel. Archived certificates are exclude Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -158,7 +158,7 @@ Lists the certificates registered on a tunnel. Archived certificates are exclude ID of the tunnel the certificate is registered against. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel_certificate"` ## Example diff --git a/content/en/api/csharp/beta/tunnels/certificates/retrieve.md b/content/en/api/csharp/beta/tunnels/certificates/retrieve.md index 2a62a1fd31..0937fdf779 100644 --- a/content/en/api/csharp/beta/tunnels/certificates/retrieve.md +++ b/content/en/api/csharp/beta/tunnels/certificates/retrieve.md @@ -24,93 +24,93 @@ Fetches a tunnel certificate by ID. Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -148,7 +148,7 @@ Fetches a tunnel certificate by ID. ID of the tunnel the certificate is registered against. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel_certificate"` ## Example diff --git a/content/en/api/csharp/beta/tunnels/create.md b/content/en/api/csharp/beta/tunnels/create.md index 9ee293ceba..51bc4b0942 100644 --- a/content/en/api/csharp/beta/tunnels/create.md +++ b/content/en/api/csharp/beta/tunnels/create.md @@ -22,93 +22,93 @@ Creates a tunnel. Creation allocates a fresh hostname and provisions the tunnel; Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -140,7 +140,7 @@ Creates a tunnel. Creation allocates a fresh hostname and provisions the tunnel; Anthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel"` ## Example diff --git a/content/en/api/csharp/beta/tunnels/list.md b/content/en/api/csharp/beta/tunnels/list.md index 1a561d35ad..0afd91cf0d 100644 --- a/content/en/api/csharp/beta/tunnels/list.md +++ b/content/en/api/csharp/beta/tunnels/list.md @@ -30,93 +30,93 @@ Lists tunnels. Results are ordered by creation time, newest first; archived tunn Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -148,7 +148,7 @@ Lists tunnels. Results are ordered by creation time, newest first; archived tunn Anthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel"` ## Example diff --git a/content/en/api/csharp/beta/tunnels/retrieve.md b/content/en/api/csharp/beta/tunnels/retrieve.md index 60ec960fd3..33d4de1083 100644 --- a/content/en/api/csharp/beta/tunnels/retrieve.md +++ b/content/en/api/csharp/beta/tunnels/retrieve.md @@ -20,93 +20,93 @@ Fetches a tunnel by ID. Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -138,7 +138,7 @@ Fetches a tunnel by ID. Anthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel"` ## Example diff --git a/content/en/api/csharp/beta/tunnels/reveal_token.md b/content/en/api/csharp/beta/tunnels/reveal_token.md index 3fec2a661a..f7efbe6d37 100644 --- a/content/en/api/csharp/beta/tunnels/reveal_token.md +++ b/content/en/api/csharp/beta/tunnels/reveal_token.md @@ -20,93 +20,93 @@ Reveals a tunnel's connector token. The value is fetched live on each call; Anth Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -122,7 +122,7 @@ Reveals a tunnel's connector token. The value is fetched live on each call; Anth The connector token used to run the tunnel. Treat as a credential. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel_token"` ## Example diff --git a/content/en/api/csharp/beta/tunnels/rotate_token.md b/content/en/api/csharp/beta/tunnels/rotate_token.md index d2c5c17c25..e5868d6b1b 100644 --- a/content/en/api/csharp/beta/tunnels/rotate_token.md +++ b/content/en/api/csharp/beta/tunnels/rotate_token.md @@ -26,93 +26,93 @@ Rotates a tunnel's connector token. Rotation invalidates the current token for n Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -128,7 +128,7 @@ Rotates a tunnel's connector token. Rotation invalidates the current token for n The connector token used to run the tunnel. Treat as a credential. - - `JsonElement Type constant` + - `JsonElement Type = "tunnel_token"` ## Example diff --git a/content/en/api/csharp/beta/user_profiles.md b/content/en/api/csharp/beta/user_profiles.md index 174d308783..76d8bec905 100644 --- a/content/en/api/csharp/beta/user_profiles.md +++ b/content/en/api/csharp/beta/user_profiles.md @@ -16,9 +16,9 @@ Create User Profile Body param: How the platform uses the API on behalf of the entity this profile represents. `application`: the platform sells a product that uses the API behind the scenes, and the profile represents an individual end-user of that product. `passthrough`: the platform resells raw inference, and the profile identifies the resold-to company. - - `Application` + - `Application("application")` - - `Passthrough` + - `Passthrough("passthrough")` - `string? externalID` @@ -46,93 +46,93 @@ Create User Profile Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -160,11 +160,11 @@ Create User Profile Status of the trust grant. - - `Active` + - `Active("active")` - - `Pending` + - `Pending("pending")` - - `Rejected` + - `Rejected("rejected")` - `required Type Type` @@ -180,9 +180,9 @@ Create User Profile How the platform uses the API on behalf of the entity this profile represents. `application`: the platform sells a product that uses the API behind the scenes, and the profile represents an individual end-user of that product. `passthrough`: the platform resells raw inference, and the profile identifies the resold-to company. - - `Application` + - `Application("application")` - - `Passthrough` + - `Passthrough("passthrough")` - `string? ExternalID` @@ -251,17 +251,17 @@ List User Profiles Query param: Query parameter for order - - `Asc` + - `Asc("asc")` - - `Desc` + - `Desc("desc")` - `OrderBy orderBy` Query param: Query parameter for order_by - - `CreatedAt` + - `CreatedAt("created_at")` - - `Name` + - `Name("name")` - `string page` @@ -271,93 +271,93 @@ List User Profiles Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -385,11 +385,11 @@ List User Profiles Status of the trust grant. - - `Active` + - `Active("active")` - - `Pending` + - `Pending("pending")` - - `Rejected` + - `Rejected("rejected")` - `required Type Type` @@ -405,9 +405,9 @@ List User Profiles How the platform uses the API on behalf of the entity this profile represents. `application`: the platform sells a product that uses the API behind the scenes, and the profile represents an individual end-user of that product. `passthrough`: the platform resells raw inference, and the profile identifies the resold-to company. - - `Application` + - `Application("application")` - - `Passthrough` + - `Passthrough("passthrough")` - `string? ExternalID` @@ -481,93 +481,93 @@ Get User Profile Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -595,11 +595,11 @@ Get User Profile Status of the trust grant. - - `Active` + - `Active("active")` - - `Pending` + - `Pending("pending")` - - `Rejected` + - `Rejected("rejected")` - `required Type Type` @@ -615,9 +615,9 @@ Get User Profile How the platform uses the API on behalf of the entity this profile represents. `application`: the platform sells a product that uses the API behind the scenes, and the profile represents an individual end-user of that product. `passthrough`: the platform resells raw inference, and the profile identifies the resold-to company. - - `Application` + - `Application("application")` - - `Passthrough` + - `Passthrough("passthrough")` - `string? ExternalID` @@ -687,9 +687,9 @@ Update User Profile Body param: How the platform uses the API on behalf of the entity this profile represents. `application`: the platform sells a product that uses the API behind the scenes, and the profile represents an individual end-user of that product. `passthrough`: the platform resells raw inference, and the profile identifies the resold-to company. - - `Application` + - `Application("application")` - - `Passthrough` + - `Passthrough("passthrough")` - `string? externalID` @@ -717,93 +717,93 @@ Update User Profile Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -831,11 +831,11 @@ Update User Profile Status of the trust grant. - - `Active` + - `Active("active")` - - `Pending` + - `Pending("pending")` - - `Rejected` + - `Rejected("rejected")` - `required Type Type` @@ -851,9 +851,9 @@ Update User Profile How the platform uses the API on behalf of the entity this profile represents. `application`: the platform sells a product that uses the API behind the scenes, and the profile represents an individual end-user of that product. `passthrough`: the platform resells raw inference, and the profile identifies the resold-to company. - - `Application` + - `Application("application")` - - `Passthrough` + - `Passthrough("passthrough")` - `string? ExternalID` @@ -923,93 +923,93 @@ Create Enrollment URL Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -1080,11 +1080,11 @@ Console.WriteLine(betaUserProfileEnrollmentUrl); Status of the trust grant. - - `Active` + - `Active("active")` - - `Pending` + - `Pending("pending")` - - `Rejected` + - `Rejected("rejected")` - `required Type Type` @@ -1100,9 +1100,9 @@ Console.WriteLine(betaUserProfileEnrollmentUrl); How the platform uses the API on behalf of the entity this profile represents. `application`: the platform sells a product that uses the API behind the scenes, and the profile represents an individual end-user of that product. `passthrough`: the platform resells raw inference, and the profile identifies the resold-to company. - - `Application` + - `Application("application")` - - `Passthrough` + - `Passthrough("passthrough")` - `string? ExternalID` @@ -1144,8 +1144,8 @@ Console.WriteLine(betaUserProfileEnrollmentUrl); Status of the trust grant. - - `Active` + - `Active("active")` - - `Pending` + - `Pending("pending")` - - `Rejected` + - `Rejected("rejected")` diff --git a/content/en/api/csharp/beta/user_profiles/create.md b/content/en/api/csharp/beta/user_profiles/create.md index b7de04ca6f..a2f0d11593 100644 --- a/content/en/api/csharp/beta/user_profiles/create.md +++ b/content/en/api/csharp/beta/user_profiles/create.md @@ -14,9 +14,9 @@ Create User Profile Body param: How the platform uses the API on behalf of the entity this profile represents. `application`: the platform sells a product that uses the API behind the scenes, and the profile represents an individual end-user of that product. `passthrough`: the platform resells raw inference, and the profile identifies the resold-to company. - - `Application` + - `Application("application")` - - `Passthrough` + - `Passthrough("passthrough")` - `string? externalID` @@ -44,93 +44,93 @@ Create User Profile Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -158,11 +158,11 @@ Create User Profile Status of the trust grant. - - `Active` + - `Active("active")` - - `Pending` + - `Pending("pending")` - - `Rejected` + - `Rejected("rejected")` - `required Type Type` @@ -178,9 +178,9 @@ Create User Profile How the platform uses the API on behalf of the entity this profile represents. `application`: the platform sells a product that uses the API behind the scenes, and the profile represents an individual end-user of that product. `passthrough`: the platform resells raw inference, and the profile identifies the resold-to company. - - `Application` + - `Application("application")` - - `Passthrough` + - `Passthrough("passthrough")` - `string? ExternalID` diff --git a/content/en/api/csharp/beta/user_profiles/create_enrollment_url.md b/content/en/api/csharp/beta/user_profiles/create_enrollment_url.md index c00904c3de..d7878cdc62 100644 --- a/content/en/api/csharp/beta/user_profiles/create_enrollment_url.md +++ b/content/en/api/csharp/beta/user_profiles/create_enrollment_url.md @@ -18,93 +18,93 @@ Create Enrollment URL Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/user_profiles/list.md b/content/en/api/csharp/beta/user_profiles/list.md index 2e621a6def..6cd7ea69e3 100644 --- a/content/en/api/csharp/beta/user_profiles/list.md +++ b/content/en/api/csharp/beta/user_profiles/list.md @@ -20,17 +20,17 @@ List User Profiles Query param: Query parameter for order - - `Asc` + - `Asc("asc")` - - `Desc` + - `Desc("desc")` - `OrderBy orderBy` Query param: Query parameter for order_by - - `CreatedAt` + - `CreatedAt("created_at")` - - `Name` + - `Name("name")` - `string page` @@ -40,93 +40,93 @@ List User Profiles Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -154,11 +154,11 @@ List User Profiles Status of the trust grant. - - `Active` + - `Active("active")` - - `Pending` + - `Pending("pending")` - - `Rejected` + - `Rejected("rejected")` - `required Type Type` @@ -174,9 +174,9 @@ List User Profiles How the platform uses the API on behalf of the entity this profile represents. `application`: the platform sells a product that uses the API behind the scenes, and the profile represents an individual end-user of that product. `passthrough`: the platform resells raw inference, and the profile identifies the resold-to company. - - `Application` + - `Application("application")` - - `Passthrough` + - `Passthrough("passthrough")` - `string? ExternalID` diff --git a/content/en/api/csharp/beta/user_profiles/retrieve.md b/content/en/api/csharp/beta/user_profiles/retrieve.md index 0ab79c2705..ed25516a0e 100644 --- a/content/en/api/csharp/beta/user_profiles/retrieve.md +++ b/content/en/api/csharp/beta/user_profiles/retrieve.md @@ -18,93 +18,93 @@ Get User Profile Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -132,11 +132,11 @@ Get User Profile Status of the trust grant. - - `Active` + - `Active("active")` - - `Pending` + - `Pending("pending")` - - `Rejected` + - `Rejected("rejected")` - `required Type Type` @@ -152,9 +152,9 @@ Get User Profile How the platform uses the API on behalf of the entity this profile represents. `application`: the platform sells a product that uses the API behind the scenes, and the profile represents an individual end-user of that product. `passthrough`: the platform resells raw inference, and the profile identifies the resold-to company. - - `Application` + - `Application("application")` - - `Passthrough` + - `Passthrough("passthrough")` - `string? ExternalID` diff --git a/content/en/api/csharp/beta/user_profiles/update.md b/content/en/api/csharp/beta/user_profiles/update.md index f83553bd4b..01fb5da1d7 100644 --- a/content/en/api/csharp/beta/user_profiles/update.md +++ b/content/en/api/csharp/beta/user_profiles/update.md @@ -18,9 +18,9 @@ Update User Profile Body param: How the platform uses the API on behalf of the entity this profile represents. `application`: the platform sells a product that uses the API behind the scenes, and the profile represents an individual end-user of that product. `passthrough`: the platform resells raw inference, and the profile identifies the resold-to company. - - `Application` + - `Application("application")` - - `Passthrough` + - `Passthrough("passthrough")` - `string? externalID` @@ -48,93 +48,93 @@ Update User Profile Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -162,11 +162,11 @@ Update User Profile Status of the trust grant. - - `Active` + - `Active("active")` - - `Pending` + - `Pending("pending")` - - `Rejected` + - `Rejected("rejected")` - `required Type Type` @@ -182,9 +182,9 @@ Update User Profile How the platform uses the API on behalf of the entity this profile represents. `application`: the platform sells a product that uses the API behind the scenes, and the profile represents an individual end-user of that product. `passthrough`: the platform resells raw inference, and the profile identifies the resold-to company. - - `Application` + - `Application("application")` - - `Passthrough` + - `Passthrough("passthrough")` - `string? ExternalID` diff --git a/content/en/api/csharp/beta/vaults.md b/content/en/api/csharp/beta/vaults.md index b04eece990..f54b853c8a 100644 --- a/content/en/api/csharp/beta/vaults.md +++ b/content/en/api/csharp/beta/vaults.md @@ -26,93 +26,93 @@ Create Vault Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -208,93 +208,93 @@ List Vaults Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -387,93 +387,93 @@ Get Vault Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -572,93 +572,93 @@ Update Vault Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -747,93 +747,93 @@ Delete Vault Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -889,93 +889,93 @@ Archive Vault Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -1292,93 +1292,93 @@ Create Credential Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -1610,93 +1610,93 @@ List Credentials Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -1919,93 +1919,93 @@ Get Credential Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -2354,93 +2354,93 @@ Update Credential Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -2657,93 +2657,93 @@ Delete Credential Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -2804,93 +2804,93 @@ Archive Credential Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -3107,93 +3107,93 @@ Validate Credential Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` #### Returns @@ -3251,23 +3251,23 @@ Validate Credential Outcome of a refresh-token exchange attempted during credential validation. - - `Succeeded` + - `Succeeded("succeeded")` - - `Failed` + - `Failed("failed")` - - `ConnectError` + - `ConnectError("connect_error")` - - `NoRefreshToken` + - `NoRefreshToken("no_refresh_token")` - `required BetaManagedAgentsCredentialValidationStatus Status` Overall verdict of a credential validation probe. - - `Valid` + - `Valid("valid")` - - `Invalid` + - `Invalid("invalid")` - - `Unknown` + - `Unknown("unknown")` - `required Type Type` diff --git a/content/en/api/csharp/beta/vaults/archive.md b/content/en/api/csharp/beta/vaults/archive.md index e473d26447..c8a63b56fa 100644 --- a/content/en/api/csharp/beta/vaults/archive.md +++ b/content/en/api/csharp/beta/vaults/archive.md @@ -18,93 +18,93 @@ Archive Vault Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/vaults/create.md b/content/en/api/csharp/beta/vaults/create.md index 8be8aabc39..58db277647 100644 --- a/content/en/api/csharp/beta/vaults/create.md +++ b/content/en/api/csharp/beta/vaults/create.md @@ -24,93 +24,93 @@ Create Vault Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/vaults/credentials.md b/content/en/api/csharp/beta/vaults/credentials.md index 81ee11fef7..967e311569 100644 --- a/content/en/api/csharp/beta/vaults/credentials.md +++ b/content/en/api/csharp/beta/vaults/credentials.md @@ -194,93 +194,93 @@ Create Credential Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -512,93 +512,93 @@ List Credentials Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -821,93 +821,93 @@ Get Credential Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -1256,93 +1256,93 @@ Update Credential Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -1559,93 +1559,93 @@ Delete Credential Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -1706,93 +1706,93 @@ Archive Credential Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -2009,93 +2009,93 @@ Validate Credential Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -2153,23 +2153,23 @@ Validate Credential Outcome of a refresh-token exchange attempted during credential validation. - - `Succeeded` + - `Succeeded("succeeded")` - - `Failed` + - `Failed("failed")` - - `ConnectError` + - `ConnectError("connect_error")` - - `NoRefreshToken` + - `NoRefreshToken("no_refresh_token")` - `required BetaManagedAgentsCredentialValidationStatus Status` Overall verdict of a credential validation probe. - - `Valid` + - `Valid("valid")` - - `Invalid` + - `Invalid("invalid")` - - `Unknown` + - `Unknown("unknown")` - `required Type Type` @@ -2464,23 +2464,23 @@ Console.WriteLine(betaManagedAgentsCredentialValidation); Outcome of a refresh-token exchange attempted during credential validation. - - `Succeeded` + - `Succeeded("succeeded")` - - `Failed` + - `Failed("failed")` - - `ConnectError` + - `ConnectError("connect_error")` - - `NoRefreshToken` + - `NoRefreshToken("no_refresh_token")` - `required BetaManagedAgentsCredentialValidationStatus Status` Overall verdict of a credential validation probe. - - `Valid` + - `Valid("valid")` - - `Invalid` + - `Invalid("invalid")` - - `Unknown` + - `Unknown("unknown")` - `required Type Type` @@ -2500,11 +2500,11 @@ Console.WriteLine(betaManagedAgentsCredentialValidation); Overall verdict of a credential validation probe. - - `Valid` + - `Valid("valid")` - - `Invalid` + - `Invalid("invalid")` - - `Unknown` + - `Unknown("unknown")` ### Beta Managed Agents Deleted Credential @@ -3192,13 +3192,13 @@ Console.WriteLine(betaManagedAgentsCredentialValidation); Outcome of a refresh-token exchange attempted during credential validation. - - `Succeeded` + - `Succeeded("succeeded")` - - `Failed` + - `Failed("failed")` - - `ConnectError` + - `ConnectError("connect_error")` - - `NoRefreshToken` + - `NoRefreshToken("no_refresh_token")` ### Beta Managed Agents Static Bearer Auth Response diff --git a/content/en/api/csharp/beta/vaults/credentials/archive.md b/content/en/api/csharp/beta/vaults/credentials/archive.md index 20fd58bade..47169ab682 100644 --- a/content/en/api/csharp/beta/vaults/credentials/archive.md +++ b/content/en/api/csharp/beta/vaults/credentials/archive.md @@ -22,93 +22,93 @@ Archive Credential Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/vaults/credentials/create.md b/content/en/api/csharp/beta/vaults/credentials/create.md index dc6757c03f..cb7ef26e12 100644 --- a/content/en/api/csharp/beta/vaults/credentials/create.md +++ b/content/en/api/csharp/beta/vaults/credentials/create.md @@ -192,93 +192,93 @@ Create Credential Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/vaults/credentials/delete.md b/content/en/api/csharp/beta/vaults/credentials/delete.md index 6ce9901fa8..b6a7b1151e 100644 --- a/content/en/api/csharp/beta/vaults/credentials/delete.md +++ b/content/en/api/csharp/beta/vaults/credentials/delete.md @@ -22,93 +22,93 @@ Delete Credential Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/vaults/credentials/list.md b/content/en/api/csharp/beta/vaults/credentials/list.md index ad23b4fcf1..5fe610edbb 100644 --- a/content/en/api/csharp/beta/vaults/credentials/list.md +++ b/content/en/api/csharp/beta/vaults/credentials/list.md @@ -32,93 +32,93 @@ List Credentials Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/vaults/credentials/mcp_oauth_validate.md b/content/en/api/csharp/beta/vaults/credentials/mcp_oauth_validate.md index 9c8497181c..3ccb5ace0a 100644 --- a/content/en/api/csharp/beta/vaults/credentials/mcp_oauth_validate.md +++ b/content/en/api/csharp/beta/vaults/credentials/mcp_oauth_validate.md @@ -22,93 +22,93 @@ Validate Credential Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -166,23 +166,23 @@ Validate Credential Outcome of a refresh-token exchange attempted during credential validation. - - `Succeeded` + - `Succeeded("succeeded")` - - `Failed` + - `Failed("failed")` - - `ConnectError` + - `ConnectError("connect_error")` - - `NoRefreshToken` + - `NoRefreshToken("no_refresh_token")` - `required BetaManagedAgentsCredentialValidationStatus Status` Overall verdict of a credential validation probe. - - `Valid` + - `Valid("valid")` - - `Invalid` + - `Invalid("invalid")` - - `Unknown` + - `Unknown("unknown")` - `required Type Type` diff --git a/content/en/api/csharp/beta/vaults/credentials/retrieve.md b/content/en/api/csharp/beta/vaults/credentials/retrieve.md index 994a530c76..c8670803b6 100644 --- a/content/en/api/csharp/beta/vaults/credentials/retrieve.md +++ b/content/en/api/csharp/beta/vaults/credentials/retrieve.md @@ -22,93 +22,93 @@ Get Credential Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/vaults/credentials/update.md b/content/en/api/csharp/beta/vaults/credentials/update.md index c1b2411c59..2f13968a16 100644 --- a/content/en/api/csharp/beta/vaults/credentials/update.md +++ b/content/en/api/csharp/beta/vaults/credentials/update.md @@ -154,93 +154,93 @@ Update Credential Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/vaults/delete.md b/content/en/api/csharp/beta/vaults/delete.md index 644b476d10..beae21983b 100644 --- a/content/en/api/csharp/beta/vaults/delete.md +++ b/content/en/api/csharp/beta/vaults/delete.md @@ -18,93 +18,93 @@ Delete Vault Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/vaults/list.md b/content/en/api/csharp/beta/vaults/list.md index c592865fb9..e4668b6701 100644 --- a/content/en/api/csharp/beta/vaults/list.md +++ b/content/en/api/csharp/beta/vaults/list.md @@ -28,93 +28,93 @@ List Vaults Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/vaults/retrieve.md b/content/en/api/csharp/beta/vaults/retrieve.md index b8cdb427de..600e7b5628 100644 --- a/content/en/api/csharp/beta/vaults/retrieve.md +++ b/content/en/api/csharp/beta/vaults/retrieve.md @@ -18,93 +18,93 @@ Get Vault Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/vaults/update.md b/content/en/api/csharp/beta/vaults/update.md index 52beb1dfd6..8af43684ae 100644 --- a/content/en/api/csharp/beta/vaults/update.md +++ b/content/en/api/csharp/beta/vaults/update.md @@ -28,93 +28,93 @@ Update Vault Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns diff --git a/content/en/api/csharp/beta/webhooks.md b/content/en/api/csharp/beta/webhooks.md index 946c750df3..f152c411a4 100644 --- a/content/en/api/csharp/beta/webhooks.md +++ b/content/en/api/csharp/beta/webhooks.md @@ -12,7 +12,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "agent.archived"` - `required string WorkspaceID` @@ -26,7 +26,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "agent.created"` - `required string WorkspaceID` @@ -40,7 +40,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "agent.deleted"` - `required string WorkspaceID` @@ -54,7 +54,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "agent.updated"` - `required string WorkspaceID` @@ -68,7 +68,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "deployment.archived"` - `required string WorkspaceID` @@ -82,7 +82,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "deployment.created"` - `required string WorkspaceID` @@ -96,7 +96,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "deployment.deleted"` - `required string WorkspaceID` @@ -110,7 +110,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "deployment.paused"` - `required string WorkspaceID` @@ -124,7 +124,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "deployment_run.failed"` - `required string WorkspaceID` @@ -138,7 +138,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "deployment_run.started"` - `required string WorkspaceID` @@ -152,7 +152,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "deployment_run.succeeded"` - `required string WorkspaceID` @@ -166,7 +166,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "deployment.unpaused"` - `required string WorkspaceID` @@ -180,7 +180,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "deployment.updated"` - `required string WorkspaceID` @@ -194,7 +194,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "environment.archived"` - `required string WorkspaceID` @@ -208,7 +208,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "environment.created"` - `required string WorkspaceID` @@ -222,7 +222,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "environment.deleted"` - `required string WorkspaceID` @@ -236,7 +236,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "environment.updated"` - `required string WorkspaceID` @@ -264,7 +264,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.created"` - `required string WorkspaceID` @@ -276,7 +276,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.pending"` - `required string WorkspaceID` @@ -288,7 +288,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.running"` - `required string WorkspaceID` @@ -300,7 +300,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.idled"` - `required string WorkspaceID` @@ -312,7 +312,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.requires_action"` - `required string WorkspaceID` @@ -324,7 +324,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.archived"` - `required string WorkspaceID` @@ -336,7 +336,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.deleted"` - `required string WorkspaceID` @@ -348,7 +348,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.status_rescheduled"` - `required string WorkspaceID` @@ -360,7 +360,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.status_run_started"` - `required string WorkspaceID` @@ -372,7 +372,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.status_idled"` - `required string WorkspaceID` @@ -384,7 +384,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.status_terminated"` - `required string WorkspaceID` @@ -400,7 +400,7 @@ ID of the session thread this event refers to. - - `JsonElement Type constant` + - `JsonElement Type = "session.thread_created"` - `required string WorkspaceID` @@ -416,7 +416,7 @@ ID of the session thread this event refers to. - - `JsonElement Type constant` + - `JsonElement Type = "session.thread_idled"` - `required string WorkspaceID` @@ -432,7 +432,7 @@ ID of the session thread this event refers to. - - `JsonElement Type constant` + - `JsonElement Type = "session.thread_terminated"` - `required string WorkspaceID` @@ -444,7 +444,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.outcome_evaluation_ended"` - `required string WorkspaceID` @@ -456,7 +456,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "vault.created"` - `required string WorkspaceID` @@ -468,7 +468,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "vault.archived"` - `required string WorkspaceID` @@ -480,7 +480,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "vault.deleted"` - `required string WorkspaceID` @@ -492,7 +492,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "vault_credential.created"` - `required string VaultID` @@ -508,7 +508,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "vault_credential.archived"` - `required string VaultID` @@ -524,7 +524,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "vault_credential.deleted"` - `required string VaultID` @@ -540,7 +540,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "vault_credential.refresh_failed"` - `required string VaultID` @@ -556,7 +556,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.updated"` - `required string WorkspaceID` @@ -568,7 +568,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "agent.created"` - `required string WorkspaceID` @@ -580,7 +580,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "agent.archived"` - `required string WorkspaceID` @@ -592,7 +592,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "agent.deleted"` - `required string WorkspaceID` @@ -604,7 +604,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "deployment.paused"` - `required string WorkspaceID` @@ -616,7 +616,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "deployment_run.failed"` - `required string WorkspaceID` @@ -628,7 +628,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "deployment.created"` - `required string WorkspaceID` @@ -640,7 +640,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "deployment.updated"` - `required string WorkspaceID` @@ -652,7 +652,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "deployment.unpaused"` - `required string WorkspaceID` @@ -664,7 +664,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "agent.updated"` - `required string WorkspaceID` @@ -676,7 +676,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "deployment.archived"` - `required string WorkspaceID` @@ -688,7 +688,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "deployment_run.started"` - `required string WorkspaceID` @@ -700,7 +700,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "deployment.deleted"` - `required string WorkspaceID` @@ -712,7 +712,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "deployment_run.succeeded"` - `required string WorkspaceID` @@ -724,7 +724,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "environment.created"` - `required string WorkspaceID` @@ -736,7 +736,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "environment.updated"` - `required string WorkspaceID` @@ -748,7 +748,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "environment.archived"` - `required string WorkspaceID` @@ -760,7 +760,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "environment.deleted"` - `required string WorkspaceID` @@ -772,7 +772,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "memory_store.created"` - `required string WorkspaceID` @@ -784,7 +784,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "memory_store.archived"` - `required string WorkspaceID` @@ -796,7 +796,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "memory_store.deleted"` - `required string WorkspaceID` @@ -808,11 +808,11 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.budget_reached"` - `required string WorkspaceID` - - `JsonElement Type constant` + - `JsonElement Type = "event"` Object type. Always `event` for webhook payloads. @@ -828,7 +828,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.created"` - `required string WorkspaceID` @@ -840,7 +840,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.pending"` - `required string WorkspaceID` @@ -852,7 +852,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.running"` - `required string WorkspaceID` @@ -864,7 +864,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.idled"` - `required string WorkspaceID` @@ -876,7 +876,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.requires_action"` - `required string WorkspaceID` @@ -888,7 +888,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.archived"` - `required string WorkspaceID` @@ -900,7 +900,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.deleted"` - `required string WorkspaceID` @@ -912,7 +912,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.status_rescheduled"` - `required string WorkspaceID` @@ -924,7 +924,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.status_run_started"` - `required string WorkspaceID` @@ -936,7 +936,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.status_idled"` - `required string WorkspaceID` @@ -948,7 +948,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.status_terminated"` - `required string WorkspaceID` @@ -964,7 +964,7 @@ ID of the session thread this event refers to. - - `JsonElement Type constant` + - `JsonElement Type = "session.thread_created"` - `required string WorkspaceID` @@ -980,7 +980,7 @@ ID of the session thread this event refers to. - - `JsonElement Type constant` + - `JsonElement Type = "session.thread_idled"` - `required string WorkspaceID` @@ -996,7 +996,7 @@ ID of the session thread this event refers to. - - `JsonElement Type constant` + - `JsonElement Type = "session.thread_terminated"` - `required string WorkspaceID` @@ -1008,7 +1008,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.outcome_evaluation_ended"` - `required string WorkspaceID` @@ -1020,7 +1020,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "vault.created"` - `required string WorkspaceID` @@ -1032,7 +1032,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "vault.archived"` - `required string WorkspaceID` @@ -1044,7 +1044,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "vault.deleted"` - `required string WorkspaceID` @@ -1056,7 +1056,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "vault_credential.created"` - `required string VaultID` @@ -1072,7 +1072,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "vault_credential.archived"` - `required string VaultID` @@ -1088,7 +1088,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "vault_credential.deleted"` - `required string VaultID` @@ -1104,7 +1104,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "vault_credential.refresh_failed"` - `required string VaultID` @@ -1120,7 +1120,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.updated"` - `required string WorkspaceID` @@ -1132,7 +1132,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "agent.created"` - `required string WorkspaceID` @@ -1144,7 +1144,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "agent.archived"` - `required string WorkspaceID` @@ -1156,7 +1156,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "agent.deleted"` - `required string WorkspaceID` @@ -1168,7 +1168,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "deployment.paused"` - `required string WorkspaceID` @@ -1180,7 +1180,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "deployment_run.failed"` - `required string WorkspaceID` @@ -1192,7 +1192,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "deployment.created"` - `required string WorkspaceID` @@ -1204,7 +1204,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "deployment.updated"` - `required string WorkspaceID` @@ -1216,7 +1216,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "deployment.unpaused"` - `required string WorkspaceID` @@ -1228,7 +1228,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "agent.updated"` - `required string WorkspaceID` @@ -1240,7 +1240,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "deployment.archived"` - `required string WorkspaceID` @@ -1252,7 +1252,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "deployment_run.started"` - `required string WorkspaceID` @@ -1264,7 +1264,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "deployment.deleted"` - `required string WorkspaceID` @@ -1276,7 +1276,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "deployment_run.succeeded"` - `required string WorkspaceID` @@ -1288,7 +1288,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "environment.created"` - `required string WorkspaceID` @@ -1300,7 +1300,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "environment.updated"` - `required string WorkspaceID` @@ -1312,7 +1312,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "environment.archived"` - `required string WorkspaceID` @@ -1324,7 +1324,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "environment.deleted"` - `required string WorkspaceID` @@ -1336,7 +1336,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "memory_store.created"` - `required string WorkspaceID` @@ -1348,7 +1348,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "memory_store.archived"` - `required string WorkspaceID` @@ -1360,7 +1360,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "memory_store.deleted"` - `required string WorkspaceID` @@ -1372,7 +1372,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.budget_reached"` - `required string WorkspaceID` @@ -1386,7 +1386,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "memory_store.archived"` - `required string WorkspaceID` @@ -1400,7 +1400,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "memory_store.created"` - `required string WorkspaceID` @@ -1414,7 +1414,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "memory_store.deleted"` - `required string WorkspaceID` @@ -1428,7 +1428,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.archived"` - `required string WorkspaceID` @@ -1442,7 +1442,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.budget_reached"` - `required string WorkspaceID` @@ -1456,7 +1456,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.created"` - `required string WorkspaceID` @@ -1470,7 +1470,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.deleted"` - `required string WorkspaceID` @@ -1484,7 +1484,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.idled"` - `required string WorkspaceID` @@ -1498,7 +1498,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.outcome_evaluation_ended"` - `required string WorkspaceID` @@ -1512,7 +1512,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.pending"` - `required string WorkspaceID` @@ -1526,7 +1526,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.requires_action"` - `required string WorkspaceID` @@ -1540,7 +1540,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.running"` - `required string WorkspaceID` @@ -1554,7 +1554,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.status_idled"` - `required string WorkspaceID` @@ -1568,7 +1568,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.status_rescheduled"` - `required string WorkspaceID` @@ -1582,7 +1582,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.status_run_started"` - `required string WorkspaceID` @@ -1596,7 +1596,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.status_terminated"` - `required string WorkspaceID` @@ -1614,7 +1614,7 @@ ID of the session thread this event refers to. - - `JsonElement Type constant` + - `JsonElement Type = "session.thread_created"` - `required string WorkspaceID` @@ -1632,7 +1632,7 @@ ID of the session thread this event refers to. - - `JsonElement Type constant` + - `JsonElement Type = "session.thread_idled"` - `required string WorkspaceID` @@ -1650,7 +1650,7 @@ ID of the session thread this event refers to. - - `JsonElement Type constant` + - `JsonElement Type = "session.thread_terminated"` - `required string WorkspaceID` @@ -1664,7 +1664,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "session.updated"` - `required string WorkspaceID` @@ -1678,7 +1678,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "vault.archived"` - `required string WorkspaceID` @@ -1692,7 +1692,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "vault.created"` - `required string WorkspaceID` @@ -1706,7 +1706,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "vault_credential.archived"` - `required string VaultID` @@ -1724,7 +1724,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "vault_credential.created"` - `required string VaultID` @@ -1742,7 +1742,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "vault_credential.deleted"` - `required string VaultID` @@ -1760,7 +1760,7 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "vault_credential.refresh_failed"` - `required string VaultID` @@ -1778,6 +1778,6 @@ - `required string OrganizationID` - - `JsonElement Type constant` + - `JsonElement Type = "vault.deleted"` - `required string WorkspaceID` diff --git a/content/en/api/csharp/completions.md b/content/en/api/csharp/completions.md index e4228decbe..a4193ecd68 100644 --- a/content/en/api/csharp/completions.md +++ b/content/en/api/csharp/completions.md @@ -1 +1,545 @@ # Completions + +## Create a Text Completion + +**POST** `/v1/complete` + +[Legacy] Create a Text Completion. + +The Text Completions API is a legacy API. We recommend using the [Messages API](https://platform.claude.com/docs/en/api/messages) going forward. + +Future models and features will not be compatible with Text Completions. See our [migration guide](https://platform.claude.com/docs/en/build-with-claude/working-with-messages) for guidance in migrating from Text Completions to Messages. + +### Headers + +- `"anthropic-beta": optional array of AnthropicBeta` + + Optional header to specify the beta version(s) you want to use. + + - `string` + + - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more` + + - `"message-batches-2024-09-24"` + + - `"prompt-caching-2024-07-31"` + + - `"computer-use-2024-10-22"` + + - `"computer-use-2025-01-24"` + + - `"pdfs-2024-09-25"` + + - `"token-counting-2024-11-01"` + + - `"token-efficient-tools-2025-02-19"` + + - `"output-128k-2025-02-19"` + + - `"files-api-2025-04-14"` + + - `"mcp-client-2025-04-04"` + + - `"mcp-client-2025-11-20"` + + - `"dev-full-thinking-2025-05-14"` + + - `"interleaved-thinking-2025-05-14"` + + - `"code-execution-2025-05-22"` + + - `"extended-cache-ttl-2025-04-11"` + + - `"context-1m-2025-08-07"` + + - `"context-management-2025-06-27"` + + - `"model-context-window-exceeded-2025-08-26"` + + - `"skills-2025-10-02"` + + - `"fast-mode-2026-02-01"` + + - `"output-300k-2026-03-24"` + + - `"user-profiles-2026-03-24"` + + - `"user-profiles-2026-08-18"` + + - `"advisor-tool-2026-03-01"` + + - `"managed-agents-2026-04-01"` + + - `"cache-diagnosis-2026-04-07"` + + - `"dreaming-2026-04-21"` + + - `"thinking-token-count-2026-05-13"` + + - `"server-side-fallback-2026-06-01"` + + - `"server-side-fallback-2026-07-01"` + + - `"fallback-credit-2026-06-01"` + + - `"fallback-credit-2026-07-01"` + + - `"agent-memory-2026-07-22"` + + - `"mid-conversation-tool-changes-2026-07-01"` + + - `"compact-2026-01-12"` + + - `"computer-use-2025-11-24"` + + - `"mcp-tunnels-2026-06-22"` + + - `"structured-outputs-2025-11-13"` + + - `"task-budgets-2026-03-13"` + + - `"thinking-display-updates-2026-08-18"` + + - `"ce-user-management-2026-07-13"` + + - `"mid-conversation-output-config-2026-07-01"` + + - `"thinking-binding-controls-2026-08-01"` + + - `"mid-conversation-system-clear-at-2026-08-21"` + +### Body parameters + +- `max_tokens_to_sample: number` + + The maximum number of tokens to generate before stopping. + + Note that our models may stop _before_ reaching this maximum. This parameter only specifies the absolute maximum number of tokens to generate. + + minimum: 1 + +- `model: Model` + + The model that will complete your prompt. + + See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. + + - `"claude-fable-5-1" or "claude-mythos-5-1" or "claude-sonnet-5" or 14 more` + + The model that will complete your prompt. + + See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. + + - `"claude-fable-5-1"` + + Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows + + - `"claude-mythos-5-1"` + + Our most capable model for cybersecurity and biology research, available through trusted access programs + + - `"claude-sonnet-5"` + + High-performance model for coding and agents + + - `"claude-fable-5"` + + Next generation of intelligence for the hardest knowledge work and coding problems + + - `"claude-mythos-5"` + + Most capable model for cybersecurity and biology research + + - `"claude-opus-5"` + + Powerful intelligence for long-running agents and coding + + - `"claude-opus-4-8"` + + Powerful intelligence for long-running agents and coding + + - `"claude-opus-4-7"` + + Powerful intelligence for long-running agents and coding + + - `"claude-mythos-preview"` + + New class of intelligence, strongest in coding and cybersecurity + + - `"claude-opus-4-6"` + + Powerful intelligence for long-running agents and coding + + - `"claude-sonnet-4-6"` + + Best combination of speed and intelligence + + - `"claude-haiku-4-5"` + + Fastest model with near-frontier intelligence + + - `"claude-haiku-4-5-20251001"` + + Fastest model with near-frontier intelligence + + - `"claude-opus-4-5"` + + Powerful intelligence for long-running agents and coding + + - `"claude-opus-4-5-20251101"` + + Powerful intelligence for long-running agents and coding + + - `"claude-sonnet-4-5"` + + High-performance model for agents and coding + + - `"claude-sonnet-4-5-20250929"` + + High-performance model for agents and coding + + - `string` + +- `prompt: string` + + The prompt that you want Claude to complete. + + For proper response generation you will need to format your prompt using alternating ` + + Human:`and` + + Assistant:` conversational turns. For example: + + ``` + " + + Human: {userQuestion} + + Assistant:" + ``` + + See [prompt validation](https://platform.claude.com/docs/en/build-with-claude/working-with-messages) and our guide to [prompt design](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/overview) for more details. + + minLength: 1 + +- `metadata: optional Metadata` + + An object describing metadata about the request. + + - `user_id: optional string or null` + + An external identifier for the user who is associated with the request. + + This should be a uuid, hash value, or other opaque identifier. Anthropic may use this id to help detect abuse. Do not include any identifying information such as name, email address, or phone number. + + maxLength: 512 + +- `stop_sequences: optional array of string` + + Sequences that will cause the model to stop generating. + + Our models stop on `" + + Human:"`, and may include additional built-in stop sequences in the future. By providing the stop_sequences parameter, you may include additional strings that will cause the model to stop generating. + +- `stream: optional boolean` + + Whether to incrementally stream the response using server-sent events. + + See [streaming](https://platform.claude.com/docs/en/build-with-claude/streaming) for details. + +- `temperature: optional number` + + **Deprecated**: Deprecated. Models released after Claude Opus 4.6 do not support setting temperature. A value of 1.0 of will be accepted for backwards compatibility, all other values will be rejected with a 400 error. + + Amount of randomness injected into the response. + + Defaults to `1.0`. Ranges from `0.0` to `1.0`. Use `temperature` closer to `0.0` for analytical / multiple choice, and closer to `1.0` for creative and generative tasks. + + Note that even with `temperature` of `0.0`, the results will not be fully deterministic. + + maximum: 1, minimum: 0 + +- `top_k: optional number` + + **Deprecated**: Deprecated. Models released after Claude Opus 4.6 do not accept top_k; any value will be rejected with a 400 error. + + Only sample from the top K options for each subsequent token. + + Used to remove "long tail" low probability responses. [Learn more technical details here](https://towardsdatascience.com/how-to-sample-from-language-models-682bceb97277). + + Recommended for advanced use cases only. + + minimum: 0 + +- `top_p: optional number` + + **Deprecated**: Deprecated. Models released after Claude Opus 4.6 do not support setting top_p. A value >= 0.99 will be accepted for backwards compatibility, all other values will be rejected with a 400 error. + + Use nucleus sampling. + + In nucleus sampling, we compute the cumulative distribution over all the options for each subsequent token in decreasing probability order and cut it off once it reaches a particular probability specified by `top_p`. + + Recommended for advanced use cases only. + + maximum: 1, minimum: 0 + +### Returns + +- `Completion object` + + - `id: string` + + Unique object identifier. + + The format and length of IDs may change over time. + + - `completion: string` + + The resulting completion up to and excluding the stop sequences. + + - `model: Model` + + The model that will complete your prompt. + + See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. + + - `"claude-fable-5-1" or "claude-mythos-5-1" or "claude-sonnet-5" or 14 more` + + The model that will complete your prompt. + + See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. + + - `"claude-fable-5-1"` + + Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows + + - `"claude-mythos-5-1"` + + Our most capable model for cybersecurity and biology research, available through trusted access programs + + - `"claude-sonnet-5"` + + High-performance model for coding and agents + + - `"claude-fable-5"` + + Next generation of intelligence for the hardest knowledge work and coding problems + + - `"claude-mythos-5"` + + Most capable model for cybersecurity and biology research + + - `"claude-opus-5"` + + Powerful intelligence for long-running agents and coding + + - `"claude-opus-4-8"` + + Powerful intelligence for long-running agents and coding + + - `"claude-opus-4-7"` + + Powerful intelligence for long-running agents and coding + + - `"claude-mythos-preview"` + + New class of intelligence, strongest in coding and cybersecurity + + - `"claude-opus-4-6"` + + Powerful intelligence for long-running agents and coding + + - `"claude-sonnet-4-6"` + + Best combination of speed and intelligence + + - `"claude-haiku-4-5"` + + Fastest model with near-frontier intelligence + + - `"claude-haiku-4-5-20251001"` + + Fastest model with near-frontier intelligence + + - `"claude-opus-4-5"` + + Powerful intelligence for long-running agents and coding + + - `"claude-opus-4-5-20251101"` + + Powerful intelligence for long-running agents and coding + + - `"claude-sonnet-4-5"` + + High-performance model for agents and coding + + - `"claude-sonnet-4-5-20250929"` + + High-performance model for agents and coding + + - `string` + + - `stop_reason: string or null` + + The reason that we stopped. + + This may be one the following values: + + * `"stop_sequence"`: we reached a stop sequence — either provided by you via the `stop_sequences` parameter, or a stop sequence built into the model + * `"max_tokens"`: we exceeded `max_tokens_to_sample` or the model's maximum + + - `type: "completion"` + + Object type. + + For Text Completions, this is always `"completion"`. + + default: completion + +- `Completion object` + +### Example + +```bash +curl https://api.anthropic.com/v1/complete \ + -H 'Content-Type: application/json' \ + -H 'anthropic-version: 2023-06-01' \ + -H "X-Api-Key: $ANTHROPIC_API_KEY" \ + --max-time 600 \ + -d '{ + "max_tokens_to_sample": 256, + "model": "claude-2.1", + "prompt": "\n\nHuman: Hello, world!\n\nAssistant:", + "temperature": 1, + "top_k": 5, + "top_p": 0.7 + }' +``` + +#### Response (200) + +```json +{ + "id": "compl_018CKm6gsux7P8yMcwZbeCPw", + "completion": " Hello! My name is Claude.", + "model": "claude-2.1", + "stop_reason": "stop_sequence", + "type": "completion" +} +``` + +## Domain types + +### Completion + +- `Completion object` + + - `id: string` + + Unique object identifier. + + The format and length of IDs may change over time. + + - `completion: string` + + The resulting completion up to and excluding the stop sequences. + + - `model: Model` + + The model that will complete your prompt. + + See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. + + - `"claude-fable-5-1" or "claude-mythos-5-1" or "claude-sonnet-5" or 14 more` + + The model that will complete your prompt. + + See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. + + - `"claude-fable-5-1"` + + Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows + + - `"claude-mythos-5-1"` + + Our most capable model for cybersecurity and biology research, available through trusted access programs + + - `"claude-sonnet-5"` + + High-performance model for coding and agents + + - `"claude-fable-5"` + + Next generation of intelligence for the hardest knowledge work and coding problems + + - `"claude-mythos-5"` + + Most capable model for cybersecurity and biology research + + - `"claude-opus-5"` + + Powerful intelligence for long-running agents and coding + + - `"claude-opus-4-8"` + + Powerful intelligence for long-running agents and coding + + - `"claude-opus-4-7"` + + Powerful intelligence for long-running agents and coding + + - `"claude-mythos-preview"` + + New class of intelligence, strongest in coding and cybersecurity + + - `"claude-opus-4-6"` + + Powerful intelligence for long-running agents and coding + + - `"claude-sonnet-4-6"` + + Best combination of speed and intelligence + + - `"claude-haiku-4-5"` + + Fastest model with near-frontier intelligence + + - `"claude-haiku-4-5-20251001"` + + Fastest model with near-frontier intelligence + + - `"claude-opus-4-5"` + + Powerful intelligence for long-running agents and coding + + - `"claude-opus-4-5-20251101"` + + Powerful intelligence for long-running agents and coding + + - `"claude-sonnet-4-5"` + + High-performance model for agents and coding + + - `"claude-sonnet-4-5-20250929"` + + High-performance model for agents and coding + + - `string` + + - `stop_reason: string or null` + + The reason that we stopped. + + This may be one the following values: + + * `"stop_sequence"`: we reached a stop sequence — either provided by you via the `stop_sequences` parameter, or a stop sequence built into the model + * `"max_tokens"`: we exceeded `max_tokens_to_sample` or the model's maximum + + - `type: "completion"` + + Object type. + + For Text Completions, this is always `"completion"`. + + default: completion diff --git a/content/en/api/csharp/messages.md b/content/en/api/csharp/messages.md index c05f408272..690c108c2d 100644 --- a/content/en/api/csharp/messages.md +++ b/content/en/api/csharp/messages.md @@ -91,13 +91,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -110,9 +110,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -134,7 +134,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocationParam:` @@ -154,7 +154,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -184,7 +184,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -196,7 +196,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -234,7 +234,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class ImageBlockParam:` @@ -248,19 +248,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class UrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -268,9 +268,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `CacheControlEphemeral? CacheControl` @@ -284,9 +284,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - `class DocumentBlockParam:` @@ -298,17 +298,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class ContentBlockSource:` @@ -322,11 +322,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ImageBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class UrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -334,9 +334,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `CacheControlEphemeral? CacheControl` @@ -362,7 +362,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` @@ -374,7 +374,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result"` - `CacheControlEphemeral? CacheControl` @@ -394,7 +394,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `thinking` text of this block as returned by the API. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class RedactedThinkingBlockParam:` @@ -402,7 +402,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class ToolUseBlockParam:` @@ -416,7 +416,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 200, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `CacheControlEphemeral? CacheControl` @@ -430,7 +430,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -440,7 +440,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -448,7 +448,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -462,7 +462,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_result"` - `CacheControlEphemeral? CacheControl` @@ -490,7 +490,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `CacheControlEphemeral? CacheControl` @@ -534,7 +534,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonElement Type constant` + - `JsonElement Type = "browser_state"` - `CacheControlEphemeral? CacheControl` @@ -562,7 +562,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` - `class BrowserStateChangeDownloadStarted:` @@ -574,7 +574,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -595,7 +595,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -625,7 +625,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -657,21 +657,21 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required Name Name` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `CacheControlEphemeral? CacheControl` @@ -701,7 +701,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -711,25 +711,25 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -757,31 +757,31 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required WebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class WebFetchBlockParam:` - `required DocumentBlockParam Content` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -795,7 +795,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -825,15 +825,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlockParam:` @@ -841,7 +841,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -849,7 +849,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlockParam:` @@ -859,7 +859,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -867,13 +867,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -887,17 +887,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required BashCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlockParam:` @@ -905,7 +905,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -913,13 +913,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -933,17 +933,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required TextEditorCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `string? ErrorMessage` @@ -953,13 +953,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `long? NumLines` @@ -971,11 +971,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `IReadOnlyList? Lines` @@ -991,7 +991,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -1005,15 +1005,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ToolSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `string? ErrorMessage` @@ -1025,19 +1025,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -1050,7 +1050,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `CacheControlEphemeral? CacheControl` @@ -1058,11 +1058,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required Role Role` - - `User` + - `User("user")` - - `Assistant` + - `Assistant("assistant")` - - `System` + - `System("system")` - `required Model model` @@ -1096,9 +1096,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Anthropic offers different levels of service for your API requests. See [service-tiers](https://platform.claude.com/docs/en/api/service-tiers) for details. - - `Auto` + - `Auto("auto")` - - `StandardOnly` + - `StandardOnly("standard_only")` - `IReadOnlyList stopSequences` @@ -1122,7 +1122,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` @@ -1214,7 +1214,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -1230,13 +1230,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1266,23 +1266,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ToolBash20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1300,23 +1300,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class CodeExecutionTool20250522:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250522"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1332,23 +1332,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class CodeExecutionTool20250825:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1366,23 +1366,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1400,23 +1400,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Code execution tool with REPL state persistence. - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260521"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1437,7 +1437,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co the family's tool with any members disabled via `configs` removed from its schema. - - `JsonElement Type constant` + - `JsonElement Type = "browser_toolset_20260801"` - `CacheControlEphemeral? CacheControl` @@ -1826,23 +1826,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class MemoryTool20250818:` - - `JsonElement Name constant` + - `JsonElement Name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "memory_20250818"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1869,7 +1869,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonElement Type constant` + - `JsonElement Type = "computer_toolset_20260801"` - `CacheControlEphemeral? CacheControl` @@ -2090,23 +2090,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ToolTextEditor20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -2124,23 +2124,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ToolTextEditor20250429:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250429"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -2158,23 +2158,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ToolTextEditor20250728:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250728"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -2198,23 +2198,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class WebSearchTool20250305:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20250305"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2246,7 +2246,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Parameters for the user's location. Used to provide more relevant search results. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -2274,23 +2274,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class WebFetchTool20250910:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20250910"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2330,23 +2330,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class WebSearchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2380,23 +2380,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class WebFetchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2438,23 +2438,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260309"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2498,23 +2498,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class WebSearchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2542,9 +2542,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -2556,23 +2556,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class WebFetchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2610,9 +2610,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -2624,7 +2624,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ToolSearchToolBm25_20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_bm25"` Name of the tool. @@ -2632,19 +2632,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required Type Type` - - `ToolSearchToolBm25_20251119` + - `ToolSearchToolBm25_20251119("tool_search_tool_bm25_20251119")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -2660,7 +2660,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ToolSearchToolRegex20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_regex"` Name of the tool. @@ -2668,19 +2668,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required Type Type` - - `ToolSearchToolRegex20251119` + - `ToolSearchToolRegex20251119("tool_search_tool_regex_20251119")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -2772,9 +2772,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -2837,7 +2837,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocation:` @@ -2857,7 +2857,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocation:` @@ -2887,7 +2887,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -2899,7 +2899,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -2935,13 +2935,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class ThinkingBlock:` @@ -2957,7 +2957,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class RedactedThinkingBlock:` @@ -2969,7 +2969,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class ToolUseBlock:` @@ -2985,7 +2985,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -2995,7 +2995,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -3003,7 +3003,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `required IReadOnlyDictionary Input` @@ -3011,7 +3011,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `string? ToolsetName` @@ -3043,21 +3043,21 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required Name Name` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `class WebSearchToolResultBlock:` @@ -3081,19 +3081,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -3103,7 +3103,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -3111,7 +3111,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `class WebFetchToolResultBlock:` @@ -3135,25 +3135,25 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required WebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -3173,29 +3173,29 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -3205,7 +3205,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `class CodeExecutionToolResultBlock:` @@ -3217,15 +3217,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -3233,7 +3233,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -3241,7 +3241,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -3251,7 +3251,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -3259,13 +3259,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BashCodeExecutionToolResultBlock:` @@ -3275,17 +3275,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required BashCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -3293,7 +3293,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -3301,13 +3301,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class TextEditorCodeExecutionToolResultBlock:` @@ -3317,19 +3317,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required TextEditorCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -3337,11 +3337,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -3349,13 +3349,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -3369,13 +3369,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class ToolSearchToolResultBlock:` @@ -3385,17 +3385,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ToolSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -3405,15 +3405,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class ContainerUploadBlock:` @@ -3421,7 +3421,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `required Model Model` @@ -3429,75 +3429,75 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding - - `JsonElement Role constant` + - `JsonElement Role = "assistant"` Conversational role of the generated message. @@ -3511,23 +3511,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -3537,7 +3537,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co This text is not guaranteed to be stable. `null` when no explanation is available for the category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - `required StopReason? StopReason` @@ -3555,19 +3555,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co In non-streaming mode this value is always non-null. In streaming mode, it is null in the `message_start` event and non-null otherwise. - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` - `required string? StopSequence` @@ -3575,7 +3575,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonElement Type constant` + - `JsonElement Type = "message"` Object type. @@ -3679,11 +3679,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co If the request used the priority, standard, or batch tier. - - `Standard` + - `Standard("standard")` - - `Priority` + - `Priority("priority")` - - `Batch` + - `Batch("batch")` - `class RawMessageStreamEvent: union` @@ -3691,7 +3691,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required Message Message` - - `JsonElement Type constant` + - `JsonElement Type = "message_start"` - `class RawMessageDeltaEvent:` @@ -3709,7 +3709,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string? StopSequence` - - `JsonElement Type constant` + - `JsonElement Type = "message_delta"` - `required MessageDeltaUsage Usage` @@ -3760,7 +3760,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class RawMessageStopEvent:` - - `JsonElement Type constant` + - `JsonElement Type = "message_stop"` - `class RawContentBlockStartEvent:` @@ -3796,7 +3796,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required long Index` - - `JsonElement Type constant` + - `JsonElement Type = "content_block_start"` - `class RawContentBlockDeltaEvent:` @@ -3806,13 +3806,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "text_delta"` - `class InputJsonDelta:` - `required string PartialJson` - - `JsonElement Type constant` + - `JsonElement Type = "input_json_delta"` - `class CitationsDelta:` @@ -3828,7 +3828,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class CitationsSearchResultLocation:` - - `JsonElement Type constant` + - `JsonElement Type = "citations_delta"` - `class ThinkingDelta:` @@ -3836,7 +3836,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The incremental `thinking` text for this content block. Concatenate the `thinking` values of successive `thinking_delta` events to assemble the block's full `thinking` value. - - `JsonElement Type constant` + - `JsonElement Type = "thinking_delta"` - `class SignatureDelta:` @@ -3844,17 +3844,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `signature` for this thinking block: an opaque value used to verify that the block was generated by Claude when it is passed back to the API. Delivered in a `signature_delta` event just before the block's `content_block_stop` event. - - `JsonElement Type constant` + - `JsonElement Type = "signature_delta"` - `required long Index` - - `JsonElement Type constant` + - `JsonElement Type = "content_block_delta"` - `class RawContentBlockStopEvent:` - `required long Index` - - `JsonElement Type constant` + - `JsonElement Type = "content_block_stop"` ### Example @@ -4022,13 +4022,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -4041,9 +4041,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -4065,7 +4065,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocationParam:` @@ -4085,7 +4085,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -4115,7 +4115,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -4127,7 +4127,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -4165,7 +4165,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class ImageBlockParam:` @@ -4179,19 +4179,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class UrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -4199,9 +4199,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `CacheControlEphemeral? CacheControl` @@ -4215,9 +4215,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - `class DocumentBlockParam:` @@ -4229,17 +4229,17 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class ContentBlockSource:` @@ -4253,11 +4253,11 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ImageBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class UrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -4265,9 +4265,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `CacheControlEphemeral? CacheControl` @@ -4293,7 +4293,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` @@ -4305,7 +4305,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result"` - `CacheControlEphemeral? CacheControl` @@ -4325,7 +4325,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ The `thinking` text of this block as returned by the API. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class RedactedThinkingBlockParam:` @@ -4333,7 +4333,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class ToolUseBlockParam:` @@ -4347,7 +4347,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 200, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `CacheControlEphemeral? CacheControl` @@ -4361,7 +4361,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -4371,7 +4371,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -4379,7 +4379,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -4393,7 +4393,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_result"` - `CacheControlEphemeral? CacheControl` @@ -4421,7 +4421,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `CacheControlEphemeral? CacheControl` @@ -4465,7 +4465,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonElement Type constant` + - `JsonElement Type = "browser_state"` - `CacheControlEphemeral? CacheControl` @@ -4493,7 +4493,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` - `class BrowserStateChangeDownloadStarted:` @@ -4505,7 +4505,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -4526,7 +4526,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -4556,7 +4556,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -4588,21 +4588,21 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required Name Name` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `CacheControlEphemeral? CacheControl` @@ -4632,7 +4632,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -4642,25 +4642,25 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -4688,31 +4688,31 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required WebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class WebFetchBlockParam:` - `required DocumentBlockParam Content` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -4726,7 +4726,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -4756,15 +4756,15 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlockParam:` @@ -4772,7 +4772,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -4780,7 +4780,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlockParam:` @@ -4790,7 +4790,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -4798,13 +4798,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -4818,17 +4818,17 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required BashCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlockParam:` @@ -4836,7 +4836,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -4844,13 +4844,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -4864,17 +4864,17 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required TextEditorCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `string? ErrorMessage` @@ -4884,13 +4884,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `long? NumLines` @@ -4902,11 +4902,11 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `IReadOnlyList? Lines` @@ -4922,7 +4922,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -4936,15 +4936,15 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required ToolSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `string? ErrorMessage` @@ -4956,19 +4956,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -4981,7 +4981,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `CacheControlEphemeral? CacheControl` @@ -4989,11 +4989,11 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required Role Role` - - `User` + - `User("user")` - - `Assistant` + - `Assistant("assistant")` - - `System` + - `System("system")` - `required Model model` @@ -5023,7 +5023,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` @@ -5115,7 +5115,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -5131,13 +5131,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -5167,23 +5167,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ToolBash20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -5201,23 +5201,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class CodeExecutionTool20250522:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250522"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -5233,23 +5233,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class CodeExecutionTool20250825:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -5267,23 +5267,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -5301,23 +5301,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Code execution tool with REPL state persistence. - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260521"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -5338,7 +5338,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ the family's tool with any members disabled via `configs` removed from its schema. - - `JsonElement Type constant` + - `JsonElement Type = "browser_toolset_20260801"` - `CacheControlEphemeral? CacheControl` @@ -5727,23 +5727,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class MemoryTool20250818:` - - `JsonElement Name constant` + - `JsonElement Name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "memory_20250818"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -5770,7 +5770,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonElement Type constant` + - `JsonElement Type = "computer_toolset_20260801"` - `CacheControlEphemeral? CacheControl` @@ -5991,23 +5991,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ToolTextEditor20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -6025,23 +6025,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ToolTextEditor20250429:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250429"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -6059,23 +6059,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ToolTextEditor20250728:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250728"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -6099,23 +6099,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class WebSearchTool20250305:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20250305"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -6147,7 +6147,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Parameters for the user's location. Used to provide more relevant search results. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -6175,23 +6175,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class WebFetchTool20250910:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20250910"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -6231,23 +6231,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class WebSearchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -6281,23 +6281,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class WebFetchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -6339,23 +6339,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260309"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -6399,23 +6399,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class WebSearchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -6443,9 +6443,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -6457,23 +6457,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class WebFetchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -6511,9 +6511,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -6525,7 +6525,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ToolSearchToolBm25_20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_bm25"` Name of the tool. @@ -6533,19 +6533,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required Type Type` - - `ToolSearchToolBm25_20251119` + - `ToolSearchToolBm25_20251119("tool_search_tool_bm25_20251119")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -6561,7 +6561,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ToolSearchToolRegex20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_regex"` Name of the tool. @@ -6569,19 +6569,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required Type Type` - - `ToolSearchToolRegex20251119` + - `ToolSearchToolRegex20251119("tool_search_tool_regex_20251119")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -6648,15 +6648,15 @@ Console.WriteLine(messageTokensCount); - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` ### Base64 PDF Source @@ -6666,9 +6666,9 @@ Console.WriteLine(messageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` ### Bash Code Execution Output Block @@ -6676,7 +6676,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` ### Bash Code Execution Output Block Param @@ -6684,7 +6684,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` ### Bash Code Execution Result Block @@ -6694,7 +6694,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -6702,7 +6702,7 @@ Console.WriteLine(messageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` ### Bash Code Execution Result Block Param @@ -6712,7 +6712,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -6720,7 +6720,7 @@ Console.WriteLine(messageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` ### Bash Code Execution Tool Result Block @@ -6732,17 +6732,17 @@ Console.WriteLine(messageTokensCount); - `required BashCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -6750,7 +6750,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -6758,13 +6758,13 @@ Console.WriteLine(messageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` ### Bash Code Execution Tool Result Block Param @@ -6776,17 +6776,17 @@ Console.WriteLine(messageTokensCount); - `required BashCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlockParam:` @@ -6794,7 +6794,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -6802,19 +6802,19 @@ Console.WriteLine(messageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -6827,9 +6827,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` ### Bash Code Execution Tool Result Error @@ -6837,31 +6837,31 @@ Console.WriteLine(messageTokensCount); - `required BashCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` ### Bash Code Execution Tool Result Error Code - `enum BashCodeExecutionToolResultErrorCode:` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` ### Bash Code Execution Tool Result Error Param @@ -6869,17 +6869,17 @@ Console.WriteLine(messageTokensCount); - `required BashCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` ### Browser Close Tab Config @@ -7285,13 +7285,13 @@ Console.WriteLine(messageTokensCount); Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonElement Type constant` + - `JsonElement Type = "browser_state"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -7304,9 +7304,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? StateChanges` @@ -7330,7 +7330,7 @@ Console.WriteLine(messageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` - `class BrowserStateChangeDownloadStarted:` @@ -7342,7 +7342,7 @@ Console.WriteLine(messageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -7363,7 +7363,7 @@ Console.WriteLine(messageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -7393,7 +7393,7 @@ Console.WriteLine(messageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -7435,7 +7435,7 @@ Console.WriteLine(messageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` - `class BrowserStateChangeDownloadStarted:` @@ -7447,7 +7447,7 @@ Console.WriteLine(messageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -7468,7 +7468,7 @@ Console.WriteLine(messageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -7498,7 +7498,7 @@ Console.WriteLine(messageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -7527,7 +7527,7 @@ Console.WriteLine(messageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -7559,7 +7559,7 @@ Console.WriteLine(messageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -7585,7 +7585,7 @@ Console.WriteLine(messageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -7611,7 +7611,7 @@ Console.WriteLine(messageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` ### Browser State Tab Entry @@ -7671,13 +7671,13 @@ Console.WriteLine(messageTokensCount); the family's tool with any members disabled via `configs` removed from its schema. - - `JsonElement Type constant` + - `JsonElement Type = "browser_toolset_20260801"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -7690,9 +7690,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `BrowserToolsetConfigs? Configs` @@ -8518,7 +8518,7 @@ Console.WriteLine(messageTokensCount); - `class CacheControlEphemeral:` - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -8531,9 +8531,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` ### Cache Creation @@ -8571,7 +8571,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` ### Citation Char Location Param @@ -8593,7 +8593,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` ### Citation Content Block Location @@ -8625,7 +8625,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` ### Citation Content Block Location Param @@ -8657,7 +8657,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` ### Citation Page Location @@ -8679,7 +8679,7 @@ Console.WriteLine(messageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` ### Citation Page Location Param @@ -8701,7 +8701,7 @@ Console.WriteLine(messageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` ### Citation Search Result Location Param @@ -8737,7 +8737,7 @@ Console.WriteLine(messageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` ### Citation Web Search Result Location Param @@ -8751,7 +8751,7 @@ Console.WriteLine(messageTokensCount); maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -8793,7 +8793,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocation:` @@ -8813,7 +8813,7 @@ Console.WriteLine(messageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocation:` @@ -8843,7 +8843,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -8855,7 +8855,7 @@ Console.WriteLine(messageTokensCount); maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -8891,9 +8891,9 @@ Console.WriteLine(messageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - - `JsonElement Type constant` + - `JsonElement Type = "citations_delta"` ### Citations Search Result Location @@ -8929,7 +8929,7 @@ Console.WriteLine(messageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` ### Citations Web Search Result Location @@ -8943,7 +8943,7 @@ Console.WriteLine(messageTokensCount); maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -8953,7 +8953,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` ### Code Execution Output Block Param @@ -8961,7 +8961,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` ### Code Execution Result Block @@ -8971,7 +8971,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -8979,7 +8979,7 @@ Console.WriteLine(messageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` ### Code Execution Result Block Param @@ -8989,7 +8989,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -8997,35 +8997,35 @@ Console.WriteLine(messageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` ### Code Execution Tool 20250522 - `class CodeExecutionTool20250522:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250522"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -9038,9 +9038,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -9054,29 +9054,29 @@ Console.WriteLine(messageTokensCount); - `class CodeExecutionTool20250825:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -9089,9 +9089,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -9107,29 +9107,29 @@ Console.WriteLine(messageTokensCount); Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -9142,9 +9142,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -9160,29 +9160,29 @@ Console.WriteLine(messageTokensCount); Code execution tool with REPL state persistence. - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260521"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -9195,9 +9195,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -9219,15 +9219,15 @@ Console.WriteLine(messageTokensCount); - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -9235,7 +9235,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -9243,7 +9243,7 @@ Console.WriteLine(messageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -9253,7 +9253,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -9261,13 +9261,13 @@ Console.WriteLine(messageTokensCount); - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` ### Code Execution Tool Result Block Content @@ -9279,15 +9279,15 @@ Console.WriteLine(messageTokensCount); - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -9295,7 +9295,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -9303,7 +9303,7 @@ Console.WriteLine(messageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -9313,7 +9313,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -9321,7 +9321,7 @@ Console.WriteLine(messageTokensCount); - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` ### Code Execution Tool Result Block Param @@ -9335,15 +9335,15 @@ Console.WriteLine(messageTokensCount); - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlockParam:` @@ -9351,7 +9351,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -9359,7 +9359,7 @@ Console.WriteLine(messageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlockParam:` @@ -9369,7 +9369,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -9377,19 +9377,19 @@ Console.WriteLine(messageTokensCount); - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -9402,9 +9402,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` ### Code Execution Tool Result Block Param Content @@ -9416,15 +9416,15 @@ Console.WriteLine(messageTokensCount); - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlockParam:` @@ -9432,7 +9432,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -9440,7 +9440,7 @@ Console.WriteLine(messageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlockParam:` @@ -9450,7 +9450,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -9458,7 +9458,7 @@ Console.WriteLine(messageTokensCount); - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` ### Code Execution Tool Result Error @@ -9466,27 +9466,27 @@ Console.WriteLine(messageTokensCount); - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` ### Code Execution Tool Result Error Code - `enum CodeExecutionToolResultErrorCode:` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` ### Code Execution Tool Result Error Param @@ -9494,15 +9494,15 @@ Console.WriteLine(messageTokensCount); - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` ### Computer Cursor Position Config @@ -9699,13 +9699,13 @@ Console.WriteLine(messageTokensCount); `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonElement Type constant` + - `JsonElement Type = "computer_toolset_20260801"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -9718,9 +9718,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `ComputerToolsetConfigs? Configs` @@ -10236,9 +10236,9 @@ Console.WriteLine(messageTokensCount); Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -10272,9 +10272,9 @@ Console.WriteLine(messageTokensCount); Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `string Version` @@ -10298,9 +10298,9 @@ Console.WriteLine(messageTokensCount); Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -10316,7 +10316,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` ### Container Upload Block Param @@ -10327,13 +10327,13 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -10346,9 +10346,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` ### Content Block @@ -10382,7 +10382,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocation:` @@ -10402,7 +10402,7 @@ Console.WriteLine(messageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocation:` @@ -10432,7 +10432,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -10444,7 +10444,7 @@ Console.WriteLine(messageTokensCount); maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -10480,13 +10480,13 @@ Console.WriteLine(messageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class ThinkingBlock:` @@ -10502,7 +10502,7 @@ Console.WriteLine(messageTokensCount); The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class RedactedThinkingBlock:` @@ -10514,7 +10514,7 @@ Console.WriteLine(messageTokensCount); See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class ToolUseBlock:` @@ -10530,7 +10530,7 @@ Console.WriteLine(messageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -10540,7 +10540,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -10548,7 +10548,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `required IReadOnlyDictionary Input` @@ -10556,7 +10556,7 @@ Console.WriteLine(messageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `string? ToolsetName` @@ -10588,21 +10588,21 @@ Console.WriteLine(messageTokensCount); - `required Name Name` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `class WebSearchToolResultBlock:` @@ -10626,19 +10626,19 @@ Console.WriteLine(messageTokensCount); - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -10648,7 +10648,7 @@ Console.WriteLine(messageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -10656,7 +10656,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `class WebFetchToolResultBlock:` @@ -10680,25 +10680,25 @@ Console.WriteLine(messageTokensCount); - `required WebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -10718,29 +10718,29 @@ Console.WriteLine(messageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -10750,7 +10750,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `class CodeExecutionToolResultBlock:` @@ -10762,15 +10762,15 @@ Console.WriteLine(messageTokensCount); - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -10778,7 +10778,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -10786,7 +10786,7 @@ Console.WriteLine(messageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -10796,7 +10796,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -10804,13 +10804,13 @@ Console.WriteLine(messageTokensCount); - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BashCodeExecutionToolResultBlock:` @@ -10820,17 +10820,17 @@ Console.WriteLine(messageTokensCount); - `required BashCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -10838,7 +10838,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -10846,13 +10846,13 @@ Console.WriteLine(messageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class TextEditorCodeExecutionToolResultBlock:` @@ -10862,19 +10862,19 @@ Console.WriteLine(messageTokensCount); - `required TextEditorCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -10882,11 +10882,11 @@ Console.WriteLine(messageTokensCount); - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -10894,13 +10894,13 @@ Console.WriteLine(messageTokensCount); - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -10914,13 +10914,13 @@ Console.WriteLine(messageTokensCount); - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class ToolSearchToolResultBlock:` @@ -10930,17 +10930,17 @@ Console.WriteLine(messageTokensCount); - `required ToolSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -10950,15 +10950,15 @@ Console.WriteLine(messageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class ContainerUploadBlock:` @@ -10966,7 +10966,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` ### Content Block Param @@ -10980,13 +10980,13 @@ Console.WriteLine(messageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -10999,9 +10999,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -11023,7 +11023,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocationParam:` @@ -11043,7 +11043,7 @@ Console.WriteLine(messageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -11073,7 +11073,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -11085,7 +11085,7 @@ Console.WriteLine(messageTokensCount); maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -11123,7 +11123,7 @@ Console.WriteLine(messageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class ImageBlockParam:` @@ -11137,19 +11137,19 @@ Console.WriteLine(messageTokensCount); - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class UrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -11157,9 +11157,9 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `CacheControlEphemeral? CacheControl` @@ -11173,9 +11173,9 @@ Console.WriteLine(messageTokensCount); What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - `class DocumentBlockParam:` @@ -11187,17 +11187,17 @@ Console.WriteLine(messageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class ContentBlockSource:` @@ -11211,11 +11211,11 @@ Console.WriteLine(messageTokensCount); - `class ImageBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class UrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -11223,9 +11223,9 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `CacheControlEphemeral? CacheControl` @@ -11251,7 +11251,7 @@ Console.WriteLine(messageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` @@ -11263,7 +11263,7 @@ Console.WriteLine(messageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result"` - `CacheControlEphemeral? CacheControl` @@ -11283,7 +11283,7 @@ Console.WriteLine(messageTokensCount); The `thinking` text of this block as returned by the API. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class RedactedThinkingBlockParam:` @@ -11291,7 +11291,7 @@ Console.WriteLine(messageTokensCount); The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class ToolUseBlockParam:` @@ -11305,7 +11305,7 @@ Console.WriteLine(messageTokensCount); maxLength: 200, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `CacheControlEphemeral? CacheControl` @@ -11319,7 +11319,7 @@ Console.WriteLine(messageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -11329,7 +11329,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -11337,7 +11337,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -11351,7 +11351,7 @@ Console.WriteLine(messageTokensCount); pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_result"` - `CacheControlEphemeral? CacheControl` @@ -11379,7 +11379,7 @@ Console.WriteLine(messageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `CacheControlEphemeral? CacheControl` @@ -11423,7 +11423,7 @@ Console.WriteLine(messageTokensCount); Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonElement Type constant` + - `JsonElement Type = "browser_state"` - `CacheControlEphemeral? CacheControl` @@ -11451,7 +11451,7 @@ Console.WriteLine(messageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` - `class BrowserStateChangeDownloadStarted:` @@ -11463,7 +11463,7 @@ Console.WriteLine(messageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -11484,7 +11484,7 @@ Console.WriteLine(messageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -11514,7 +11514,7 @@ Console.WriteLine(messageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -11546,21 +11546,21 @@ Console.WriteLine(messageTokensCount); - `required Name Name` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `CacheControlEphemeral? CacheControl` @@ -11590,7 +11590,7 @@ Console.WriteLine(messageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -11600,25 +11600,25 @@ Console.WriteLine(messageTokensCount); - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -11646,31 +11646,31 @@ Console.WriteLine(messageTokensCount); - `required WebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class WebFetchBlockParam:` - `required DocumentBlockParam Content` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -11684,7 +11684,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -11714,15 +11714,15 @@ Console.WriteLine(messageTokensCount); - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlockParam:` @@ -11730,7 +11730,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -11738,7 +11738,7 @@ Console.WriteLine(messageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlockParam:` @@ -11748,7 +11748,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -11756,13 +11756,13 @@ Console.WriteLine(messageTokensCount); - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -11776,17 +11776,17 @@ Console.WriteLine(messageTokensCount); - `required BashCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlockParam:` @@ -11794,7 +11794,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -11802,13 +11802,13 @@ Console.WriteLine(messageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -11822,17 +11822,17 @@ Console.WriteLine(messageTokensCount); - `required TextEditorCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `string? ErrorMessage` @@ -11842,13 +11842,13 @@ Console.WriteLine(messageTokensCount); - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `long? NumLines` @@ -11860,11 +11860,11 @@ Console.WriteLine(messageTokensCount); - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `IReadOnlyList? Lines` @@ -11880,7 +11880,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -11894,15 +11894,15 @@ Console.WriteLine(messageTokensCount); - `required ToolSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `string? ErrorMessage` @@ -11914,19 +11914,19 @@ Console.WriteLine(messageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -11939,7 +11939,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `CacheControlEphemeral? CacheControl` @@ -11961,13 +11961,13 @@ Console.WriteLine(messageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -11980,9 +11980,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -12004,7 +12004,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocationParam:` @@ -12024,7 +12024,7 @@ Console.WriteLine(messageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -12054,7 +12054,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -12066,7 +12066,7 @@ Console.WriteLine(messageTokensCount); maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -12104,7 +12104,7 @@ Console.WriteLine(messageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class ImageBlockParam:` @@ -12118,19 +12118,19 @@ Console.WriteLine(messageTokensCount); - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class UrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -12138,9 +12138,9 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `CacheControlEphemeral? CacheControl` @@ -12154,11 +12154,11 @@ Console.WriteLine(messageTokensCount); What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - - `JsonElement Type constant` + - `JsonElement Type = "content"` ### Content Block Source Content @@ -12170,13 +12170,13 @@ Console.WriteLine(messageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -12189,9 +12189,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -12213,7 +12213,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocationParam:` @@ -12233,7 +12233,7 @@ Console.WriteLine(messageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -12263,7 +12263,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -12275,7 +12275,7 @@ Console.WriteLine(messageTokensCount); maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -12313,7 +12313,7 @@ Console.WriteLine(messageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class ImageBlockParam:` @@ -12327,19 +12327,19 @@ Console.WriteLine(messageTokensCount); - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class UrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -12347,9 +12347,9 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `CacheControlEphemeral? CacheControl` @@ -12363,9 +12363,9 @@ Console.WriteLine(messageTokensCount); What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` ### Direct Caller @@ -12373,7 +12373,7 @@ Console.WriteLine(messageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` ### Document Block @@ -12393,23 +12393,23 @@ Console.WriteLine(messageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` ### Document Block Param @@ -12423,17 +12423,17 @@ Console.WriteLine(messageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class ContentBlockSource:` @@ -12449,13 +12449,13 @@ Console.WriteLine(messageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -12468,9 +12468,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -12492,7 +12492,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocationParam:` @@ -12512,7 +12512,7 @@ Console.WriteLine(messageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -12542,7 +12542,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -12554,7 +12554,7 @@ Console.WriteLine(messageTokensCount); maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -12592,7 +12592,7 @@ Console.WriteLine(messageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class ImageBlockParam:` @@ -12606,19 +12606,19 @@ Console.WriteLine(messageTokensCount); - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class UrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -12626,9 +12626,9 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `CacheControlEphemeral? CacheControl` @@ -12642,15 +12642,15 @@ Console.WriteLine(messageTokensCount); What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class UrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -12658,9 +12658,9 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `CacheControlEphemeral? CacheControl` @@ -12688,7 +12688,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -12696,7 +12696,7 @@ Console.WriteLine(messageTokensCount); - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` ### Encrypted Code Execution Result Block Param @@ -12708,7 +12708,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -12716,7 +12716,7 @@ Console.WriteLine(messageTokensCount); - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` ### File Document Source @@ -12724,7 +12724,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` ### File Image Source @@ -12732,7 +12732,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` ### Image Block Param @@ -12748,19 +12748,19 @@ Console.WriteLine(messageTokensCount); - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class UrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -12768,15 +12768,15 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -12789,9 +12789,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `ImageTransformationsParam? Transformations` @@ -12801,9 +12801,9 @@ Console.WriteLine(messageTokensCount); What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` ### Image Transformations Param @@ -12815,9 +12815,9 @@ Console.WriteLine(messageTokensCount); What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` ### Input JSON Delta @@ -12825,7 +12825,7 @@ Console.WriteLine(messageTokensCount); - `required string PartialJson` - - `JsonElement Type constant` + - `JsonElement Type = "input_json_delta"` ### JSON Output Format @@ -12835,35 +12835,35 @@ Console.WriteLine(messageTokensCount); The JSON schema of the format - - `JsonElement Type constant` + - `JsonElement Type = "json_schema"` ### Memory Tool 20250818 - `class MemoryTool20250818:` - - `JsonElement Name constant` + - `JsonElement Name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "memory_20250818"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -12876,9 +12876,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -12928,9 +12928,9 @@ Console.WriteLine(messageTokensCount); Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -12993,7 +12993,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocation:` @@ -13013,7 +13013,7 @@ Console.WriteLine(messageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocation:` @@ -13043,7 +13043,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -13055,7 +13055,7 @@ Console.WriteLine(messageTokensCount); maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -13091,13 +13091,13 @@ Console.WriteLine(messageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class ThinkingBlock:` @@ -13113,7 +13113,7 @@ Console.WriteLine(messageTokensCount); The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class RedactedThinkingBlock:` @@ -13125,7 +13125,7 @@ Console.WriteLine(messageTokensCount); See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class ToolUseBlock:` @@ -13141,7 +13141,7 @@ Console.WriteLine(messageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -13151,7 +13151,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -13159,7 +13159,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `required IReadOnlyDictionary Input` @@ -13167,7 +13167,7 @@ Console.WriteLine(messageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `string? ToolsetName` @@ -13199,21 +13199,21 @@ Console.WriteLine(messageTokensCount); - `required Name Name` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `class WebSearchToolResultBlock:` @@ -13237,19 +13237,19 @@ Console.WriteLine(messageTokensCount); - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -13259,7 +13259,7 @@ Console.WriteLine(messageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -13267,7 +13267,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `class WebFetchToolResultBlock:` @@ -13291,25 +13291,25 @@ Console.WriteLine(messageTokensCount); - `required WebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -13329,29 +13329,29 @@ Console.WriteLine(messageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -13361,7 +13361,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `class CodeExecutionToolResultBlock:` @@ -13373,15 +13373,15 @@ Console.WriteLine(messageTokensCount); - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -13389,7 +13389,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -13397,7 +13397,7 @@ Console.WriteLine(messageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -13407,7 +13407,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -13415,13 +13415,13 @@ Console.WriteLine(messageTokensCount); - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BashCodeExecutionToolResultBlock:` @@ -13431,17 +13431,17 @@ Console.WriteLine(messageTokensCount); - `required BashCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -13449,7 +13449,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -13457,13 +13457,13 @@ Console.WriteLine(messageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class TextEditorCodeExecutionToolResultBlock:` @@ -13473,19 +13473,19 @@ Console.WriteLine(messageTokensCount); - `required TextEditorCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -13493,11 +13493,11 @@ Console.WriteLine(messageTokensCount); - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -13505,13 +13505,13 @@ Console.WriteLine(messageTokensCount); - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -13525,13 +13525,13 @@ Console.WriteLine(messageTokensCount); - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class ToolSearchToolResultBlock:` @@ -13541,17 +13541,17 @@ Console.WriteLine(messageTokensCount); - `required ToolSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -13561,15 +13561,15 @@ Console.WriteLine(messageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class ContainerUploadBlock:` @@ -13577,7 +13577,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `required Model Model` @@ -13585,75 +13585,75 @@ Console.WriteLine(messageTokensCount); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding - - `JsonElement Role constant` + - `JsonElement Role = "assistant"` Conversational role of the generated message. @@ -13667,23 +13667,23 @@ Console.WriteLine(messageTokensCount); The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -13693,7 +13693,7 @@ Console.WriteLine(messageTokensCount); This text is not guaranteed to be stable. `null` when no explanation is available for the category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - `required StopReason? StopReason` @@ -13711,19 +13711,19 @@ Console.WriteLine(messageTokensCount); In non-streaming mode this value is always non-null. In streaming mode, it is null in the `message_start` event and non-null otherwise. - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` - `required string? StopSequence` @@ -13731,7 +13731,7 @@ Console.WriteLine(messageTokensCount); This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonElement Type constant` + - `JsonElement Type = "message"` Object type. @@ -13835,11 +13835,11 @@ Console.WriteLine(messageTokensCount); If the request used the priority, standard, or batch tier. - - `Standard` + - `Standard("standard")` - - `Priority` + - `Priority("priority")` - - `Batch` + - `Batch("batch")` ### Message Count Tokens Tool @@ -13855,7 +13855,7 @@ Console.WriteLine(messageTokensCount); This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -13871,19 +13871,19 @@ Console.WriteLine(messageTokensCount); - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -13896,9 +13896,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -13924,23 +13924,23 @@ Console.WriteLine(messageTokensCount); - `class ToolBash20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -13958,23 +13958,23 @@ Console.WriteLine(messageTokensCount); - `class CodeExecutionTool20250522:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250522"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -13990,23 +13990,23 @@ Console.WriteLine(messageTokensCount); - `class CodeExecutionTool20250825:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -14024,23 +14024,23 @@ Console.WriteLine(messageTokensCount); Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -14058,23 +14058,23 @@ Console.WriteLine(messageTokensCount); Code execution tool with REPL state persistence. - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260521"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -14095,7 +14095,7 @@ Console.WriteLine(messageTokensCount); the family's tool with any members disabled via `configs` removed from its schema. - - `JsonElement Type constant` + - `JsonElement Type = "browser_toolset_20260801"` - `CacheControlEphemeral? CacheControl` @@ -14484,23 +14484,23 @@ Console.WriteLine(messageTokensCount); - `class MemoryTool20250818:` - - `JsonElement Name constant` + - `JsonElement Name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "memory_20250818"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -14527,7 +14527,7 @@ Console.WriteLine(messageTokensCount); `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonElement Type constant` + - `JsonElement Type = "computer_toolset_20260801"` - `CacheControlEphemeral? CacheControl` @@ -14748,23 +14748,23 @@ Console.WriteLine(messageTokensCount); - `class ToolTextEditor20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -14782,23 +14782,23 @@ Console.WriteLine(messageTokensCount); - `class ToolTextEditor20250429:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250429"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -14816,23 +14816,23 @@ Console.WriteLine(messageTokensCount); - `class ToolTextEditor20250728:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250728"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -14856,23 +14856,23 @@ Console.WriteLine(messageTokensCount); - `class WebSearchTool20250305:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20250305"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -14904,7 +14904,7 @@ Console.WriteLine(messageTokensCount); Parameters for the user's location. Used to provide more relevant search results. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -14932,23 +14932,23 @@ Console.WriteLine(messageTokensCount); - `class WebFetchTool20250910:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20250910"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -14990,23 +14990,23 @@ Console.WriteLine(messageTokensCount); - `class WebSearchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -15040,23 +15040,23 @@ Console.WriteLine(messageTokensCount); - `class WebFetchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -15098,23 +15098,23 @@ Console.WriteLine(messageTokensCount); Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260309"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -15158,23 +15158,23 @@ Console.WriteLine(messageTokensCount); - `class WebSearchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -15202,9 +15202,9 @@ Console.WriteLine(messageTokensCount); How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -15216,23 +15216,23 @@ Console.WriteLine(messageTokensCount); - `class WebFetchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -15270,9 +15270,9 @@ Console.WriteLine(messageTokensCount); How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -15284,7 +15284,7 @@ Console.WriteLine(messageTokensCount); - `class ToolSearchToolBm25_20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_bm25"` Name of the tool. @@ -15292,19 +15292,19 @@ Console.WriteLine(messageTokensCount); - `required Type Type` - - `ToolSearchToolBm25_20251119` + - `ToolSearchToolBm25_20251119("tool_search_tool_bm25_20251119")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -15320,7 +15320,7 @@ Console.WriteLine(messageTokensCount); - `class ToolSearchToolRegex20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_regex"` Name of the tool. @@ -15328,19 +15328,19 @@ Console.WriteLine(messageTokensCount); - `required Type Type` - - `ToolSearchToolRegex20251119` + - `ToolSearchToolRegex20251119("tool_search_tool_regex_20251119")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -15384,9 +15384,9 @@ Console.WriteLine(messageTokensCount); Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `string Version` @@ -15476,13 +15476,13 @@ Console.WriteLine(messageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -15495,9 +15495,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -15519,7 +15519,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocationParam:` @@ -15539,7 +15539,7 @@ Console.WriteLine(messageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -15569,7 +15569,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -15581,7 +15581,7 @@ Console.WriteLine(messageTokensCount); maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -15619,7 +15619,7 @@ Console.WriteLine(messageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class ImageBlockParam:` @@ -15633,19 +15633,19 @@ Console.WriteLine(messageTokensCount); - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class UrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -15653,9 +15653,9 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `CacheControlEphemeral? CacheControl` @@ -15669,9 +15669,9 @@ Console.WriteLine(messageTokensCount); What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - `class DocumentBlockParam:` @@ -15683,17 +15683,17 @@ Console.WriteLine(messageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class ContentBlockSource:` @@ -15707,11 +15707,11 @@ Console.WriteLine(messageTokensCount); - `class ImageBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class UrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -15719,9 +15719,9 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `CacheControlEphemeral? CacheControl` @@ -15747,7 +15747,7 @@ Console.WriteLine(messageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` @@ -15759,7 +15759,7 @@ Console.WriteLine(messageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result"` - `CacheControlEphemeral? CacheControl` @@ -15779,7 +15779,7 @@ Console.WriteLine(messageTokensCount); The `thinking` text of this block as returned by the API. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class RedactedThinkingBlockParam:` @@ -15787,7 +15787,7 @@ Console.WriteLine(messageTokensCount); The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class ToolUseBlockParam:` @@ -15801,7 +15801,7 @@ Console.WriteLine(messageTokensCount); maxLength: 200, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `CacheControlEphemeral? CacheControl` @@ -15815,7 +15815,7 @@ Console.WriteLine(messageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -15825,7 +15825,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -15833,7 +15833,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -15847,7 +15847,7 @@ Console.WriteLine(messageTokensCount); pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_result"` - `CacheControlEphemeral? CacheControl` @@ -15875,7 +15875,7 @@ Console.WriteLine(messageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `CacheControlEphemeral? CacheControl` @@ -15919,7 +15919,7 @@ Console.WriteLine(messageTokensCount); Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonElement Type constant` + - `JsonElement Type = "browser_state"` - `CacheControlEphemeral? CacheControl` @@ -15947,7 +15947,7 @@ Console.WriteLine(messageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` - `class BrowserStateChangeDownloadStarted:` @@ -15959,7 +15959,7 @@ Console.WriteLine(messageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -15980,7 +15980,7 @@ Console.WriteLine(messageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -16010,7 +16010,7 @@ Console.WriteLine(messageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -16042,21 +16042,21 @@ Console.WriteLine(messageTokensCount); - `required Name Name` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `CacheControlEphemeral? CacheControl` @@ -16086,7 +16086,7 @@ Console.WriteLine(messageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -16096,25 +16096,25 @@ Console.WriteLine(messageTokensCount); - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -16142,31 +16142,31 @@ Console.WriteLine(messageTokensCount); - `required WebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class WebFetchBlockParam:` - `required DocumentBlockParam Content` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -16180,7 +16180,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -16210,15 +16210,15 @@ Console.WriteLine(messageTokensCount); - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlockParam:` @@ -16226,7 +16226,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -16234,7 +16234,7 @@ Console.WriteLine(messageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlockParam:` @@ -16244,7 +16244,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -16252,13 +16252,13 @@ Console.WriteLine(messageTokensCount); - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -16272,17 +16272,17 @@ Console.WriteLine(messageTokensCount); - `required BashCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlockParam:` @@ -16290,7 +16290,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -16298,13 +16298,13 @@ Console.WriteLine(messageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -16318,17 +16318,17 @@ Console.WriteLine(messageTokensCount); - `required TextEditorCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `string? ErrorMessage` @@ -16338,13 +16338,13 @@ Console.WriteLine(messageTokensCount); - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `long? NumLines` @@ -16356,11 +16356,11 @@ Console.WriteLine(messageTokensCount); - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `IReadOnlyList? Lines` @@ -16376,7 +16376,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -16390,15 +16390,15 @@ Console.WriteLine(messageTokensCount); - `required ToolSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `string? ErrorMessage` @@ -16410,19 +16410,19 @@ Console.WriteLine(messageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -16435,7 +16435,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `CacheControlEphemeral? CacheControl` @@ -16443,11 +16443,11 @@ Console.WriteLine(messageTokensCount); - `required Role Role` - - `User` + - `User("user")` - - `Assistant` + - `Assistant("assistant")` - - `System` + - `System("system")` ### Message Tokens Count @@ -16477,15 +16477,15 @@ Console.WriteLine(messageTokensCount); All possible effort levels. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `JsonOutputFormat? Format` @@ -16495,7 +16495,7 @@ Console.WriteLine(messageTokensCount); The JSON schema of the format - - `JsonElement Type constant` + - `JsonElement Type = "json_schema"` ### Output Tokens Details @@ -16520,9 +16520,9 @@ Console.WriteLine(messageTokensCount); - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` ### Raw Content Block Delta @@ -16532,13 +16532,13 @@ Console.WriteLine(messageTokensCount); - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "text_delta"` - `class InputJsonDelta:` - `required string PartialJson` - - `JsonElement Type constant` + - `JsonElement Type = "input_json_delta"` - `class CitationsDelta:` @@ -16562,7 +16562,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocation:` @@ -16582,7 +16582,7 @@ Console.WriteLine(messageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocation:` @@ -16612,7 +16612,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -16624,7 +16624,7 @@ Console.WriteLine(messageTokensCount); maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -16660,9 +16660,9 @@ Console.WriteLine(messageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - - `JsonElement Type constant` + - `JsonElement Type = "citations_delta"` - `class ThinkingDelta:` @@ -16670,7 +16670,7 @@ Console.WriteLine(messageTokensCount); The incremental `thinking` text for this content block. Concatenate the `thinking` values of successive `thinking_delta` events to assemble the block's full `thinking` value. - - `JsonElement Type constant` + - `JsonElement Type = "thinking_delta"` - `class SignatureDelta:` @@ -16678,7 +16678,7 @@ Console.WriteLine(messageTokensCount); The `signature` for this thinking block: an opaque value used to verify that the block was generated by Claude when it is passed back to the API. Delivered in a `signature_delta` event just before the block's `content_block_stop` event. - - `JsonElement Type constant` + - `JsonElement Type = "signature_delta"` ### Raw Content Block Delta Event @@ -16690,13 +16690,13 @@ Console.WriteLine(messageTokensCount); - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "text_delta"` - `class InputJsonDelta:` - `required string PartialJson` - - `JsonElement Type constant` + - `JsonElement Type = "input_json_delta"` - `class CitationsDelta:` @@ -16720,7 +16720,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocation:` @@ -16740,7 +16740,7 @@ Console.WriteLine(messageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocation:` @@ -16770,7 +16770,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -16782,7 +16782,7 @@ Console.WriteLine(messageTokensCount); maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -16818,9 +16818,9 @@ Console.WriteLine(messageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - - `JsonElement Type constant` + - `JsonElement Type = "citations_delta"` - `class ThinkingDelta:` @@ -16828,7 +16828,7 @@ Console.WriteLine(messageTokensCount); The incremental `thinking` text for this content block. Concatenate the `thinking` values of successive `thinking_delta` events to assemble the block's full `thinking` value. - - `JsonElement Type constant` + - `JsonElement Type = "thinking_delta"` - `class SignatureDelta:` @@ -16836,11 +16836,11 @@ Console.WriteLine(messageTokensCount); The `signature` for this thinking block: an opaque value used to verify that the block was generated by Claude when it is passed back to the API. Delivered in a `signature_delta` event just before the block's `content_block_stop` event. - - `JsonElement Type constant` + - `JsonElement Type = "signature_delta"` - `required long Index` - - `JsonElement Type constant` + - `JsonElement Type = "content_block_delta"` ### Raw Content Block Start Event @@ -16876,7 +16876,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocation:` @@ -16896,7 +16896,7 @@ Console.WriteLine(messageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocation:` @@ -16926,7 +16926,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -16938,7 +16938,7 @@ Console.WriteLine(messageTokensCount); maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -16974,13 +16974,13 @@ Console.WriteLine(messageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class ThinkingBlock:` @@ -16996,7 +16996,7 @@ Console.WriteLine(messageTokensCount); The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class RedactedThinkingBlock:` @@ -17008,7 +17008,7 @@ Console.WriteLine(messageTokensCount); See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class ToolUseBlock:` @@ -17024,7 +17024,7 @@ Console.WriteLine(messageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -17034,7 +17034,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -17042,7 +17042,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `required IReadOnlyDictionary Input` @@ -17050,7 +17050,7 @@ Console.WriteLine(messageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `string? ToolsetName` @@ -17082,21 +17082,21 @@ Console.WriteLine(messageTokensCount); - `required Name Name` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `class WebSearchToolResultBlock:` @@ -17120,19 +17120,19 @@ Console.WriteLine(messageTokensCount); - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -17142,7 +17142,7 @@ Console.WriteLine(messageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -17150,7 +17150,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `class WebFetchToolResultBlock:` @@ -17174,25 +17174,25 @@ Console.WriteLine(messageTokensCount); - `required WebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -17212,29 +17212,29 @@ Console.WriteLine(messageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -17244,7 +17244,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `class CodeExecutionToolResultBlock:` @@ -17256,15 +17256,15 @@ Console.WriteLine(messageTokensCount); - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -17272,7 +17272,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -17280,7 +17280,7 @@ Console.WriteLine(messageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -17290,7 +17290,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -17298,13 +17298,13 @@ Console.WriteLine(messageTokensCount); - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BashCodeExecutionToolResultBlock:` @@ -17314,17 +17314,17 @@ Console.WriteLine(messageTokensCount); - `required BashCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -17332,7 +17332,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -17340,13 +17340,13 @@ Console.WriteLine(messageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class TextEditorCodeExecutionToolResultBlock:` @@ -17356,19 +17356,19 @@ Console.WriteLine(messageTokensCount); - `required TextEditorCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -17376,11 +17376,11 @@ Console.WriteLine(messageTokensCount); - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -17388,13 +17388,13 @@ Console.WriteLine(messageTokensCount); - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -17408,13 +17408,13 @@ Console.WriteLine(messageTokensCount); - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class ToolSearchToolResultBlock:` @@ -17424,17 +17424,17 @@ Console.WriteLine(messageTokensCount); - `required ToolSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -17444,15 +17444,15 @@ Console.WriteLine(messageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class ContainerUploadBlock:` @@ -17460,11 +17460,11 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `required long Index` - - `JsonElement Type constant` + - `JsonElement Type = "content_block_start"` ### Raw Content Block Stop Event @@ -17472,7 +17472,7 @@ Console.WriteLine(messageTokensCount); - `required long Index` - - `JsonElement Type constant` + - `JsonElement Type = "content_block_stop"` ### Raw Message Delta Event @@ -17508,9 +17508,9 @@ Console.WriteLine(messageTokensCount); Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -17526,23 +17526,23 @@ Console.WriteLine(messageTokensCount); The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -17552,27 +17552,27 @@ Console.WriteLine(messageTokensCount); This text is not guaranteed to be stable. `null` when no explanation is available for the category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - `required StopReason? StopReason` - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` - `required string? StopSequence` - - `JsonElement Type constant` + - `JsonElement Type = "message_delta"` - `required MessageDeltaUsage Usage` @@ -17686,9 +17686,9 @@ Console.WriteLine(messageTokensCount); Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -17751,7 +17751,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocation:` @@ -17771,7 +17771,7 @@ Console.WriteLine(messageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocation:` @@ -17801,7 +17801,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -17813,7 +17813,7 @@ Console.WriteLine(messageTokensCount); maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -17849,13 +17849,13 @@ Console.WriteLine(messageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class ThinkingBlock:` @@ -17871,7 +17871,7 @@ Console.WriteLine(messageTokensCount); The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class RedactedThinkingBlock:` @@ -17883,7 +17883,7 @@ Console.WriteLine(messageTokensCount); See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class ToolUseBlock:` @@ -17899,7 +17899,7 @@ Console.WriteLine(messageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -17909,7 +17909,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -17917,7 +17917,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `required IReadOnlyDictionary Input` @@ -17925,7 +17925,7 @@ Console.WriteLine(messageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `string? ToolsetName` @@ -17957,21 +17957,21 @@ Console.WriteLine(messageTokensCount); - `required Name Name` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `class WebSearchToolResultBlock:` @@ -17995,19 +17995,19 @@ Console.WriteLine(messageTokensCount); - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -18017,7 +18017,7 @@ Console.WriteLine(messageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -18025,7 +18025,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `class WebFetchToolResultBlock:` @@ -18049,25 +18049,25 @@ Console.WriteLine(messageTokensCount); - `required WebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -18087,29 +18087,29 @@ Console.WriteLine(messageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -18119,7 +18119,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `class CodeExecutionToolResultBlock:` @@ -18131,15 +18131,15 @@ Console.WriteLine(messageTokensCount); - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -18147,7 +18147,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -18155,7 +18155,7 @@ Console.WriteLine(messageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -18165,7 +18165,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -18173,13 +18173,13 @@ Console.WriteLine(messageTokensCount); - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BashCodeExecutionToolResultBlock:` @@ -18189,17 +18189,17 @@ Console.WriteLine(messageTokensCount); - `required BashCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -18207,7 +18207,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -18215,13 +18215,13 @@ Console.WriteLine(messageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class TextEditorCodeExecutionToolResultBlock:` @@ -18231,19 +18231,19 @@ Console.WriteLine(messageTokensCount); - `required TextEditorCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -18251,11 +18251,11 @@ Console.WriteLine(messageTokensCount); - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -18263,13 +18263,13 @@ Console.WriteLine(messageTokensCount); - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -18283,13 +18283,13 @@ Console.WriteLine(messageTokensCount); - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class ToolSearchToolResultBlock:` @@ -18299,17 +18299,17 @@ Console.WriteLine(messageTokensCount); - `required ToolSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -18319,15 +18319,15 @@ Console.WriteLine(messageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class ContainerUploadBlock:` @@ -18335,7 +18335,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `required Model Model` @@ -18343,75 +18343,75 @@ Console.WriteLine(messageTokensCount); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding - - `JsonElement Role constant` + - `JsonElement Role = "assistant"` Conversational role of the generated message. @@ -18425,23 +18425,23 @@ Console.WriteLine(messageTokensCount); The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -18451,7 +18451,7 @@ Console.WriteLine(messageTokensCount); This text is not guaranteed to be stable. `null` when no explanation is available for the category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - `required StopReason? StopReason` @@ -18469,19 +18469,19 @@ Console.WriteLine(messageTokensCount); In non-streaming mode this value is always non-null. In streaming mode, it is null in the `message_start` event and non-null otherwise. - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` - `required string? StopSequence` @@ -18489,7 +18489,7 @@ Console.WriteLine(messageTokensCount); This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonElement Type constant` + - `JsonElement Type = "message"` Object type. @@ -18593,19 +18593,19 @@ Console.WriteLine(messageTokensCount); If the request used the priority, standard, or batch tier. - - `Standard` + - `Standard("standard")` - - `Priority` + - `Priority("priority")` - - `Batch` + - `Batch("batch")` - - `JsonElement Type constant` + - `JsonElement Type = "message_start"` ### Raw Message Stop Event - `class RawMessageStopEvent:` - - `JsonElement Type constant` + - `JsonElement Type = "message_stop"` ### Raw Message Stream Event @@ -18649,9 +18649,9 @@ Console.WriteLine(messageTokensCount); Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -18714,7 +18714,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocation:` @@ -18734,7 +18734,7 @@ Console.WriteLine(messageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocation:` @@ -18764,7 +18764,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -18776,7 +18776,7 @@ Console.WriteLine(messageTokensCount); maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -18812,13 +18812,13 @@ Console.WriteLine(messageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class ThinkingBlock:` @@ -18834,7 +18834,7 @@ Console.WriteLine(messageTokensCount); The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class RedactedThinkingBlock:` @@ -18846,7 +18846,7 @@ Console.WriteLine(messageTokensCount); See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class ToolUseBlock:` @@ -18862,7 +18862,7 @@ Console.WriteLine(messageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -18872,7 +18872,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -18880,7 +18880,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `required IReadOnlyDictionary Input` @@ -18888,7 +18888,7 @@ Console.WriteLine(messageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `string? ToolsetName` @@ -18920,21 +18920,21 @@ Console.WriteLine(messageTokensCount); - `required Name Name` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `class WebSearchToolResultBlock:` @@ -18958,19 +18958,19 @@ Console.WriteLine(messageTokensCount); - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -18980,7 +18980,7 @@ Console.WriteLine(messageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -18988,7 +18988,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `class WebFetchToolResultBlock:` @@ -19012,25 +19012,25 @@ Console.WriteLine(messageTokensCount); - `required WebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -19050,29 +19050,29 @@ Console.WriteLine(messageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -19082,7 +19082,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `class CodeExecutionToolResultBlock:` @@ -19094,15 +19094,15 @@ Console.WriteLine(messageTokensCount); - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -19110,7 +19110,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -19118,7 +19118,7 @@ Console.WriteLine(messageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -19128,7 +19128,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -19136,13 +19136,13 @@ Console.WriteLine(messageTokensCount); - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BashCodeExecutionToolResultBlock:` @@ -19152,17 +19152,17 @@ Console.WriteLine(messageTokensCount); - `required BashCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -19170,7 +19170,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -19178,13 +19178,13 @@ Console.WriteLine(messageTokensCount); - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class TextEditorCodeExecutionToolResultBlock:` @@ -19194,19 +19194,19 @@ Console.WriteLine(messageTokensCount); - `required TextEditorCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -19214,11 +19214,11 @@ Console.WriteLine(messageTokensCount); - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -19226,13 +19226,13 @@ Console.WriteLine(messageTokensCount); - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -19246,13 +19246,13 @@ Console.WriteLine(messageTokensCount); - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class ToolSearchToolResultBlock:` @@ -19262,17 +19262,17 @@ Console.WriteLine(messageTokensCount); - `required ToolSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -19282,15 +19282,15 @@ Console.WriteLine(messageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class ContainerUploadBlock:` @@ -19298,7 +19298,7 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `required Model Model` @@ -19306,75 +19306,75 @@ Console.WriteLine(messageTokensCount); See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding - - `JsonElement Role constant` + - `JsonElement Role = "assistant"` Conversational role of the generated message. @@ -19388,23 +19388,23 @@ Console.WriteLine(messageTokensCount); The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -19414,7 +19414,7 @@ Console.WriteLine(messageTokensCount); This text is not guaranteed to be stable. `null` when no explanation is available for the category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - `required StopReason? StopReason` @@ -19432,19 +19432,19 @@ Console.WriteLine(messageTokensCount); In non-streaming mode this value is always non-null. In streaming mode, it is null in the `message_start` event and non-null otherwise. - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` - `required string? StopSequence` @@ -19452,7 +19452,7 @@ Console.WriteLine(messageTokensCount); This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonElement Type constant` + - `JsonElement Type = "message"` Object type. @@ -19556,13 +19556,13 @@ Console.WriteLine(messageTokensCount); If the request used the priority, standard, or batch tier. - - `Standard` + - `Standard("standard")` - - `Priority` + - `Priority("priority")` - - `Batch` + - `Batch("batch")` - - `JsonElement Type constant` + - `JsonElement Type = "message_start"` - `class RawMessageDeltaEvent:` @@ -19580,7 +19580,7 @@ Console.WriteLine(messageTokensCount); - `required string? StopSequence` - - `JsonElement Type constant` + - `JsonElement Type = "message_delta"` - `required MessageDeltaUsage Usage` @@ -19631,7 +19631,7 @@ Console.WriteLine(messageTokensCount); - `class RawMessageStopEvent:` - - `JsonElement Type constant` + - `JsonElement Type = "message_stop"` - `class RawContentBlockStartEvent:` @@ -19667,7 +19667,7 @@ Console.WriteLine(messageTokensCount); - `required long Index` - - `JsonElement Type constant` + - `JsonElement Type = "content_block_start"` - `class RawContentBlockDeltaEvent:` @@ -19677,13 +19677,13 @@ Console.WriteLine(messageTokensCount); - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "text_delta"` - `class InputJsonDelta:` - `required string PartialJson` - - `JsonElement Type constant` + - `JsonElement Type = "input_json_delta"` - `class CitationsDelta:` @@ -19699,7 +19699,7 @@ Console.WriteLine(messageTokensCount); - `class CitationsSearchResultLocation:` - - `JsonElement Type constant` + - `JsonElement Type = "citations_delta"` - `class ThinkingDelta:` @@ -19707,7 +19707,7 @@ Console.WriteLine(messageTokensCount); The incremental `thinking` text for this content block. Concatenate the `thinking` values of successive `thinking_delta` events to assemble the block's full `thinking` value. - - `JsonElement Type constant` + - `JsonElement Type = "thinking_delta"` - `class SignatureDelta:` @@ -19715,17 +19715,17 @@ Console.WriteLine(messageTokensCount); The `signature` for this thinking block: an opaque value used to verify that the block was generated by Claude when it is passed back to the API. Delivered in a `signature_delta` event just before the block's `content_block_stop` event. - - `JsonElement Type constant` + - `JsonElement Type = "signature_delta"` - `required long Index` - - `JsonElement Type constant` + - `JsonElement Type = "content_block_delta"` - `class RawContentBlockStopEvent:` - `required long Index` - - `JsonElement Type constant` + - `JsonElement Type = "content_block_stop"` ### Redacted Thinking Block @@ -19739,7 +19739,7 @@ Console.WriteLine(messageTokensCount); See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` ### Redacted Thinking Block Param @@ -19749,7 +19749,7 @@ Console.WriteLine(messageTokensCount); The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` ### Refusal Stop Details @@ -19761,23 +19761,23 @@ Console.WriteLine(messageTokensCount); The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -19787,7 +19787,7 @@ Console.WriteLine(messageTokensCount); This text is not guaranteed to be stable. `null` when no explanation is available for the category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` ### Search Result Block Param @@ -19799,13 +19799,13 @@ Console.WriteLine(messageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -19818,9 +19818,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -19842,7 +19842,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocationParam:` @@ -19862,7 +19862,7 @@ Console.WriteLine(messageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -19892,7 +19892,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -19904,7 +19904,7 @@ Console.WriteLine(messageTokensCount); maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -19942,13 +19942,13 @@ Console.WriteLine(messageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Source` - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result"` - `CacheControlEphemeral? CacheControl` @@ -19968,7 +19968,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` ### Server Tool Caller 20260120 @@ -19978,7 +19978,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` ### Server Tool Usage @@ -20012,7 +20012,7 @@ Console.WriteLine(messageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -20022,7 +20022,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -20030,27 +20030,27 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `required IReadOnlyDictionary Input` - `required Name Name` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` ### Server Tool Use Block Param @@ -20064,27 +20064,27 @@ Console.WriteLine(messageTokensCount); - `required Name Name` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -20097,9 +20097,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `Caller Caller` @@ -20109,7 +20109,7 @@ Console.WriteLine(messageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -20119,7 +20119,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -20127,7 +20127,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` ### Signature Delta @@ -20137,7 +20137,7 @@ Console.WriteLine(messageTokensCount); The `signature` for this thinking block: an opaque value used to verify that the block was generated by Claude when it is passed back to the API. Delivered in a `signature_delta` event just before the block's `content_block_stop` event. - - `JsonElement Type constant` + - `JsonElement Type = "signature_delta"` ### Skill Params @@ -20155,9 +20155,9 @@ Console.WriteLine(messageTokensCount); Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `string Version` @@ -20169,19 +20169,19 @@ Console.WriteLine(messageTokensCount); - `enum StopReason:` - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` ### Text Block @@ -20211,7 +20211,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocation:` @@ -20231,7 +20231,7 @@ Console.WriteLine(messageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocation:` @@ -20261,7 +20261,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -20273,7 +20273,7 @@ Console.WriteLine(messageTokensCount); maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -20309,13 +20309,13 @@ Console.WriteLine(messageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` ### Text Block Param @@ -20325,13 +20325,13 @@ Console.WriteLine(messageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -20344,9 +20344,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -20368,7 +20368,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocationParam:` @@ -20388,7 +20388,7 @@ Console.WriteLine(messageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -20418,7 +20418,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -20430,7 +20430,7 @@ Console.WriteLine(messageTokensCount); maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -20468,7 +20468,7 @@ Console.WriteLine(messageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` ### Text Citation @@ -20492,7 +20492,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocation:` @@ -20512,7 +20512,7 @@ Console.WriteLine(messageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocation:` @@ -20542,7 +20542,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -20554,7 +20554,7 @@ Console.WriteLine(messageTokensCount); maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -20590,7 +20590,7 @@ Console.WriteLine(messageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` ### Text Citation Param @@ -20614,7 +20614,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocationParam:` @@ -20634,7 +20634,7 @@ Console.WriteLine(messageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -20664,7 +20664,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -20676,7 +20676,7 @@ Console.WriteLine(messageTokensCount); maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -20714,7 +20714,7 @@ Console.WriteLine(messageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` ### Text Delta @@ -20722,7 +20722,7 @@ Console.WriteLine(messageTokensCount); - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "text_delta"` ### Text Editor Code Execution Create Result Block @@ -20730,7 +20730,7 @@ Console.WriteLine(messageTokensCount); - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` ### Text Editor Code Execution Create Result Block Param @@ -20738,7 +20738,7 @@ Console.WriteLine(messageTokensCount); - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` ### Text Editor Code Execution Str Replace Result Block @@ -20754,13 +20754,13 @@ Console.WriteLine(messageTokensCount); - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` ### Text Editor Code Execution Str Replace Result Block Param - `class TextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `IReadOnlyList? Lines` @@ -20782,19 +20782,19 @@ Console.WriteLine(messageTokensCount); - `required TextEditorCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -20802,11 +20802,11 @@ Console.WriteLine(messageTokensCount); - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -20814,13 +20814,13 @@ Console.WriteLine(messageTokensCount); - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -20834,13 +20834,13 @@ Console.WriteLine(messageTokensCount); - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` ### Text Editor Code Execution Tool Result Block Param @@ -20852,17 +20852,17 @@ Console.WriteLine(messageTokensCount); - `required TextEditorCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `string? ErrorMessage` @@ -20872,13 +20872,13 @@ Console.WriteLine(messageTokensCount); - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `long? NumLines` @@ -20890,11 +20890,11 @@ Console.WriteLine(messageTokensCount); - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `IReadOnlyList? Lines` @@ -20910,13 +20910,13 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -20929,9 +20929,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` ### Text Editor Code Execution Tool Result Error @@ -20939,33 +20939,33 @@ Console.WriteLine(messageTokensCount); - `required TextEditorCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` ### Text Editor Code Execution Tool Result Error Code - `enum TextEditorCodeExecutionToolResultErrorCode:` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` ### Text Editor Code Execution Tool Result Error Param @@ -20973,17 +20973,17 @@ Console.WriteLine(messageTokensCount); - `required TextEditorCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `string? ErrorMessage` @@ -20995,11 +20995,11 @@ Console.WriteLine(messageTokensCount); - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -21007,7 +21007,7 @@ Console.WriteLine(messageTokensCount); - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` ### Text Editor Code Execution View Result Block Param @@ -21017,13 +21017,13 @@ Console.WriteLine(messageTokensCount); - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `long? NumLines` @@ -21047,7 +21047,7 @@ Console.WriteLine(messageTokensCount); The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` ### Thinking Block Param @@ -21063,27 +21063,27 @@ Console.WriteLine(messageTokensCount); The `thinking` text of this block as returned by the API. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` ### Thinking Config Adaptive - `class ThinkingConfigAdaptive:` - - `JsonElement Type constant` + - `JsonElement Type = "adaptive"` - `Display? Display` Controls how thinking content appears in the response. When set to `summarized`, thinking is returned normally. When set to `omitted`, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults to `summarized`. - - `Summarized` + - `Summarized("summarized")` - - `Omitted` + - `Omitted("omitted")` ### Thinking Config Disabled - `class ThinkingConfigDisabled:` - - `JsonElement Type constant` + - `JsonElement Type = "disabled"` ### Thinking Config Enabled @@ -21099,15 +21099,15 @@ Console.WriteLine(messageTokensCount); minimum: 1024 - - `JsonElement Type constant` + - `JsonElement Type = "enabled"` - `Display? Display` Controls how thinking content appears in the response. When set to `summarized`, thinking is returned normally. When set to `omitted`, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults to `summarized`. - - `Summarized` + - `Summarized("summarized")` - - `Omitted` + - `Omitted("omitted")` ### Thinking Config Param @@ -21131,31 +21131,31 @@ Console.WriteLine(messageTokensCount); minimum: 1024 - - `JsonElement Type constant` + - `JsonElement Type = "enabled"` - `Display? Display` Controls how thinking content appears in the response. When set to `summarized`, thinking is returned normally. When set to `omitted`, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults to `summarized`. - - `Summarized` + - `Summarized("summarized")` - - `Omitted` + - `Omitted("omitted")` - `class ThinkingConfigDisabled:` - - `JsonElement Type constant` + - `JsonElement Type = "disabled"` - `class ThinkingConfigAdaptive:` - - `JsonElement Type constant` + - `JsonElement Type = "adaptive"` - `Display? Display` Controls how thinking content appears in the response. When set to `summarized`, thinking is returned normally. When set to `omitted`, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults to `summarized`. - - `Summarized` + - `Summarized("summarized")` - - `Omitted` + - `Omitted("omitted")` ### Thinking Delta @@ -21165,7 +21165,7 @@ Console.WriteLine(messageTokensCount); The incremental `thinking` text for this content block. Concatenate the `thinking` values of successive `thinking_delta` events to assemble the block's full `thinking` value. - - `JsonElement Type constant` + - `JsonElement Type = "thinking_delta"` ### Tool @@ -21177,7 +21177,7 @@ Console.WriteLine(messageTokensCount); This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -21193,19 +21193,19 @@ Console.WriteLine(messageTokensCount); - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -21218,9 +21218,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -21248,29 +21248,29 @@ Console.WriteLine(messageTokensCount); - `class ToolBash20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -21283,9 +21283,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -21307,7 +21307,7 @@ Console.WriteLine(messageTokensCount); The model will automatically decide whether to use tools. - - `JsonElement Type constant` + - `JsonElement Type = "auto"` - `bool DisableParallelToolUse` @@ -21319,7 +21319,7 @@ Console.WriteLine(messageTokensCount); The model will use any available tools. - - `JsonElement Type constant` + - `JsonElement Type = "any"` - `bool DisableParallelToolUse` @@ -21335,7 +21335,7 @@ Console.WriteLine(messageTokensCount); The name of the tool to use. - - `JsonElement Type constant` + - `JsonElement Type = "tool"` - `bool DisableParallelToolUse` @@ -21347,7 +21347,7 @@ Console.WriteLine(messageTokensCount); The model will not be allowed to use tools. - - `JsonElement Type constant` + - `JsonElement Type = "none"` ### Tool Choice Any @@ -21355,7 +21355,7 @@ Console.WriteLine(messageTokensCount); The model will use any available tools. - - `JsonElement Type constant` + - `JsonElement Type = "any"` - `bool DisableParallelToolUse` @@ -21369,7 +21369,7 @@ Console.WriteLine(messageTokensCount); The model will automatically decide whether to use tools. - - `JsonElement Type constant` + - `JsonElement Type = "auto"` - `bool DisableParallelToolUse` @@ -21383,7 +21383,7 @@ Console.WriteLine(messageTokensCount); The model will not be allowed to use tools. - - `JsonElement Type constant` + - `JsonElement Type = "none"` ### Tool Choice Tool @@ -21395,7 +21395,7 @@ Console.WriteLine(messageTokensCount); The name of the tool to use. - - `JsonElement Type constant` + - `JsonElement Type = "tool"` - `bool DisableParallelToolUse` @@ -21411,7 +21411,7 @@ Console.WriteLine(messageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` ### Tool Reference Block Param @@ -21423,13 +21423,13 @@ Console.WriteLine(messageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -21442,9 +21442,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` ### Tool Result Block Param @@ -21454,13 +21454,13 @@ Console.WriteLine(messageTokensCount); pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_result"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -21473,9 +21473,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `Content Content` @@ -21489,7 +21489,7 @@ Console.WriteLine(messageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` @@ -21515,7 +21515,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocationParam:` @@ -21535,7 +21535,7 @@ Console.WriteLine(messageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -21565,7 +21565,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -21577,7 +21577,7 @@ Console.WriteLine(messageTokensCount); maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -21615,7 +21615,7 @@ Console.WriteLine(messageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class ImageBlockParam:` @@ -21629,19 +21629,19 @@ Console.WriteLine(messageTokensCount); - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class UrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -21649,9 +21649,9 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `CacheControlEphemeral? CacheControl` @@ -21665,9 +21665,9 @@ Console.WriteLine(messageTokensCount); What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - `class SearchResultBlockParam:` @@ -21677,7 +21677,7 @@ Console.WriteLine(messageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` @@ -21689,7 +21689,7 @@ Console.WriteLine(messageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result"` - `CacheControlEphemeral? CacheControl` @@ -21709,17 +21709,17 @@ Console.WriteLine(messageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class ContentBlockSource:` @@ -21733,11 +21733,11 @@ Console.WriteLine(messageTokensCount); - `class ImageBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class UrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -21745,9 +21745,9 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `CacheControlEphemeral? CacheControl` @@ -21771,7 +21771,7 @@ Console.WriteLine(messageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `CacheControlEphemeral? CacheControl` @@ -21815,7 +21815,7 @@ Console.WriteLine(messageTokensCount); Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonElement Type constant` + - `JsonElement Type = "browser_state"` - `CacheControlEphemeral? CacheControl` @@ -21843,7 +21843,7 @@ Console.WriteLine(messageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` - `class BrowserStateChangeDownloadStarted:` @@ -21855,7 +21855,7 @@ Console.WriteLine(messageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -21876,7 +21876,7 @@ Console.WriteLine(messageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -21906,7 +21906,7 @@ Console.WriteLine(messageTokensCount); maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -21932,7 +21932,7 @@ Console.WriteLine(messageTokensCount); - `class ToolSearchToolBm25_20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_bm25"` Name of the tool. @@ -21940,25 +21940,25 @@ Console.WriteLine(messageTokensCount); - `required Type Type` - - `ToolSearchToolBm25_20251119` + - `ToolSearchToolBm25_20251119("tool_search_tool_bm25_20251119")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -21971,9 +21971,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -21987,7 +21987,7 @@ Console.WriteLine(messageTokensCount); - `class ToolSearchToolRegex20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_regex"` Name of the tool. @@ -21995,25 +21995,25 @@ Console.WriteLine(messageTokensCount); - `required Type Type` - - `ToolSearchToolRegex20251119` + - `ToolSearchToolRegex20251119("tool_search_tool_regex_20251119")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -22026,9 +22026,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -22048,17 +22048,17 @@ Console.WriteLine(messageTokensCount); - `required ToolSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -22068,15 +22068,15 @@ Console.WriteLine(messageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` ### Tool Search Tool Result Block Param @@ -22088,15 +22088,15 @@ Console.WriteLine(messageTokensCount); - `required ToolSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `string? ErrorMessage` @@ -22108,13 +22108,13 @@ Console.WriteLine(messageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -22127,17 +22127,17 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -22149,29 +22149,29 @@ Console.WriteLine(messageTokensCount); - `required ToolSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` ### Tool Search Tool Result Error Code - `enum ToolSearchToolResultErrorCode:` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` ### Tool Search Tool Result Error Param @@ -22179,15 +22179,15 @@ Console.WriteLine(messageTokensCount); - `required ToolSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `string? ErrorMessage` @@ -22201,9 +22201,9 @@ Console.WriteLine(messageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` ### Tool Search Tool Search Result Block Param @@ -22215,13 +22215,13 @@ Console.WriteLine(messageTokensCount); maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -22234,39 +22234,39 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` ### Tool Text Editor 20250124 - `class ToolTextEditor20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -22279,9 +22279,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -22297,29 +22297,29 @@ Console.WriteLine(messageTokensCount); - `class ToolTextEditor20250429:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250429"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -22332,9 +22332,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -22350,29 +22350,29 @@ Console.WriteLine(messageTokensCount); - `class ToolTextEditor20250728:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250728"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -22385,9 +22385,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -22419,7 +22419,7 @@ Console.WriteLine(messageTokensCount); This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -22435,19 +22435,19 @@ Console.WriteLine(messageTokensCount); - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -22460,9 +22460,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -22488,23 +22488,23 @@ Console.WriteLine(messageTokensCount); - `class ToolBash20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -22522,23 +22522,23 @@ Console.WriteLine(messageTokensCount); - `class CodeExecutionTool20250522:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250522"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -22554,23 +22554,23 @@ Console.WriteLine(messageTokensCount); - `class CodeExecutionTool20250825:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -22588,23 +22588,23 @@ Console.WriteLine(messageTokensCount); Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -22622,23 +22622,23 @@ Console.WriteLine(messageTokensCount); Code execution tool with REPL state persistence. - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260521"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -22659,7 +22659,7 @@ Console.WriteLine(messageTokensCount); the family's tool with any members disabled via `configs` removed from its schema. - - `JsonElement Type constant` + - `JsonElement Type = "browser_toolset_20260801"` - `CacheControlEphemeral? CacheControl` @@ -23048,23 +23048,23 @@ Console.WriteLine(messageTokensCount); - `class MemoryTool20250818:` - - `JsonElement Name constant` + - `JsonElement Name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "memory_20250818"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -23091,7 +23091,7 @@ Console.WriteLine(messageTokensCount); `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonElement Type constant` + - `JsonElement Type = "computer_toolset_20260801"` - `CacheControlEphemeral? CacheControl` @@ -23312,23 +23312,23 @@ Console.WriteLine(messageTokensCount); - `class ToolTextEditor20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -23346,23 +23346,23 @@ Console.WriteLine(messageTokensCount); - `class ToolTextEditor20250429:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250429"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -23380,23 +23380,23 @@ Console.WriteLine(messageTokensCount); - `class ToolTextEditor20250728:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250728"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -23420,23 +23420,23 @@ Console.WriteLine(messageTokensCount); - `class WebSearchTool20250305:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20250305"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -23468,7 +23468,7 @@ Console.WriteLine(messageTokensCount); Parameters for the user's location. Used to provide more relevant search results. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -23496,23 +23496,23 @@ Console.WriteLine(messageTokensCount); - `class WebFetchTool20250910:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20250910"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -23554,23 +23554,23 @@ Console.WriteLine(messageTokensCount); - `class WebSearchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -23604,23 +23604,23 @@ Console.WriteLine(messageTokensCount); - `class WebFetchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -23662,23 +23662,23 @@ Console.WriteLine(messageTokensCount); Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260309"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -23722,23 +23722,23 @@ Console.WriteLine(messageTokensCount); - `class WebSearchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -23766,9 +23766,9 @@ Console.WriteLine(messageTokensCount); How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -23780,23 +23780,23 @@ Console.WriteLine(messageTokensCount); - `class WebFetchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -23834,9 +23834,9 @@ Console.WriteLine(messageTokensCount); How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -23848,7 +23848,7 @@ Console.WriteLine(messageTokensCount); - `class ToolSearchToolBm25_20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_bm25"` Name of the tool. @@ -23856,19 +23856,19 @@ Console.WriteLine(messageTokensCount); - `required Type Type` - - `ToolSearchToolBm25_20251119` + - `ToolSearchToolBm25_20251119("tool_search_tool_bm25_20251119")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -23884,7 +23884,7 @@ Console.WriteLine(messageTokensCount); - `class ToolSearchToolRegex20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_regex"` Name of the tool. @@ -23892,19 +23892,19 @@ Console.WriteLine(messageTokensCount); - `required Type Type` - - `ToolSearchToolRegex20251119` + - `ToolSearchToolRegex20251119("tool_search_tool_regex_20251119")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -23934,7 +23934,7 @@ Console.WriteLine(messageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -23944,7 +23944,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -23952,7 +23952,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `required IReadOnlyDictionary Input` @@ -23960,7 +23960,7 @@ Console.WriteLine(messageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `string? ToolsetName` @@ -23982,13 +23982,13 @@ Console.WriteLine(messageTokensCount); maxLength: 200, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -24001,9 +24001,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `Caller Caller` @@ -24013,7 +24013,7 @@ Console.WriteLine(messageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -24023,7 +24023,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -24031,7 +24031,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -24043,7 +24043,7 @@ Console.WriteLine(messageTokensCount); - `class UrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -24051,7 +24051,7 @@ Console.WriteLine(messageTokensCount); - `class UrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -24145,17 +24145,17 @@ Console.WriteLine(messageTokensCount); If the request used the priority, standard, or batch tier. - - `Standard` + - `Standard("standard")` - - `Priority` + - `Priority("priority")` - - `Batch` + - `Batch("batch")` ### User Location - `class UserLocation:` - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -24201,29 +24201,29 @@ Console.WriteLine(messageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -24243,17 +24243,17 @@ Console.WriteLine(messageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class ContentBlockSource:` @@ -24269,13 +24269,13 @@ Console.WriteLine(messageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -24288,9 +24288,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -24312,7 +24312,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocationParam:` @@ -24332,7 +24332,7 @@ Console.WriteLine(messageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -24362,7 +24362,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -24374,7 +24374,7 @@ Console.WriteLine(messageTokensCount); maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -24412,7 +24412,7 @@ Console.WriteLine(messageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class ImageBlockParam:` @@ -24426,19 +24426,19 @@ Console.WriteLine(messageTokensCount); - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class UrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -24446,9 +24446,9 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `CacheControlEphemeral? CacheControl` @@ -24462,15 +24462,15 @@ Console.WriteLine(messageTokensCount); What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class UrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -24478,9 +24478,9 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `CacheControlEphemeral? CacheControl` @@ -24498,7 +24498,7 @@ Console.WriteLine(messageTokensCount); maxLength: 500, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -24512,23 +24512,23 @@ Console.WriteLine(messageTokensCount); - `class WebFetchTool20250910:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20250910"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -24542,7 +24542,7 @@ Console.WriteLine(messageTokensCount); Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -24555,9 +24555,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `CitationsConfigParam? Citations` @@ -24589,23 +24589,23 @@ Console.WriteLine(messageTokensCount); - `class WebFetchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -24619,7 +24619,7 @@ Console.WriteLine(messageTokensCount); Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -24632,9 +24632,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `CitationsConfigParam? Citations` @@ -24668,23 +24668,23 @@ Console.WriteLine(messageTokensCount); Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260309"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -24698,7 +24698,7 @@ Console.WriteLine(messageTokensCount); Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -24711,9 +24711,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `CitationsConfigParam? Citations` @@ -24749,23 +24749,23 @@ Console.WriteLine(messageTokensCount); - `class WebFetchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -24779,7 +24779,7 @@ Console.WriteLine(messageTokensCount); Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -24792,9 +24792,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `CitationsConfigParam? Citations` @@ -24822,9 +24822,9 @@ Console.WriteLine(messageTokensCount); How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -24846,7 +24846,7 @@ Console.WriteLine(messageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -24856,7 +24856,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -24864,7 +24864,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `required Content Content` @@ -24872,25 +24872,25 @@ Console.WriteLine(messageTokensCount); - `required WebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -24910,29 +24910,29 @@ Console.WriteLine(messageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -24942,7 +24942,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` ### Web Fetch Tool Result Block Param @@ -24954,25 +24954,25 @@ Console.WriteLine(messageTokensCount); - `required WebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class WebFetchBlockParam:` @@ -24986,17 +24986,17 @@ Console.WriteLine(messageTokensCount); format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class ContentBlockSource:` @@ -25012,13 +25012,13 @@ Console.WriteLine(messageTokensCount); minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -25031,9 +25031,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -25055,7 +25055,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocationParam:` @@ -25075,7 +25075,7 @@ Console.WriteLine(messageTokensCount); minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -25105,7 +25105,7 @@ Console.WriteLine(messageTokensCount); minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -25117,7 +25117,7 @@ Console.WriteLine(messageTokensCount); maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -25155,7 +25155,7 @@ Console.WriteLine(messageTokensCount); - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class ImageBlockParam:` @@ -25169,19 +25169,19 @@ Console.WriteLine(messageTokensCount); - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class UrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -25189,9 +25189,9 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `CacheControlEphemeral? CacheControl` @@ -25205,15 +25205,15 @@ Console.WriteLine(messageTokensCount); What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class UrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -25221,9 +25221,9 @@ Console.WriteLine(messageTokensCount); - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `CacheControlEphemeral? CacheControl` @@ -25241,7 +25241,7 @@ Console.WriteLine(messageTokensCount); maxLength: 500, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -25255,7 +25255,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -25269,7 +25269,7 @@ Console.WriteLine(messageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -25279,7 +25279,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -25287,7 +25287,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` ### Web Fetch Tool Result Error Block @@ -25295,25 +25295,25 @@ Console.WriteLine(messageTokensCount); - `required WebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` ### Web Fetch Tool Result Error Block Param @@ -25321,47 +25321,47 @@ Console.WriteLine(messageTokensCount); - `required WebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` ### Web Fetch Tool Result Error Code - `enum WebFetchToolResultErrorCode:` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` ### Web Search Result Block @@ -25373,7 +25373,7 @@ Console.WriteLine(messageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -25385,7 +25385,7 @@ Console.WriteLine(messageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -25395,23 +25395,23 @@ Console.WriteLine(messageTokensCount); - `class WebSearchTool20250305:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20250305"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -25425,7 +25425,7 @@ Console.WriteLine(messageTokensCount); Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -25438,9 +25438,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -25460,7 +25460,7 @@ Console.WriteLine(messageTokensCount); Parameters for the user's location. Used to provide more relevant search results. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -25490,23 +25490,23 @@ Console.WriteLine(messageTokensCount); - `class WebSearchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -25520,7 +25520,7 @@ Console.WriteLine(messageTokensCount); Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -25533,9 +25533,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -25555,7 +25555,7 @@ Console.WriteLine(messageTokensCount); Parameters for the user's location. Used to provide more relevant search results. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -25585,23 +25585,23 @@ Console.WriteLine(messageTokensCount); - `class WebSearchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -25615,7 +25615,7 @@ Console.WriteLine(messageTokensCount); Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -25628,9 +25628,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `bool DeferLoading` @@ -25646,9 +25646,9 @@ Console.WriteLine(messageTokensCount); How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -25658,7 +25658,7 @@ Console.WriteLine(messageTokensCount); Parameters for the user's location. Used to provide more relevant search results. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -25690,19 +25690,19 @@ Console.WriteLine(messageTokensCount); - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` ### Web Search Tool Result Block @@ -25716,7 +25716,7 @@ Console.WriteLine(messageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -25726,7 +25726,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -25734,7 +25734,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `required WebSearchToolResultBlockContent Content` @@ -25742,19 +25742,19 @@ Console.WriteLine(messageTokensCount); - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -25764,7 +25764,7 @@ Console.WriteLine(messageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -25772,7 +25772,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` ### Web Search Tool Result Block Content @@ -25782,19 +25782,19 @@ Console.WriteLine(messageTokensCount); - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -25804,7 +25804,7 @@ Console.WriteLine(messageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -25820,7 +25820,7 @@ Console.WriteLine(messageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -25830,31 +25830,31 @@ Console.WriteLine(messageTokensCount); - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -25867,9 +25867,9 @@ Console.WriteLine(messageTokensCount); Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `Caller Caller` @@ -25879,7 +25879,7 @@ Console.WriteLine(messageTokensCount); Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -25889,7 +25889,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -25897,7 +25897,7 @@ Console.WriteLine(messageTokensCount); pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` ### Web Search Tool Result Block Param Content @@ -25909,7 +25909,7 @@ Console.WriteLine(messageTokensCount); - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -25919,19 +25919,19 @@ Console.WriteLine(messageTokensCount); - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` ### Web Search Tool Result Error @@ -25939,35 +25939,35 @@ Console.WriteLine(messageTokensCount); - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` ### Web Search Tool Result Error Code - `enum WebSearchToolResultErrorCode:` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` ## Messages › Batches @@ -26082,13 +26082,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -26101,9 +26101,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -26125,7 +26125,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocationParam:` @@ -26145,7 +26145,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -26175,7 +26175,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -26187,7 +26187,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -26225,7 +26225,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class ImageBlockParam:` @@ -26239,19 +26239,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class UrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -26259,9 +26259,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `CacheControlEphemeral? CacheControl` @@ -26275,9 +26275,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - `class DocumentBlockParam:` @@ -26289,17 +26289,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class ContentBlockSource:` @@ -26313,11 +26313,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ImageBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class UrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -26325,9 +26325,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `CacheControlEphemeral? CacheControl` @@ -26353,7 +26353,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` @@ -26365,7 +26365,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result"` - `CacheControlEphemeral? CacheControl` @@ -26385,7 +26385,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `thinking` text of this block as returned by the API. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class RedactedThinkingBlockParam:` @@ -26393,7 +26393,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class ToolUseBlockParam:` @@ -26407,7 +26407,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 200, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `CacheControlEphemeral? CacheControl` @@ -26421,7 +26421,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -26431,7 +26431,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -26439,7 +26439,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -26453,7 +26453,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_result"` - `CacheControlEphemeral? CacheControl` @@ -26481,7 +26481,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `CacheControlEphemeral? CacheControl` @@ -26525,7 +26525,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonElement Type constant` + - `JsonElement Type = "browser_state"` - `CacheControlEphemeral? CacheControl` @@ -26553,7 +26553,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` - `class BrowserStateChangeDownloadStarted:` @@ -26565,7 +26565,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -26586,7 +26586,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -26616,7 +26616,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -26648,21 +26648,21 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Name Name` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `CacheControlEphemeral? CacheControl` @@ -26692,7 +26692,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -26702,25 +26702,25 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -26748,31 +26748,31 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required WebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class WebFetchBlockParam:` - `required DocumentBlockParam Content` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -26786,7 +26786,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -26816,15 +26816,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlockParam:` @@ -26832,7 +26832,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -26840,7 +26840,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlockParam:` @@ -26850,7 +26850,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -26858,13 +26858,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -26878,17 +26878,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BashCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlockParam:` @@ -26896,7 +26896,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -26904,13 +26904,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -26924,17 +26924,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required TextEditorCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `string? ErrorMessage` @@ -26944,13 +26944,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `long? NumLines` @@ -26962,11 +26962,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `IReadOnlyList? Lines` @@ -26982,7 +26982,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -26996,15 +26996,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ToolSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `string? ErrorMessage` @@ -27016,19 +27016,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -27041,7 +27041,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `CacheControlEphemeral? CacheControl` @@ -27049,11 +27049,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Role Role` - - `User` + - `User("user")` - - `Assistant` + - `Assistant("assistant")` - - `System` + - `System("system")` - `required Model Model` @@ -27061,71 +27061,71 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -27161,9 +27161,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `string Version` @@ -27197,15 +27197,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl All possible effort levels. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `JsonOutputFormat? Format` @@ -27215,7 +27215,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The JSON schema of the format - - `JsonElement Type constant` + - `JsonElement Type = "json_schema"` - `ServiceTier ServiceTier` @@ -27223,9 +27223,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Anthropic offers different levels of service for your API requests. See [service-tiers](https://platform.claude.com/docs/en/api/service-tiers) for details. - - `Auto` + - `Auto("auto")` - - `StandardOnly` + - `StandardOnly("standard_only")` - `IReadOnlyList StopSequences` @@ -27255,7 +27255,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` @@ -27283,31 +27283,31 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1024 - - `JsonElement Type constant` + - `JsonElement Type = "enabled"` - `Display? Display` Controls how thinking content appears in the response. When set to `summarized`, thinking is returned normally. When set to `omitted`, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults to `summarized`. - - `Summarized` + - `Summarized("summarized")` - - `Omitted` + - `Omitted("omitted")` - `class ThinkingConfigDisabled:` - - `JsonElement Type constant` + - `JsonElement Type = "disabled"` - `class ThinkingConfigAdaptive:` - - `JsonElement Type constant` + - `JsonElement Type = "adaptive"` - `Display? Display` Controls how thinking content appears in the response. When set to `summarized`, thinking is returned normally. When set to `omitted`, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults to `summarized`. - - `Summarized` + - `Summarized("summarized")` - - `Omitted` + - `Omitted("omitted")` - `ToolChoice ToolChoice` @@ -27317,7 +27317,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will automatically decide whether to use tools. - - `JsonElement Type constant` + - `JsonElement Type = "auto"` - `bool DisableParallelToolUse` @@ -27329,7 +27329,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will use any available tools. - - `JsonElement Type constant` + - `JsonElement Type = "any"` - `bool DisableParallelToolUse` @@ -27345,7 +27345,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the tool to use. - - `JsonElement Type constant` + - `JsonElement Type = "tool"` - `bool DisableParallelToolUse` @@ -27357,7 +27357,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will not be allowed to use tools. - - `JsonElement Type constant` + - `JsonElement Type = "none"` - `IReadOnlyList Tools` @@ -27431,7 +27431,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -27447,13 +27447,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -27483,23 +27483,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolBash20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -27517,23 +27517,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class CodeExecutionTool20250522:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250522"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -27549,23 +27549,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class CodeExecutionTool20250825:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -27583,23 +27583,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -27617,23 +27617,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence. - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260521"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -27654,7 +27654,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl the family's tool with any members disabled via `configs` removed from its schema. - - `JsonElement Type constant` + - `JsonElement Type = "browser_toolset_20260801"` - `CacheControlEphemeral? CacheControl` @@ -28043,23 +28043,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class MemoryTool20250818:` - - `JsonElement Name constant` + - `JsonElement Name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "memory_20250818"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -28086,7 +28086,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonElement Type constant` + - `JsonElement Type = "computer_toolset_20260801"` - `CacheControlEphemeral? CacheControl` @@ -28307,23 +28307,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolTextEditor20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -28341,23 +28341,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolTextEditor20250429:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250429"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -28375,23 +28375,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolTextEditor20250728:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250728"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -28415,23 +28415,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebSearchTool20250305:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20250305"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -28463,7 +28463,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Parameters for the user's location. Used to provide more relevant search results. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -28491,23 +28491,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebFetchTool20250910:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20250910"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -28547,23 +28547,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebSearchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -28597,23 +28597,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebFetchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -28655,23 +28655,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260309"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -28715,23 +28715,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebSearchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -28759,9 +28759,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -28773,23 +28773,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebFetchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -28827,9 +28827,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -28841,7 +28841,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolSearchToolBm25_20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_bm25"` Name of the tool. @@ -28849,19 +28849,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Type Type` - - `ToolSearchToolBm25_20251119` + - `ToolSearchToolBm25_20251119("tool_search_tool_bm25_20251119")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -28877,7 +28877,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolSearchToolRegex20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_regex"` Name of the tool. @@ -28885,19 +28885,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Type Type` - - `ToolSearchToolRegex20251119` + - `ToolSearchToolRegex20251119("tool_search_tool_regex_20251119")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -28997,11 +28997,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required MessageBatchRequestCounts RequestCounts` @@ -29043,7 +29043,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. @@ -29272,11 +29272,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required MessageBatchRequestCounts RequestCounts` @@ -29318,7 +29318,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. @@ -29433,11 +29433,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required MessageBatchRequestCounts RequestCounts` @@ -29479,7 +29479,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. @@ -29593,11 +29593,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required MessageBatchRequestCounts RequestCounts` @@ -29639,7 +29639,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. @@ -29706,7 +29706,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl ID of the Message Batch. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch_deleted"` Deleted object type. @@ -29807,9 +29807,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -29872,7 +29872,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocation:` @@ -29892,7 +29892,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocation:` @@ -29922,7 +29922,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -29934,7 +29934,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -29970,13 +29970,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class ThinkingBlock:` @@ -29992,7 +29992,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class RedactedThinkingBlock:` @@ -30004,7 +30004,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class ToolUseBlock:` @@ -30020,7 +30020,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -30030,7 +30030,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -30038,7 +30038,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `required IReadOnlyDictionary Input` @@ -30046,7 +30046,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `string? ToolsetName` @@ -30078,21 +30078,21 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Name Name` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `class WebSearchToolResultBlock:` @@ -30116,19 +30116,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -30138,7 +30138,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -30146,7 +30146,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `class WebFetchToolResultBlock:` @@ -30170,25 +30170,25 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required WebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -30208,29 +30208,29 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -30240,7 +30240,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `class CodeExecutionToolResultBlock:` @@ -30252,15 +30252,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -30268,7 +30268,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -30276,7 +30276,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -30286,7 +30286,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -30294,13 +30294,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BashCodeExecutionToolResultBlock:` @@ -30310,17 +30310,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BashCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -30328,7 +30328,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -30336,13 +30336,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class TextEditorCodeExecutionToolResultBlock:` @@ -30352,19 +30352,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required TextEditorCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -30372,11 +30372,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -30384,13 +30384,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -30404,13 +30404,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class ToolSearchToolResultBlock:` @@ -30420,17 +30420,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ToolSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -30440,15 +30440,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class ContainerUploadBlock:` @@ -30456,7 +30456,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `required Model Model` @@ -30464,75 +30464,75 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding - - `JsonElement Role constant` + - `JsonElement Role = "assistant"` Conversational role of the generated message. @@ -30546,23 +30546,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -30572,7 +30572,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This text is not guaranteed to be stable. `null` when no explanation is available for the category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - `required StopReason? StopReason` @@ -30590,19 +30590,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl In non-streaming mode this value is always non-null. In streaming mode, it is null in the `message_start` event and non-null otherwise. - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` - `required string? StopSequence` @@ -30610,7 +30610,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonElement Type constant` + - `JsonElement Type = "message"` Object type. @@ -30714,13 +30714,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl If the request used the priority, standard, or batch tier. - - `Standard` + - `Standard("standard")` - - `Priority` + - `Priority("priority")` - - `Batch` + - `Batch("batch")` - - `JsonElement Type constant` + - `JsonElement Type = "succeeded"` - `class MessageBatchErroredResult:` @@ -30732,69 +30732,69 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "invalid_request_error"` - `class AuthenticationError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "authentication_error"` - `class BillingError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "billing_error"` - `class PermissionError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "permission_error"` - `class NotFoundError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "not_found_error"` - `class RateLimitError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "rate_limit_error"` - `class GatewayTimeoutError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "timeout_error"` - `class ApiErrorObject:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "api_error"` - `class OverloadedError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "overloaded_error"` - `required string? RequestID` - - `JsonElement Type constant` + - `JsonElement Type = "error"` - - `JsonElement Type constant` + - `JsonElement Type = "errored"` - `class MessageBatchCanceledResult:` - - `JsonElement Type constant` + - `JsonElement Type = "canceled"` - `class MessageBatchExpiredResult:` - - `JsonElement Type constant` + - `JsonElement Type = "expired"` #### Example diff --git a/content/en/api/csharp/messages/batches.md b/content/en/api/csharp/messages/batches.md index c304f54484..f0efe58ce5 100644 --- a/content/en/api/csharp/messages/batches.md +++ b/content/en/api/csharp/messages/batches.md @@ -111,13 +111,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -130,9 +130,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -154,7 +154,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocationParam:` @@ -174,7 +174,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -204,7 +204,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -216,7 +216,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -254,7 +254,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class ImageBlockParam:` @@ -268,19 +268,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class UrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -288,9 +288,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `CacheControlEphemeral? CacheControl` @@ -304,9 +304,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - `class DocumentBlockParam:` @@ -318,17 +318,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class ContentBlockSource:` @@ -342,11 +342,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ImageBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class UrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -354,9 +354,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `CacheControlEphemeral? CacheControl` @@ -382,7 +382,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` @@ -394,7 +394,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result"` - `CacheControlEphemeral? CacheControl` @@ -414,7 +414,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `thinking` text of this block as returned by the API. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class RedactedThinkingBlockParam:` @@ -422,7 +422,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class ToolUseBlockParam:` @@ -436,7 +436,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 200, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `CacheControlEphemeral? CacheControl` @@ -450,7 +450,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -460,7 +460,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -468,7 +468,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -482,7 +482,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_result"` - `CacheControlEphemeral? CacheControl` @@ -510,7 +510,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `CacheControlEphemeral? CacheControl` @@ -554,7 +554,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonElement Type constant` + - `JsonElement Type = "browser_state"` - `CacheControlEphemeral? CacheControl` @@ -582,7 +582,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` - `class BrowserStateChangeDownloadStarted:` @@ -594,7 +594,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -615,7 +615,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -645,7 +645,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -677,21 +677,21 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Name Name` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `CacheControlEphemeral? CacheControl` @@ -721,7 +721,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -731,25 +731,25 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -777,31 +777,31 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required WebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class WebFetchBlockParam:` - `required DocumentBlockParam Content` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -815,7 +815,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -845,15 +845,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlockParam:` @@ -861,7 +861,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -869,7 +869,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlockParam:` @@ -879,7 +879,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -887,13 +887,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -907,17 +907,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BashCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlockParam:` @@ -925,7 +925,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -933,13 +933,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -953,17 +953,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required TextEditorCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `string? ErrorMessage` @@ -973,13 +973,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `long? NumLines` @@ -991,11 +991,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `IReadOnlyList? Lines` @@ -1011,7 +1011,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -1025,15 +1025,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ToolSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `string? ErrorMessage` @@ -1045,19 +1045,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -1070,7 +1070,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `CacheControlEphemeral? CacheControl` @@ -1078,11 +1078,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Role Role` - - `User` + - `User("user")` - - `Assistant` + - `Assistant("assistant")` - - `System` + - `System("system")` - `required Model Model` @@ -1090,71 +1090,71 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -1190,9 +1190,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `string Version` @@ -1226,15 +1226,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl All possible effort levels. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `JsonOutputFormat? Format` @@ -1244,7 +1244,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The JSON schema of the format - - `JsonElement Type constant` + - `JsonElement Type = "json_schema"` - `ServiceTier ServiceTier` @@ -1252,9 +1252,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Anthropic offers different levels of service for your API requests. See [service-tiers](https://platform.claude.com/docs/en/api/service-tiers) for details. - - `Auto` + - `Auto("auto")` - - `StandardOnly` + - `StandardOnly("standard_only")` - `IReadOnlyList StopSequences` @@ -1284,7 +1284,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` @@ -1312,31 +1312,31 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1024 - - `JsonElement Type constant` + - `JsonElement Type = "enabled"` - `Display? Display` Controls how thinking content appears in the response. When set to `summarized`, thinking is returned normally. When set to `omitted`, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults to `summarized`. - - `Summarized` + - `Summarized("summarized")` - - `Omitted` + - `Omitted("omitted")` - `class ThinkingConfigDisabled:` - - `JsonElement Type constant` + - `JsonElement Type = "disabled"` - `class ThinkingConfigAdaptive:` - - `JsonElement Type constant` + - `JsonElement Type = "adaptive"` - `Display? Display` Controls how thinking content appears in the response. When set to `summarized`, thinking is returned normally. When set to `omitted`, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults to `summarized`. - - `Summarized` + - `Summarized("summarized")` - - `Omitted` + - `Omitted("omitted")` - `ToolChoice ToolChoice` @@ -1346,7 +1346,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will automatically decide whether to use tools. - - `JsonElement Type constant` + - `JsonElement Type = "auto"` - `bool DisableParallelToolUse` @@ -1358,7 +1358,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will use any available tools. - - `JsonElement Type constant` + - `JsonElement Type = "any"` - `bool DisableParallelToolUse` @@ -1374,7 +1374,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the tool to use. - - `JsonElement Type constant` + - `JsonElement Type = "tool"` - `bool DisableParallelToolUse` @@ -1386,7 +1386,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will not be allowed to use tools. - - `JsonElement Type constant` + - `JsonElement Type = "none"` - `IReadOnlyList Tools` @@ -1460,7 +1460,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -1476,13 +1476,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1512,23 +1512,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolBash20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1546,23 +1546,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class CodeExecutionTool20250522:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250522"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1578,23 +1578,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class CodeExecutionTool20250825:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1612,23 +1612,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1646,23 +1646,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence. - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260521"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1683,7 +1683,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl the family's tool with any members disabled via `configs` removed from its schema. - - `JsonElement Type constant` + - `JsonElement Type = "browser_toolset_20260801"` - `CacheControlEphemeral? CacheControl` @@ -2072,23 +2072,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class MemoryTool20250818:` - - `JsonElement Name constant` + - `JsonElement Name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "memory_20250818"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -2115,7 +2115,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonElement Type constant` + - `JsonElement Type = "computer_toolset_20260801"` - `CacheControlEphemeral? CacheControl` @@ -2336,23 +2336,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolTextEditor20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -2370,23 +2370,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolTextEditor20250429:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250429"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -2404,23 +2404,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolTextEditor20250728:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250728"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -2444,23 +2444,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebSearchTool20250305:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20250305"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2492,7 +2492,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Parameters for the user's location. Used to provide more relevant search results. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -2520,23 +2520,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebFetchTool20250910:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20250910"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2576,23 +2576,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebSearchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2626,23 +2626,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebFetchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2684,23 +2684,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260309"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2744,23 +2744,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebSearchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2788,9 +2788,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -2802,23 +2802,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebFetchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2856,9 +2856,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -2870,7 +2870,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolSearchToolBm25_20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_bm25"` Name of the tool. @@ -2878,19 +2878,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Type Type` - - `ToolSearchToolBm25_20251119` + - `ToolSearchToolBm25_20251119("tool_search_tool_bm25_20251119")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -2906,7 +2906,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolSearchToolRegex20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_regex"` Name of the tool. @@ -2914,19 +2914,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Type Type` - - `ToolSearchToolRegex20251119` + - `ToolSearchToolRegex20251119("tool_search_tool_regex_20251119")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -3026,11 +3026,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required MessageBatchRequestCounts RequestCounts` @@ -3072,7 +3072,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. @@ -3301,11 +3301,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required MessageBatchRequestCounts RequestCounts` @@ -3347,7 +3347,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. @@ -3462,11 +3462,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required MessageBatchRequestCounts RequestCounts` @@ -3508,7 +3508,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. @@ -3622,11 +3622,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required MessageBatchRequestCounts RequestCounts` @@ -3668,7 +3668,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. @@ -3735,7 +3735,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl ID of the Message Batch. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch_deleted"` Deleted object type. @@ -3836,9 +3836,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -3901,7 +3901,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocation:` @@ -3921,7 +3921,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocation:` @@ -3951,7 +3951,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -3963,7 +3963,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -3999,13 +3999,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class ThinkingBlock:` @@ -4021,7 +4021,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class RedactedThinkingBlock:` @@ -4033,7 +4033,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class ToolUseBlock:` @@ -4049,7 +4049,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -4059,7 +4059,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -4067,7 +4067,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `required IReadOnlyDictionary Input` @@ -4075,7 +4075,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `string? ToolsetName` @@ -4107,21 +4107,21 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Name Name` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `class WebSearchToolResultBlock:` @@ -4145,19 +4145,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -4167,7 +4167,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -4175,7 +4175,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `class WebFetchToolResultBlock:` @@ -4199,25 +4199,25 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required WebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -4237,29 +4237,29 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -4269,7 +4269,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `class CodeExecutionToolResultBlock:` @@ -4281,15 +4281,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -4297,7 +4297,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -4305,7 +4305,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -4315,7 +4315,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -4323,13 +4323,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BashCodeExecutionToolResultBlock:` @@ -4339,17 +4339,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BashCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -4357,7 +4357,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -4365,13 +4365,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class TextEditorCodeExecutionToolResultBlock:` @@ -4381,19 +4381,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required TextEditorCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -4401,11 +4401,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -4413,13 +4413,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -4433,13 +4433,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class ToolSearchToolResultBlock:` @@ -4449,17 +4449,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ToolSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -4469,15 +4469,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class ContainerUploadBlock:` @@ -4485,7 +4485,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `required Model Model` @@ -4493,75 +4493,75 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding - - `JsonElement Role constant` + - `JsonElement Role = "assistant"` Conversational role of the generated message. @@ -4575,23 +4575,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -4601,7 +4601,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This text is not guaranteed to be stable. `null` when no explanation is available for the category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - `required StopReason? StopReason` @@ -4619,19 +4619,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl In non-streaming mode this value is always non-null. In streaming mode, it is null in the `message_start` event and non-null otherwise. - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` - `required string? StopSequence` @@ -4639,7 +4639,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonElement Type constant` + - `JsonElement Type = "message"` Object type. @@ -4743,13 +4743,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl If the request used the priority, standard, or batch tier. - - `Standard` + - `Standard("standard")` - - `Priority` + - `Priority("priority")` - - `Batch` + - `Batch("batch")` - - `JsonElement Type constant` + - `JsonElement Type = "succeeded"` - `class MessageBatchErroredResult:` @@ -4761,69 +4761,69 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "invalid_request_error"` - `class AuthenticationError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "authentication_error"` - `class BillingError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "billing_error"` - `class PermissionError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "permission_error"` - `class NotFoundError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "not_found_error"` - `class RateLimitError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "rate_limit_error"` - `class GatewayTimeoutError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "timeout_error"` - `class ApiErrorObject:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "api_error"` - `class OverloadedError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "overloaded_error"` - `required string? RequestID` - - `JsonElement Type constant` + - `JsonElement Type = "error"` - - `JsonElement Type constant` + - `JsonElement Type = "errored"` - `class MessageBatchCanceledResult:` - - `JsonElement Type constant` + - `JsonElement Type = "canceled"` - `class MessageBatchExpiredResult:` - - `JsonElement Type constant` + - `JsonElement Type = "expired"` ### Example @@ -4846,7 +4846,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res ID of the Message Batch. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch_deleted"` Deleted object type. @@ -4898,11 +4898,11 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required MessageBatchRequestCounts RequestCounts` @@ -4944,7 +4944,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. @@ -4954,7 +4954,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `class MessageBatchCanceledResult:` - - `JsonElement Type constant` + - `JsonElement Type = "canceled"` ### Message Batch Errored Result @@ -4968,67 +4968,67 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "invalid_request_error"` - `class AuthenticationError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "authentication_error"` - `class BillingError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "billing_error"` - `class PermissionError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "permission_error"` - `class NotFoundError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "not_found_error"` - `class RateLimitError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "rate_limit_error"` - `class GatewayTimeoutError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "timeout_error"` - `class ApiErrorObject:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "api_error"` - `class OverloadedError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "overloaded_error"` - `required string? RequestID` - - `JsonElement Type constant` + - `JsonElement Type = "error"` - - `JsonElement Type constant` + - `JsonElement Type = "errored"` ### Message Batch Expired Result - `class MessageBatchExpiredResult:` - - `JsonElement Type constant` + - `JsonElement Type = "expired"` ### Message Batch Individual Response @@ -5086,9 +5086,9 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -5151,7 +5151,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocation:` @@ -5171,7 +5171,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocation:` @@ -5201,7 +5201,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -5213,7 +5213,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -5249,13 +5249,13 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class ThinkingBlock:` @@ -5271,7 +5271,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class RedactedThinkingBlock:` @@ -5283,7 +5283,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class ToolUseBlock:` @@ -5299,7 +5299,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -5309,7 +5309,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -5317,7 +5317,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `required IReadOnlyDictionary Input` @@ -5325,7 +5325,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `string? ToolsetName` @@ -5357,21 +5357,21 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required Name Name` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `class WebSearchToolResultBlock:` @@ -5395,19 +5395,19 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -5417,7 +5417,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -5425,7 +5425,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `class WebFetchToolResultBlock:` @@ -5449,25 +5449,25 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required WebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -5487,29 +5487,29 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -5519,7 +5519,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `class CodeExecutionToolResultBlock:` @@ -5531,15 +5531,15 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -5547,7 +5547,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -5555,7 +5555,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -5565,7 +5565,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -5573,13 +5573,13 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BashCodeExecutionToolResultBlock:` @@ -5589,17 +5589,17 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required BashCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -5607,7 +5607,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -5615,13 +5615,13 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class TextEditorCodeExecutionToolResultBlock:` @@ -5631,19 +5631,19 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required TextEditorCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -5651,11 +5651,11 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -5663,13 +5663,13 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -5683,13 +5683,13 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class ToolSearchToolResultBlock:` @@ -5699,17 +5699,17 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required ToolSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -5719,15 +5719,15 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class ContainerUploadBlock:` @@ -5735,7 +5735,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `required Model Model` @@ -5743,75 +5743,75 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding - - `JsonElement Role constant` + - `JsonElement Role = "assistant"` Conversational role of the generated message. @@ -5825,23 +5825,23 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -5851,7 +5851,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res This text is not guaranteed to be stable. `null` when no explanation is available for the category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - `required StopReason? StopReason` @@ -5869,19 +5869,19 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res In non-streaming mode this value is always non-null. In streaming mode, it is null in the `message_start` event and non-null otherwise. - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` - `required string? StopSequence` @@ -5889,7 +5889,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonElement Type constant` + - `JsonElement Type = "message"` Object type. @@ -5993,13 +5993,13 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res If the request used the priority, standard, or batch tier. - - `Standard` + - `Standard("standard")` - - `Priority` + - `Priority("priority")` - - `Batch` + - `Batch("batch")` - - `JsonElement Type constant` + - `JsonElement Type = "succeeded"` - `class MessageBatchErroredResult:` @@ -6011,69 +6011,69 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "invalid_request_error"` - `class AuthenticationError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "authentication_error"` - `class BillingError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "billing_error"` - `class PermissionError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "permission_error"` - `class NotFoundError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "not_found_error"` - `class RateLimitError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "rate_limit_error"` - `class GatewayTimeoutError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "timeout_error"` - `class ApiErrorObject:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "api_error"` - `class OverloadedError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "overloaded_error"` - `required string? RequestID` - - `JsonElement Type constant` + - `JsonElement Type = "error"` - - `JsonElement Type constant` + - `JsonElement Type = "errored"` - `class MessageBatchCanceledResult:` - - `JsonElement Type constant` + - `JsonElement Type = "canceled"` - `class MessageBatchExpiredResult:` - - `JsonElement Type constant` + - `JsonElement Type = "expired"` ### Message Batch Request Counts @@ -6153,9 +6153,9 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -6218,7 +6218,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocation:` @@ -6238,7 +6238,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocation:` @@ -6268,7 +6268,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -6280,7 +6280,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -6316,13 +6316,13 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class ThinkingBlock:` @@ -6338,7 +6338,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class RedactedThinkingBlock:` @@ -6350,7 +6350,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class ToolUseBlock:` @@ -6366,7 +6366,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -6376,7 +6376,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -6384,7 +6384,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `required IReadOnlyDictionary Input` @@ -6392,7 +6392,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `string? ToolsetName` @@ -6424,21 +6424,21 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required Name Name` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `class WebSearchToolResultBlock:` @@ -6462,19 +6462,19 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -6484,7 +6484,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -6492,7 +6492,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `class WebFetchToolResultBlock:` @@ -6516,25 +6516,25 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required WebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -6554,29 +6554,29 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -6586,7 +6586,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `class CodeExecutionToolResultBlock:` @@ -6598,15 +6598,15 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -6614,7 +6614,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -6622,7 +6622,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -6632,7 +6632,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -6640,13 +6640,13 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BashCodeExecutionToolResultBlock:` @@ -6656,17 +6656,17 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required BashCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -6674,7 +6674,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -6682,13 +6682,13 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class TextEditorCodeExecutionToolResultBlock:` @@ -6698,19 +6698,19 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required TextEditorCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -6718,11 +6718,11 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -6730,13 +6730,13 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -6750,13 +6750,13 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class ToolSearchToolResultBlock:` @@ -6766,17 +6766,17 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required ToolSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -6786,15 +6786,15 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class ContainerUploadBlock:` @@ -6802,7 +6802,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `required Model Model` @@ -6810,75 +6810,75 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding - - `JsonElement Role constant` + - `JsonElement Role = "assistant"` Conversational role of the generated message. @@ -6892,23 +6892,23 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -6918,7 +6918,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res This text is not guaranteed to be stable. `null` when no explanation is available for the category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - `required StopReason? StopReason` @@ -6936,19 +6936,19 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res In non-streaming mode this value is always non-null. In streaming mode, it is null in the `message_start` event and non-null otherwise. - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` - `required string? StopSequence` @@ -6956,7 +6956,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonElement Type constant` + - `JsonElement Type = "message"` Object type. @@ -7060,13 +7060,13 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res If the request used the priority, standard, or batch tier. - - `Standard` + - `Standard("standard")` - - `Priority` + - `Priority("priority")` - - `Batch` + - `Batch("batch")` - - `JsonElement Type constant` + - `JsonElement Type = "succeeded"` - `class MessageBatchErroredResult:` @@ -7078,69 +7078,69 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "invalid_request_error"` - `class AuthenticationError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "authentication_error"` - `class BillingError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "billing_error"` - `class PermissionError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "permission_error"` - `class NotFoundError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "not_found_error"` - `class RateLimitError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "rate_limit_error"` - `class GatewayTimeoutError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "timeout_error"` - `class ApiErrorObject:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "api_error"` - `class OverloadedError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "overloaded_error"` - `required string? RequestID` - - `JsonElement Type constant` + - `JsonElement Type = "error"` - - `JsonElement Type constant` + - `JsonElement Type = "errored"` - `class MessageBatchCanceledResult:` - - `JsonElement Type constant` + - `JsonElement Type = "canceled"` - `class MessageBatchExpiredResult:` - - `JsonElement Type constant` + - `JsonElement Type = "expired"` ### Message Batch Succeeded Result @@ -7182,9 +7182,9 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -7247,7 +7247,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocation:` @@ -7267,7 +7267,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocation:` @@ -7297,7 +7297,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -7309,7 +7309,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -7345,13 +7345,13 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class ThinkingBlock:` @@ -7367,7 +7367,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class RedactedThinkingBlock:` @@ -7379,7 +7379,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class ToolUseBlock:` @@ -7395,7 +7395,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -7405,7 +7405,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -7413,7 +7413,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `required IReadOnlyDictionary Input` @@ -7421,7 +7421,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `string? ToolsetName` @@ -7453,21 +7453,21 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required Name Name` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `class WebSearchToolResultBlock:` @@ -7491,19 +7491,19 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -7513,7 +7513,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -7521,7 +7521,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `class WebFetchToolResultBlock:` @@ -7545,25 +7545,25 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required WebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -7583,29 +7583,29 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -7615,7 +7615,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `class CodeExecutionToolResultBlock:` @@ -7627,15 +7627,15 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -7643,7 +7643,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -7651,7 +7651,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -7661,7 +7661,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -7669,13 +7669,13 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BashCodeExecutionToolResultBlock:` @@ -7685,17 +7685,17 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required BashCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -7703,7 +7703,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -7711,13 +7711,13 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class TextEditorCodeExecutionToolResultBlock:` @@ -7727,19 +7727,19 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required TextEditorCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -7747,11 +7747,11 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -7759,13 +7759,13 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -7779,13 +7779,13 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class ToolSearchToolResultBlock:` @@ -7795,17 +7795,17 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required ToolSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -7815,15 +7815,15 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class ContainerUploadBlock:` @@ -7831,7 +7831,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `required Model Model` @@ -7839,75 +7839,75 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding - - `JsonElement Role constant` + - `JsonElement Role = "assistant"` Conversational role of the generated message. @@ -7921,23 +7921,23 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -7947,7 +7947,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res This text is not guaranteed to be stable. `null` when no explanation is available for the category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - `required StopReason? StopReason` @@ -7965,19 +7965,19 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res In non-streaming mode this value is always non-null. In streaming mode, it is null in the `message_start` event and non-null otherwise. - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` - `required string? StopSequence` @@ -7985,7 +7985,7 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonElement Type constant` + - `JsonElement Type = "message"` Object type. @@ -8089,10 +8089,10 @@ await foreach (var messageBatchIndividualResponse in client.Messages.Batches.Res If the request used the priority, standard, or batch tier. - - `Standard` + - `Standard("standard")` - - `Priority` + - `Priority("priority")` - - `Batch` + - `Batch("batch")` - - `JsonElement Type constant` + - `JsonElement Type = "succeeded"` diff --git a/content/en/api/csharp/messages/batches/cancel.md b/content/en/api/csharp/messages/batches/cancel.md index cf13d57b3e..c58f3be58f 100644 --- a/content/en/api/csharp/messages/batches/cancel.md +++ b/content/en/api/csharp/messages/batches/cancel.md @@ -64,11 +64,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required MessageBatchRequestCounts RequestCounts` @@ -110,7 +110,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. diff --git a/content/en/api/csharp/messages/batches/create.md b/content/en/api/csharp/messages/batches/create.md index aded6dd8ef..950cc54e50 100644 --- a/content/en/api/csharp/messages/batches/create.md +++ b/content/en/api/csharp/messages/batches/create.md @@ -109,13 +109,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -128,9 +128,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -152,7 +152,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocationParam:` @@ -172,7 +172,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -202,7 +202,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -214,7 +214,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -252,7 +252,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class ImageBlockParam:` @@ -266,19 +266,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class UrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -286,9 +286,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `CacheControlEphemeral? CacheControl` @@ -302,9 +302,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - `class DocumentBlockParam:` @@ -316,17 +316,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class ContentBlockSource:` @@ -340,11 +340,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ImageBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class UrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -352,9 +352,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `CacheControlEphemeral? CacheControl` @@ -380,7 +380,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` @@ -392,7 +392,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result"` - `CacheControlEphemeral? CacheControl` @@ -412,7 +412,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `thinking` text of this block as returned by the API. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class RedactedThinkingBlockParam:` @@ -420,7 +420,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class ToolUseBlockParam:` @@ -434,7 +434,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 200, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `CacheControlEphemeral? CacheControl` @@ -448,7 +448,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -458,7 +458,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -466,7 +466,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -480,7 +480,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_result"` - `CacheControlEphemeral? CacheControl` @@ -508,7 +508,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `CacheControlEphemeral? CacheControl` @@ -552,7 +552,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonElement Type constant` + - `JsonElement Type = "browser_state"` - `CacheControlEphemeral? CacheControl` @@ -580,7 +580,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` - `class BrowserStateChangeDownloadStarted:` @@ -592,7 +592,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -613,7 +613,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -643,7 +643,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -675,21 +675,21 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Name Name` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `CacheControlEphemeral? CacheControl` @@ -719,7 +719,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -729,25 +729,25 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -775,31 +775,31 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required WebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class WebFetchBlockParam:` - `required DocumentBlockParam Content` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -813,7 +813,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -843,15 +843,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlockParam:` @@ -859,7 +859,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -867,7 +867,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlockParam:` @@ -877,7 +877,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -885,13 +885,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -905,17 +905,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BashCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlockParam:` @@ -923,7 +923,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -931,13 +931,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -951,17 +951,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required TextEditorCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `string? ErrorMessage` @@ -971,13 +971,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `long? NumLines` @@ -989,11 +989,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `IReadOnlyList? Lines` @@ -1009,7 +1009,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -1023,15 +1023,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ToolSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `string? ErrorMessage` @@ -1043,19 +1043,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -1068,7 +1068,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `CacheControlEphemeral? CacheControl` @@ -1076,11 +1076,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Role Role` - - `User` + - `User("user")` - - `Assistant` + - `Assistant("assistant")` - - `System` + - `System("system")` - `required Model Model` @@ -1088,71 +1088,71 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding @@ -1188,9 +1188,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `string Version` @@ -1224,15 +1224,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl All possible effort levels. - - `Low` + - `Low("low")` - - `Medium` + - `Medium("medium")` - - `High` + - `High("high")` - - `Xhigh` + - `Xhigh("xhigh")` - - `Max` + - `Max("max")` - `JsonOutputFormat? Format` @@ -1242,7 +1242,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The JSON schema of the format - - `JsonElement Type constant` + - `JsonElement Type = "json_schema"` - `ServiceTier ServiceTier` @@ -1250,9 +1250,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Anthropic offers different levels of service for your API requests. See [service-tiers](https://platform.claude.com/docs/en/api/service-tiers) for details. - - `Auto` + - `Auto("auto")` - - `StandardOnly` + - `StandardOnly("standard_only")` - `IReadOnlyList StopSequences` @@ -1282,7 +1282,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` @@ -1310,31 +1310,31 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1024 - - `JsonElement Type constant` + - `JsonElement Type = "enabled"` - `Display? Display` Controls how thinking content appears in the response. When set to `summarized`, thinking is returned normally. When set to `omitted`, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults to `summarized`. - - `Summarized` + - `Summarized("summarized")` - - `Omitted` + - `Omitted("omitted")` - `class ThinkingConfigDisabled:` - - `JsonElement Type constant` + - `JsonElement Type = "disabled"` - `class ThinkingConfigAdaptive:` - - `JsonElement Type constant` + - `JsonElement Type = "adaptive"` - `Display? Display` Controls how thinking content appears in the response. When set to `summarized`, thinking is returned normally. When set to `omitted`, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults to `summarized`. - - `Summarized` + - `Summarized("summarized")` - - `Omitted` + - `Omitted("omitted")` - `ToolChoice ToolChoice` @@ -1344,7 +1344,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will automatically decide whether to use tools. - - `JsonElement Type constant` + - `JsonElement Type = "auto"` - `bool DisableParallelToolUse` @@ -1356,7 +1356,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will use any available tools. - - `JsonElement Type constant` + - `JsonElement Type = "any"` - `bool DisableParallelToolUse` @@ -1372,7 +1372,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the tool to use. - - `JsonElement Type constant` + - `JsonElement Type = "tool"` - `bool DisableParallelToolUse` @@ -1384,7 +1384,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will not be allowed to use tools. - - `JsonElement Type constant` + - `JsonElement Type = "none"` - `IReadOnlyList Tools` @@ -1458,7 +1458,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -1474,13 +1474,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1510,23 +1510,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolBash20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1544,23 +1544,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class CodeExecutionTool20250522:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250522"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1576,23 +1576,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class CodeExecutionTool20250825:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1610,23 +1610,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1644,23 +1644,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence. - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260521"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1681,7 +1681,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl the family's tool with any members disabled via `configs` removed from its schema. - - `JsonElement Type constant` + - `JsonElement Type = "browser_toolset_20260801"` - `CacheControlEphemeral? CacheControl` @@ -2070,23 +2070,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class MemoryTool20250818:` - - `JsonElement Name constant` + - `JsonElement Name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "memory_20250818"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -2113,7 +2113,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonElement Type constant` + - `JsonElement Type = "computer_toolset_20260801"` - `CacheControlEphemeral? CacheControl` @@ -2334,23 +2334,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolTextEditor20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -2368,23 +2368,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolTextEditor20250429:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250429"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -2402,23 +2402,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolTextEditor20250728:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250728"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -2442,23 +2442,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebSearchTool20250305:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20250305"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2490,7 +2490,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Parameters for the user's location. Used to provide more relevant search results. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -2518,23 +2518,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebFetchTool20250910:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20250910"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2574,23 +2574,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebSearchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2624,23 +2624,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebFetchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2682,23 +2682,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260309"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2742,23 +2742,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebSearchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2786,9 +2786,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -2800,23 +2800,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebFetchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2854,9 +2854,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -2868,7 +2868,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolSearchToolBm25_20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_bm25"` Name of the tool. @@ -2876,19 +2876,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Type Type` - - `ToolSearchToolBm25_20251119` + - `ToolSearchToolBm25_20251119("tool_search_tool_bm25_20251119")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -2904,7 +2904,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolSearchToolRegex20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_regex"` Name of the tool. @@ -2912,19 +2912,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Type Type` - - `ToolSearchToolRegex20251119` + - `ToolSearchToolRegex20251119("tool_search_tool_regex_20251119")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -3024,11 +3024,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required MessageBatchRequestCounts RequestCounts` @@ -3070,7 +3070,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. diff --git a/content/en/api/csharp/messages/batches/delete.md b/content/en/api/csharp/messages/batches/delete.md index 6bcca2a8dd..5d64eccd96 100644 --- a/content/en/api/csharp/messages/batches/delete.md +++ b/content/en/api/csharp/messages/batches/delete.md @@ -26,7 +26,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl ID of the Message Batch. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch_deleted"` Deleted object type. diff --git a/content/en/api/csharp/messages/batches/list.md b/content/en/api/csharp/messages/batches/list.md index 64a70ec291..c9a9b0ea5d 100644 --- a/content/en/api/csharp/messages/batches/list.md +++ b/content/en/api/csharp/messages/batches/list.md @@ -74,11 +74,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required MessageBatchRequestCounts RequestCounts` @@ -120,7 +120,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. diff --git a/content/en/api/csharp/messages/batches/results.md b/content/en/api/csharp/messages/batches/results.md index 9c2cafd790..75d06fa1da 100644 --- a/content/en/api/csharp/messages/batches/results.md +++ b/content/en/api/csharp/messages/batches/results.md @@ -74,9 +74,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -139,7 +139,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocation:` @@ -159,7 +159,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocation:` @@ -189,7 +189,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -201,7 +201,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -237,13 +237,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class ThinkingBlock:` @@ -259,7 +259,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class RedactedThinkingBlock:` @@ -271,7 +271,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class ToolUseBlock:` @@ -287,7 +287,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -297,7 +297,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -305,7 +305,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `required IReadOnlyDictionary Input` @@ -313,7 +313,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `string? ToolsetName` @@ -345,21 +345,21 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required Name Name` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `class WebSearchToolResultBlock:` @@ -383,19 +383,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -405,7 +405,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -413,7 +413,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `class WebFetchToolResultBlock:` @@ -437,25 +437,25 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required WebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -475,29 +475,29 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -507,7 +507,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `class CodeExecutionToolResultBlock:` @@ -519,15 +519,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -535,7 +535,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -543,7 +543,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -553,7 +553,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -561,13 +561,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BashCodeExecutionToolResultBlock:` @@ -577,17 +577,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required BashCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -595,7 +595,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -603,13 +603,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class TextEditorCodeExecutionToolResultBlock:` @@ -619,19 +619,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required TextEditorCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -639,11 +639,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -651,13 +651,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -671,13 +671,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class ToolSearchToolResultBlock:` @@ -687,17 +687,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required ToolSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -707,15 +707,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class ContainerUploadBlock:` @@ -723,7 +723,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `required Model Model` @@ -731,75 +731,75 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding - - `JsonElement Role constant` + - `JsonElement Role = "assistant"` Conversational role of the generated message. @@ -813,23 +813,23 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -839,7 +839,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This text is not guaranteed to be stable. `null` when no explanation is available for the category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - `required StopReason? StopReason` @@ -857,19 +857,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl In non-streaming mode this value is always non-null. In streaming mode, it is null in the `message_start` event and non-null otherwise. - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` - `required string? StopSequence` @@ -877,7 +877,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonElement Type constant` + - `JsonElement Type = "message"` Object type. @@ -981,13 +981,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl If the request used the priority, standard, or batch tier. - - `Standard` + - `Standard("standard")` - - `Priority` + - `Priority("priority")` - - `Batch` + - `Batch("batch")` - - `JsonElement Type constant` + - `JsonElement Type = "succeeded"` - `class MessageBatchErroredResult:` @@ -999,69 +999,69 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "invalid_request_error"` - `class AuthenticationError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "authentication_error"` - `class BillingError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "billing_error"` - `class PermissionError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "permission_error"` - `class NotFoundError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "not_found_error"` - `class RateLimitError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "rate_limit_error"` - `class GatewayTimeoutError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "timeout_error"` - `class ApiErrorObject:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "api_error"` - `class OverloadedError:` - `required string Message` - - `JsonElement Type constant` + - `JsonElement Type = "overloaded_error"` - `required string? RequestID` - - `JsonElement Type constant` + - `JsonElement Type = "error"` - - `JsonElement Type constant` + - `JsonElement Type = "errored"` - `class MessageBatchCanceledResult:` - - `JsonElement Type constant` + - `JsonElement Type = "canceled"` - `class MessageBatchExpiredResult:` - - `JsonElement Type constant` + - `JsonElement Type = "expired"` ## Example diff --git a/content/en/api/csharp/messages/batches/retrieve.md b/content/en/api/csharp/messages/batches/retrieve.md index 004faf2cbe..2636444a36 100644 --- a/content/en/api/csharp/messages/batches/retrieve.md +++ b/content/en/api/csharp/messages/batches/retrieve.md @@ -62,11 +62,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Processing status of the Message Batch. - - `InProgress` + - `InProgress("in_progress")` - - `Canceling` + - `Canceling("canceling")` - - `Ended` + - `Ended("ended")` - `required MessageBatchRequestCounts RequestCounts` @@ -108,7 +108,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonElement Type constant` + - `JsonElement Type = "message_batch"` Object type. diff --git a/content/en/api/csharp/messages/count_tokens.md b/content/en/api/csharp/messages/count_tokens.md index f1cedecba2..9c08a32dbb 100644 --- a/content/en/api/csharp/messages/count_tokens.md +++ b/content/en/api/csharp/messages/count_tokens.md @@ -77,13 +77,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -96,9 +96,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -120,7 +120,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocationParam:` @@ -140,7 +140,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -170,7 +170,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -182,7 +182,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -220,7 +220,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class ImageBlockParam:` @@ -234,19 +234,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class UrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -254,9 +254,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `CacheControlEphemeral? CacheControl` @@ -270,9 +270,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - `class DocumentBlockParam:` @@ -284,17 +284,17 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class ContentBlockSource:` @@ -308,11 +308,11 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ImageBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class UrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -320,9 +320,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `CacheControlEphemeral? CacheControl` @@ -348,7 +348,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` @@ -360,7 +360,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result"` - `CacheControlEphemeral? CacheControl` @@ -380,7 +380,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ The `thinking` text of this block as returned by the API. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class RedactedThinkingBlockParam:` @@ -388,7 +388,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class ToolUseBlockParam:` @@ -402,7 +402,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 200, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `CacheControlEphemeral? CacheControl` @@ -416,7 +416,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -426,7 +426,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -434,7 +434,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -448,7 +448,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_result"` - `CacheControlEphemeral? CacheControl` @@ -476,7 +476,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `CacheControlEphemeral? CacheControl` @@ -520,7 +520,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonElement Type constant` + - `JsonElement Type = "browser_state"` - `CacheControlEphemeral? CacheControl` @@ -548,7 +548,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` - `class BrowserStateChangeDownloadStarted:` @@ -560,7 +560,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -581,7 +581,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -611,7 +611,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -643,21 +643,21 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required Name Name` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `CacheControlEphemeral? CacheControl` @@ -687,7 +687,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -697,25 +697,25 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -743,31 +743,31 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required WebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class WebFetchBlockParam:` - `required DocumentBlockParam Content` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -781,7 +781,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -811,15 +811,15 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlockParam:` @@ -827,7 +827,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -835,7 +835,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlockParam:` @@ -845,7 +845,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -853,13 +853,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -873,17 +873,17 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required BashCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlockParam:` @@ -891,7 +891,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -899,13 +899,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -919,17 +919,17 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required TextEditorCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `string? ErrorMessage` @@ -939,13 +939,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `long? NumLines` @@ -957,11 +957,11 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `IReadOnlyList? Lines` @@ -977,7 +977,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -991,15 +991,15 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required ToolSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `string? ErrorMessage` @@ -1011,19 +1011,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -1036,7 +1036,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `CacheControlEphemeral? CacheControl` @@ -1044,11 +1044,11 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required Role Role` - - `User` + - `User("user")` - - `Assistant` + - `Assistant("assistant")` - - `System` + - `System("system")` - `required Model model` @@ -1078,7 +1078,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` @@ -1170,7 +1170,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -1186,13 +1186,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1222,23 +1222,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ToolBash20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1256,23 +1256,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class CodeExecutionTool20250522:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250522"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1288,23 +1288,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class CodeExecutionTool20250825:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1322,23 +1322,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1356,23 +1356,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Code execution tool with REPL state persistence. - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260521"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1393,7 +1393,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ the family's tool with any members disabled via `configs` removed from its schema. - - `JsonElement Type constant` + - `JsonElement Type = "browser_toolset_20260801"` - `CacheControlEphemeral? CacheControl` @@ -1782,23 +1782,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class MemoryTool20250818:` - - `JsonElement Name constant` + - `JsonElement Name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "memory_20250818"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1825,7 +1825,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonElement Type constant` + - `JsonElement Type = "computer_toolset_20260801"` - `CacheControlEphemeral? CacheControl` @@ -2046,23 +2046,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ToolTextEditor20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -2080,23 +2080,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ToolTextEditor20250429:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250429"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -2114,23 +2114,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ToolTextEditor20250728:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250728"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -2154,23 +2154,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class WebSearchTool20250305:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20250305"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2202,7 +2202,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Parameters for the user's location. Used to provide more relevant search results. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -2230,23 +2230,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class WebFetchTool20250910:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20250910"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2286,23 +2286,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class WebSearchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2336,23 +2336,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class WebFetchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2394,23 +2394,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260309"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2454,23 +2454,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class WebSearchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2498,9 +2498,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -2512,23 +2512,23 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class WebFetchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2566,9 +2566,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -2580,7 +2580,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ToolSearchToolBm25_20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_bm25"` Name of the tool. @@ -2588,19 +2588,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required Type Type` - - `ToolSearchToolBm25_20251119` + - `ToolSearchToolBm25_20251119("tool_search_tool_bm25_20251119")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -2616,7 +2616,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ToolSearchToolRegex20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_regex"` Name of the tool. @@ -2624,19 +2624,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `required Type Type` - - `ToolSearchToolRegex20251119` + - `ToolSearchToolRegex20251119("tool_search_tool_regex_20251119")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` diff --git a/content/en/api/csharp/messages/create.md b/content/en/api/csharp/messages/create.md index 80407d0a27..92bab0dd3d 100644 --- a/content/en/api/csharp/messages/create.md +++ b/content/en/api/csharp/messages/create.md @@ -89,13 +89,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "ephemeral"` - `Ttl Ttl` @@ -108,9 +108,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Defaults to `5m`. See [prompt caching pricing](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for details. - - `Ttl5m` + - `Ttl5m("5m")` - - `Ttl1h` + - `Ttl1h("1h")` - `IReadOnlyList? Citations` @@ -132,7 +132,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocationParam:` @@ -152,7 +152,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -182,7 +182,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -194,7 +194,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 512, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -232,7 +232,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `class ImageBlockParam:` @@ -246,19 +246,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required MediaType MediaType` - - `ImageJpeg` + - `ImageJpeg("image/jpeg")` - - `ImagePng` + - `ImagePng("image/png")` - - `ImageGif` + - `ImageGif("image/gif")` - - `ImageWebP` + - `ImageWebP("image/webp")` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class UrlImageSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -266,9 +266,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "image"` - `CacheControlEphemeral? CacheControl` @@ -282,9 +282,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co What the server does when this image exceeds the model's maximum image size. `"downsize"` (the default) scales the image down to fit, which changes the dimensions the model observes without telling you. `"error"` instead rejects the request with a 400 error naming the image's dimensions and the largest dimensions that fit, so you can scale the image deliberately — your image is never silently scaled down. - - `Downsize` + - `Downsize("downsize")` - - `Error` + - `Error("error")` - `class DocumentBlockParam:` @@ -296,17 +296,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class ContentBlockSource:` @@ -320,11 +320,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ImageBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "content"` - `class UrlPdfSource:` - - `JsonElement Type constant` + - `JsonElement Type = "url"` - `required string Url` @@ -332,9 +332,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "file"` - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `CacheControlEphemeral? CacheControl` @@ -360,7 +360,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` @@ -372,7 +372,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result"` - `CacheControlEphemeral? CacheControl` @@ -392,7 +392,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `thinking` text of this block as returned by the API. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class RedactedThinkingBlockParam:` @@ -400,7 +400,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class ToolUseBlockParam:` @@ -414,7 +414,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 200, minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `CacheControlEphemeral? CacheControl` @@ -428,7 +428,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -438,7 +438,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -446,7 +446,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `string? ToolsetName` @@ -460,7 +460,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_result"` - `CacheControlEphemeral? CacheControl` @@ -488,7 +488,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `CacheControlEphemeral? CacheControl` @@ -532,7 +532,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonElement Type constant` + - `JsonElement Type = "browser_state"` - `CacheControlEphemeral? CacheControl` @@ -560,7 +560,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "tab_opened"` - `class BrowserStateChangeDownloadStarted:` @@ -572,7 +572,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_started"` - `required string Url` @@ -593,7 +593,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_completed"` - `required string Url` @@ -623,7 +623,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonElement Type constant` + - `JsonElement Type = "download_failed"` - `required string Url` @@ -655,21 +655,21 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required Name Name` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `CacheControlEphemeral? CacheControl` @@ -699,7 +699,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -709,25 +709,25 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -755,31 +755,31 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required WebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class WebFetchBlockParam:` - `required DocumentBlockParam Content` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -793,7 +793,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -823,15 +823,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlockParam:` @@ -839,7 +839,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -847,7 +847,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlockParam:` @@ -857,7 +857,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -865,13 +865,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -885,17 +885,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required BashCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlockParam:` @@ -903,7 +903,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -911,13 +911,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -931,17 +931,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required TextEditorCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `string? ErrorMessage` @@ -951,13 +951,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `long? NumLines` @@ -969,11 +969,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `IReadOnlyList? Lines` @@ -989,7 +989,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -1003,15 +1003,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ToolSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `string? ErrorMessage` @@ -1023,19 +1023,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - `CacheControlEphemeral? CacheControl` Create a cache control breakpoint at this content block. - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `CacheControlEphemeral? CacheControl` @@ -1048,7 +1048,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `CacheControlEphemeral? CacheControl` @@ -1056,11 +1056,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required Role Role` - - `User` + - `User("user")` - - `Assistant` + - `Assistant("assistant")` - - `System` + - `System("system")` - `required Model model` @@ -1094,9 +1094,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Anthropic offers different levels of service for your API requests. See [service-tiers](https://platform.claude.com/docs/en/api/service-tiers) for details. - - `Auto` + - `Auto("auto")` - - `StandardOnly` + - `StandardOnly("standard_only")` - `IReadOnlyList stopSequences` @@ -1120,7 +1120,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `CacheControlEphemeral? CacheControl` @@ -1212,7 +1212,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonElement Type constant` + - `JsonElement Type = "object"` - `IReadOnlyDictionary? Properties` @@ -1228,13 +1228,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1264,23 +1264,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ToolBash20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "bash_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1298,23 +1298,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class CodeExecutionTool20250522:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250522"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1330,23 +1330,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class CodeExecutionTool20250825:` - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1364,23 +1364,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1398,23 +1398,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Code execution tool with REPL state persistence. - - `JsonElement Name constant` + - `JsonElement Name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260521"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1435,7 +1435,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co the family's tool with any members disabled via `configs` removed from its schema. - - `JsonElement Type constant` + - `JsonElement Type = "browser_toolset_20260801"` - `CacheControlEphemeral? CacheControl` @@ -1824,23 +1824,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class MemoryTool20250818:` - - `JsonElement Name constant` + - `JsonElement Name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "memory_20250818"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -1867,7 +1867,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonElement Type constant` + - `JsonElement Type = "computer_toolset_20260801"` - `CacheControlEphemeral? CacheControl` @@ -2088,23 +2088,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ToolTextEditor20250124:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250124"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -2122,23 +2122,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ToolTextEditor20250429:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250429"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -2156,23 +2156,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ToolTextEditor20250728:` - - `JsonElement Name constant` + - `JsonElement Name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_20250728"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -2196,23 +2196,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class WebSearchTool20250305:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20250305"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2244,7 +2244,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Parameters for the user's location. Used to provide more relevant search results. - - `JsonElement Type constant` + - `JsonElement Type = "approximate"` - `string? City` @@ -2272,23 +2272,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class WebFetchTool20250910:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20250910"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2328,23 +2328,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class WebSearchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2378,23 +2378,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class WebFetchTool20260209:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260209"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2436,23 +2436,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260309"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2496,23 +2496,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class WebSearchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_search_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2540,9 +2540,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -2554,23 +2554,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class WebFetchTool20260318:` - - `JsonElement Name constant` + - `JsonElement Name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_20260318"` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `IReadOnlyList? AllowedDomains` @@ -2608,9 +2608,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co How this tool's result blocks appear in the API response when the result was consumed by a completed code_execution call in the same turn. 'full' returns the complete content (default). 'excluded' drops the nested server_tool_use and result block pair entirely. Results from direct calls, or from code_execution calls that paused before completing, are always returned in full so they can be sent back on the next turn. - - `Full` + - `Full("full")` - - `Excluded` + - `Excluded("excluded")` - `bool Strict` @@ -2622,7 +2622,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ToolSearchToolBm25_20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_bm25"` Name of the tool. @@ -2630,19 +2630,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required Type Type` - - `ToolSearchToolBm25_20251119` + - `ToolSearchToolBm25_20251119("tool_search_tool_bm25_20251119")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -2658,7 +2658,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ToolSearchToolRegex20251119:` - - `JsonElement Name constant` + - `JsonElement Name = "tool_search_tool_regex"` Name of the tool. @@ -2666,19 +2666,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required Type Type` - - `ToolSearchToolRegex20251119` + - `ToolSearchToolRegex20251119("tool_search_tool_regex_20251119")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - `IReadOnlyList AllowedCallers` - - `Direct` + - `Direct("direct")` - - `CodeExecution20250825` + - `CodeExecution20250825("code_execution_20250825")` - - `CodeExecution20260120` + - `CodeExecution20260120("code_execution_20260120")` - - `CodeExecution20260521` + - `CodeExecution20260521("code_execution_20260521")` - `CacheControlEphemeral? CacheControl` @@ -2770,9 +2770,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Type of skill - either 'anthropic' (built-in) or 'custom' (user-defined) - - `Anthropic` + - `Anthropic("anthropic")` - - `Custom` + - `Custom("custom")` - `required string Version` @@ -2835,7 +2835,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "char_location"` - `class CitationPageLocation:` @@ -2855,7 +2855,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonElement Type constant` + - `JsonElement Type = "page_location"` - `class CitationContentBlockLocation:` @@ -2885,7 +2885,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonElement Type constant` + - `JsonElement Type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -2897,7 +2897,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 512 - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result_location"` - `required string Url` @@ -2933,13 +2933,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string? Title` - - `JsonElement Type constant` + - `JsonElement Type = "search_result_location"` - `required string Text` maxLength: 5000000, minLength: 0 - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `class ThinkingBlock:` @@ -2955,7 +2955,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The text of Claude's thinking process for this block. - - `JsonElement Type constant` + - `JsonElement Type = "thinking"` - `class RedactedThinkingBlock:` @@ -2967,7 +2967,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonElement Type constant` + - `JsonElement Type = "redacted_thinking"` - `class ToolUseBlock:` @@ -2983,7 +2983,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Tool invocation directly from the model. - - `JsonElement Type constant` + - `JsonElement Type = "direct"` - `class ServerToolCaller:` @@ -2993,7 +2993,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -3001,7 +3001,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_20260120"` - `required IReadOnlyDictionary Input` @@ -3009,7 +3009,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonElement Type constant` + - `JsonElement Type = "tool_use"` - `string? ToolsetName` @@ -3041,21 +3041,21 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required Name Name` - - `WebSearch` + - `WebSearch("web_search")` - - `WebFetch` + - `WebFetch("web_fetch")` - - `CodeExecution` + - `CodeExecution("code_execution")` - - `BashCodeExecution` + - `BashCodeExecution("bash_code_execution")` - - `TextEditorCodeExecution` + - `TextEditorCodeExecution("text_editor_code_execution")` - - `ToolSearchToolRegex` + - `ToolSearchToolRegex("tool_search_tool_regex")` - - `ToolSearchToolBm25` + - `ToolSearchToolBm25("tool_search_tool_bm25")` - - `JsonElement Type constant` + - `JsonElement Type = "server_tool_use"` - `class WebSearchToolResultBlock:` @@ -3079,19 +3079,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required WebSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `QueryTooLong` + - `QueryTooLong("query_too_long")` - - `RequestTooLarge` + - `RequestTooLarge("request_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result_error"` - `IReadOnlyList` @@ -3101,7 +3101,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Title` - - `JsonElement Type constant` + - `JsonElement Type = "web_search_result"` - `required string Url` @@ -3109,7 +3109,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_search_tool_result"` - `class WebFetchToolResultBlock:` @@ -3133,25 +3133,25 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required WebFetchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `UrlTooLong` + - `UrlTooLong("url_too_long")` - - `UrlNotAllowed` + - `UrlNotAllowed("url_not_allowed")` - - `UrlNotInPriorContext` + - `UrlNotInPriorContext("url_not_in_prior_context")` - - `UrlNotAccessible` + - `UrlNotAccessible("url_not_accessible")` - - `UnsupportedContentType` + - `UnsupportedContentType("unsupported_content_type")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `MaxUsesExceeded` + - `MaxUsesExceeded("max_uses_exceeded")` - - `Unavailable` + - `Unavailable("unavailable")` - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -3171,29 +3171,29 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co format: byte - - `JsonElement MediaType constant` + - `JsonElement MediaType = "application/pdf"` - - `JsonElement Type constant` + - `JsonElement Type = "base64"` - `class PlainTextSource:` - `required string Data` - - `JsonElement MediaType constant` + - `JsonElement MediaType = "text/plain"` - - `JsonElement Type constant` + - `JsonElement Type = "text"` - `required string? Title` The title of the document - - `JsonElement Type constant` + - `JsonElement Type = "document"` - `required string? RetrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_result"` - `required string Url` @@ -3203,7 +3203,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "web_fetch_tool_result"` - `class CodeExecutionToolResultBlock:` @@ -3215,15 +3215,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required CodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -3231,7 +3231,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required long ReturnCode` @@ -3239,7 +3239,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -3249,7 +3249,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_output"` - `required string EncryptedStdout` @@ -3257,13 +3257,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stderr` - - `JsonElement Type constant` + - `JsonElement Type = "encrypted_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "code_execution_tool_result"` - `class BashCodeExecutionToolResultBlock:` @@ -3273,17 +3273,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required BashCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `OutputFileTooLarge` + - `OutputFileTooLarge("output_file_too_large")` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -3291,7 +3291,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_output"` - `required long ReturnCode` @@ -3299,13 +3299,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Stdout` - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "bash_code_execution_tool_result"` - `class TextEditorCodeExecutionToolResultBlock:` @@ -3315,19 +3315,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required TextEditorCodeExecutionToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - - `FileNotFound` + - `FileNotFound("file_not_found")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -3335,11 +3335,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required FileType FileType` - - `Text` + - `Text("text")` - - `Image` + - `Image("image")` - - `Pdf` + - `Pdf("pdf")` - `required long? NumLines` @@ -3347,13 +3347,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required long? TotalLines` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `required bool IsFileUpdate` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -3367,13 +3367,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required long? OldStart` - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_str_replace_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "text_editor_code_execution_tool_result"` - `class ToolSearchToolResultBlock:` @@ -3383,17 +3383,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required ToolSearchToolResultErrorCode ErrorCode` - - `InvalidToolInput` + - `InvalidToolInput("invalid_tool_input")` - - `Unavailable` + - `Unavailable("unavailable")` - - `TooManyRequests` + - `TooManyRequests("too_many_requests")` - - `ExecutionTimeExceeded` + - `ExecutionTimeExceeded("execution_time_exceeded")` - `required string? ErrorMessage` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -3403,15 +3403,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_reference"` - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_search_result"` - `required string ToolUseID` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonElement Type constant` + - `JsonElement Type = "tool_search_tool_result"` - `class ContainerUploadBlock:` @@ -3419,7 +3419,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string FileID` - - `JsonElement Type constant` + - `JsonElement Type = "container_upload"` - `required Model Model` @@ -3427,75 +3427,75 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `ClaudeFable5_1` + - `ClaudeFable5_1("claude-fable-5-1")` Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows - - `ClaudeMythos5_1` + - `ClaudeMythos5_1("claude-mythos-5-1")` Our most capable model for cybersecurity and biology research, available through trusted access programs - - `ClaudeSonnet5` + - `ClaudeSonnet5("claude-sonnet-5")` High-performance model for coding and agents - - `ClaudeFable5` + - `ClaudeFable5("claude-fable-5")` Next generation of intelligence for the hardest knowledge work and coding problems - - `ClaudeMythos5` + - `ClaudeMythos5("claude-mythos-5")` Most capable model for cybersecurity and biology research - - `ClaudeOpus5` + - `ClaudeOpus5("claude-opus-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_8` + - `ClaudeOpus4_8("claude-opus-4-8")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_7` + - `ClaudeOpus4_7("claude-opus-4-7")` Powerful intelligence for long-running agents and coding - - `ClaudeMythosPreview` + - `ClaudeMythosPreview("claude-mythos-preview")` New class of intelligence, strongest in coding and cybersecurity - - `ClaudeOpus4_6` + - `ClaudeOpus4_6("claude-opus-4-6")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_6` + - `ClaudeSonnet4_6("claude-sonnet-4-6")` Best combination of speed and intelligence - - `ClaudeHaiku4_5` + - `ClaudeHaiku4_5("claude-haiku-4-5")` Fastest model with near-frontier intelligence - - `ClaudeHaiku4_5_20251001` + - `ClaudeHaiku4_5_20251001("claude-haiku-4-5-20251001")` Fastest model with near-frontier intelligence - - `ClaudeOpus4_5` + - `ClaudeOpus4_5("claude-opus-4-5")` Powerful intelligence for long-running agents and coding - - `ClaudeOpus4_5_20251101` + - `ClaudeOpus4_5_20251101("claude-opus-4-5-20251101")` Powerful intelligence for long-running agents and coding - - `ClaudeSonnet4_5` + - `ClaudeSonnet4_5("claude-sonnet-4-5")` High-performance model for agents and coding - - `ClaudeSonnet4_5_20250929` + - `ClaudeSonnet4_5_20250929("claude-sonnet-4-5-20250929")` High-performance model for agents and coding - - `JsonElement Role constant` + - `JsonElement Role = "assistant"` Conversational role of the generated message. @@ -3509,23 +3509,23 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The policy category that triggered a refusal. - - `Cyber` + - `Cyber("cyber")` The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category. - - `Bio` + - `Bio("bio")` The request could enable biological harm, such as dangerous lab methods. Beneficial life sciences work can also trigger this category. - - `FrontierLlm` + - `FrontierLlm("frontier_llm")` The request could assist the development of competing AI models, which is restricted under [Anthropic's commercial terms](https://www.anthropic.com/legal/commercial-terms). Benign machine learning work can also trigger this category. - - `ReasoningExtraction` + - `ReasoningExtraction("reasoning_extraction")` The request asks the model to reproduce its internal reasoning in the response text. To get reasoning in a structured form instead, use [adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). - - `GeneralHarms` + - `GeneralHarms("general_harms")` The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. @@ -3535,7 +3535,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co This text is not guaranteed to be stable. `null` when no explanation is available for the category. - - `JsonElement Type constant` + - `JsonElement Type = "refusal"` - `required StopReason? StopReason` @@ -3553,19 +3553,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co In non-streaming mode this value is always non-null. In streaming mode, it is null in the `message_start` event and non-null otherwise. - - `EndTurn` + - `EndTurn("end_turn")` - - `MaxTokens` + - `MaxTokens("max_tokens")` - - `StopSequence` + - `StopSequence("stop_sequence")` - - `ToolUse` + - `ToolUse("tool_use")` - - `PauseTurn` + - `PauseTurn("pause_turn")` - - `Refusal` + - `Refusal("refusal")` - - `ModelContextWindowExceeded` + - `ModelContextWindowExceeded("model_context_window_exceeded")` - `required string? StopSequence` @@ -3573,7 +3573,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonElement Type constant` + - `JsonElement Type = "message"` Object type. @@ -3677,11 +3677,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co If the request used the priority, standard, or batch tier. - - `Standard` + - `Standard("standard")` - - `Priority` + - `Priority("priority")` - - `Batch` + - `Batch("batch")` - `class RawMessageStreamEvent: union` @@ -3689,7 +3689,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required Message Message` - - `JsonElement Type constant` + - `JsonElement Type = "message_start"` - `class RawMessageDeltaEvent:` @@ -3707,7 +3707,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string? StopSequence` - - `JsonElement Type constant` + - `JsonElement Type = "message_delta"` - `required MessageDeltaUsage Usage` @@ -3758,7 +3758,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class RawMessageStopEvent:` - - `JsonElement Type constant` + - `JsonElement Type = "message_stop"` - `class RawContentBlockStartEvent:` @@ -3794,7 +3794,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required long Index` - - `JsonElement Type constant` + - `JsonElement Type = "content_block_start"` - `class RawContentBlockDeltaEvent:` @@ -3804,13 +3804,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `required string Text` - - `JsonElement Type constant` + - `JsonElement Type = "text_delta"` - `class InputJsonDelta:` - `required string PartialJson` - - `JsonElement Type constant` + - `JsonElement Type = "input_json_delta"` - `class CitationsDelta:` @@ -3826,7 +3826,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class CitationsSearchResultLocation:` - - `JsonElement Type constant` + - `JsonElement Type = "citations_delta"` - `class ThinkingDelta:` @@ -3834,7 +3834,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The incremental `thinking` text for this content block. Concatenate the `thinking` values of successive `thinking_delta` events to assemble the block's full `thinking` value. - - `JsonElement Type constant` + - `JsonElement Type = "thinking_delta"` - `class SignatureDelta:` @@ -3842,17 +3842,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `signature` for this thinking block: an opaque value used to verify that the block was generated by Claude when it is passed back to the API. Delivered in a `signature_delta` event just before the block's `content_block_stop` event. - - `JsonElement Type constant` + - `JsonElement Type = "signature_delta"` - `required long Index` - - `JsonElement Type constant` + - `JsonElement Type = "content_block_delta"` - `class RawContentBlockStopEvent:` - `required long Index` - - `JsonElement Type constant` + - `JsonElement Type = "content_block_stop"` ## Example diff --git a/content/en/api/csharp/models.md b/content/en/api/csharp/models.md index 5e44c9a94e..c1b8f30fdc 100644 --- a/content/en/api/csharp/models.md +++ b/content/en/api/csharp/models.md @@ -34,93 +34,93 @@ The Models API response can be used to determine which models are available for Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -248,7 +248,7 @@ The Models API response can be used to determine which models are available for Maximum value for the `max_tokens` parameter when using this model. - - `JsonElement Type constant` + - `JsonElement Type = "model"` Object type. @@ -369,93 +369,93 @@ The Models API response can be used to determine information about a specific mo Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ### Returns @@ -583,7 +583,7 @@ The Models API response can be used to determine information about a specific mo Maximum value for the `max_tokens` parameter when using this model. - - `JsonElement Type constant` + - `JsonElement Type = "model"` Object type. @@ -973,7 +973,7 @@ Console.WriteLine(modelInfo); Maximum value for the `max_tokens` parameter when using this model. - - `JsonElement Type constant` + - `JsonElement Type = "model"` Object type. diff --git a/content/en/api/csharp/models/list.md b/content/en/api/csharp/models/list.md index dc77d121e2..069c72726e 100644 --- a/content/en/api/csharp/models/list.md +++ b/content/en/api/csharp/models/list.md @@ -32,93 +32,93 @@ The Models API response can be used to determine which models are available for Header param: Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -246,7 +246,7 @@ The Models API response can be used to determine which models are available for Maximum value for the `max_tokens` parameter when using this model. - - `JsonElement Type constant` + - `JsonElement Type = "model"` Object type. diff --git a/content/en/api/csharp/models/retrieve.md b/content/en/api/csharp/models/retrieve.md index da8cf89096..26282ca4b5 100644 --- a/content/en/api/csharp/models/retrieve.md +++ b/content/en/api/csharp/models/retrieve.md @@ -20,93 +20,93 @@ The Models API response can be used to determine information about a specific mo Optional header to specify the beta version(s) you want to use. - - `MessageBatches2024_09_24` + - `MessageBatches2024_09_24("message-batches-2024-09-24")` - - `PromptCaching2024_07_31` + - `PromptCaching2024_07_31("prompt-caching-2024-07-31")` - - `ComputerUse2024_10_22` + - `ComputerUse2024_10_22("computer-use-2024-10-22")` - - `ComputerUse2025_01_24` + - `ComputerUse2025_01_24("computer-use-2025-01-24")` - - `Pdfs2024_09_25` + - `Pdfs2024_09_25("pdfs-2024-09-25")` - - `TokenCounting2024_11_01` + - `TokenCounting2024_11_01("token-counting-2024-11-01")` - - `TokenEfficientTools2025_02_19` + - `TokenEfficientTools2025_02_19("token-efficient-tools-2025-02-19")` - - `Output128k2025_02_19` + - `Output128k2025_02_19("output-128k-2025-02-19")` - - `FilesApi2025_04_14` + - `FilesApi2025_04_14("files-api-2025-04-14")` - - `McpClient2025_04_04` + - `McpClient2025_04_04("mcp-client-2025-04-04")` - - `McpClient2025_11_20` + - `McpClient2025_11_20("mcp-client-2025-11-20")` - - `DevFullThinking2025_05_14` + - `DevFullThinking2025_05_14("dev-full-thinking-2025-05-14")` - - `InterleavedThinking2025_05_14` + - `InterleavedThinking2025_05_14("interleaved-thinking-2025-05-14")` - - `CodeExecution2025_05_22` + - `CodeExecution2025_05_22("code-execution-2025-05-22")` - - `ExtendedCacheTtl2025_04_11` + - `ExtendedCacheTtl2025_04_11("extended-cache-ttl-2025-04-11")` - - `Context1m2025_08_07` + - `Context1m2025_08_07("context-1m-2025-08-07")` - - `ContextManagement2025_06_27` + - `ContextManagement2025_06_27("context-management-2025-06-27")` - - `ModelContextWindowExceeded2025_08_26` + - `ModelContextWindowExceeded2025_08_26("model-context-window-exceeded-2025-08-26")` - - `Skills2025_10_02` + - `Skills2025_10_02("skills-2025-10-02")` - - `FastMode2026_02_01` + - `FastMode2026_02_01("fast-mode-2026-02-01")` - - `Output300k2026_03_24` + - `Output300k2026_03_24("output-300k-2026-03-24")` - - `UserProfiles2026_03_24` + - `UserProfiles2026_03_24("user-profiles-2026-03-24")` - - `UserProfiles2026_08_18` + - `UserProfiles2026_08_18("user-profiles-2026-08-18")` - - `AdvisorTool2026_03_01` + - `AdvisorTool2026_03_01("advisor-tool-2026-03-01")` - - `ManagedAgents2026_04_01` + - `ManagedAgents2026_04_01("managed-agents-2026-04-01")` - - `CacheDiagnosis2026_04_07` + - `CacheDiagnosis2026_04_07("cache-diagnosis-2026-04-07")` - - `Dreaming2026_04_21` + - `Dreaming2026_04_21("dreaming-2026-04-21")` - - `ThinkingTokenCount2026_05_13` + - `ThinkingTokenCount2026_05_13("thinking-token-count-2026-05-13")` - - `ServerSideFallback2026_06_01` + - `ServerSideFallback2026_06_01("server-side-fallback-2026-06-01")` - - `ServerSideFallback2026_07_01` + - `ServerSideFallback2026_07_01("server-side-fallback-2026-07-01")` - - `FallbackCredit2026_06_01` + - `FallbackCredit2026_06_01("fallback-credit-2026-06-01")` - - `FallbackCredit2026_07_01` + - `FallbackCredit2026_07_01("fallback-credit-2026-07-01")` - - `AgentMemory2026_07_22` + - `AgentMemory2026_07_22("agent-memory-2026-07-22")` - - `MidConversationToolChanges2026_07_01` + - `MidConversationToolChanges2026_07_01("mid-conversation-tool-changes-2026-07-01")` - - `Compact2026_01_12` + - `Compact2026_01_12("compact-2026-01-12")` - - `ComputerUse2025_11_24` + - `ComputerUse2025_11_24("computer-use-2025-11-24")` - - `McpTunnels2026_06_22` + - `McpTunnels2026_06_22("mcp-tunnels-2026-06-22")` - - `StructuredOutputs2025_11_13` + - `StructuredOutputs2025_11_13("structured-outputs-2025-11-13")` - - `TaskBudgets2026_03_13` + - `TaskBudgets2026_03_13("task-budgets-2026-03-13")` - - `ThinkingDisplayUpdates2026_08_18` + - `ThinkingDisplayUpdates2026_08_18("thinking-display-updates-2026-08-18")` - - `CEUserManagement2026_07_13` + - `CEUserManagement2026_07_13("ce-user-management-2026-07-13")` - - `MidConversationOutputConfig2026_07_01` + - `MidConversationOutputConfig2026_07_01("mid-conversation-output-config-2026-07-01")` - - `ThinkingBindingControls2026_08_01` + - `ThinkingBindingControls2026_08_01("thinking-binding-controls-2026-08-01")` - - `MidConversationSystemClearAt2026_08_21` + - `MidConversationSystemClearAt2026_08_21("mid-conversation-system-clear-at-2026-08-21")` ## Returns @@ -234,7 +234,7 @@ The Models API response can be used to determine information about a specific mo Maximum value for the `max_tokens` parameter when using this model. - - `JsonElement Type constant` + - `JsonElement Type = "model"` Object type. diff --git a/content/en/api/java/beta.md b/content/en/api/java/beta.md index a92b614be2..61e5ac12bf 100644 --- a/content/en/api/java/beta.md +++ b/content/en/api/java/beta.md @@ -100,7 +100,7 @@ - `String message` - - `JsonValue type constant` + - `JsonValue type = "api_error"` ### Beta Authentication Error @@ -108,7 +108,7 @@ - `String message` - - `JsonValue type constant` + - `JsonValue type = "authentication_error"` ### Beta Billing Error @@ -116,7 +116,7 @@ - `String message` - - `JsonValue type constant` + - `JsonValue type = "billing_error"` ### Beta Currency @@ -132,55 +132,55 @@ - `String message` - - `JsonValue type constant` + - `JsonValue type = "invalid_request_error"` - `class BetaAuthenticationError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "authentication_error"` - `class BetaBillingError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "billing_error"` - `class BetaPermissionError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "permission_error"` - `class BetaNotFoundError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "not_found_error"` - `class BetaRateLimitError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "rate_limit_error"` - `class BetaGatewayTimeoutError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "timeout_error"` - `class BetaApiError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "api_error"` - `class BetaOverloadedError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "overloaded_error"` ### Beta Error Response @@ -192,59 +192,59 @@ - `String message` - - `JsonValue type constant` + - `JsonValue type = "invalid_request_error"` - `class BetaAuthenticationError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "authentication_error"` - `class BetaBillingError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "billing_error"` - `class BetaPermissionError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "permission_error"` - `class BetaNotFoundError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "not_found_error"` - `class BetaRateLimitError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "rate_limit_error"` - `class BetaGatewayTimeoutError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "timeout_error"` - `class BetaApiError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "api_error"` - `class BetaOverloadedError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "overloaded_error"` - `Optional requestId` - - `JsonValue type constant` + - `JsonValue type = "error"` ### Beta Gateway Timeout Error @@ -252,7 +252,7 @@ - `String message` - - `JsonValue type constant` + - `JsonValue type = "timeout_error"` ### Beta Invalid Request Error @@ -260,7 +260,7 @@ - `String message` - - `JsonValue type constant` + - `JsonValue type = "invalid_request_error"` ### Beta Monetary Amount @@ -282,7 +282,7 @@ - `String message` - - `JsonValue type constant` + - `JsonValue type = "not_found_error"` ### Beta Overloaded Error @@ -290,7 +290,7 @@ - `String message` - - `JsonValue type constant` + - `JsonValue type = "overloaded_error"` ### Beta Permission Error @@ -298,7 +298,7 @@ - `String message` - - `JsonValue type constant` + - `JsonValue type = "permission_error"` ### Beta Rate Limit Error @@ -306,7 +306,7 @@ - `String message` - - `JsonValue type constant` + - `JsonValue type = "rate_limit_error"` ## Beta › Models @@ -562,7 +562,7 @@ The Models API response can be used to determine which models are available for Maximum value for the `max_tokens` parameter when using this model. - - `JsonValue type constant` + - `JsonValue type = "model"` Object type. @@ -913,7 +913,7 @@ The Models API response can be used to determine information about a specific mo Maximum value for the `max_tokens` parameter when using this model. - - `JsonValue type constant` + - `JsonValue type = "model"` Object type. @@ -1206,13 +1206,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -1249,7 +1249,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -1269,7 +1269,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -1299,7 +1299,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -1311,7 +1311,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -1349,7 +1349,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class BetaImageBlockParam:` @@ -1371,11 +1371,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaUrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -1383,9 +1383,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -1413,17 +1413,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaContentBlockSource:` @@ -1437,11 +1437,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaImageBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class BetaUrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -1449,9 +1449,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -1477,7 +1477,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -1489,7 +1489,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String title` - - `JsonValue type constant` + - `JsonValue type = "search_result"` - `Optional cacheControl` @@ -1509,7 +1509,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `thinking` text of this block as returned by the API. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class BetaRedactedThinkingBlockParam:` @@ -1517,7 +1517,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class BetaToolUseBlockParam:` @@ -1531,7 +1531,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 200, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional cacheControl` @@ -1545,7 +1545,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -1555,7 +1555,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -1563,7 +1563,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -1577,7 +1577,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_result"` - `Optional cacheControl` @@ -1605,7 +1605,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` @@ -1649,7 +1649,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonValue type constant` + - `JsonValue type = "browser_state"` - `Optional cacheControl` @@ -1677,7 +1677,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -1689,7 +1689,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -1710,7 +1710,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -1740,7 +1740,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -1788,7 +1788,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional cacheControl` @@ -1818,7 +1818,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -1840,13 +1840,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional cacheControl` @@ -1892,13 +1892,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlockParam:` - `BetaRequestDocumentBlock content` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -1912,7 +1912,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional cacheControl` @@ -1954,13 +1954,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlockParam:` - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `Optional stopReason` @@ -1970,7 +1970,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `Optional stopReason` @@ -1978,7 +1978,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `Optional cacheControl` @@ -2002,7 +2002,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -2010,7 +2010,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -2018,7 +2018,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -2028,7 +2028,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -2036,13 +2036,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `Optional cacheControl` @@ -2066,7 +2066,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlockParam:` @@ -2074,7 +2074,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -2082,13 +2082,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `Optional cacheControl` @@ -2112,7 +2112,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `FILE_NOT_FOUND("file_not_found")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `Optional errorMessage` @@ -2128,7 +2128,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `PDF("pdf")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `Optional numLines` @@ -2140,11 +2140,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `Optional> lines` @@ -2160,7 +2160,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `Optional cacheControl` @@ -2182,7 +2182,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `Optional errorMessage` @@ -2194,19 +2194,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `Optional cacheControl` @@ -2226,7 +2226,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `Optional cacheControl` @@ -2238,7 +2238,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `Optional cacheControl` @@ -2254,7 +2254,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -2271,7 +2271,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Optional cacheControl` @@ -2287,7 +2287,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co When content is None, the block represents a failed compaction. The server treats these as no-ops. Empty string content is not allowed. - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `Optional cacheControl` @@ -2327,7 +2327,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -2338,7 +2338,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -2346,9 +2346,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_toolset_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_addition"` - `Optional cacheControl` @@ -2385,7 +2385,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Reference to every tool in the named MCP server's toolset. - - `JsonValue type constant` + - `JsonValue type = "tool_removal"` - `Optional cacheControl` @@ -2489,7 +2489,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Identifies one hop of a fallback transition. - - `JsonValue type constant` + - `JsonValue type = "fallback"` - `Optional trigger` @@ -2659,7 +2659,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String name` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -2719,7 +2719,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -2811,7 +2811,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -2863,13 +2863,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolBash20241022:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20241022"` - `Optional> allowedCallers` @@ -2897,13 +2897,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolBash20250124:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20250124"` - `Optional> allowedCallers` @@ -2931,13 +2931,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaCodeExecutionTool20250522:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250522"` - `Optional> allowedCallers` @@ -2963,13 +2963,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaCodeExecutionTool20250825:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `Optional> allowedCallers` @@ -2997,13 +2997,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional> allowedCallers` @@ -3031,13 +3031,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Code execution tool with REPL state persistence. - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260521"` - `Optional> allowedCallers` @@ -3068,7 +3068,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co the family's tool with any members disabled via `configs` removed from its schema. - - `JsonValue type constant` + - `JsonValue type = "browser_toolset_20260801"` - `Optional cacheControl` @@ -3469,13 +3469,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20241022"` - `Optional> allowedCallers` @@ -3509,13 +3509,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaMemoryTool20250818:` - - `JsonValue name constant` + - `JsonValue name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "memory_20250818"` - `Optional> allowedCallers` @@ -3555,13 +3555,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20250124"` - `Optional> allowedCallers` @@ -3595,13 +3595,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolTextEditor20241022:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20241022"` - `Optional> allowedCallers` @@ -3641,13 +3641,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20251124"` - `Optional> allowedCallers` @@ -3694,7 +3694,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonValue type constant` + - `JsonValue type = "computer_toolset_20260801"` - `Optional cacheControl` @@ -3915,13 +3915,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolTextEditor20250124:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250124"` - `Optional> allowedCallers` @@ -3949,13 +3949,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolTextEditor20250429:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250429"` - `Optional> allowedCallers` @@ -3983,13 +3983,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolTextEditor20250728:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250728"` - `Optional> allowedCallers` @@ -4023,13 +4023,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebSearchTool20250305:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20250305"` - `Optional> allowedCallers` @@ -4071,7 +4071,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Parameters for the user's location. Used to provide more relevant search results. - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -4099,13 +4099,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebFetchTool20250910:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20250910"` - `Optional> allowedCallers` @@ -4155,13 +4155,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebSearchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260209"` - `Optional> allowedCallers` @@ -4205,13 +4205,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebFetchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260209"` - `Optional> allowedCallers` @@ -4263,13 +4263,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260309"` - `Optional> allowedCallers` @@ -4323,13 +4323,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebSearchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260318"` - `Optional> allowedCallers` @@ -4381,13 +4381,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebFetchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260318"` - `Optional> allowedCallers` @@ -4455,13 +4455,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonValue name constant` + - `JsonValue name = "advisor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "advisor_20260301"` - `Optional> allowedCallers` @@ -4503,7 +4503,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolSearchToolBm25_20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_bm25"` Name of the tool. @@ -4539,7 +4539,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolSearchToolRegex20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_regex"` Name of the tool. @@ -4586,7 +4586,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 255, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "mcp_toolset"` - `Optional cacheControl` @@ -4755,7 +4755,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocation:` @@ -4775,7 +4775,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -4805,7 +4805,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -4817,7 +4817,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -4853,13 +4853,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaThinkingBlock:` @@ -4875,7 +4875,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -4887,7 +4887,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -4901,7 +4901,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional caller` @@ -4911,7 +4911,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -4921,7 +4921,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -4929,7 +4929,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -4963,7 +4963,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional caller` @@ -4999,7 +4999,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -5009,7 +5009,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -5017,7 +5017,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional caller` @@ -5059,7 +5059,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -5079,29 +5079,29 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -5111,7 +5111,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional caller` @@ -5149,7 +5149,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -5159,7 +5159,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -5171,13 +5171,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -5197,7 +5197,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -5205,7 +5205,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -5213,7 +5213,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -5223,7 +5223,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -5231,13 +5231,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -5257,7 +5257,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -5265,7 +5265,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -5273,13 +5273,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -5301,7 +5301,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -5321,13 +5321,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -5341,13 +5341,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -5367,7 +5367,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -5377,15 +5377,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -5403,7 +5403,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -5423,7 +5423,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `boolean isError` @@ -5431,7 +5431,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -5439,7 +5439,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `class BetaCompactionBlock:` @@ -5457,7 +5457,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `class BetaFallbackBlock:` @@ -5583,9 +5583,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - - `JsonValue type constant` + - `JsonValue type = "fallback"` - `Optional contextManagement` @@ -5611,7 +5611,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -5629,7 +5629,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_thinking_20251015"` The type of context management edit applied. @@ -5648,7 +5648,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -5656,7 +5656,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -5664,7 +5664,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -5672,15 +5672,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonValue type constant` + - `JsonValue type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonValue type constant` + - `JsonValue type = "unavailable"` - `Model model` @@ -5688,7 +5688,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonValue role constant` + - `JsonValue role = "assistant"` Conversational role of the generated message. @@ -5777,7 +5777,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - `Optional stopReason` @@ -5817,7 +5817,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonValue type constant` + - `JsonValue type = "message"` Object type. @@ -5881,7 +5881,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonValue type constant` + - `JsonValue type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -5918,7 +5918,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `WRONG_WORKSPACE("wrong_workspace")` - - `JsonValue type constant` + - `JsonValue type = "not_applied"` - `Optional> removeToRedeem` @@ -5991,7 +5991,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "message"` Usage for a sampling iteration @@ -6027,7 +6027,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "compaction"` Usage for a compaction iteration @@ -6069,7 +6069,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -6116,7 +6116,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -6230,7 +6230,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `END_USER_BINDING_MISMATCH("end_user_binding_mismatch")` - - `JsonValue type constant` + - `JsonValue type = "thinking_dropped"` Always `thinking_dropped` for this entry type. @@ -6240,7 +6240,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `BetaMessage message` - - `JsonValue type constant` + - `JsonValue type = "message_start"` - `class BetaRawMessageDeltaEvent:` @@ -6262,7 +6262,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional stopSequence` - - `JsonValue type constant` + - `JsonValue type = "message_delta"` - `BetaMessageDeltaUsage usage` @@ -6388,13 +6388,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co `organization_binding_mismatch`, `end_user_binding_mismatch`, `model_binding_mismatch`, `prefix_binding_mismatch`. - - `JsonValue type constant` + - `JsonValue type = "thinking_dropped"` Always `thinking_dropped` for this entry type. - `class BetaRawMessageStopEvent:` - - `JsonValue type constant` + - `JsonValue type = "message_stop"` - `class BetaRawContentBlockStartEvent:` @@ -6458,7 +6458,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `long index` - - `JsonValue type constant` + - `JsonValue type = "content_block_start"` - `class BetaRawContentBlockDeltaEvent:` @@ -6468,13 +6468,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String text` - - `JsonValue type constant` + - `JsonValue type = "text_delta"` - `class BetaInputJsonDelta:` - `String partialJson` - - `JsonValue type constant` + - `JsonValue type = "input_json_delta"` - `class BetaCitationsDelta:` @@ -6490,7 +6490,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaCitationSearchResultLocation:` - - `JsonValue type constant` + - `JsonValue type = "citations_delta"` - `class BetaThinkingDelta:` @@ -6502,7 +6502,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The incremental `thinking` text for this content block. Concatenate the `thinking` values of successive `thinking_delta` events to assemble the block's full `thinking` value. - - `JsonValue type constant` + - `JsonValue type = "thinking_delta"` - `class BetaSignatureDelta:` @@ -6510,7 +6510,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `signature` for this thinking block: an opaque value used to verify that the block was generated by Claude when it is passed back to the API. Delivered in a `signature_delta` event just before the block's `content_block_stop` event. - - `JsonValue type constant` + - `JsonValue type = "signature_delta"` - `class BetaCompactionContentBlockDelta:` @@ -6520,17 +6520,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonValue type constant` + - `JsonValue type = "compaction_delta"` - `long index` - - `JsonValue type constant` + - `JsonValue type = "content_block_delta"` - `class BetaRawContentBlockStopEvent:` - `long index` - - `JsonValue type constant` + - `JsonValue type = "content_block_stop"` #### Example @@ -6844,13 +6844,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -6887,7 +6887,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -6907,7 +6907,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -6937,7 +6937,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -6949,7 +6949,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -6987,7 +6987,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class BetaImageBlockParam:` @@ -7009,11 +7009,11 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaUrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -7021,9 +7021,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -7051,17 +7051,17 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaContentBlockSource:` @@ -7075,11 +7075,11 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaImageBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class BetaUrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -7087,9 +7087,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -7115,7 +7115,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -7127,7 +7127,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String title` - - `JsonValue type constant` + - `JsonValue type = "search_result"` - `Optional cacheControl` @@ -7147,7 +7147,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ The `thinking` text of this block as returned by the API. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class BetaRedactedThinkingBlockParam:` @@ -7155,7 +7155,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class BetaToolUseBlockParam:` @@ -7169,7 +7169,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 200, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional cacheControl` @@ -7183,7 +7183,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -7193,7 +7193,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -7201,7 +7201,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -7215,7 +7215,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_result"` - `Optional cacheControl` @@ -7243,7 +7243,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` @@ -7287,7 +7287,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonValue type constant` + - `JsonValue type = "browser_state"` - `Optional cacheControl` @@ -7315,7 +7315,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -7327,7 +7327,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -7348,7 +7348,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -7378,7 +7378,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -7426,7 +7426,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional cacheControl` @@ -7456,7 +7456,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -7478,13 +7478,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional cacheControl` @@ -7530,13 +7530,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlockParam:` - `BetaRequestDocumentBlock content` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -7550,7 +7550,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional cacheControl` @@ -7592,13 +7592,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlockParam:` - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `Optional stopReason` @@ -7608,7 +7608,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `Optional stopReason` @@ -7616,7 +7616,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `Optional cacheControl` @@ -7640,7 +7640,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -7648,7 +7648,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -7656,7 +7656,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -7666,7 +7666,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -7674,13 +7674,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `Optional cacheControl` @@ -7704,7 +7704,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlockParam:` @@ -7712,7 +7712,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -7720,13 +7720,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `Optional cacheControl` @@ -7750,7 +7750,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `FILE_NOT_FOUND("file_not_found")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `Optional errorMessage` @@ -7766,7 +7766,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `PDF("pdf")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `Optional numLines` @@ -7778,11 +7778,11 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `Optional> lines` @@ -7798,7 +7798,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `Optional cacheControl` @@ -7820,7 +7820,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `Optional errorMessage` @@ -7832,19 +7832,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `Optional cacheControl` @@ -7864,7 +7864,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `Optional cacheControl` @@ -7876,7 +7876,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `Optional cacheControl` @@ -7892,7 +7892,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -7909,7 +7909,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Optional cacheControl` @@ -7925,7 +7925,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ When content is None, the block represents a failed compaction. The server treats these as no-ops. Empty string content is not allowed. - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `Optional cacheControl` @@ -7965,7 +7965,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -7976,7 +7976,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -7984,9 +7984,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_toolset_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_addition"` - `Optional cacheControl` @@ -8023,7 +8023,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Reference to every tool in the named MCP server's toolset. - - `JsonValue type constant` + - `JsonValue type = "tool_removal"` - `Optional cacheControl` @@ -8127,7 +8127,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Identifies one hop of a fallback transition. - - `JsonValue type constant` + - `JsonValue type = "fallback"` - `Optional trigger` @@ -8195,7 +8195,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String name` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -8233,7 +8233,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -8325,7 +8325,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -8377,13 +8377,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolBash20241022:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20241022"` - `Optional> allowedCallers` @@ -8411,13 +8411,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolBash20250124:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20250124"` - `Optional> allowedCallers` @@ -8445,13 +8445,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaCodeExecutionTool20250522:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250522"` - `Optional> allowedCallers` @@ -8477,13 +8477,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaCodeExecutionTool20250825:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `Optional> allowedCallers` @@ -8511,13 +8511,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional> allowedCallers` @@ -8545,13 +8545,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Code execution tool with REPL state persistence. - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260521"` - `Optional> allowedCallers` @@ -8582,7 +8582,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ the family's tool with any members disabled via `configs` removed from its schema. - - `JsonValue type constant` + - `JsonValue type = "browser_toolset_20260801"` - `Optional cacheControl` @@ -8983,13 +8983,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20241022"` - `Optional> allowedCallers` @@ -9023,13 +9023,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaMemoryTool20250818:` - - `JsonValue name constant` + - `JsonValue name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "memory_20250818"` - `Optional> allowedCallers` @@ -9069,13 +9069,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20250124"` - `Optional> allowedCallers` @@ -9109,13 +9109,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolTextEditor20241022:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20241022"` - `Optional> allowedCallers` @@ -9155,13 +9155,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20251124"` - `Optional> allowedCallers` @@ -9208,7 +9208,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonValue type constant` + - `JsonValue type = "computer_toolset_20260801"` - `Optional cacheControl` @@ -9429,13 +9429,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolTextEditor20250124:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250124"` - `Optional> allowedCallers` @@ -9463,13 +9463,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolTextEditor20250429:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250429"` - `Optional> allowedCallers` @@ -9497,13 +9497,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolTextEditor20250728:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250728"` - `Optional> allowedCallers` @@ -9537,13 +9537,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebSearchTool20250305:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20250305"` - `Optional> allowedCallers` @@ -9585,7 +9585,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Parameters for the user's location. Used to provide more relevant search results. - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -9613,13 +9613,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebFetchTool20250910:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20250910"` - `Optional> allowedCallers` @@ -9669,13 +9669,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebSearchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260209"` - `Optional> allowedCallers` @@ -9719,13 +9719,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebFetchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260209"` - `Optional> allowedCallers` @@ -9777,13 +9777,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260309"` - `Optional> allowedCallers` @@ -9837,13 +9837,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebSearchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260318"` - `Optional> allowedCallers` @@ -9895,13 +9895,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebFetchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260318"` - `Optional> allowedCallers` @@ -9969,13 +9969,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonValue name constant` + - `JsonValue name = "advisor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "advisor_20260301"` - `Optional> allowedCallers` @@ -10017,7 +10017,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolSearchToolBm25_20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_bm25"` Name of the tool. @@ -10053,7 +10053,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolSearchToolRegex20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_regex"` Name of the tool. @@ -10100,7 +10100,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 255, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "mcp_toolset"` - `Optional cacheControl` @@ -10392,13 +10392,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -10435,7 +10435,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -10455,7 +10455,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -10485,7 +10485,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -10497,7 +10497,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -10535,7 +10535,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class BetaImageBlockParam:` @@ -10557,11 +10557,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaUrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -10569,9 +10569,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -10599,17 +10599,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaContentBlockSource:` @@ -10623,11 +10623,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaImageBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class BetaUrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -10635,9 +10635,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -10663,7 +10663,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -10675,7 +10675,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String title` - - `JsonValue type constant` + - `JsonValue type = "search_result"` - `Optional cacheControl` @@ -10695,7 +10695,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `thinking` text of this block as returned by the API. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class BetaRedactedThinkingBlockParam:` @@ -10703,7 +10703,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class BetaToolUseBlockParam:` @@ -10717,7 +10717,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 200, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional cacheControl` @@ -10731,7 +10731,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -10741,7 +10741,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -10749,7 +10749,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -10763,7 +10763,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_result"` - `Optional cacheControl` @@ -10791,7 +10791,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` @@ -10835,7 +10835,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonValue type constant` + - `JsonValue type = "browser_state"` - `Optional cacheControl` @@ -10863,7 +10863,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -10875,7 +10875,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -10896,7 +10896,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -10926,7 +10926,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -10974,7 +10974,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional cacheControl` @@ -11004,7 +11004,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -11026,13 +11026,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional cacheControl` @@ -11078,13 +11078,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlockParam:` - `BetaRequestDocumentBlock content` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -11098,7 +11098,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional cacheControl` @@ -11140,13 +11140,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlockParam:` - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `Optional stopReason` @@ -11156,7 +11156,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `Optional stopReason` @@ -11164,7 +11164,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `Optional cacheControl` @@ -11188,7 +11188,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -11196,7 +11196,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -11204,7 +11204,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -11214,7 +11214,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -11222,13 +11222,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `Optional cacheControl` @@ -11252,7 +11252,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlockParam:` @@ -11260,7 +11260,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -11268,13 +11268,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `Optional cacheControl` @@ -11298,7 +11298,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `FILE_NOT_FOUND("file_not_found")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `Optional errorMessage` @@ -11314,7 +11314,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `PDF("pdf")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `Optional numLines` @@ -11326,11 +11326,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `Optional> lines` @@ -11346,7 +11346,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `Optional cacheControl` @@ -11368,7 +11368,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `Optional errorMessage` @@ -11380,19 +11380,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `Optional cacheControl` @@ -11412,7 +11412,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `Optional cacheControl` @@ -11424,7 +11424,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `Optional cacheControl` @@ -11440,7 +11440,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -11457,7 +11457,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Optional cacheControl` @@ -11473,7 +11473,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl When content is None, the block represents a failed compaction. The server treats these as no-ops. Empty string content is not allowed. - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `Optional cacheControl` @@ -11513,7 +11513,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -11524,7 +11524,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -11532,9 +11532,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_toolset_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_addition"` - `Optional cacheControl` @@ -11571,7 +11571,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Reference to every tool in the named MCP server's toolset. - - `JsonValue type constant` + - `JsonValue type = "tool_removal"` - `Optional cacheControl` @@ -11675,7 +11675,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Identifies one hop of a fallback transition. - - `JsonValue type constant` + - `JsonValue type = "fallback"` - `Optional trigger` @@ -11783,13 +11783,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaClearToolUses20250919Edit:` - - `JsonValue type constant` + - `JsonValue type = "clear_tool_uses_20250919"` - `Optional clearAtLeast` Minimum number of tokens that must be cleared when triggered. Context will only be modified if at least this many tokens can be removed. - - `JsonValue type constant` + - `JsonValue type = "input_tokens"` - `long value` @@ -11811,7 +11811,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Number of tool uses to retain in the conversation - - `JsonValue type constant` + - `JsonValue type = "tool_uses"` - `long value` @@ -11823,7 +11823,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaInputTokensTrigger:` - - `JsonValue type constant` + - `JsonValue type = "input_tokens"` - `long value` @@ -11831,7 +11831,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolUsesTrigger:` - - `JsonValue type constant` + - `JsonValue type = "tool_uses"` - `long value` @@ -11839,7 +11839,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaClearThinking20251015Edit:` - - `JsonValue type constant` + - `JsonValue type = "clear_thinking_20251015"` - `Optional keep` @@ -11847,7 +11847,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaThinkingTurns:` - - `JsonValue type constant` + - `JsonValue type = "thinking_turns"` - `long value` @@ -11855,7 +11855,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaAllThinkingTurns:` - - `JsonValue type constant` + - `JsonValue type = "all"` - `JsonValue` @@ -11863,7 +11863,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Automatically compact older context when reaching the configured trigger threshold. - - `JsonValue type constant` + - `JsonValue type = "compact_20260112"` - `Optional instructions` @@ -11975,7 +11975,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The JSON schema of the format - - `JsonValue type constant` + - `JsonValue type = "json_schema"` - `Optional taskBudget` @@ -11987,7 +11987,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1024 - - `JsonValue type constant` + - `JsonValue type = "tokens"` The budget type. Currently only 'tokens' is supported. @@ -12019,7 +12019,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1024 - - `JsonValue type constant` + - `JsonValue type = "enabled"` - `Optional blockBinding` @@ -12051,11 +12051,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaThinkingConfigDisabled:` - - `JsonValue type constant` + - `JsonValue type = "disabled"` - `class BetaThinkingConfigAdaptive:` - - `JsonValue type constant` + - `JsonValue type = "adaptive"` - `Optional blockBinding` @@ -12087,7 +12087,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String name` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -12161,7 +12161,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -12191,7 +12191,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will automatically decide whether to use tools. - - `JsonValue type constant` + - `JsonValue type = "auto"` - `Optional disableParallelToolUse` @@ -12203,7 +12203,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will use any available tools. - - `JsonValue type constant` + - `JsonValue type = "any"` - `Optional disableParallelToolUse` @@ -12219,7 +12219,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the tool to use. - - `JsonValue type constant` + - `JsonValue type = "tool"` - `Optional disableParallelToolUse` @@ -12231,7 +12231,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will not be allowed to use tools. - - `JsonValue type constant` + - `JsonValue type = "none"` - `Optional> tools` @@ -12305,7 +12305,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -12357,13 +12357,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolBash20241022:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20241022"` - `Optional> allowedCallers` @@ -12391,13 +12391,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolBash20250124:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20250124"` - `Optional> allowedCallers` @@ -12425,13 +12425,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaCodeExecutionTool20250522:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250522"` - `Optional> allowedCallers` @@ -12457,13 +12457,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaCodeExecutionTool20250825:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `Optional> allowedCallers` @@ -12491,13 +12491,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional> allowedCallers` @@ -12525,13 +12525,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence. - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260521"` - `Optional> allowedCallers` @@ -12562,7 +12562,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl the family's tool with any members disabled via `configs` removed from its schema. - - `JsonValue type constant` + - `JsonValue type = "browser_toolset_20260801"` - `Optional cacheControl` @@ -12963,13 +12963,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20241022"` - `Optional> allowedCallers` @@ -13003,13 +13003,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaMemoryTool20250818:` - - `JsonValue name constant` + - `JsonValue name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "memory_20250818"` - `Optional> allowedCallers` @@ -13049,13 +13049,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20250124"` - `Optional> allowedCallers` @@ -13089,13 +13089,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20241022:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20241022"` - `Optional> allowedCallers` @@ -13135,13 +13135,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20251124"` - `Optional> allowedCallers` @@ -13188,7 +13188,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonValue type constant` + - `JsonValue type = "computer_toolset_20260801"` - `Optional cacheControl` @@ -13409,13 +13409,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20250124:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250124"` - `Optional> allowedCallers` @@ -13443,13 +13443,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20250429:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250429"` - `Optional> allowedCallers` @@ -13477,13 +13477,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20250728:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250728"` - `Optional> allowedCallers` @@ -13517,13 +13517,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebSearchTool20250305:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20250305"` - `Optional> allowedCallers` @@ -13565,7 +13565,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Parameters for the user's location. Used to provide more relevant search results. - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -13593,13 +13593,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebFetchTool20250910:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20250910"` - `Optional> allowedCallers` @@ -13649,13 +13649,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebSearchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260209"` - `Optional> allowedCallers` @@ -13699,13 +13699,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebFetchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260209"` - `Optional> allowedCallers` @@ -13757,13 +13757,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260309"` - `Optional> allowedCallers` @@ -13817,13 +13817,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebSearchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260318"` - `Optional> allowedCallers` @@ -13875,13 +13875,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebFetchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260318"` - `Optional> allowedCallers` @@ -13949,13 +13949,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonValue name constant` + - `JsonValue name = "advisor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "advisor_20260301"` - `Optional> allowedCallers` @@ -13997,7 +13997,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolSearchToolBm25_20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_bm25"` Name of the tool. @@ -14033,7 +14033,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolSearchToolRegex20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_regex"` Name of the tool. @@ -14080,7 +14080,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 255, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "mcp_toolset"` - `Optional cacheControl` @@ -14238,7 +14238,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. @@ -14501,7 +14501,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. @@ -14765,7 +14765,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. @@ -15026,7 +15026,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. @@ -15196,7 +15196,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl ID of the Message Batch. - - `JsonValue type constant` + - `JsonValue type = "message_batch_deleted"` Deleted object type. @@ -15465,7 +15465,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocation:` @@ -15485,7 +15485,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -15515,7 +15515,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -15527,7 +15527,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -15563,13 +15563,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaThinkingBlock:` @@ -15585,7 +15585,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -15597,7 +15597,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -15611,7 +15611,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional caller` @@ -15621,7 +15621,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -15631,7 +15631,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -15639,7 +15639,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -15673,7 +15673,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional caller` @@ -15709,7 +15709,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -15719,7 +15719,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -15727,7 +15727,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional caller` @@ -15769,7 +15769,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -15789,29 +15789,29 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -15821,7 +15821,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional caller` @@ -15859,7 +15859,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -15869,7 +15869,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -15881,13 +15881,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -15907,7 +15907,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -15915,7 +15915,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -15923,7 +15923,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -15933,7 +15933,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -15941,13 +15941,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -15967,7 +15967,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -15975,7 +15975,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -15983,13 +15983,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -16011,7 +16011,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -16031,13 +16031,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -16051,13 +16051,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -16077,7 +16077,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -16087,15 +16087,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -16113,7 +16113,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -16133,7 +16133,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `boolean isError` @@ -16141,7 +16141,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -16149,7 +16149,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `class BetaCompactionBlock:` @@ -16167,7 +16167,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `class BetaFallbackBlock:` @@ -16293,9 +16293,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - - `JsonValue type constant` + - `JsonValue type = "fallback"` - `Optional contextManagement` @@ -16321,7 +16321,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -16339,7 +16339,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_thinking_20251015"` The type of context management edit applied. @@ -16358,7 +16358,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -16366,7 +16366,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -16374,7 +16374,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -16382,15 +16382,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonValue type constant` + - `JsonValue type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonValue type constant` + - `JsonValue type = "unavailable"` - `Model model` @@ -16398,7 +16398,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonValue role constant` + - `JsonValue role = "assistant"` Conversational role of the generated message. @@ -16487,7 +16487,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - `Optional stopReason` @@ -16527,7 +16527,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonValue type constant` + - `JsonValue type = "message"` Object type. @@ -16591,7 +16591,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonValue type constant` + - `JsonValue type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -16628,7 +16628,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `WRONG_WORKSPACE("wrong_workspace")` - - `JsonValue type constant` + - `JsonValue type = "not_applied"` - `Optional> removeToRedeem` @@ -16701,7 +16701,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "message"` Usage for a sampling iteration @@ -16737,7 +16737,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "compaction"` Usage for a compaction iteration @@ -16779,7 +16779,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -16826,7 +16826,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -16940,11 +16940,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `END_USER_BINDING_MISMATCH("end_user_binding_mismatch")` - - `JsonValue type constant` + - `JsonValue type = "thinking_dropped"` Always `thinking_dropped` for this entry type. - - `JsonValue type constant` + - `JsonValue type = "succeeded"` - `class BetaMessageBatchErroredResult:` @@ -16956,69 +16956,69 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String message` - - `JsonValue type constant` + - `JsonValue type = "invalid_request_error"` - `class BetaAuthenticationError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "authentication_error"` - `class BetaBillingError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "billing_error"` - `class BetaPermissionError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "permission_error"` - `class BetaNotFoundError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "not_found_error"` - `class BetaRateLimitError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "rate_limit_error"` - `class BetaGatewayTimeoutError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "timeout_error"` - `class BetaApiError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "api_error"` - `class BetaOverloadedError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "overloaded_error"` - `Optional requestId` - - `JsonValue type constant` + - `JsonValue type = "error"` - - `JsonValue type constant` + - `JsonValue type = "errored"` - `class BetaMessageBatchCanceledResult:` - - `JsonValue type constant` + - `JsonValue type = "canceled"` - `class BetaMessageBatchExpiredResult:` - - `JsonValue type constant` + - `JsonValue type = "expired"` #### Example @@ -17386,7 +17386,7 @@ Create Agent Configuration override for the bash tool. - - `JsonValue name constant` + - `JsonValue name = "bash"` Must be "bash". @@ -17416,7 +17416,7 @@ Create Agent Configuration override for the edit tool. - - `JsonValue name constant` + - `JsonValue name = "edit"` Must be "edit". @@ -17442,7 +17442,7 @@ Create Agent Configuration override for the read tool. - - `JsonValue name constant` + - `JsonValue name = "read"` Must be "read". @@ -17468,7 +17468,7 @@ Create Agent Configuration override for the write tool. - - `JsonValue name constant` + - `JsonValue name = "write"` Must be "write". @@ -17494,7 +17494,7 @@ Create Agent Configuration override for the glob tool. - - `JsonValue name constant` + - `JsonValue name = "glob"` Must be "glob". @@ -17520,7 +17520,7 @@ Create Agent Configuration override for the grep tool. - - `JsonValue name constant` + - `JsonValue name = "grep"` Must be "grep". @@ -17546,7 +17546,7 @@ Create Agent Configuration override for the web_fetch tool. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Must be "web_fetch". @@ -17586,7 +17586,7 @@ Create Agent Configuration override for the web_search tool. - - `JsonValue name constant` + - `JsonValue name = "web_search"` Must be "web_search". @@ -17620,7 +17620,7 @@ Create Agent Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -17738,7 +17738,7 @@ Create Agent JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -17966,7 +17966,7 @@ Create Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -17984,7 +17984,7 @@ Create Agent - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -17992,7 +17992,7 @@ Create Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -18006,7 +18006,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -18014,7 +18014,7 @@ Create Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -18028,7 +18028,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -18036,7 +18036,7 @@ Create Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -18050,7 +18050,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -18058,7 +18058,7 @@ Create Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -18072,7 +18072,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -18080,7 +18080,7 @@ Create Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -18094,7 +18094,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -18102,7 +18102,7 @@ Create Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -18116,7 +18116,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -18132,7 +18132,7 @@ Create Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -18146,7 +18146,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -18156,7 +18156,7 @@ Create Agent Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -18254,7 +18254,7 @@ Create Agent JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -18725,7 +18725,7 @@ List Agents - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -18743,7 +18743,7 @@ List Agents - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -18751,7 +18751,7 @@ List Agents - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -18765,7 +18765,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -18773,7 +18773,7 @@ List Agents - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -18787,7 +18787,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -18795,7 +18795,7 @@ List Agents - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -18809,7 +18809,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -18817,7 +18817,7 @@ List Agents - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -18831,7 +18831,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -18839,7 +18839,7 @@ List Agents - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -18853,7 +18853,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -18861,7 +18861,7 @@ List Agents - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -18875,7 +18875,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -18891,7 +18891,7 @@ List Agents - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -18905,7 +18905,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -18915,7 +18915,7 @@ List Agents Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -19013,7 +19013,7 @@ List Agents JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -19466,7 +19466,7 @@ Get Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -19484,7 +19484,7 @@ Get Agent - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -19492,7 +19492,7 @@ Get Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -19506,7 +19506,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -19514,7 +19514,7 @@ Get Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -19528,7 +19528,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -19536,7 +19536,7 @@ Get Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -19550,7 +19550,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -19558,7 +19558,7 @@ Get Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -19572,7 +19572,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -19580,7 +19580,7 @@ Get Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -19594,7 +19594,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -19602,7 +19602,7 @@ Get Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -19616,7 +19616,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -19632,7 +19632,7 @@ Get Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -19646,7 +19646,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -19656,7 +19656,7 @@ Get Agent Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -19754,7 +19754,7 @@ Get Agent JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -20220,7 +20220,7 @@ Update Agent Configuration override for the bash tool. - - `JsonValue name constant` + - `JsonValue name = "bash"` Must be "bash". @@ -20250,7 +20250,7 @@ Update Agent Configuration override for the edit tool. - - `JsonValue name constant` + - `JsonValue name = "edit"` Must be "edit". @@ -20276,7 +20276,7 @@ Update Agent Configuration override for the read tool. - - `JsonValue name constant` + - `JsonValue name = "read"` Must be "read". @@ -20302,7 +20302,7 @@ Update Agent Configuration override for the write tool. - - `JsonValue name constant` + - `JsonValue name = "write"` Must be "write". @@ -20328,7 +20328,7 @@ Update Agent Configuration override for the glob tool. - - `JsonValue name constant` + - `JsonValue name = "glob"` Must be "glob". @@ -20354,7 +20354,7 @@ Update Agent Configuration override for the grep tool. - - `JsonValue name constant` + - `JsonValue name = "grep"` Must be "grep". @@ -20380,7 +20380,7 @@ Update Agent Configuration override for the web_fetch tool. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Must be "web_fetch". @@ -20420,7 +20420,7 @@ Update Agent Configuration override for the web_search tool. - - `JsonValue name constant` + - `JsonValue name = "web_search"` Must be "web_search". @@ -20454,7 +20454,7 @@ Update Agent Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -20572,7 +20572,7 @@ Update Agent JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -20806,7 +20806,7 @@ Update Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -20824,7 +20824,7 @@ Update Agent - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -20832,7 +20832,7 @@ Update Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -20846,7 +20846,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -20854,7 +20854,7 @@ Update Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -20868,7 +20868,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -20876,7 +20876,7 @@ Update Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -20890,7 +20890,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -20898,7 +20898,7 @@ Update Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -20912,7 +20912,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -20920,7 +20920,7 @@ Update Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -20934,7 +20934,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -20942,7 +20942,7 @@ Update Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -20956,7 +20956,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -20972,7 +20972,7 @@ Update Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -20986,7 +20986,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -20996,7 +20996,7 @@ Update Agent Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -21094,7 +21094,7 @@ Update Agent JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -21536,7 +21536,7 @@ Archive Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -21554,7 +21554,7 @@ Archive Agent - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -21562,7 +21562,7 @@ Archive Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -21576,7 +21576,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -21584,7 +21584,7 @@ Archive Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -21598,7 +21598,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -21606,7 +21606,7 @@ Archive Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -21620,7 +21620,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -21628,7 +21628,7 @@ Archive Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -21642,7 +21642,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -21650,7 +21650,7 @@ Archive Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -21664,7 +21664,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -21672,7 +21672,7 @@ Archive Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -21686,7 +21686,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -21702,7 +21702,7 @@ Archive Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -21716,7 +21716,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -21726,7 +21726,7 @@ Archive Agent Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -21824,7 +21824,7 @@ Archive Agent JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -22278,7 +22278,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -22296,7 +22296,7 @@ List Agent Versions - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -22304,7 +22304,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -22318,7 +22318,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -22326,7 +22326,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -22340,7 +22340,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -22348,7 +22348,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -22362,7 +22362,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -22370,7 +22370,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -22384,7 +22384,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -22392,7 +22392,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -22406,7 +22406,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -22414,7 +22414,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -22428,7 +22428,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -22444,7 +22444,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -22458,7 +22458,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -22468,7 +22468,7 @@ List Agent Versions Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -22566,7 +22566,7 @@ List Agent Versions JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -22816,7 +22816,7 @@ Create a new environment with the specified configuration. Fields default to null; on update, omitted fields preserve the existing value. - - `JsonValue type constant` + - `JsonValue type = "cloud"` Environment type @@ -22828,7 +22828,7 @@ Create a new environment with the specified configuration. Unrestricted network access. - - `JsonValue type constant` + - `JsonValue type = "unrestricted"` Network policy type @@ -22839,7 +22839,7 @@ Create a new environment with the specified configuration. Fields default to null; on update, omitted fields preserve the existing value. - - `JsonValue type constant` + - `JsonValue type = "limited"` Network policy type @@ -22895,7 +22895,7 @@ Create a new environment with the specified configuration. Request params for `self_hosted` environment configuration. - - `JsonValue type constant` + - `JsonValue type = "self_hosted"` Environment type @@ -22947,7 +22947,7 @@ Create a new environment with the specified configuration. Unrestricted network access. - - `JsonValue type constant` + - `JsonValue type = "unrestricted"` Network policy type @@ -22967,7 +22967,7 @@ Create a new environment with the specified configuration. Specifies domains the container can reach. - - `JsonValue type constant` + - `JsonValue type = "limited"` Network policy type @@ -23003,7 +23003,7 @@ Create a new environment with the specified configuration. Package configuration type - - `JsonValue type constant` + - `JsonValue type = "cloud"` Environment type @@ -23011,7 +23011,7 @@ Create a new environment with the specified configuration. Configuration for self-hosted environments. - - `JsonValue type constant` + - `JsonValue type = "self_hosted"` Environment type @@ -23031,7 +23031,7 @@ Create a new environment with the specified configuration. Human-readable name for the environment - - `JsonValue type constant` + - `JsonValue type = "environment"` The type of object (always 'environment') @@ -23268,7 +23268,7 @@ List environments with pagination support. Unrestricted network access. - - `JsonValue type constant` + - `JsonValue type = "unrestricted"` Network policy type @@ -23288,7 +23288,7 @@ List environments with pagination support. Specifies domains the container can reach. - - `JsonValue type constant` + - `JsonValue type = "limited"` Network policy type @@ -23324,7 +23324,7 @@ List environments with pagination support. Package configuration type - - `JsonValue type constant` + - `JsonValue type = "cloud"` Environment type @@ -23332,7 +23332,7 @@ List environments with pagination support. Configuration for self-hosted environments. - - `JsonValue type constant` + - `JsonValue type = "self_hosted"` Environment type @@ -23352,7 +23352,7 @@ List environments with pagination support. Human-readable name for the environment - - `JsonValue type constant` + - `JsonValue type = "environment"` The type of object (always 'environment') @@ -23579,7 +23579,7 @@ Retrieve a specific environment by ID. Unrestricted network access. - - `JsonValue type constant` + - `JsonValue type = "unrestricted"` Network policy type @@ -23599,7 +23599,7 @@ Retrieve a specific environment by ID. Specifies domains the container can reach. - - `JsonValue type constant` + - `JsonValue type = "limited"` Network policy type @@ -23635,7 +23635,7 @@ Retrieve a specific environment by ID. Package configuration type - - `JsonValue type constant` + - `JsonValue type = "cloud"` Environment type @@ -23643,7 +23643,7 @@ Retrieve a specific environment by ID. Configuration for self-hosted environments. - - `JsonValue type constant` + - `JsonValue type = "self_hosted"` Environment type @@ -23663,7 +23663,7 @@ Retrieve a specific environment by ID. Human-readable name for the environment - - `JsonValue type constant` + - `JsonValue type = "environment"` The type of object (always 'environment') @@ -23866,7 +23866,7 @@ Update an existing environment's configuration. Fields default to null; on update, omitted fields preserve the existing value. - - `JsonValue type constant` + - `JsonValue type = "cloud"` Environment type @@ -23878,7 +23878,7 @@ Update an existing environment's configuration. Unrestricted network access. - - `JsonValue type constant` + - `JsonValue type = "unrestricted"` Network policy type @@ -23889,7 +23889,7 @@ Update an existing environment's configuration. Fields default to null; on update, omitted fields preserve the existing value. - - `JsonValue type constant` + - `JsonValue type = "limited"` Network policy type @@ -23945,7 +23945,7 @@ Update an existing environment's configuration. Request params for `self_hosted` environment configuration. - - `JsonValue type constant` + - `JsonValue type = "self_hosted"` Environment type @@ -24003,7 +24003,7 @@ Update an existing environment's configuration. Unrestricted network access. - - `JsonValue type constant` + - `JsonValue type = "unrestricted"` Network policy type @@ -24023,7 +24023,7 @@ Update an existing environment's configuration. Specifies domains the container can reach. - - `JsonValue type constant` + - `JsonValue type = "limited"` Network policy type @@ -24059,7 +24059,7 @@ Update an existing environment's configuration. Package configuration type - - `JsonValue type constant` + - `JsonValue type = "cloud"` Environment type @@ -24067,7 +24067,7 @@ Update an existing environment's configuration. Configuration for self-hosted environments. - - `JsonValue type constant` + - `JsonValue type = "self_hosted"` Environment type @@ -24087,7 +24087,7 @@ Update an existing environment's configuration. Human-readable name for the environment - - `JsonValue type constant` + - `JsonValue type = "environment"` The type of object (always 'environment') @@ -24459,7 +24459,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Unrestricted network access. - - `JsonValue type constant` + - `JsonValue type = "unrestricted"` Network policy type @@ -24479,7 +24479,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Specifies domains the container can reach. - - `JsonValue type constant` + - `JsonValue type = "limited"` Network policy type @@ -24515,7 +24515,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Package configuration type - - `JsonValue type constant` + - `JsonValue type = "cloud"` Environment type @@ -24523,7 +24523,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Configuration for self-hosted environments. - - `JsonValue type constant` + - `JsonValue type = "self_hosted"` Environment type @@ -24543,7 +24543,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Human-readable name for the environment - - `JsonValue type constant` + - `JsonValue type = "environment"` The type of object (always 'environment') @@ -24771,7 +24771,7 @@ Retrieve detailed information about a specific work item. Session identifier (e.g., 'session_...') - - `JsonValue type constant` + - `JsonValue type = "session"` Type of work data @@ -24817,7 +24817,7 @@ Retrieve detailed information about a specific work item. RFC 3339 timestamp when work execution stopped - - `JsonValue type constant` + - `JsonValue type = "work"` The type of object (always 'work') @@ -25025,7 +25025,7 @@ Long poll for work items in the queue. Session identifier (e.g., 'session_...') - - `JsonValue type constant` + - `JsonValue type = "session"` Type of work data @@ -25071,7 +25071,7 @@ Long poll for work items in the queue. RFC 3339 timestamp when work execution stopped - - `JsonValue type constant` + - `JsonValue type = "work"` The type of object (always 'work') @@ -25262,7 +25262,7 @@ Acknowledge receipt of a work item, transitioning it from 'queued' to 'starting' Session identifier (e.g., 'session_...') - - `JsonValue type constant` + - `JsonValue type = "session"` Type of work data @@ -25308,7 +25308,7 @@ Acknowledge receipt of a work item, transitioning it from 'queued' to 'starting' RFC 3339 timestamp when work execution stopped - - `JsonValue type constant` + - `JsonValue type = "work"` The type of object (always 'work') @@ -25512,7 +25512,7 @@ Record a heartbeat for a work item to maintain the lease. Effective TTL applied to the lease - - `JsonValue type constant` + - `JsonValue type = "work_heartbeat"` The type of response @@ -25697,7 +25697,7 @@ Stop a work item, initiating graceful or forced shutdown. Session identifier (e.g., 'session_...') - - `JsonValue type constant` + - `JsonValue type = "session"` Type of work data @@ -25743,7 +25743,7 @@ Stop a work item, initiating graceful or forced shutdown. RFC 3339 timestamp when work execution stopped - - `JsonValue type constant` + - `JsonValue type = "work"` The type of object (always 'work') @@ -25947,7 +25947,7 @@ List work items in an environment. Session identifier (e.g., 'session_...') - - `JsonValue type constant` + - `JsonValue type = "session"` Type of work data @@ -25993,7 +25993,7 @@ List work items in an environment. RFC 3339 timestamp when work execution stopped - - `JsonValue type constant` + - `JsonValue type = "work"` The type of object (always 'work') @@ -26192,7 +26192,7 @@ Update work item metadata with merge semantics. Session identifier (e.g., 'session_...') - - `JsonValue type constant` + - `JsonValue type = "session"` Type of work data @@ -26238,7 +26238,7 @@ Update work item metadata with merge semantics. RFC 3339 timestamp when work execution stopped - - `JsonValue type constant` + - `JsonValue type = "work"` The type of object (always 'work') @@ -26423,7 +26423,7 @@ Get statistics about the work queue for an environment. Number of work items being processed (polled but not acknowledged) - - `JsonValue type constant` + - `JsonValue type = "work_queue_stats"` The type of object @@ -26824,7 +26824,7 @@ Create Session Configuration override for the bash tool. - - `JsonValue name constant` + - `JsonValue name = "bash"` Must be "bash". @@ -26854,7 +26854,7 @@ Create Session Configuration override for the edit tool. - - `JsonValue name constant` + - `JsonValue name = "edit"` Must be "edit". @@ -26880,7 +26880,7 @@ Create Session Configuration override for the read tool. - - `JsonValue name constant` + - `JsonValue name = "read"` Must be "read". @@ -26906,7 +26906,7 @@ Create Session Configuration override for the write tool. - - `JsonValue name constant` + - `JsonValue name = "write"` Must be "write". @@ -26932,7 +26932,7 @@ Create Session Configuration override for the glob tool. - - `JsonValue name constant` + - `JsonValue name = "glob"` Must be "glob". @@ -26958,7 +26958,7 @@ Create Session Configuration override for the grep tool. - - `JsonValue name constant` + - `JsonValue name = "grep"` Must be "grep". @@ -26984,7 +26984,7 @@ Create Session Configuration override for the web_fetch tool. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Must be "web_fetch". @@ -27024,7 +27024,7 @@ Create Session Configuration override for the web_search tool. - - `JsonValue name constant` + - `JsonValue name = "web_search"` Must be "web_search". @@ -27058,7 +27058,7 @@ Create Session Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -27176,7 +27176,7 @@ Create Session JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -27718,7 +27718,7 @@ Create Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -27736,7 +27736,7 @@ Create Session - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -27744,7 +27744,7 @@ Create Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -27758,7 +27758,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -27766,7 +27766,7 @@ Create Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -27780,7 +27780,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -27788,7 +27788,7 @@ Create Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -27802,7 +27802,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -27810,7 +27810,7 @@ Create Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -27824,7 +27824,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -27832,7 +27832,7 @@ Create Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -27846,7 +27846,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -27854,7 +27854,7 @@ Create Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -27868,7 +27868,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -27884,7 +27884,7 @@ Create Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -27898,7 +27898,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -27908,7 +27908,7 @@ Create Session Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -28006,7 +28006,7 @@ Create Session JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -28947,7 +28947,7 @@ List Sessions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -28965,7 +28965,7 @@ List Sessions - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -28973,7 +28973,7 @@ List Sessions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -28987,7 +28987,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -28995,7 +28995,7 @@ List Sessions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -29009,7 +29009,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -29017,7 +29017,7 @@ List Sessions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -29031,7 +29031,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -29039,7 +29039,7 @@ List Sessions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -29053,7 +29053,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -29061,7 +29061,7 @@ List Sessions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -29075,7 +29075,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -29083,7 +29083,7 @@ List Sessions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -29097,7 +29097,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -29113,7 +29113,7 @@ List Sessions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -29127,7 +29127,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -29137,7 +29137,7 @@ List Sessions Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -29235,7 +29235,7 @@ List Sessions JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -30104,7 +30104,7 @@ Get Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -30122,7 +30122,7 @@ Get Session - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -30130,7 +30130,7 @@ Get Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -30144,7 +30144,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -30152,7 +30152,7 @@ Get Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -30166,7 +30166,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -30174,7 +30174,7 @@ Get Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -30188,7 +30188,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -30196,7 +30196,7 @@ Get Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -30210,7 +30210,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -30218,7 +30218,7 @@ Get Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -30232,7 +30232,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -30240,7 +30240,7 @@ Get Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -30254,7 +30254,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -30270,7 +30270,7 @@ Get Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -30284,7 +30284,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -30294,7 +30294,7 @@ Get Session Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -30392,7 +30392,7 @@ Get Session JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -31277,7 +31277,7 @@ Update Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -31295,7 +31295,7 @@ Update Session - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -31303,7 +31303,7 @@ Update Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -31317,7 +31317,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -31325,7 +31325,7 @@ Update Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -31339,7 +31339,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -31347,7 +31347,7 @@ Update Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -31361,7 +31361,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -31369,7 +31369,7 @@ Update Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -31383,7 +31383,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -31391,7 +31391,7 @@ Update Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -31405,7 +31405,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -31413,7 +31413,7 @@ Update Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -31427,7 +31427,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -31443,7 +31443,7 @@ Update Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -31457,7 +31457,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -31467,7 +31467,7 @@ Update Session Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -31565,7 +31565,7 @@ Update Session JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -32574,7 +32574,7 @@ Archive Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -32592,7 +32592,7 @@ Archive Session - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -32600,7 +32600,7 @@ Archive Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -32614,7 +32614,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -32622,7 +32622,7 @@ Archive Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -32636,7 +32636,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -32644,7 +32644,7 @@ Archive Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -32658,7 +32658,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -32666,7 +32666,7 @@ Archive Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -32680,7 +32680,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -32688,7 +32688,7 @@ Archive Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -32702,7 +32702,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -32710,7 +32710,7 @@ Archive Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -32724,7 +32724,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -32740,7 +32740,7 @@ Archive Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -32754,7 +32754,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -32764,7 +32764,7 @@ Archive Session Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -32862,7 +32862,7 @@ Archive Session JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -35211,7 +35211,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -35229,7 +35229,7 @@ List Events - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -35237,7 +35237,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -35251,7 +35251,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -35259,7 +35259,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -35273,7 +35273,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -35281,7 +35281,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -35295,7 +35295,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -35303,7 +35303,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -35317,7 +35317,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -35325,7 +35325,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -35339,7 +35339,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -35347,7 +35347,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -35361,7 +35361,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -35377,7 +35377,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -35391,7 +35391,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -35401,7 +35401,7 @@ List Events Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -35499,7 +35499,7 @@ List Events JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -38467,7 +38467,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -38485,7 +38485,7 @@ Stream Events - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -38493,7 +38493,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -38507,7 +38507,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -38515,7 +38515,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -38529,7 +38529,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -38537,7 +38537,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -38551,7 +38551,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -38559,7 +38559,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -38573,7 +38573,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -38581,7 +38581,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -38595,7 +38595,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -38603,7 +38603,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -38617,7 +38617,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -38633,7 +38633,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -38647,7 +38647,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -38657,7 +38657,7 @@ Stream Events Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -38755,7 +38755,7 @@ Stream Events JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -40471,7 +40471,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -40489,7 +40489,7 @@ List Session Threads - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -40497,7 +40497,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -40511,7 +40511,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -40519,7 +40519,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -40533,7 +40533,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -40541,7 +40541,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -40555,7 +40555,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -40563,7 +40563,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -40577,7 +40577,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -40585,7 +40585,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -40599,7 +40599,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -40607,7 +40607,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -40621,7 +40621,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -40637,7 +40637,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -40651,7 +40651,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -40661,7 +40661,7 @@ List Session Threads Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -40759,7 +40759,7 @@ List Session Threads JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -41322,7 +41322,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -41340,7 +41340,7 @@ Get Session Thread - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -41348,7 +41348,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -41362,7 +41362,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -41370,7 +41370,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -41384,7 +41384,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -41392,7 +41392,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -41406,7 +41406,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -41414,7 +41414,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -41428,7 +41428,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -41436,7 +41436,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -41450,7 +41450,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -41458,7 +41458,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -41472,7 +41472,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -41488,7 +41488,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -41502,7 +41502,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -41512,7 +41512,7 @@ Get Session Thread Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -41610,7 +41610,7 @@ Get Session Thread JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -42172,7 +42172,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -42190,7 +42190,7 @@ Archive Session Thread - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -42198,7 +42198,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -42212,7 +42212,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -42220,7 +42220,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -42234,7 +42234,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -42242,7 +42242,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -42256,7 +42256,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -42264,7 +42264,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -42278,7 +42278,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -42286,7 +42286,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -42300,7 +42300,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -42308,7 +42308,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -42322,7 +42322,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -42338,7 +42338,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -42352,7 +42352,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -42362,7 +42362,7 @@ Archive Session Thread Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -42460,7 +42460,7 @@ Archive Session Thread JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -44494,7 +44494,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -44512,7 +44512,7 @@ List Session Thread Events - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -44520,7 +44520,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -44534,7 +44534,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -44542,7 +44542,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -44556,7 +44556,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -44564,7 +44564,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -44578,7 +44578,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -44586,7 +44586,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -44600,7 +44600,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -44608,7 +44608,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -44622,7 +44622,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -44630,7 +44630,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -44644,7 +44644,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -44660,7 +44660,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -44674,7 +44674,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -44684,7 +44684,7 @@ List Session Thread Events Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -44782,7 +44782,7 @@ List Session Thread Events JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -46780,7 +46780,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -46798,7 +46798,7 @@ Stream Session Thread Events - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -46806,7 +46806,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -46820,7 +46820,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -46828,7 +46828,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -46842,7 +46842,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -46850,7 +46850,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -46864,7 +46864,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -46872,7 +46872,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -46886,7 +46886,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -46894,7 +46894,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -46908,7 +46908,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -46916,7 +46916,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -46930,7 +46930,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -46946,7 +46946,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -46960,7 +46960,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -46970,7 +46970,7 @@ Stream Session Thread Events Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -47068,7 +47068,7 @@ Stream Session Thread Events JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -60103,7 +60103,7 @@ List memory versions minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "service_account_actor"` - `Optional path` @@ -60383,7 +60383,7 @@ Retrieve a memory version minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "service_account_actor"` - `Optional path` @@ -60658,7 +60658,7 @@ Redact a memory version minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "service_account_actor"` - `Optional path` @@ -60877,7 +60877,7 @@ Upload File minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "file"` Object type. @@ -60901,7 +60901,7 @@ Upload File The ID of the scoping resource (e.g., the session ID). - - `JsonValue type constant` + - `JsonValue type = "session"` The type of scope (e.g., `"session"`). @@ -61107,7 +61107,7 @@ List Files minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "file"` Object type. @@ -61131,7 +61131,7 @@ List Files The ID of the scoping resource (e.g., the session ID). - - `JsonValue type constant` + - `JsonValue type = "session"` The type of scope (e.g., `"session"`). @@ -61451,7 +61451,7 @@ Get File Metadata minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "file"` Object type. @@ -61475,7 +61475,7 @@ Get File Metadata The ID of the scoping resource (e.g., the session ID). - - `JsonValue type constant` + - `JsonValue type = "session"` The type of scope (e.g., `"session"`). @@ -61845,7 +61845,7 @@ Create Skill - `PLUGIN("plugin")` - - `JsonValue type constant` + - `JsonValue type = "skill"` Object type. @@ -62081,7 +62081,7 @@ List Skills - `PLUGIN("plugin")` - - `JsonValue type constant` + - `JsonValue type = "skill"` Object type. @@ -62301,7 +62301,7 @@ Get Skill - `PLUGIN("plugin")` - - `JsonValue type constant` + - `JsonValue type = "skill"` Object type. @@ -62470,7 +62470,7 @@ Delete Skill The format and length of IDs may change over time. - - `JsonValue type constant` + - `JsonValue type = "skill_deleted"` Deleted object type. @@ -62658,7 +62658,7 @@ Create Skill Version The format and length of IDs may change over time. - - `JsonValue type constant` + - `JsonValue type = "skill_version"` Object type. @@ -62859,7 +62859,7 @@ List Skill Versions The format and length of IDs may change over time. - - `JsonValue type constant` + - `JsonValue type = "skill_version"` Object type. @@ -63195,7 +63195,7 @@ Get Skill Version The format and length of IDs may change over time. - - `JsonValue type constant` + - `JsonValue type = "skill_version"` Object type. @@ -63364,7 +63364,7 @@ Delete Skill Version Unique identifier for this Skill Version. The id addresses the version in paths and pins it in references. - - `JsonValue type constant` + - `JsonValue type = "skill_version_deleted"` Deleted object type. @@ -66324,7 +66324,7 @@ Creates a tunnel. Creation allocates a fresh hostname and provisions the tunnel; Anthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived. - - `JsonValue type constant` + - `JsonValue type = "tunnel"` #### Example @@ -66498,7 +66498,7 @@ Fetches a tunnel by ID. Anthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived. - - `JsonValue type constant` + - `JsonValue type = "tunnel"` #### Example @@ -66684,7 +66684,7 @@ Lists tunnels. Results are ordered by creation time, newest first; archived tunn Anthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived. - - `JsonValue type constant` + - `JsonValue type = "tunnel"` #### Example @@ -66863,7 +66863,7 @@ Archives a tunnel. Archival is irreversible: every non-archived certificate on t Anthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived. - - `JsonValue type constant` + - `JsonValue type = "tunnel"` #### Example @@ -67021,7 +67021,7 @@ Reveals a tunnel's connector token. The value is fetched live on each call; Anth The connector token used to run the tunnel. Treat as a credential. - - `JsonValue type constant` + - `JsonValue type = "tunnel_token"` #### Example @@ -67182,7 +67182,7 @@ Rotates a tunnel's connector token. Rotation invalidates the current token for n The connector token used to run the tunnel. Treat as a credential. - - `JsonValue type constant` + - `JsonValue type = "tunnel_token"` #### Example @@ -67367,7 +67367,7 @@ Registers a public CA certificate on a tunnel. Anthropic verifies the gateway's ID of the tunnel the certificate is registered against. - - `JsonValue type constant` + - `JsonValue type = "tunnel_certificate"` #### Example @@ -67554,7 +67554,7 @@ Fetches a tunnel certificate by ID. ID of the tunnel the certificate is registered against. - - `JsonValue type constant` + - `JsonValue type = "tunnel_certificate"` #### Example @@ -67753,7 +67753,7 @@ Lists the certificates registered on a tunnel. Archived certificates are exclude ID of the tunnel the certificate is registered against. - - `JsonValue type constant` + - `JsonValue type = "tunnel_certificate"` #### Example @@ -67941,7 +67941,7 @@ Archives a tunnel certificate, removing it from the set Anthropic trusts for the ID of the tunnel the certificate is registered against. - - `JsonValue type constant` + - `JsonValue type = "tunnel_certificate"` #### Example @@ -68010,7 +68010,7 @@ Retrieve information about the organization associated with the authenticated AP Name of the Organization. - - `JsonValue type constant` + - `JsonValue type = "organization"` Object type. @@ -68149,7 +68149,7 @@ List API Keys - `class BetaApiKeyUserActor:` - - `JsonValue type constant` + - `JsonValue type = "user_actor"` Principal type. Always `"user_actor"` for a User. @@ -68163,7 +68163,7 @@ List API Keys ID of the Service Account the API key acts as. - - `JsonValue type constant` + - `JsonValue type = "service_account_actor"` Principal type. Always `"service_account_actor"` for a Service Account. @@ -68173,13 +68173,13 @@ List API Keys - `class BetaApiKeyOrganizationScope:` - - `JsonValue type constant` + - `JsonValue type = "organization"` Scope type. Always `"organization"`: the API key has no Workspace. Only a principal-bound API key can have this scope. - `class BetaApiKeyWorkspaceScope:` - - `JsonValue type constant` + - `JsonValue type = "workspace"` Scope type. Always `"workspace"`: the API key belongs to one Workspace. @@ -68199,7 +68199,7 @@ List API Keys - `INACTIVE("inactive")` - - `JsonValue type constant` + - `JsonValue type = "api_key"` Object type. @@ -68334,7 +68334,7 @@ Get API Key - `class BetaApiKeyUserActor:` - - `JsonValue type constant` + - `JsonValue type = "user_actor"` Principal type. Always `"user_actor"` for a User. @@ -68348,7 +68348,7 @@ Get API Key ID of the Service Account the API key acts as. - - `JsonValue type constant` + - `JsonValue type = "service_account_actor"` Principal type. Always `"service_account_actor"` for a Service Account. @@ -68358,13 +68358,13 @@ Get API Key - `class BetaApiKeyOrganizationScope:` - - `JsonValue type constant` + - `JsonValue type = "organization"` Scope type. Always `"organization"`: the API key has no Workspace. Only a principal-bound API key can have this scope. - `class BetaApiKeyWorkspaceScope:` - - `JsonValue type constant` + - `JsonValue type = "workspace"` Scope type. Always `"workspace"`: the API key belongs to one Workspace. @@ -68384,7 +68384,7 @@ Get API Key - `INACTIVE("inactive")` - - `JsonValue type constant` + - `JsonValue type = "api_key"` Object type. @@ -68528,7 +68528,7 @@ Update API Key - `class BetaApiKeyUserActor:` - - `JsonValue type constant` + - `JsonValue type = "user_actor"` Principal type. Always `"user_actor"` for a User. @@ -68542,7 +68542,7 @@ Update API Key ID of the Service Account the API key acts as. - - `JsonValue type constant` + - `JsonValue type = "service_account_actor"` Principal type. Always `"service_account_actor"` for a Service Account. @@ -68552,13 +68552,13 @@ Update API Key - `class BetaApiKeyOrganizationScope:` - - `JsonValue type constant` + - `JsonValue type = "organization"` Scope type. Always `"organization"`: the API key has no Workspace. Only a principal-bound API key can have this scope. - `class BetaApiKeyWorkspaceScope:` - - `JsonValue type constant` + - `JsonValue type = "workspace"` Scope type. Always `"workspace"`: the API key belongs to one Workspace. @@ -68578,7 +68578,7 @@ Update API Key - `INACTIVE("inactive")` - - `JsonValue type constant` + - `JsonValue type = "api_key"` Object type. @@ -68664,7 +68664,7 @@ Create an external key config owned by the caller's organization. maxLength: 2048 - - `JsonValue type constant` + - `JsonValue type = "aws"` - `Optional region` @@ -68682,7 +68682,7 @@ Create an external key config owned by the caller's organization. Full resource name of the Cloud KMS key. - - `JsonValue type constant` + - `JsonValue type = "gcp"` - `class BetaAzureExternalKeyConfigParam:` @@ -68696,7 +68696,7 @@ Create an external key config owned by the caller's organization. Azure AD tenant ID. - - `JsonValue type constant` + - `JsonValue type = "azure"` - `String vaultUri` @@ -68738,11 +68738,11 @@ Create an external key config owned by the caller's organization. - `class BetaExternalKeyAttachedAttachment:` - - `JsonValue type constant` + - `JsonValue type = "attached"` - `class BetaExternalKeyUnattachedAttachment:` - - `JsonValue type constant` + - `JsonValue type = "unattached"` - `LocalDateTime createdAt` @@ -68768,7 +68768,7 @@ Create an external key config owned by the caller's organization. maxLength: 2048 - - `JsonValue type constant` + - `JsonValue type = "aws"` - `Optional region` @@ -68786,7 +68786,7 @@ Create an external key config owned by the caller's organization. Full resource name of the Cloud KMS key. - - `JsonValue type constant` + - `JsonValue type = "gcp"` - `class BetaAzureExternalKeyConfig:` @@ -68798,7 +68798,7 @@ Create an external key config owned by the caller's organization. Azure AD tenant ID. - - `JsonValue type constant` + - `JsonValue type = "azure"` - `String vaultUri` @@ -68808,7 +68808,7 @@ Create an external key config owned by the caller's organization. Azure AD application (client) ID. Omit to use Anthropic's multitenant app. Provide only if using a single-tenant app registration in the customer's directory. - - `JsonValue type constant` + - `JsonValue type = "external_key"` - `LocalDateTime updatedAt` @@ -68905,11 +68905,11 @@ Results are ordered by creation time (newest first). Use the - `class BetaExternalKeyAttachedAttachment:` - - `JsonValue type constant` + - `JsonValue type = "attached"` - `class BetaExternalKeyUnattachedAttachment:` - - `JsonValue type constant` + - `JsonValue type = "unattached"` - `LocalDateTime createdAt` @@ -68935,7 +68935,7 @@ Results are ordered by creation time (newest first). Use the maxLength: 2048 - - `JsonValue type constant` + - `JsonValue type = "aws"` - `Optional region` @@ -68953,7 +68953,7 @@ Results are ordered by creation time (newest first). Use the Full resource name of the Cloud KMS key. - - `JsonValue type constant` + - `JsonValue type = "gcp"` - `class BetaAzureExternalKeyConfig:` @@ -68965,7 +68965,7 @@ Results are ordered by creation time (newest first). Use the Azure AD tenant ID. - - `JsonValue type constant` + - `JsonValue type = "azure"` - `String vaultUri` @@ -68975,7 +68975,7 @@ Results are ordered by creation time (newest first). Use the Azure AD application (client) ID. Omit to use Anthropic's multitenant app. Provide only if using a single-tenant app registration in the customer's directory. - - `JsonValue type constant` + - `JsonValue type = "external_key"` - `LocalDateTime updatedAt` @@ -69067,11 +69067,11 @@ Retrieve a single external key config in the caller's organization by ID. - `class BetaExternalKeyAttachedAttachment:` - - `JsonValue type constant` + - `JsonValue type = "attached"` - `class BetaExternalKeyUnattachedAttachment:` - - `JsonValue type constant` + - `JsonValue type = "unattached"` - `LocalDateTime createdAt` @@ -69097,7 +69097,7 @@ Retrieve a single external key config in the caller's organization by ID. maxLength: 2048 - - `JsonValue type constant` + - `JsonValue type = "aws"` - `Optional region` @@ -69115,7 +69115,7 @@ Retrieve a single external key config in the caller's organization by ID. Full resource name of the Cloud KMS key. - - `JsonValue type constant` + - `JsonValue type = "gcp"` - `class BetaAzureExternalKeyConfig:` @@ -69127,7 +69127,7 @@ Retrieve a single external key config in the caller's organization by ID. Azure AD tenant ID. - - `JsonValue type constant` + - `JsonValue type = "azure"` - `String vaultUri` @@ -69137,7 +69137,7 @@ Retrieve a single external key config in the caller's organization by ID. Azure AD application (client) ID. Omit to use Anthropic's multitenant app. Provide only if using a single-tenant app registration in the customer's directory. - - `JsonValue type constant` + - `JsonValue type = "external_key"` - `LocalDateTime updatedAt` @@ -69232,7 +69232,7 @@ encrypted data requires the original key identity to decrypt. maxLength: 2048 - - `JsonValue type constant` + - `JsonValue type = "aws"` - `Optional region` @@ -69250,7 +69250,7 @@ encrypted data requires the original key identity to decrypt. Full resource name of the Cloud KMS key. - - `JsonValue type constant` + - `JsonValue type = "gcp"` - `class BetaAzureExternalKeyConfigParam:` @@ -69264,7 +69264,7 @@ encrypted data requires the original key identity to decrypt. Azure AD tenant ID. - - `JsonValue type constant` + - `JsonValue type = "azure"` - `String vaultUri` @@ -69294,11 +69294,11 @@ encrypted data requires the original key identity to decrypt. - `class BetaExternalKeyAttachedAttachment:` - - `JsonValue type constant` + - `JsonValue type = "attached"` - `class BetaExternalKeyUnattachedAttachment:` - - `JsonValue type constant` + - `JsonValue type = "unattached"` - `LocalDateTime createdAt` @@ -69324,7 +69324,7 @@ encrypted data requires the original key identity to decrypt. maxLength: 2048 - - `JsonValue type constant` + - `JsonValue type = "aws"` - `Optional region` @@ -69342,7 +69342,7 @@ encrypted data requires the original key identity to decrypt. Full resource name of the Cloud KMS key. - - `JsonValue type constant` + - `JsonValue type = "gcp"` - `class BetaAzureExternalKeyConfig:` @@ -69354,7 +69354,7 @@ encrypted data requires the original key identity to decrypt. Azure AD tenant ID. - - `JsonValue type constant` + - `JsonValue type = "azure"` - `String vaultUri` @@ -69364,7 +69364,7 @@ encrypted data requires the original key identity to decrypt. Azure AD application (client) ID. Omit to use Anthropic's multitenant app. Provide only if using a single-tenant app registration in the customer's directory. - - `JsonValue type constant` + - `JsonValue type = "external_key"` - `LocalDateTime updatedAt` @@ -69441,7 +69441,7 @@ The request is rejected if any workspace still references this config. ID of the deleted External Key. - - `JsonValue type constant` + - `JsonValue type = "external_key_deleted"` #### Example @@ -69517,7 +69517,7 @@ message if it failed or timed out. - `SUCCESS("success")` - - `JsonValue type constant` + - `JsonValue type = "external_key_validation"` #### Example @@ -69692,7 +69692,7 @@ matched as the JWT's `iss` claim and is not fetched. JWKS via the issuer's OIDC discovery document. - - `JsonValue type constant` + - `JsonValue type = "discovery"` - `Optional caCertPem` @@ -69708,7 +69708,7 @@ matched as the JWT's `iss` claim and is not fetched. JWKS fetched from a fixed endpoint. - - `JsonValue type constant` + - `JsonValue type = "explicit_url"` - `String url` @@ -69732,7 +69732,7 @@ matched as the JWT's `iss` claim and is not fetched. minItems: 1 - - `JsonValue type constant` + - `JsonValue type = "inline"` - `Optional maxJwtLifetimeSeconds` @@ -69789,7 +69789,7 @@ matched as the JWT's `iss` claim and is not fetched. JWKS via the issuer's OIDC discovery document. - - `JsonValue type constant` + - `JsonValue type = "discovery"` - `Optional caCertPem` @@ -69805,7 +69805,7 @@ matched as the JWT's `iss` claim and is not fetched. JWKS fetched from a fixed endpoint. - - `JsonValue type constant` + - `JsonValue type = "explicit_url"` - `String url` @@ -69829,7 +69829,7 @@ matched as the JWT's `iss` claim and is not fetched. minItems: 1 - - `JsonValue type constant` + - `JsonValue type = "inline"` - `Optional jwksPollingDisabledAt` @@ -69869,7 +69869,7 @@ matched as the JWT's `iss` claim and is not fetched. format: date-time - - `JsonValue type constant` + - `JsonValue type = "federation_issuer"` - `LocalDateTime updatedAt` @@ -70107,7 +70107,7 @@ Archived issuers are excluded unless `include_archived=true`. JWKS via the issuer's OIDC discovery document. - - `JsonValue type constant` + - `JsonValue type = "discovery"` - `Optional caCertPem` @@ -70123,7 +70123,7 @@ Archived issuers are excluded unless `include_archived=true`. JWKS fetched from a fixed endpoint. - - `JsonValue type constant` + - `JsonValue type = "explicit_url"` - `String url` @@ -70147,7 +70147,7 @@ Archived issuers are excluded unless `include_archived=true`. minItems: 1 - - `JsonValue type constant` + - `JsonValue type = "inline"` - `Optional jwksPollingDisabledAt` @@ -70187,7 +70187,7 @@ Archived issuers are excluded unless `include_archived=true`. format: date-time - - `JsonValue type constant` + - `JsonValue type = "federation_issuer"` - `LocalDateTime updatedAt` @@ -70414,7 +70414,7 @@ Retrieve a federation issuer by its ID (`fdis_...`). JWKS via the issuer's OIDC discovery document. - - `JsonValue type constant` + - `JsonValue type = "discovery"` - `Optional caCertPem` @@ -70430,7 +70430,7 @@ Retrieve a federation issuer by its ID (`fdis_...`). JWKS fetched from a fixed endpoint. - - `JsonValue type constant` + - `JsonValue type = "explicit_url"` - `String url` @@ -70454,7 +70454,7 @@ Retrieve a federation issuer by its ID (`fdis_...`). minItems: 1 - - `JsonValue type constant` + - `JsonValue type = "inline"` - `Optional jwksPollingDisabledAt` @@ -70494,7 +70494,7 @@ Retrieve a federation issuer by its ID (`fdis_...`). format: date-time - - `JsonValue type constant` + - `JsonValue type = "federation_issuer"` - `LocalDateTime updatedAt` @@ -70692,7 +70692,7 @@ session. JWKS via the issuer's OIDC discovery document. - - `JsonValue type constant` + - `JsonValue type = "discovery"` - `Optional caCertPem` @@ -70708,7 +70708,7 @@ session. JWKS fetched from a fixed endpoint. - - `JsonValue type constant` + - `JsonValue type = "explicit_url"` - `String url` @@ -70732,7 +70732,7 @@ session. minItems: 1 - - `JsonValue type constant` + - `JsonValue type = "inline"` - `Optional jwksPollingDisabled` @@ -70799,7 +70799,7 @@ session. JWKS via the issuer's OIDC discovery document. - - `JsonValue type constant` + - `JsonValue type = "discovery"` - `Optional caCertPem` @@ -70815,7 +70815,7 @@ session. JWKS fetched from a fixed endpoint. - - `JsonValue type constant` + - `JsonValue type = "explicit_url"` - `String url` @@ -70839,7 +70839,7 @@ session. minItems: 1 - - `JsonValue type constant` + - `JsonValue type = "inline"` - `Optional jwksPollingDisabledAt` @@ -70879,7 +70879,7 @@ session. format: date-time - - `JsonValue type constant` + - `JsonValue type = "federation_issuer"` - `LocalDateTime updatedAt` @@ -71106,7 +71106,7 @@ issuer cannot be changed), or recreate them against another issuer. JWKS via the issuer's OIDC discovery document. - - `JsonValue type constant` + - `JsonValue type = "discovery"` - `Optional caCertPem` @@ -71122,7 +71122,7 @@ issuer cannot be changed), or recreate them against another issuer. JWKS fetched from a fixed endpoint. - - `JsonValue type constant` + - `JsonValue type = "explicit_url"` - `String url` @@ -71146,7 +71146,7 @@ issuer cannot be changed), or recreate them against another issuer. minItems: 1 - - `JsonValue type constant` + - `JsonValue type = "inline"` - `Optional jwksPollingDisabledAt` @@ -71186,7 +71186,7 @@ issuer cannot be changed), or recreate them against another issuer. format: date-time - - `JsonValue type constant` + - `JsonValue type = "federation_issuer"` - `LocalDateTime updatedAt` @@ -71520,7 +71520,7 @@ manage rules whose `oauth_scope` is `workspace:developer` or Tagged ID of the service account to mint tokens for. - - `JsonValue type constant` + - `JsonValue type = "service_account"` - `Optional serviceAccountName` @@ -71530,7 +71530,7 @@ manage rules whose `oauth_scope` is `workspace:developer` or Lifetime in seconds of access tokens minted via this rule. Minted tokens are capped at `max(60, min(this value, 2 × remaining assertion validity))` seconds. - - `JsonValue type constant` + - `JsonValue type = "federation_rule"` - `LocalDateTime updatedAt` @@ -71850,7 +71850,7 @@ unless `include_archived=true`. Tagged ID of the service account to mint tokens for. - - `JsonValue type constant` + - `JsonValue type = "service_account"` - `Optional serviceAccountName` @@ -71860,7 +71860,7 @@ unless `include_archived=true`. Lifetime in seconds of access tokens minted via this rule. Minted tokens are capped at `max(60, min(this value, 2 × remaining assertion validity))` seconds. - - `JsonValue type constant` + - `JsonValue type = "federation_rule"` - `LocalDateTime updatedAt` @@ -72159,7 +72159,7 @@ Retrieve a federation rule by its ID (`fdrl_...`). Tagged ID of the service account to mint tokens for. - - `JsonValue type constant` + - `JsonValue type = "service_account"` - `Optional serviceAccountName` @@ -72169,7 +72169,7 @@ Retrieve a federation rule by its ID (`fdrl_...`). Lifetime in seconds of access tokens minted via this rule. Minted tokens are capped at `max(60, min(this value, 2 × remaining assertion validity))` seconds. - - `JsonValue type constant` + - `JsonValue type = "federation_rule"` - `LocalDateTime updatedAt` @@ -72527,7 +72527,7 @@ Console session. Tagged ID of the service account to mint tokens for. - - `JsonValue type constant` + - `JsonValue type = "service_account"` - `Optional serviceAccountName` @@ -72537,7 +72537,7 @@ Console session. Lifetime in seconds of access tokens minted via this rule. Minted tokens are capped at `max(60, min(this value, 2 × remaining assertion validity))` seconds. - - `JsonValue type constant` + - `JsonValue type = "federation_rule"` - `LocalDateTime updatedAt` @@ -72839,7 +72839,7 @@ other scopes require a Console session. Tagged ID of the service account to mint tokens for. - - `JsonValue type constant` + - `JsonValue type = "service_account"` - `Optional serviceAccountName` @@ -72849,7 +72849,7 @@ other scopes require a Console session. Lifetime in seconds of access tokens minted via this rule. Minted tokens are capped at `max(60, min(this value, 2 × remaining assertion validity))` seconds. - - `JsonValue type constant` + - `JsonValue type = "federation_rule"` - `LocalDateTime updatedAt` @@ -73075,7 +73075,7 @@ other scopes require a Console session. Tagged ID of the federation rule. - - `JsonValue type constant` + - `JsonValue type = "federation_rule_workspace"` - `String workspaceId` @@ -73267,7 +73267,7 @@ rules with `applies_to_all_workspaces` or a legacy single Tagged ID of the federation rule. - - `JsonValue type constant` + - `JsonValue type = "federation_rule_workspace"` - `String workspaceId` @@ -73443,7 +73443,7 @@ Console session. Tagged ID of the federation rule. - - `JsonValue type constant` + - `JsonValue type = "federation_rule_workspace_deleted"` - `String workspaceId` @@ -73596,7 +73596,7 @@ On plans that draw members from a finite pool of purchased seats, the invite aut - `PENDING("pending")` - - `JsonValue type constant` + - `JsonValue type = "invite"` Object type. @@ -73763,7 +73763,7 @@ List the organization's invites. - `PENDING("pending")` - - `JsonValue type constant` + - `JsonValue type = "invite"` Object type. @@ -73899,7 +73899,7 @@ Retrieve an invite by ID. - `PENDING("pending")` - - `JsonValue type constant` + - `JsonValue type = "invite"` Object type. @@ -73968,7 +73968,7 @@ Delete a pending invite. ID of the Invite. - - `JsonValue type constant` + - `JsonValue type = "invite_deleted"` Deleted object type. @@ -74189,7 +74189,7 @@ accounts. - `DEVELOPER("developer")` - - `JsonValue type constant` + - `JsonValue type = "service_account"` - `LocalDateTime updatedAt` @@ -74416,7 +74416,7 @@ archived service accounts. - `DEVELOPER("developer")` - - `JsonValue type constant` + - `JsonValue type = "service_account"` - `LocalDateTime updatedAt` @@ -74631,7 +74631,7 @@ Retrieve a service account by its ID (`svac_...`). - `DEVELOPER("developer")` - - `JsonValue type constant` + - `JsonValue type = "service_account"` - `LocalDateTime updatedAt` @@ -74860,7 +74860,7 @@ interactive credential (a user OAuth token or a Console session). - `DEVELOPER("developer")` - - `JsonValue type constant` + - `JsonValue type = "service_account"` - `LocalDateTime updatedAt` @@ -75075,7 +75075,7 @@ those rules first or change their target to another service account. - `DEVELOPER("developer")` - - `JsonValue type constant` + - `JsonValue type = "service_account"` - `LocalDateTime updatedAt` @@ -75269,7 +75269,7 @@ rejected. Tagged service account ID (`svac_...`). - - `JsonValue type constant` + - `JsonValue type = "service_account_workspace_member"` - `String workspaceId` @@ -75479,7 +75479,7 @@ page to recover. Tagged service account ID (`svac_...`). - - `JsonValue type constant` + - `JsonValue type = "service_account_workspace_member"` - `String workspaceId` @@ -75668,7 +75668,7 @@ to the implicit `workspace_user` membership. Archived workspaces return Tagged service account ID (`svac_...`) named in the delete request. Removal is idempotent; see the endpoint description for the implicit-membership no-op. - - `JsonValue type constant` + - `JsonValue type = "service_account_workspace_member_deleted"` - `String workspaceId` @@ -75795,7 +75795,7 @@ List the organization's members. - `USER("user")` - - `JsonValue type constant` + - `JsonValue type = "user"` Object type. @@ -75902,7 +75902,7 @@ Retrieve a member of the organization by user ID. - `USER("user")` - - `JsonValue type constant` + - `JsonValue type = "user"` Object type. @@ -76018,7 +76018,7 @@ Update a member's organization role. - `USER("user")` - - `JsonValue type constant` + - `JsonValue type = "user"` Object type. @@ -76086,7 +76086,7 @@ Remove a member from the organization. ID of the User. - - `JsonValue type constant` + - `JsonValue type = "user_deleted"` Deleted object type. @@ -76236,7 +76236,7 @@ List Workspaces User-defined tags as string key-value pairs. Keys may not begin with `anthropic`. - - `JsonValue type constant` + - `JsonValue type = "workspace"` Object type. @@ -76512,7 +76512,7 @@ Create Workspace User-defined tags as string key-value pairs. Keys may not begin with `anthropic`. - - `JsonValue type constant` + - `JsonValue type = "workspace"` Object type. @@ -76662,7 +76662,7 @@ Get Workspace User-defined tags as string key-value pairs. Keys may not begin with `anthropic`. - - `JsonValue type constant` + - `JsonValue type = "workspace"` Object type. @@ -76841,7 +76841,7 @@ Update Workspace User-defined tags as string key-value pairs. Keys may not begin with `anthropic`. - - `JsonValue type constant` + - `JsonValue type = "workspace"` Object type. @@ -76986,7 +76986,7 @@ Archive Workspace User-defined tags as string key-value pairs. Keys may not begin with `anthropic`. - - `JsonValue type constant` + - `JsonValue type = "workspace"` Object type. @@ -77135,7 +77135,7 @@ the remaining entries. The `id` of the RateLimit group this override applies to. - - `JsonValue type constant` + - `JsonValue type = "workspace_rate_limit"` Object type. Always `workspace_rate_limit` for workspace rate-limit entries. @@ -77228,7 +77228,7 @@ List Workspace Members - `class BetaWorkspaceMember:` - - `JsonValue type constant` + - `JsonValue type = "workspace_member"` Object type. @@ -77323,7 +77323,7 @@ Create Workspace Member - `class BetaWorkspaceMember:` - - `JsonValue type constant` + - `JsonValue type = "workspace_member"` Object type. @@ -77413,7 +77413,7 @@ Get Workspace Member - `class BetaWorkspaceMember:` - - `JsonValue type constant` + - `JsonValue type = "workspace_member"` Object type. @@ -77505,7 +77505,7 @@ Update Workspace Member - `class BetaWorkspaceMember:` - - `JsonValue type constant` + - `JsonValue type = "workspace_member"` Object type. @@ -77595,7 +77595,7 @@ Delete Workspace Member - `class MemberRemoveResponse:` - - `JsonValue type constant` + - `JsonValue type = "workspace_member_deleted"` Deleted object type. @@ -77789,7 +77789,7 @@ omitted from the results. Tagged service account ID (`svac_...`). - - `JsonValue type constant` + - `JsonValue type = "service_account_workspace_member"` - `String workspaceId` @@ -77991,7 +77991,7 @@ accounts cannot be added and are rejected. Tagged service account ID (`svac_...`). - - `JsonValue type constant` + - `JsonValue type = "service_account_workspace_member"` - `String workspaceId` @@ -78188,7 +78188,7 @@ account returns 404. Tagged service account ID (`svac_...`). - - `JsonValue type constant` + - `JsonValue type = "service_account_workspace_member"` - `String workspaceId` @@ -78387,7 +78387,7 @@ rejected. Tagged service account ID (`svac_...`). - - `JsonValue type constant` + - `JsonValue type = "service_account_workspace_member"` - `String workspaceId` @@ -78575,7 +78575,7 @@ membership. Archived workspaces return 400. Tagged service account ID (`svac_...`) named in the delete request. Removal is idempotent; see the endpoint description for the implicit-membership no-op. - - `JsonValue type constant` + - `JsonValue type = "service_account_workspace_member_deleted"` - `String workspaceId` @@ -78710,7 +78710,7 @@ the remaining entries. Model names this entry's limits apply to, including aliases. `null` when `group_type` is not `"model_group"`. - - `JsonValue type constant` + - `JsonValue type = "rate_limit"` Object type. Always `rate_limit` for organization rate-limit entries. @@ -78788,13 +78788,13 @@ organization reads the state inherited from the parent's configuration. - `class BetaComplianceSettingsStateEnabled:` - - `JsonValue type constant` + - `JsonValue type = "enabled"` - `class BetaComplianceSettingsStateDisabled:` - - `JsonValue type constant` + - `JsonValue type = "disabled"` - - `JsonValue type constant` + - `JsonValue type = "compliance_settings"` #### Example @@ -78859,11 +78859,11 @@ compliance settings. - `class BetaComplianceSettingsStateEnabledParam:` - - `JsonValue type constant` + - `JsonValue type = "enabled"` - `class BetaComplianceSettingsStateDisabledParam:` - - `JsonValue type constant` + - `JsonValue type = "disabled"` #### Returns @@ -78875,13 +78875,13 @@ compliance settings. - `class BetaComplianceSettingsStateEnabled:` - - `JsonValue type constant` + - `JsonValue type = "enabled"` - `class BetaComplianceSettingsStateDisabled:` - - `JsonValue type constant` + - `JsonValue type = "disabled"` - - `JsonValue type constant` + - `JsonValue type = "compliance_settings"` #### Example diff --git a/content/en/api/java/beta/agents.md b/content/en/api/java/beta/agents.md index e9b32c6ce4..c9af78d2dc 100644 --- a/content/en/api/java/beta/agents.md +++ b/content/en/api/java/beta/agents.md @@ -342,7 +342,7 @@ Create Agent Configuration override for the bash tool. - - `JsonValue name constant` + - `JsonValue name = "bash"` Must be "bash". @@ -372,7 +372,7 @@ Create Agent Configuration override for the edit tool. - - `JsonValue name constant` + - `JsonValue name = "edit"` Must be "edit". @@ -398,7 +398,7 @@ Create Agent Configuration override for the read tool. - - `JsonValue name constant` + - `JsonValue name = "read"` Must be "read". @@ -424,7 +424,7 @@ Create Agent Configuration override for the write tool. - - `JsonValue name constant` + - `JsonValue name = "write"` Must be "write". @@ -450,7 +450,7 @@ Create Agent Configuration override for the glob tool. - - `JsonValue name constant` + - `JsonValue name = "glob"` Must be "glob". @@ -476,7 +476,7 @@ Create Agent Configuration override for the grep tool. - - `JsonValue name constant` + - `JsonValue name = "grep"` Must be "grep". @@ -502,7 +502,7 @@ Create Agent Configuration override for the web_fetch tool. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Must be "web_fetch". @@ -542,7 +542,7 @@ Create Agent Configuration override for the web_search tool. - - `JsonValue name constant` + - `JsonValue name = "web_search"` Must be "web_search". @@ -576,7 +576,7 @@ Create Agent Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -694,7 +694,7 @@ Create Agent JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -922,7 +922,7 @@ Create Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -940,7 +940,7 @@ Create Agent - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -948,7 +948,7 @@ Create Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -962,7 +962,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -970,7 +970,7 @@ Create Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -984,7 +984,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -992,7 +992,7 @@ Create Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -1006,7 +1006,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -1014,7 +1014,7 @@ Create Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -1028,7 +1028,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -1036,7 +1036,7 @@ Create Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -1050,7 +1050,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -1058,7 +1058,7 @@ Create Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -1072,7 +1072,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -1088,7 +1088,7 @@ Create Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -1102,7 +1102,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -1112,7 +1112,7 @@ Create Agent Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -1210,7 +1210,7 @@ Create Agent JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -1681,7 +1681,7 @@ List Agents - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -1699,7 +1699,7 @@ List Agents - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -1707,7 +1707,7 @@ List Agents - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -1721,7 +1721,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -1729,7 +1729,7 @@ List Agents - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -1743,7 +1743,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -1751,7 +1751,7 @@ List Agents - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -1765,7 +1765,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -1773,7 +1773,7 @@ List Agents - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -1787,7 +1787,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -1795,7 +1795,7 @@ List Agents - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -1809,7 +1809,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -1817,7 +1817,7 @@ List Agents - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -1831,7 +1831,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -1847,7 +1847,7 @@ List Agents - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -1861,7 +1861,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -1871,7 +1871,7 @@ List Agents Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -1969,7 +1969,7 @@ List Agents JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -2422,7 +2422,7 @@ Get Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -2440,7 +2440,7 @@ Get Agent - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -2448,7 +2448,7 @@ Get Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -2462,7 +2462,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -2470,7 +2470,7 @@ Get Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -2484,7 +2484,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -2492,7 +2492,7 @@ Get Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -2506,7 +2506,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -2514,7 +2514,7 @@ Get Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -2528,7 +2528,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -2536,7 +2536,7 @@ Get Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -2550,7 +2550,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -2558,7 +2558,7 @@ Get Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -2572,7 +2572,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -2588,7 +2588,7 @@ Get Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -2602,7 +2602,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -2612,7 +2612,7 @@ Get Agent Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -2710,7 +2710,7 @@ Get Agent JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -3176,7 +3176,7 @@ Update Agent Configuration override for the bash tool. - - `JsonValue name constant` + - `JsonValue name = "bash"` Must be "bash". @@ -3206,7 +3206,7 @@ Update Agent Configuration override for the edit tool. - - `JsonValue name constant` + - `JsonValue name = "edit"` Must be "edit". @@ -3232,7 +3232,7 @@ Update Agent Configuration override for the read tool. - - `JsonValue name constant` + - `JsonValue name = "read"` Must be "read". @@ -3258,7 +3258,7 @@ Update Agent Configuration override for the write tool. - - `JsonValue name constant` + - `JsonValue name = "write"` Must be "write". @@ -3284,7 +3284,7 @@ Update Agent Configuration override for the glob tool. - - `JsonValue name constant` + - `JsonValue name = "glob"` Must be "glob". @@ -3310,7 +3310,7 @@ Update Agent Configuration override for the grep tool. - - `JsonValue name constant` + - `JsonValue name = "grep"` Must be "grep". @@ -3336,7 +3336,7 @@ Update Agent Configuration override for the web_fetch tool. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Must be "web_fetch". @@ -3376,7 +3376,7 @@ Update Agent Configuration override for the web_search tool. - - `JsonValue name constant` + - `JsonValue name = "web_search"` Must be "web_search". @@ -3410,7 +3410,7 @@ Update Agent Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -3528,7 +3528,7 @@ Update Agent JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -3762,7 +3762,7 @@ Update Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -3780,7 +3780,7 @@ Update Agent - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -3788,7 +3788,7 @@ Update Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -3802,7 +3802,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -3810,7 +3810,7 @@ Update Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -3824,7 +3824,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -3832,7 +3832,7 @@ Update Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -3846,7 +3846,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -3854,7 +3854,7 @@ Update Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -3868,7 +3868,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -3876,7 +3876,7 @@ Update Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -3890,7 +3890,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -3898,7 +3898,7 @@ Update Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -3912,7 +3912,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -3928,7 +3928,7 @@ Update Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -3942,7 +3942,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -3952,7 +3952,7 @@ Update Agent Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -4050,7 +4050,7 @@ Update Agent JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -4492,7 +4492,7 @@ Archive Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -4510,7 +4510,7 @@ Archive Agent - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -4518,7 +4518,7 @@ Archive Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -4532,7 +4532,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -4540,7 +4540,7 @@ Archive Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -4554,7 +4554,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -4562,7 +4562,7 @@ Archive Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -4576,7 +4576,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -4584,7 +4584,7 @@ Archive Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -4598,7 +4598,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -4606,7 +4606,7 @@ Archive Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -4620,7 +4620,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -4628,7 +4628,7 @@ Archive Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -4642,7 +4642,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -4658,7 +4658,7 @@ Archive Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -4672,7 +4672,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -4682,7 +4682,7 @@ Archive Agent Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -4780,7 +4780,7 @@ Archive Agent JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -5130,7 +5130,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -5148,7 +5148,7 @@ public final class Main { - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -5156,7 +5156,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -5170,7 +5170,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -5178,7 +5178,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -5192,7 +5192,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -5200,7 +5200,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -5214,7 +5214,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -5222,7 +5222,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -5236,7 +5236,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -5244,7 +5244,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -5258,7 +5258,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -5266,7 +5266,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -5280,7 +5280,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -5296,7 +5296,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -5310,7 +5310,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -5320,7 +5320,7 @@ public final class Main { Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -5418,7 +5418,7 @@ public final class Main { JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -5468,7 +5468,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -5486,7 +5486,7 @@ public final class Main { - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -5494,7 +5494,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -5508,7 +5508,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -5516,7 +5516,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -5530,7 +5530,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -5538,7 +5538,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -5552,7 +5552,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -5560,7 +5560,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -5574,7 +5574,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -5582,7 +5582,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -5596,7 +5596,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -5604,7 +5604,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -5618,7 +5618,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -5634,7 +5634,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -5648,7 +5648,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -5658,7 +5658,7 @@ public final class Main { Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -5694,7 +5694,7 @@ public final class Main { Configuration override for the bash tool. - - `JsonValue name constant` + - `JsonValue name = "bash"` Must be "bash". @@ -5724,7 +5724,7 @@ public final class Main { Configuration override for the edit tool. - - `JsonValue name constant` + - `JsonValue name = "edit"` Must be "edit". @@ -5750,7 +5750,7 @@ public final class Main { Configuration override for the read tool. - - `JsonValue name constant` + - `JsonValue name = "read"` Must be "read". @@ -5776,7 +5776,7 @@ public final class Main { Configuration override for the write tool. - - `JsonValue name constant` + - `JsonValue name = "write"` Must be "write". @@ -5802,7 +5802,7 @@ public final class Main { Configuration override for the glob tool. - - `JsonValue name constant` + - `JsonValue name = "glob"` Must be "glob". @@ -5828,7 +5828,7 @@ public final class Main { Configuration override for the grep tool. - - `JsonValue name constant` + - `JsonValue name = "grep"` Must be "grep". @@ -5854,7 +5854,7 @@ public final class Main { Configuration override for the web_fetch tool. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Must be "web_fetch". @@ -5894,7 +5894,7 @@ public final class Main { Configuration override for the web_search tool. - - `JsonValue name constant` + - `JsonValue name = "web_search"` Must be "web_search". @@ -5928,7 +5928,7 @@ public final class Main { Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -6016,7 +6016,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -6034,7 +6034,7 @@ public final class Main { - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -6042,7 +6042,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -6056,7 +6056,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -6064,7 +6064,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -6078,7 +6078,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -6086,7 +6086,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -6100,7 +6100,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -6108,7 +6108,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -6122,7 +6122,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -6130,7 +6130,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -6144,7 +6144,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -6152,7 +6152,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -6166,7 +6166,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -6182,7 +6182,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -6196,7 +6196,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -6206,7 +6206,7 @@ public final class Main { Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -6353,7 +6353,7 @@ public final class Main { Configuration override for the bash tool. - - `JsonValue name constant` + - `JsonValue name = "bash"` Must be "bash". @@ -6383,7 +6383,7 @@ public final class Main { Configuration override for the edit tool. - - `JsonValue name constant` + - `JsonValue name = "edit"` Must be "edit". @@ -6409,7 +6409,7 @@ public final class Main { Configuration override for the read tool. - - `JsonValue name constant` + - `JsonValue name = "read"` Must be "read". @@ -6435,7 +6435,7 @@ public final class Main { Configuration override for the write tool. - - `JsonValue name constant` + - `JsonValue name = "write"` Must be "write". @@ -6461,7 +6461,7 @@ public final class Main { Configuration override for the glob tool. - - `JsonValue name constant` + - `JsonValue name = "glob"` Must be "glob". @@ -6487,7 +6487,7 @@ public final class Main { Configuration override for the grep tool. - - `JsonValue name constant` + - `JsonValue name = "grep"` Must be "grep". @@ -6513,7 +6513,7 @@ public final class Main { Configuration override for the web_fetch tool. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Must be "web_fetch". @@ -6553,7 +6553,7 @@ public final class Main { Configuration override for the web_search tool. - - `JsonValue name constant` + - `JsonValue name = "web_search"` Must be "web_search". @@ -6587,7 +6587,7 @@ public final class Main { Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -6724,7 +6724,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -6742,7 +6742,7 @@ public final class Main { - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` ### Beta Managed Agents Bash Tool Config Params @@ -6750,7 +6750,7 @@ public final class Main { Configuration override for the bash tool. - - `JsonValue name constant` + - `JsonValue name = "bash"` Must be "bash". @@ -6820,7 +6820,7 @@ public final class Main { JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -6836,7 +6836,7 @@ public final class Main { JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -6858,7 +6858,7 @@ public final class Main { JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -6880,7 +6880,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -6898,7 +6898,7 @@ public final class Main { - `Type type` - - `JsonValue type constant` + - `JsonValue type = "edit"` ### Beta Managed Agents Edit Tool Config Params @@ -6906,7 +6906,7 @@ public final class Main { Configuration override for the edit tool. - - `JsonValue name constant` + - `JsonValue name = "edit"` Must be "edit". @@ -6980,7 +6980,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -6998,7 +6998,7 @@ public final class Main { - `Type type` - - `JsonValue type constant` + - `JsonValue type = "glob"` ### Beta Managed Agents Glob Tool Config Params @@ -7006,7 +7006,7 @@ public final class Main { Configuration override for the glob tool. - - `JsonValue name constant` + - `JsonValue name = "glob"` Must be "glob". @@ -7040,7 +7040,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -7058,7 +7058,7 @@ public final class Main { - `Type type` - - `JsonValue type constant` + - `JsonValue type = "grep"` ### Beta Managed Agents Grep Tool Config Params @@ -7066,7 +7066,7 @@ public final class Main { Configuration override for the grep tool. - - `JsonValue name constant` + - `JsonValue name = "grep"` Must be "grep". @@ -7730,7 +7730,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -7748,7 +7748,7 @@ public final class Main { - `Type type` - - `JsonValue type constant` + - `JsonValue type = "read"` ### Beta Managed Agents Read Tool Config Params @@ -7756,7 +7756,7 @@ public final class Main { Configuration override for the read tool. - - `JsonValue name constant` + - `JsonValue name = "read"` Must be "read". @@ -7950,7 +7950,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -7968,7 +7968,7 @@ public final class Main { - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -7976,7 +7976,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -7990,7 +7990,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -7998,7 +7998,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -8012,7 +8012,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -8020,7 +8020,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -8034,7 +8034,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -8042,7 +8042,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -8056,7 +8056,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -8064,7 +8064,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -8078,7 +8078,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -8086,7 +8086,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -8100,7 +8100,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -8116,7 +8116,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -8130,7 +8130,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -8140,7 +8140,7 @@ public final class Main { Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -8238,7 +8238,7 @@ public final class Main { JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -8322,7 +8322,7 @@ public final class Main { Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -8356,7 +8356,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -8374,7 +8374,7 @@ public final class Main { - `Type type` - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -8390,7 +8390,7 @@ public final class Main { Configuration override for the web_fetch tool. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Must be "web_fetch". @@ -8438,7 +8438,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -8456,7 +8456,7 @@ public final class Main { - `Type type` - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -8466,7 +8466,7 @@ public final class Main { Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -8498,7 +8498,7 @@ public final class Main { Configuration override for the web_search tool. - - `JsonValue name constant` + - `JsonValue name = "web_search"` Must be "web_search". @@ -8536,7 +8536,7 @@ public final class Main { Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -8570,7 +8570,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -8588,7 +8588,7 @@ public final class Main { - `Type type` - - `JsonValue type constant` + - `JsonValue type = "write"` ### Beta Managed Agents Write Tool Config Params @@ -8596,7 +8596,7 @@ public final class Main { Configuration override for the write tool. - - `JsonValue name constant` + - `JsonValue name = "write"` Must be "write". @@ -8954,7 +8954,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -8972,7 +8972,7 @@ List Agent Versions - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -8980,7 +8980,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -8994,7 +8994,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -9002,7 +9002,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -9016,7 +9016,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -9024,7 +9024,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -9038,7 +9038,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -9046,7 +9046,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -9060,7 +9060,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -9068,7 +9068,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -9082,7 +9082,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -9090,7 +9090,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -9104,7 +9104,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -9120,7 +9120,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -9134,7 +9134,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -9144,7 +9144,7 @@ List Agent Versions Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -9242,7 +9242,7 @@ List Agent Versions JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` diff --git a/content/en/api/java/beta/agents/archive.md b/content/en/api/java/beta/agents/archive.md index 2057f1c8cb..90cd9171b2 100644 --- a/content/en/api/java/beta/agents/archive.md +++ b/content/en/api/java/beta/agents/archive.md @@ -318,7 +318,7 @@ Archive Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -336,7 +336,7 @@ Archive Agent - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -344,7 +344,7 @@ Archive Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -358,7 +358,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -366,7 +366,7 @@ Archive Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -380,7 +380,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -388,7 +388,7 @@ Archive Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -402,7 +402,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -410,7 +410,7 @@ Archive Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -424,7 +424,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -432,7 +432,7 @@ Archive Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -446,7 +446,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -454,7 +454,7 @@ Archive Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -468,7 +468,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -484,7 +484,7 @@ Archive Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -498,7 +498,7 @@ Archive Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -508,7 +508,7 @@ Archive Agent Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -606,7 +606,7 @@ Archive Agent JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` diff --git a/content/en/api/java/beta/agents/create.md b/content/en/api/java/beta/agents/create.md index cc7ad674c4..f0921f1042 100644 --- a/content/en/api/java/beta/agents/create.md +++ b/content/en/api/java/beta/agents/create.md @@ -340,7 +340,7 @@ Create Agent Configuration override for the bash tool. - - `JsonValue name constant` + - `JsonValue name = "bash"` Must be "bash". @@ -370,7 +370,7 @@ Create Agent Configuration override for the edit tool. - - `JsonValue name constant` + - `JsonValue name = "edit"` Must be "edit". @@ -396,7 +396,7 @@ Create Agent Configuration override for the read tool. - - `JsonValue name constant` + - `JsonValue name = "read"` Must be "read". @@ -422,7 +422,7 @@ Create Agent Configuration override for the write tool. - - `JsonValue name constant` + - `JsonValue name = "write"` Must be "write". @@ -448,7 +448,7 @@ Create Agent Configuration override for the glob tool. - - `JsonValue name constant` + - `JsonValue name = "glob"` Must be "glob". @@ -474,7 +474,7 @@ Create Agent Configuration override for the grep tool. - - `JsonValue name constant` + - `JsonValue name = "grep"` Must be "grep". @@ -500,7 +500,7 @@ Create Agent Configuration override for the web_fetch tool. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Must be "web_fetch". @@ -540,7 +540,7 @@ Create Agent Configuration override for the web_search tool. - - `JsonValue name constant` + - `JsonValue name = "web_search"` Must be "web_search". @@ -574,7 +574,7 @@ Create Agent Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -692,7 +692,7 @@ Create Agent JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -920,7 +920,7 @@ Create Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -938,7 +938,7 @@ Create Agent - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -946,7 +946,7 @@ Create Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -960,7 +960,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -968,7 +968,7 @@ Create Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -982,7 +982,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -990,7 +990,7 @@ Create Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -1004,7 +1004,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -1012,7 +1012,7 @@ Create Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -1026,7 +1026,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -1034,7 +1034,7 @@ Create Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -1048,7 +1048,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -1056,7 +1056,7 @@ Create Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -1070,7 +1070,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -1086,7 +1086,7 @@ Create Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -1100,7 +1100,7 @@ Create Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -1110,7 +1110,7 @@ Create Agent Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -1208,7 +1208,7 @@ Create Agent JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` diff --git a/content/en/api/java/beta/agents/list.md b/content/en/api/java/beta/agents/list.md index 81fa80c5e7..de4c31b6fe 100644 --- a/content/en/api/java/beta/agents/list.md +++ b/content/en/api/java/beta/agents/list.md @@ -342,7 +342,7 @@ List Agents - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -360,7 +360,7 @@ List Agents - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -368,7 +368,7 @@ List Agents - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -382,7 +382,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -390,7 +390,7 @@ List Agents - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -404,7 +404,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -412,7 +412,7 @@ List Agents - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -426,7 +426,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -434,7 +434,7 @@ List Agents - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -448,7 +448,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -456,7 +456,7 @@ List Agents - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -470,7 +470,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -478,7 +478,7 @@ List Agents - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -492,7 +492,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -508,7 +508,7 @@ List Agents - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -522,7 +522,7 @@ List Agents Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -532,7 +532,7 @@ List Agents Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -630,7 +630,7 @@ List Agents JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` diff --git a/content/en/api/java/beta/agents/retrieve.md b/content/en/api/java/beta/agents/retrieve.md index a6896d9198..55903d5863 100644 --- a/content/en/api/java/beta/agents/retrieve.md +++ b/content/en/api/java/beta/agents/retrieve.md @@ -324,7 +324,7 @@ Get Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -342,7 +342,7 @@ Get Agent - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -350,7 +350,7 @@ Get Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -364,7 +364,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -372,7 +372,7 @@ Get Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -386,7 +386,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -394,7 +394,7 @@ Get Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -408,7 +408,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -416,7 +416,7 @@ Get Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -430,7 +430,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -438,7 +438,7 @@ Get Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -452,7 +452,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -460,7 +460,7 @@ Get Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -474,7 +474,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -490,7 +490,7 @@ Get Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -504,7 +504,7 @@ Get Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -514,7 +514,7 @@ Get Agent Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -612,7 +612,7 @@ Get Agent JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` diff --git a/content/en/api/java/beta/agents/update.md b/content/en/api/java/beta/agents/update.md index 45bb988c45..97ad8c0e6a 100644 --- a/content/en/api/java/beta/agents/update.md +++ b/content/en/api/java/beta/agents/update.md @@ -342,7 +342,7 @@ Update Agent Configuration override for the bash tool. - - `JsonValue name constant` + - `JsonValue name = "bash"` Must be "bash". @@ -372,7 +372,7 @@ Update Agent Configuration override for the edit tool. - - `JsonValue name constant` + - `JsonValue name = "edit"` Must be "edit". @@ -398,7 +398,7 @@ Update Agent Configuration override for the read tool. - - `JsonValue name constant` + - `JsonValue name = "read"` Must be "read". @@ -424,7 +424,7 @@ Update Agent Configuration override for the write tool. - - `JsonValue name constant` + - `JsonValue name = "write"` Must be "write". @@ -450,7 +450,7 @@ Update Agent Configuration override for the glob tool. - - `JsonValue name constant` + - `JsonValue name = "glob"` Must be "glob". @@ -476,7 +476,7 @@ Update Agent Configuration override for the grep tool. - - `JsonValue name constant` + - `JsonValue name = "grep"` Must be "grep". @@ -502,7 +502,7 @@ Update Agent Configuration override for the web_fetch tool. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Must be "web_fetch". @@ -542,7 +542,7 @@ Update Agent Configuration override for the web_search tool. - - `JsonValue name constant` + - `JsonValue name = "web_search"` Must be "web_search". @@ -576,7 +576,7 @@ Update Agent Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -694,7 +694,7 @@ Update Agent JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -928,7 +928,7 @@ Update Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -946,7 +946,7 @@ Update Agent - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -954,7 +954,7 @@ Update Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -968,7 +968,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -976,7 +976,7 @@ Update Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -990,7 +990,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -998,7 +998,7 @@ Update Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -1012,7 +1012,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -1020,7 +1020,7 @@ Update Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -1034,7 +1034,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -1042,7 +1042,7 @@ Update Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -1056,7 +1056,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -1064,7 +1064,7 @@ Update Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -1078,7 +1078,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -1094,7 +1094,7 @@ Update Agent - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -1108,7 +1108,7 @@ Update Agent Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -1118,7 +1118,7 @@ Update Agent Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -1216,7 +1216,7 @@ Update Agent JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` diff --git a/content/en/api/java/beta/agents/versions.md b/content/en/api/java/beta/agents/versions.md index 16e2c3a9d5..22dc9a9ec5 100644 --- a/content/en/api/java/beta/agents/versions.md +++ b/content/en/api/java/beta/agents/versions.md @@ -330,7 +330,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -348,7 +348,7 @@ List Agent Versions - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -356,7 +356,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -370,7 +370,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -378,7 +378,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -392,7 +392,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -400,7 +400,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -414,7 +414,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -422,7 +422,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -436,7 +436,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -444,7 +444,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -458,7 +458,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -466,7 +466,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -480,7 +480,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -496,7 +496,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -510,7 +510,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -520,7 +520,7 @@ List Agent Versions Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -618,7 +618,7 @@ List Agent Versions JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` diff --git a/content/en/api/java/beta/agents/versions/list.md b/content/en/api/java/beta/agents/versions/list.md index 8fc64da714..ada13a6199 100644 --- a/content/en/api/java/beta/agents/versions/list.md +++ b/content/en/api/java/beta/agents/versions/list.md @@ -328,7 +328,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -346,7 +346,7 @@ List Agent Versions - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -354,7 +354,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -368,7 +368,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -376,7 +376,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -390,7 +390,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -398,7 +398,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -412,7 +412,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -420,7 +420,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -434,7 +434,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -442,7 +442,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -456,7 +456,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -464,7 +464,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -478,7 +478,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -494,7 +494,7 @@ List Agent Versions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -508,7 +508,7 @@ List Agent Versions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -518,7 +518,7 @@ List Agent Versions Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -616,7 +616,7 @@ List Agent Versions JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` diff --git a/content/en/api/java/beta/environments.md b/content/en/api/java/beta/environments.md index df6b4e8c9a..0ecb1803ae 100644 --- a/content/en/api/java/beta/environments.md +++ b/content/en/api/java/beta/environments.md @@ -121,7 +121,7 @@ Create a new environment with the specified configuration. Fields default to null; on update, omitted fields preserve the existing value. - - `JsonValue type constant` + - `JsonValue type = "cloud"` Environment type @@ -133,7 +133,7 @@ Create a new environment with the specified configuration. Unrestricted network access. - - `JsonValue type constant` + - `JsonValue type = "unrestricted"` Network policy type @@ -144,7 +144,7 @@ Create a new environment with the specified configuration. Fields default to null; on update, omitted fields preserve the existing value. - - `JsonValue type constant` + - `JsonValue type = "limited"` Network policy type @@ -200,7 +200,7 @@ Create a new environment with the specified configuration. Request params for `self_hosted` environment configuration. - - `JsonValue type constant` + - `JsonValue type = "self_hosted"` Environment type @@ -252,7 +252,7 @@ Create a new environment with the specified configuration. Unrestricted network access. - - `JsonValue type constant` + - `JsonValue type = "unrestricted"` Network policy type @@ -272,7 +272,7 @@ Create a new environment with the specified configuration. Specifies domains the container can reach. - - `JsonValue type constant` + - `JsonValue type = "limited"` Network policy type @@ -308,7 +308,7 @@ Create a new environment with the specified configuration. Package configuration type - - `JsonValue type constant` + - `JsonValue type = "cloud"` Environment type @@ -316,7 +316,7 @@ Create a new environment with the specified configuration. Configuration for self-hosted environments. - - `JsonValue type constant` + - `JsonValue type = "self_hosted"` Environment type @@ -336,7 +336,7 @@ Create a new environment with the specified configuration. Human-readable name for the environment - - `JsonValue type constant` + - `JsonValue type = "environment"` The type of object (always 'environment') @@ -573,7 +573,7 @@ List environments with pagination support. Unrestricted network access. - - `JsonValue type constant` + - `JsonValue type = "unrestricted"` Network policy type @@ -593,7 +593,7 @@ List environments with pagination support. Specifies domains the container can reach. - - `JsonValue type constant` + - `JsonValue type = "limited"` Network policy type @@ -629,7 +629,7 @@ List environments with pagination support. Package configuration type - - `JsonValue type constant` + - `JsonValue type = "cloud"` Environment type @@ -637,7 +637,7 @@ List environments with pagination support. Configuration for self-hosted environments. - - `JsonValue type constant` + - `JsonValue type = "self_hosted"` Environment type @@ -657,7 +657,7 @@ List environments with pagination support. Human-readable name for the environment - - `JsonValue type constant` + - `JsonValue type = "environment"` The type of object (always 'environment') @@ -884,7 +884,7 @@ Retrieve a specific environment by ID. Unrestricted network access. - - `JsonValue type constant` + - `JsonValue type = "unrestricted"` Network policy type @@ -904,7 +904,7 @@ Retrieve a specific environment by ID. Specifies domains the container can reach. - - `JsonValue type constant` + - `JsonValue type = "limited"` Network policy type @@ -940,7 +940,7 @@ Retrieve a specific environment by ID. Package configuration type - - `JsonValue type constant` + - `JsonValue type = "cloud"` Environment type @@ -948,7 +948,7 @@ Retrieve a specific environment by ID. Configuration for self-hosted environments. - - `JsonValue type constant` + - `JsonValue type = "self_hosted"` Environment type @@ -968,7 +968,7 @@ Retrieve a specific environment by ID. Human-readable name for the environment - - `JsonValue type constant` + - `JsonValue type = "environment"` The type of object (always 'environment') @@ -1171,7 +1171,7 @@ Update an existing environment's configuration. Fields default to null; on update, omitted fields preserve the existing value. - - `JsonValue type constant` + - `JsonValue type = "cloud"` Environment type @@ -1183,7 +1183,7 @@ Update an existing environment's configuration. Unrestricted network access. - - `JsonValue type constant` + - `JsonValue type = "unrestricted"` Network policy type @@ -1194,7 +1194,7 @@ Update an existing environment's configuration. Fields default to null; on update, omitted fields preserve the existing value. - - `JsonValue type constant` + - `JsonValue type = "limited"` Network policy type @@ -1250,7 +1250,7 @@ Update an existing environment's configuration. Request params for `self_hosted` environment configuration. - - `JsonValue type constant` + - `JsonValue type = "self_hosted"` Environment type @@ -1308,7 +1308,7 @@ Update an existing environment's configuration. Unrestricted network access. - - `JsonValue type constant` + - `JsonValue type = "unrestricted"` Network policy type @@ -1328,7 +1328,7 @@ Update an existing environment's configuration. Specifies domains the container can reach. - - `JsonValue type constant` + - `JsonValue type = "limited"` Network policy type @@ -1364,7 +1364,7 @@ Update an existing environment's configuration. Package configuration type - - `JsonValue type constant` + - `JsonValue type = "cloud"` Environment type @@ -1372,7 +1372,7 @@ Update an existing environment's configuration. Configuration for self-hosted environments. - - `JsonValue type constant` + - `JsonValue type = "self_hosted"` Environment type @@ -1392,7 +1392,7 @@ Update an existing environment's configuration. Human-readable name for the environment - - `JsonValue type constant` + - `JsonValue type = "environment"` The type of object (always 'environment') @@ -1764,7 +1764,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Unrestricted network access. - - `JsonValue type constant` + - `JsonValue type = "unrestricted"` Network policy type @@ -1784,7 +1784,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Specifies domains the container can reach. - - `JsonValue type constant` + - `JsonValue type = "limited"` Network policy type @@ -1820,7 +1820,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Package configuration type - - `JsonValue type constant` + - `JsonValue type = "cloud"` Environment type @@ -1828,7 +1828,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Configuration for self-hosted environments. - - `JsonValue type constant` + - `JsonValue type = "self_hosted"` Environment type @@ -1848,7 +1848,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Human-readable name for the environment - - `JsonValue type constant` + - `JsonValue type = "environment"` The type of object (always 'environment') @@ -1950,7 +1950,7 @@ public final class Main { Unrestricted network access. - - `JsonValue type constant` + - `JsonValue type = "unrestricted"` Network policy type @@ -1970,7 +1970,7 @@ public final class Main { Specifies domains the container can reach. - - `JsonValue type constant` + - `JsonValue type = "limited"` Network policy type @@ -2006,7 +2006,7 @@ public final class Main { Package configuration type - - `JsonValue type constant` + - `JsonValue type = "cloud"` Environment type @@ -2019,7 +2019,7 @@ public final class Main { Fields default to null; on update, omitted fields preserve the existing value. - - `JsonValue type constant` + - `JsonValue type = "cloud"` Environment type @@ -2031,7 +2031,7 @@ public final class Main { Unrestricted network access. - - `JsonValue type constant` + - `JsonValue type = "unrestricted"` Network policy type @@ -2042,7 +2042,7 @@ public final class Main { Fields default to null; on update, omitted fields preserve the existing value. - - `JsonValue type constant` + - `JsonValue type = "limited"` Network policy type @@ -2124,7 +2124,7 @@ public final class Main { Unrestricted network access. - - `JsonValue type constant` + - `JsonValue type = "unrestricted"` Network policy type @@ -2144,7 +2144,7 @@ public final class Main { Specifies domains the container can reach. - - `JsonValue type constant` + - `JsonValue type = "limited"` Network policy type @@ -2180,7 +2180,7 @@ public final class Main { Package configuration type - - `JsonValue type constant` + - `JsonValue type = "cloud"` Environment type @@ -2188,7 +2188,7 @@ public final class Main { Configuration for self-hosted environments. - - `JsonValue type constant` + - `JsonValue type = "self_hosted"` Environment type @@ -2208,7 +2208,7 @@ public final class Main { Human-readable name for the environment - - `JsonValue type constant` + - `JsonValue type = "environment"` The type of object (always 'environment') @@ -2256,7 +2256,7 @@ public final class Main { Specifies domains the container can reach. - - `JsonValue type constant` + - `JsonValue type = "limited"` Network policy type @@ -2269,7 +2269,7 @@ public final class Main { Fields default to null; on update, omitted fields preserve the existing value. - - `JsonValue type constant` + - `JsonValue type = "limited"` Network policy type @@ -2363,7 +2363,7 @@ public final class Main { Configuration for self-hosted environments. - - `JsonValue type constant` + - `JsonValue type = "self_hosted"` Environment type @@ -2373,7 +2373,7 @@ public final class Main { Request params for `self_hosted` environment configuration. - - `JsonValue type constant` + - `JsonValue type = "self_hosted"` Environment type @@ -2383,7 +2383,7 @@ public final class Main { Unrestricted network access. - - `JsonValue type constant` + - `JsonValue type = "unrestricted"` Network policy type @@ -2529,7 +2529,7 @@ Retrieve detailed information about a specific work item. Session identifier (e.g., 'session_...') - - `JsonValue type constant` + - `JsonValue type = "session"` Type of work data @@ -2575,7 +2575,7 @@ Retrieve detailed information about a specific work item. RFC 3339 timestamp when work execution stopped - - `JsonValue type constant` + - `JsonValue type = "work"` The type of object (always 'work') @@ -2783,7 +2783,7 @@ Long poll for work items in the queue. Session identifier (e.g., 'session_...') - - `JsonValue type constant` + - `JsonValue type = "session"` Type of work data @@ -2829,7 +2829,7 @@ Long poll for work items in the queue. RFC 3339 timestamp when work execution stopped - - `JsonValue type constant` + - `JsonValue type = "work"` The type of object (always 'work') @@ -3020,7 +3020,7 @@ Acknowledge receipt of a work item, transitioning it from 'queued' to 'starting' Session identifier (e.g., 'session_...') - - `JsonValue type constant` + - `JsonValue type = "session"` Type of work data @@ -3066,7 +3066,7 @@ Acknowledge receipt of a work item, transitioning it from 'queued' to 'starting' RFC 3339 timestamp when work execution stopped - - `JsonValue type constant` + - `JsonValue type = "work"` The type of object (always 'work') @@ -3270,7 +3270,7 @@ Record a heartbeat for a work item to maintain the lease. Effective TTL applied to the lease - - `JsonValue type constant` + - `JsonValue type = "work_heartbeat"` The type of response @@ -3455,7 +3455,7 @@ Stop a work item, initiating graceful or forced shutdown. Session identifier (e.g., 'session_...') - - `JsonValue type constant` + - `JsonValue type = "session"` Type of work data @@ -3501,7 +3501,7 @@ Stop a work item, initiating graceful or forced shutdown. RFC 3339 timestamp when work execution stopped - - `JsonValue type constant` + - `JsonValue type = "work"` The type of object (always 'work') @@ -3705,7 +3705,7 @@ List work items in an environment. Session identifier (e.g., 'session_...') - - `JsonValue type constant` + - `JsonValue type = "session"` Type of work data @@ -3751,7 +3751,7 @@ List work items in an environment. RFC 3339 timestamp when work execution stopped - - `JsonValue type constant` + - `JsonValue type = "work"` The type of object (always 'work') @@ -3950,7 +3950,7 @@ Update work item metadata with merge semantics. Session identifier (e.g., 'session_...') - - `JsonValue type constant` + - `JsonValue type = "session"` Type of work data @@ -3996,7 +3996,7 @@ Update work item metadata with merge semantics. RFC 3339 timestamp when work execution stopped - - `JsonValue type constant` + - `JsonValue type = "work"` The type of object (always 'work') @@ -4181,7 +4181,7 @@ Get statistics about the work queue for an environment. Number of work items being processed (polled but not acknowledged) - - `JsonValue type constant` + - `JsonValue type = "work_queue_stats"` The type of object diff --git a/content/en/api/java/beta/environments/archive.md b/content/en/api/java/beta/environments/archive.md index e4bc0d7e96..96fa251d7f 100644 --- a/content/en/api/java/beta/environments/archive.md +++ b/content/en/api/java/beta/environments/archive.md @@ -134,7 +134,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Unrestricted network access. - - `JsonValue type constant` + - `JsonValue type = "unrestricted"` Network policy type @@ -154,7 +154,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Specifies domains the container can reach. - - `JsonValue type constant` + - `JsonValue type = "limited"` Network policy type @@ -190,7 +190,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Package configuration type - - `JsonValue type constant` + - `JsonValue type = "cloud"` Environment type @@ -198,7 +198,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Configuration for self-hosted environments. - - `JsonValue type constant` + - `JsonValue type = "self_hosted"` Environment type @@ -218,7 +218,7 @@ Archive an environment by ID. Archived environments cannot be used to create new Human-readable name for the environment - - `JsonValue type constant` + - `JsonValue type = "environment"` The type of object (always 'environment') diff --git a/content/en/api/java/beta/environments/create.md b/content/en/api/java/beta/environments/create.md index b6eb12cf0b..060b13ce11 100644 --- a/content/en/api/java/beta/environments/create.md +++ b/content/en/api/java/beta/environments/create.md @@ -119,7 +119,7 @@ Create a new environment with the specified configuration. Fields default to null; on update, omitted fields preserve the existing value. - - `JsonValue type constant` + - `JsonValue type = "cloud"` Environment type @@ -131,7 +131,7 @@ Create a new environment with the specified configuration. Unrestricted network access. - - `JsonValue type constant` + - `JsonValue type = "unrestricted"` Network policy type @@ -142,7 +142,7 @@ Create a new environment with the specified configuration. Fields default to null; on update, omitted fields preserve the existing value. - - `JsonValue type constant` + - `JsonValue type = "limited"` Network policy type @@ -198,7 +198,7 @@ Create a new environment with the specified configuration. Request params for `self_hosted` environment configuration. - - `JsonValue type constant` + - `JsonValue type = "self_hosted"` Environment type @@ -250,7 +250,7 @@ Create a new environment with the specified configuration. Unrestricted network access. - - `JsonValue type constant` + - `JsonValue type = "unrestricted"` Network policy type @@ -270,7 +270,7 @@ Create a new environment with the specified configuration. Specifies domains the container can reach. - - `JsonValue type constant` + - `JsonValue type = "limited"` Network policy type @@ -306,7 +306,7 @@ Create a new environment with the specified configuration. Package configuration type - - `JsonValue type constant` + - `JsonValue type = "cloud"` Environment type @@ -314,7 +314,7 @@ Create a new environment with the specified configuration. Configuration for self-hosted environments. - - `JsonValue type constant` + - `JsonValue type = "self_hosted"` Environment type @@ -334,7 +334,7 @@ Create a new environment with the specified configuration. Human-readable name for the environment - - `JsonValue type constant` + - `JsonValue type = "environment"` The type of object (always 'environment') diff --git a/content/en/api/java/beta/environments/list.md b/content/en/api/java/beta/environments/list.md index 3f9c722675..c13bf8e6c8 100644 --- a/content/en/api/java/beta/environments/list.md +++ b/content/en/api/java/beta/environments/list.md @@ -146,7 +146,7 @@ List environments with pagination support. Unrestricted network access. - - `JsonValue type constant` + - `JsonValue type = "unrestricted"` Network policy type @@ -166,7 +166,7 @@ List environments with pagination support. Specifies domains the container can reach. - - `JsonValue type constant` + - `JsonValue type = "limited"` Network policy type @@ -202,7 +202,7 @@ List environments with pagination support. Package configuration type - - `JsonValue type constant` + - `JsonValue type = "cloud"` Environment type @@ -210,7 +210,7 @@ List environments with pagination support. Configuration for self-hosted environments. - - `JsonValue type constant` + - `JsonValue type = "self_hosted"` Environment type @@ -230,7 +230,7 @@ List environments with pagination support. Human-readable name for the environment - - `JsonValue type constant` + - `JsonValue type = "environment"` The type of object (always 'environment') diff --git a/content/en/api/java/beta/environments/retrieve.md b/content/en/api/java/beta/environments/retrieve.md index 514137f541..835893a4ae 100644 --- a/content/en/api/java/beta/environments/retrieve.md +++ b/content/en/api/java/beta/environments/retrieve.md @@ -134,7 +134,7 @@ Retrieve a specific environment by ID. Unrestricted network access. - - `JsonValue type constant` + - `JsonValue type = "unrestricted"` Network policy type @@ -154,7 +154,7 @@ Retrieve a specific environment by ID. Specifies domains the container can reach. - - `JsonValue type constant` + - `JsonValue type = "limited"` Network policy type @@ -190,7 +190,7 @@ Retrieve a specific environment by ID. Package configuration type - - `JsonValue type constant` + - `JsonValue type = "cloud"` Environment type @@ -198,7 +198,7 @@ Retrieve a specific environment by ID. Configuration for self-hosted environments. - - `JsonValue type constant` + - `JsonValue type = "self_hosted"` Environment type @@ -218,7 +218,7 @@ Retrieve a specific environment by ID. Human-readable name for the environment - - `JsonValue type constant` + - `JsonValue type = "environment"` The type of object (always 'environment') diff --git a/content/en/api/java/beta/environments/update.md b/content/en/api/java/beta/environments/update.md index d59c736aa3..fdd443c086 100644 --- a/content/en/api/java/beta/environments/update.md +++ b/content/en/api/java/beta/environments/update.md @@ -115,7 +115,7 @@ Update an existing environment's configuration. Fields default to null; on update, omitted fields preserve the existing value. - - `JsonValue type constant` + - `JsonValue type = "cloud"` Environment type @@ -127,7 +127,7 @@ Update an existing environment's configuration. Unrestricted network access. - - `JsonValue type constant` + - `JsonValue type = "unrestricted"` Network policy type @@ -138,7 +138,7 @@ Update an existing environment's configuration. Fields default to null; on update, omitted fields preserve the existing value. - - `JsonValue type constant` + - `JsonValue type = "limited"` Network policy type @@ -194,7 +194,7 @@ Update an existing environment's configuration. Request params for `self_hosted` environment configuration. - - `JsonValue type constant` + - `JsonValue type = "self_hosted"` Environment type @@ -252,7 +252,7 @@ Update an existing environment's configuration. Unrestricted network access. - - `JsonValue type constant` + - `JsonValue type = "unrestricted"` Network policy type @@ -272,7 +272,7 @@ Update an existing environment's configuration. Specifies domains the container can reach. - - `JsonValue type constant` + - `JsonValue type = "limited"` Network policy type @@ -308,7 +308,7 @@ Update an existing environment's configuration. Package configuration type - - `JsonValue type constant` + - `JsonValue type = "cloud"` Environment type @@ -316,7 +316,7 @@ Update an existing environment's configuration. Configuration for self-hosted environments. - - `JsonValue type constant` + - `JsonValue type = "self_hosted"` Environment type @@ -336,7 +336,7 @@ Update an existing environment's configuration. Human-readable name for the environment - - `JsonValue type constant` + - `JsonValue type = "environment"` The type of object (always 'environment') diff --git a/content/en/api/java/beta/environments/work.md b/content/en/api/java/beta/environments/work.md index 515afeae2e..3da9fcbd20 100644 --- a/content/en/api/java/beta/environments/work.md +++ b/content/en/api/java/beta/environments/work.md @@ -140,7 +140,7 @@ Retrieve detailed information about a specific work item. Session identifier (e.g., 'session_...') - - `JsonValue type constant` + - `JsonValue type = "session"` Type of work data @@ -186,7 +186,7 @@ Retrieve detailed information about a specific work item. RFC 3339 timestamp when work execution stopped - - `JsonValue type constant` + - `JsonValue type = "work"` The type of object (always 'work') @@ -394,7 +394,7 @@ Long poll for work items in the queue. Session identifier (e.g., 'session_...') - - `JsonValue type constant` + - `JsonValue type = "session"` Type of work data @@ -440,7 +440,7 @@ Long poll for work items in the queue. RFC 3339 timestamp when work execution stopped - - `JsonValue type constant` + - `JsonValue type = "work"` The type of object (always 'work') @@ -631,7 +631,7 @@ Acknowledge receipt of a work item, transitioning it from 'queued' to 'starting' Session identifier (e.g., 'session_...') - - `JsonValue type constant` + - `JsonValue type = "session"` Type of work data @@ -677,7 +677,7 @@ Acknowledge receipt of a work item, transitioning it from 'queued' to 'starting' RFC 3339 timestamp when work execution stopped - - `JsonValue type constant` + - `JsonValue type = "work"` The type of object (always 'work') @@ -881,7 +881,7 @@ Record a heartbeat for a work item to maintain the lease. Effective TTL applied to the lease - - `JsonValue type constant` + - `JsonValue type = "work_heartbeat"` The type of response @@ -1066,7 +1066,7 @@ Stop a work item, initiating graceful or forced shutdown. Session identifier (e.g., 'session_...') - - `JsonValue type constant` + - `JsonValue type = "session"` Type of work data @@ -1112,7 +1112,7 @@ Stop a work item, initiating graceful or forced shutdown. RFC 3339 timestamp when work execution stopped - - `JsonValue type constant` + - `JsonValue type = "work"` The type of object (always 'work') @@ -1316,7 +1316,7 @@ List work items in an environment. Session identifier (e.g., 'session_...') - - `JsonValue type constant` + - `JsonValue type = "session"` Type of work data @@ -1362,7 +1362,7 @@ List work items in an environment. RFC 3339 timestamp when work execution stopped - - `JsonValue type constant` + - `JsonValue type = "work"` The type of object (always 'work') @@ -1561,7 +1561,7 @@ Update work item metadata with merge semantics. Session identifier (e.g., 'session_...') - - `JsonValue type constant` + - `JsonValue type = "session"` Type of work data @@ -1607,7 +1607,7 @@ Update work item metadata with merge semantics. RFC 3339 timestamp when work execution stopped - - `JsonValue type constant` + - `JsonValue type = "work"` The type of object (always 'work') @@ -1792,7 +1792,7 @@ Get statistics about the work queue for an environment. Number of work items being processed (polled but not acknowledged) - - `JsonValue type constant` + - `JsonValue type = "work_queue_stats"` The type of object @@ -1865,7 +1865,7 @@ public final class Main { Session identifier (e.g., 'session_...') - - `JsonValue type constant` + - `JsonValue type = "session"` Type of work data @@ -1911,7 +1911,7 @@ public final class Main { RFC 3339 timestamp when work execution stopped - - `JsonValue type constant` + - `JsonValue type = "work"` The type of object (always 'work') @@ -1947,7 +1947,7 @@ public final class Main { Effective TTL applied to the lease - - `JsonValue type constant` + - `JsonValue type = "work_heartbeat"` The type of response @@ -1981,7 +1981,7 @@ public final class Main { Session identifier (e.g., 'session_...') - - `JsonValue type constant` + - `JsonValue type = "session"` Type of work data @@ -2027,7 +2027,7 @@ public final class Main { RFC 3339 timestamp when work execution stopped - - `JsonValue type constant` + - `JsonValue type = "work"` The type of object (always 'work') @@ -2055,7 +2055,7 @@ public final class Main { Number of work items being processed (polled but not acknowledged) - - `JsonValue type constant` + - `JsonValue type = "work_queue_stats"` The type of object @@ -2096,6 +2096,6 @@ public final class Main { Session identifier (e.g., 'session_...') - - `JsonValue type constant` + - `JsonValue type = "session"` Type of work data diff --git a/content/en/api/java/beta/environments/work/ack.md b/content/en/api/java/beta/environments/work/ack.md index bd55030300..dd610748c7 100644 --- a/content/en/api/java/beta/environments/work/ack.md +++ b/content/en/api/java/beta/environments/work/ack.md @@ -138,7 +138,7 @@ Acknowledge receipt of a work item, transitioning it from 'queued' to 'starting' Session identifier (e.g., 'session_...') - - `JsonValue type constant` + - `JsonValue type = "session"` Type of work data @@ -184,7 +184,7 @@ Acknowledge receipt of a work item, transitioning it from 'queued' to 'starting' RFC 3339 timestamp when work execution stopped - - `JsonValue type constant` + - `JsonValue type = "work"` The type of object (always 'work') diff --git a/content/en/api/java/beta/environments/work/heartbeat.md b/content/en/api/java/beta/environments/work/heartbeat.md index d1453d5a5a..f74e6eea19 100644 --- a/content/en/api/java/beta/environments/work/heartbeat.md +++ b/content/en/api/java/beta/environments/work/heartbeat.md @@ -148,7 +148,7 @@ Record a heartbeat for a work item to maintain the lease. Effective TTL applied to the lease - - `JsonValue type constant` + - `JsonValue type = "work_heartbeat"` The type of response diff --git a/content/en/api/java/beta/environments/work/list.md b/content/en/api/java/beta/environments/work/list.md index 7b72c7eba3..b2b8c0fd9e 100644 --- a/content/en/api/java/beta/environments/work/list.md +++ b/content/en/api/java/beta/environments/work/list.md @@ -146,7 +146,7 @@ List work items in an environment. Session identifier (e.g., 'session_...') - - `JsonValue type constant` + - `JsonValue type = "session"` Type of work data @@ -192,7 +192,7 @@ List work items in an environment. RFC 3339 timestamp when work execution stopped - - `JsonValue type constant` + - `JsonValue type = "work"` The type of object (always 'work') diff --git a/content/en/api/java/beta/environments/work/poll.md b/content/en/api/java/beta/environments/work/poll.md index 7edd9f2ddb..11d2c8a259 100644 --- a/content/en/api/java/beta/environments/work/poll.md +++ b/content/en/api/java/beta/environments/work/poll.md @@ -152,7 +152,7 @@ Long poll for work items in the queue. Session identifier (e.g., 'session_...') - - `JsonValue type constant` + - `JsonValue type = "session"` Type of work data @@ -198,7 +198,7 @@ Long poll for work items in the queue. RFC 3339 timestamp when work execution stopped - - `JsonValue type constant` + - `JsonValue type = "work"` The type of object (always 'work') diff --git a/content/en/api/java/beta/environments/work/retrieve.md b/content/en/api/java/beta/environments/work/retrieve.md index efd216cd20..c2c56e481f 100644 --- a/content/en/api/java/beta/environments/work/retrieve.md +++ b/content/en/api/java/beta/environments/work/retrieve.md @@ -138,7 +138,7 @@ Retrieve detailed information about a specific work item. Session identifier (e.g., 'session_...') - - `JsonValue type constant` + - `JsonValue type = "session"` Type of work data @@ -184,7 +184,7 @@ Retrieve detailed information about a specific work item. RFC 3339 timestamp when work execution stopped - - `JsonValue type constant` + - `JsonValue type = "work"` The type of object (always 'work') diff --git a/content/en/api/java/beta/environments/work/stats.md b/content/en/api/java/beta/environments/work/stats.md index 5b2c0aaf4a..8922e30f1e 100644 --- a/content/en/api/java/beta/environments/work/stats.md +++ b/content/en/api/java/beta/environments/work/stats.md @@ -124,7 +124,7 @@ Get statistics about the work queue for an environment. Number of work items being processed (polled but not acknowledged) - - `JsonValue type constant` + - `JsonValue type = "work_queue_stats"` The type of object diff --git a/content/en/api/java/beta/environments/work/stop.md b/content/en/api/java/beta/environments/work/stop.md index 450a303211..9172456185 100644 --- a/content/en/api/java/beta/environments/work/stop.md +++ b/content/en/api/java/beta/environments/work/stop.md @@ -142,7 +142,7 @@ Stop a work item, initiating graceful or forced shutdown. Session identifier (e.g., 'session_...') - - `JsonValue type constant` + - `JsonValue type = "session"` Type of work data @@ -188,7 +188,7 @@ Stop a work item, initiating graceful or forced shutdown. RFC 3339 timestamp when work execution stopped - - `JsonValue type constant` + - `JsonValue type = "work"` The type of object (always 'work') diff --git a/content/en/api/java/beta/environments/work/update.md b/content/en/api/java/beta/environments/work/update.md index 3eb993bf91..6dce5bbf38 100644 --- a/content/en/api/java/beta/environments/work/update.md +++ b/content/en/api/java/beta/environments/work/update.md @@ -142,7 +142,7 @@ Update work item metadata with merge semantics. Session identifier (e.g., 'session_...') - - `JsonValue type constant` + - `JsonValue type = "session"` Type of work data @@ -188,7 +188,7 @@ Update work item metadata with merge semantics. RFC 3339 timestamp when work execution stopped - - `JsonValue type constant` + - `JsonValue type = "work"` The type of object (always 'work') diff --git a/content/en/api/java/beta/files.md b/content/en/api/java/beta/files.md index cc93802014..9129a60a8d 100644 --- a/content/en/api/java/beta/files.md +++ b/content/en/api/java/beta/files.md @@ -150,7 +150,7 @@ Upload File minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "file"` Object type. @@ -174,7 +174,7 @@ Upload File The ID of the scoping resource (e.g., the session ID). - - `JsonValue type constant` + - `JsonValue type = "session"` The type of scope (e.g., `"session"`). @@ -380,7 +380,7 @@ List Files minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "file"` Object type. @@ -404,7 +404,7 @@ List Files The ID of the scoping resource (e.g., the session ID). - - `JsonValue type constant` + - `JsonValue type = "session"` The type of scope (e.g., `"session"`). @@ -724,7 +724,7 @@ Get File Metadata minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "file"` Object type. @@ -748,7 +748,7 @@ Get File Metadata The ID of the scoping resource (e.g., the session ID). - - `JsonValue type constant` + - `JsonValue type = "session"` The type of scope (e.g., `"session"`). @@ -994,7 +994,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "file"` Object type. @@ -1018,7 +1018,7 @@ public final class Main { The ID of the scoping resource (e.g., the session ID). - - `JsonValue type constant` + - `JsonValue type = "session"` The type of scope (e.g., `"session"`). @@ -1030,6 +1030,6 @@ public final class Main { The ID of the scoping resource (e.g., the session ID). - - `JsonValue type constant` + - `JsonValue type = "session"` The type of scope (e.g., `"session"`). diff --git a/content/en/api/java/beta/files/list.md b/content/en/api/java/beta/files/list.md index 7a5cce3042..1a6065dca1 100644 --- a/content/en/api/java/beta/files/list.md +++ b/content/en/api/java/beta/files/list.md @@ -156,7 +156,7 @@ List Files minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "file"` Object type. @@ -180,7 +180,7 @@ List Files The ID of the scoping resource (e.g., the session ID). - - `JsonValue type constant` + - `JsonValue type = "session"` The type of scope (e.g., `"session"`). diff --git a/content/en/api/java/beta/files/retrieve_metadata.md b/content/en/api/java/beta/files/retrieve_metadata.md index ed448d8f7b..31680a6a97 100644 --- a/content/en/api/java/beta/files/retrieve_metadata.md +++ b/content/en/api/java/beta/files/retrieve_metadata.md @@ -140,7 +140,7 @@ Get File Metadata minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "file"` Object type. @@ -164,7 +164,7 @@ Get File Metadata The ID of the scoping resource (e.g., the session ID). - - `JsonValue type constant` + - `JsonValue type = "session"` The type of scope (e.g., `"session"`). diff --git a/content/en/api/java/beta/files/upload.md b/content/en/api/java/beta/files/upload.md index e540b8e1a3..cc50d40ac7 100644 --- a/content/en/api/java/beta/files/upload.md +++ b/content/en/api/java/beta/files/upload.md @@ -148,7 +148,7 @@ Upload File minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "file"` Object type. @@ -172,7 +172,7 @@ Upload File The ID of the scoping resource (e.g., the session ID). - - `JsonValue type constant` + - `JsonValue type = "session"` The type of scope (e.g., `"session"`). diff --git a/content/en/api/java/beta/memory_stores.md b/content/en/api/java/beta/memory_stores.md index 2ec8842a4f..a8d7d6fab3 100644 --- a/content/en/api/java/beta/memory_stores.md +++ b/content/en/api/java/beta/memory_stores.md @@ -2482,7 +2482,7 @@ List memory versions minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "service_account_actor"` - `Optional path` @@ -2762,7 +2762,7 @@ Retrieve a memory version minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "service_account_actor"` - `Optional path` @@ -3037,7 +3037,7 @@ Redact a memory version minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "service_account_actor"` - `Optional path` diff --git a/content/en/api/java/beta/memory_stores/memories.md b/content/en/api/java/beta/memory_stores/memories.md index 61da3be6ad..b99e23e115 100644 --- a/content/en/api/java/beta/memory_stores/memories.md +++ b/content/en/api/java/beta/memory_stores/memories.md @@ -1072,55 +1072,55 @@ public final class Main { - `String message` - - `JsonValue type constant` + - `JsonValue type = "invalid_request_error"` - `class BetaAuthenticationError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "authentication_error"` - `class BetaBillingError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "billing_error"` - `class BetaPermissionError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "permission_error"` - `class BetaNotFoundError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "not_found_error"` - `class BetaRateLimitError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "rate_limit_error"` - `class BetaGatewayTimeoutError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "timeout_error"` - `class BetaApiError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "api_error"` - `class BetaOverloadedError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "overloaded_error"` - `class BetaManagedAgentsMemoryPreconditionFailedError:` diff --git a/content/en/api/java/beta/memory_stores/memory_versions.md b/content/en/api/java/beta/memory_stores/memory_versions.md index 82bdccbb09..9e3e3bd828 100644 --- a/content/en/api/java/beta/memory_stores/memory_versions.md +++ b/content/en/api/java/beta/memory_stores/memory_versions.md @@ -252,7 +252,7 @@ List memory versions minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "service_account_actor"` - `Optional path` @@ -532,7 +532,7 @@ Retrieve a memory version minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "service_account_actor"` - `Optional path` @@ -807,7 +807,7 @@ Redact a memory version minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "service_account_actor"` - `Optional path` @@ -928,7 +928,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "service_account_actor"` ### Beta Managed Agents API Actor @@ -1044,7 +1044,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "service_account_actor"` - `Optional path` @@ -1084,7 +1084,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "service_account_actor"` ### Beta Managed Agents Session Actor diff --git a/content/en/api/java/beta/memory_stores/memory_versions/list.md b/content/en/api/java/beta/memory_stores/memory_versions/list.md index 33b430b7f2..83382b5455 100644 --- a/content/en/api/java/beta/memory_stores/memory_versions/list.md +++ b/content/en/api/java/beta/memory_stores/memory_versions/list.md @@ -250,7 +250,7 @@ List memory versions minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "service_account_actor"` - `Optional path` diff --git a/content/en/api/java/beta/memory_stores/memory_versions/redact.md b/content/en/api/java/beta/memory_stores/memory_versions/redact.md index f73148c03f..328ff3c9ca 100644 --- a/content/en/api/java/beta/memory_stores/memory_versions/redact.md +++ b/content/en/api/java/beta/memory_stores/memory_versions/redact.md @@ -206,7 +206,7 @@ Redact a memory version minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "service_account_actor"` - `Optional path` diff --git a/content/en/api/java/beta/memory_stores/memory_versions/retrieve.md b/content/en/api/java/beta/memory_stores/memory_versions/retrieve.md index b6452ad4ab..db53fb7097 100644 --- a/content/en/api/java/beta/memory_stores/memory_versions/retrieve.md +++ b/content/en/api/java/beta/memory_stores/memory_versions/retrieve.md @@ -210,7 +210,7 @@ Retrieve a memory version minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "service_account_actor"` - `Optional path` diff --git a/content/en/api/java/beta/messages.md b/content/en/api/java/beta/messages.md index 7524e6a6f9..448dddd2c1 100644 --- a/content/en/api/java/beta/messages.md +++ b/content/en/api/java/beta/messages.md @@ -187,13 +187,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -230,7 +230,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -250,7 +250,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -280,7 +280,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -292,7 +292,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -330,7 +330,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class BetaImageBlockParam:` @@ -352,11 +352,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaUrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -364,9 +364,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -394,17 +394,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaContentBlockSource:` @@ -418,11 +418,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaImageBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class BetaUrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -430,9 +430,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -458,7 +458,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -470,7 +470,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String title` - - `JsonValue type constant` + - `JsonValue type = "search_result"` - `Optional cacheControl` @@ -490,7 +490,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `thinking` text of this block as returned by the API. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class BetaRedactedThinkingBlockParam:` @@ -498,7 +498,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class BetaToolUseBlockParam:` @@ -512,7 +512,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 200, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional cacheControl` @@ -526,7 +526,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -536,7 +536,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -544,7 +544,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -558,7 +558,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_result"` - `Optional cacheControl` @@ -586,7 +586,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` @@ -630,7 +630,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonValue type constant` + - `JsonValue type = "browser_state"` - `Optional cacheControl` @@ -658,7 +658,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -670,7 +670,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -691,7 +691,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -721,7 +721,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -769,7 +769,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional cacheControl` @@ -799,7 +799,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -821,13 +821,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional cacheControl` @@ -873,13 +873,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlockParam:` - `BetaRequestDocumentBlock content` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -893,7 +893,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional cacheControl` @@ -935,13 +935,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlockParam:` - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `Optional stopReason` @@ -951,7 +951,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `Optional stopReason` @@ -959,7 +959,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `Optional cacheControl` @@ -983,7 +983,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -991,7 +991,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -999,7 +999,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -1009,7 +1009,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -1017,13 +1017,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `Optional cacheControl` @@ -1047,7 +1047,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlockParam:` @@ -1055,7 +1055,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -1063,13 +1063,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `Optional cacheControl` @@ -1093,7 +1093,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `FILE_NOT_FOUND("file_not_found")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `Optional errorMessage` @@ -1109,7 +1109,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `PDF("pdf")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `Optional numLines` @@ -1121,11 +1121,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `Optional> lines` @@ -1141,7 +1141,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `Optional cacheControl` @@ -1163,7 +1163,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `Optional errorMessage` @@ -1175,19 +1175,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `Optional cacheControl` @@ -1207,7 +1207,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `Optional cacheControl` @@ -1219,7 +1219,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `Optional cacheControl` @@ -1235,7 +1235,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -1252,7 +1252,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Optional cacheControl` @@ -1268,7 +1268,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co When content is None, the block represents a failed compaction. The server treats these as no-ops. Empty string content is not allowed. - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `Optional cacheControl` @@ -1308,7 +1308,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -1319,7 +1319,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -1327,9 +1327,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_toolset_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_addition"` - `Optional cacheControl` @@ -1366,7 +1366,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Reference to every tool in the named MCP server's toolset. - - `JsonValue type constant` + - `JsonValue type = "tool_removal"` - `Optional cacheControl` @@ -1470,7 +1470,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Identifies one hop of a fallback transition. - - `JsonValue type constant` + - `JsonValue type = "fallback"` - `Optional trigger` @@ -1640,7 +1640,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String name` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -1700,7 +1700,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -1792,7 +1792,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -1844,13 +1844,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolBash20241022:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20241022"` - `Optional> allowedCallers` @@ -1878,13 +1878,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolBash20250124:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20250124"` - `Optional> allowedCallers` @@ -1912,13 +1912,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaCodeExecutionTool20250522:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250522"` - `Optional> allowedCallers` @@ -1944,13 +1944,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaCodeExecutionTool20250825:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `Optional> allowedCallers` @@ -1978,13 +1978,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional> allowedCallers` @@ -2012,13 +2012,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Code execution tool with REPL state persistence. - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260521"` - `Optional> allowedCallers` @@ -2049,7 +2049,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co the family's tool with any members disabled via `configs` removed from its schema. - - `JsonValue type constant` + - `JsonValue type = "browser_toolset_20260801"` - `Optional cacheControl` @@ -2450,13 +2450,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20241022"` - `Optional> allowedCallers` @@ -2490,13 +2490,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaMemoryTool20250818:` - - `JsonValue name constant` + - `JsonValue name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "memory_20250818"` - `Optional> allowedCallers` @@ -2536,13 +2536,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20250124"` - `Optional> allowedCallers` @@ -2576,13 +2576,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolTextEditor20241022:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20241022"` - `Optional> allowedCallers` @@ -2622,13 +2622,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20251124"` - `Optional> allowedCallers` @@ -2675,7 +2675,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonValue type constant` + - `JsonValue type = "computer_toolset_20260801"` - `Optional cacheControl` @@ -2896,13 +2896,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolTextEditor20250124:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250124"` - `Optional> allowedCallers` @@ -2930,13 +2930,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolTextEditor20250429:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250429"` - `Optional> allowedCallers` @@ -2964,13 +2964,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolTextEditor20250728:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250728"` - `Optional> allowedCallers` @@ -3004,13 +3004,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebSearchTool20250305:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20250305"` - `Optional> allowedCallers` @@ -3052,7 +3052,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Parameters for the user's location. Used to provide more relevant search results. - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -3080,13 +3080,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebFetchTool20250910:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20250910"` - `Optional> allowedCallers` @@ -3136,13 +3136,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebSearchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260209"` - `Optional> allowedCallers` @@ -3186,13 +3186,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebFetchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260209"` - `Optional> allowedCallers` @@ -3244,13 +3244,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260309"` - `Optional> allowedCallers` @@ -3304,13 +3304,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebSearchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260318"` - `Optional> allowedCallers` @@ -3362,13 +3362,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebFetchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260318"` - `Optional> allowedCallers` @@ -3436,13 +3436,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonValue name constant` + - `JsonValue name = "advisor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "advisor_20260301"` - `Optional> allowedCallers` @@ -3484,7 +3484,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolSearchToolBm25_20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_bm25"` Name of the tool. @@ -3520,7 +3520,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolSearchToolRegex20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_regex"` Name of the tool. @@ -3567,7 +3567,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 255, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "mcp_toolset"` - `Optional cacheControl` @@ -3736,7 +3736,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocation:` @@ -3756,7 +3756,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -3786,7 +3786,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -3798,7 +3798,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -3834,13 +3834,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaThinkingBlock:` @@ -3856,7 +3856,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -3868,7 +3868,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -3882,7 +3882,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional caller` @@ -3892,7 +3892,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -3902,7 +3902,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -3910,7 +3910,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -3944,7 +3944,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional caller` @@ -3980,7 +3980,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -3990,7 +3990,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -3998,7 +3998,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional caller` @@ -4040,7 +4040,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -4060,29 +4060,29 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -4092,7 +4092,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional caller` @@ -4130,7 +4130,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -4140,7 +4140,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -4152,13 +4152,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -4178,7 +4178,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -4186,7 +4186,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -4194,7 +4194,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -4204,7 +4204,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -4212,13 +4212,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -4238,7 +4238,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -4246,7 +4246,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -4254,13 +4254,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -4282,7 +4282,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -4302,13 +4302,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -4322,13 +4322,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -4348,7 +4348,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -4358,15 +4358,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -4384,7 +4384,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -4404,7 +4404,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `boolean isError` @@ -4412,7 +4412,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -4420,7 +4420,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `class BetaCompactionBlock:` @@ -4438,7 +4438,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `class BetaFallbackBlock:` @@ -4564,9 +4564,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - - `JsonValue type constant` + - `JsonValue type = "fallback"` - `Optional contextManagement` @@ -4592,7 +4592,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -4610,7 +4610,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_thinking_20251015"` The type of context management edit applied. @@ -4629,7 +4629,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -4637,7 +4637,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -4645,7 +4645,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -4653,15 +4653,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonValue type constant` + - `JsonValue type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonValue type constant` + - `JsonValue type = "unavailable"` - `Model model` @@ -4669,7 +4669,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonValue role constant` + - `JsonValue role = "assistant"` Conversational role of the generated message. @@ -4758,7 +4758,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - `Optional stopReason` @@ -4798,7 +4798,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonValue type constant` + - `JsonValue type = "message"` Object type. @@ -4862,7 +4862,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonValue type constant` + - `JsonValue type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -4899,7 +4899,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `WRONG_WORKSPACE("wrong_workspace")` - - `JsonValue type constant` + - `JsonValue type = "not_applied"` - `Optional> removeToRedeem` @@ -4972,7 +4972,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "message"` Usage for a sampling iteration @@ -5008,7 +5008,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "compaction"` Usage for a compaction iteration @@ -5050,7 +5050,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -5097,7 +5097,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -5211,7 +5211,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `END_USER_BINDING_MISMATCH("end_user_binding_mismatch")` - - `JsonValue type constant` + - `JsonValue type = "thinking_dropped"` Always `thinking_dropped` for this entry type. @@ -5221,7 +5221,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `BetaMessage message` - - `JsonValue type constant` + - `JsonValue type = "message_start"` - `class BetaRawMessageDeltaEvent:` @@ -5243,7 +5243,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional stopSequence` - - `JsonValue type constant` + - `JsonValue type = "message_delta"` - `BetaMessageDeltaUsage usage` @@ -5369,13 +5369,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co `organization_binding_mismatch`, `end_user_binding_mismatch`, `model_binding_mismatch`, `prefix_binding_mismatch`. - - `JsonValue type constant` + - `JsonValue type = "thinking_dropped"` Always `thinking_dropped` for this entry type. - `class BetaRawMessageStopEvent:` - - `JsonValue type constant` + - `JsonValue type = "message_stop"` - `class BetaRawContentBlockStartEvent:` @@ -5439,7 +5439,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `long index` - - `JsonValue type constant` + - `JsonValue type = "content_block_start"` - `class BetaRawContentBlockDeltaEvent:` @@ -5449,13 +5449,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String text` - - `JsonValue type constant` + - `JsonValue type = "text_delta"` - `class BetaInputJsonDelta:` - `String partialJson` - - `JsonValue type constant` + - `JsonValue type = "input_json_delta"` - `class BetaCitationsDelta:` @@ -5471,7 +5471,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaCitationSearchResultLocation:` - - `JsonValue type constant` + - `JsonValue type = "citations_delta"` - `class BetaThinkingDelta:` @@ -5483,7 +5483,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The incremental `thinking` text for this content block. Concatenate the `thinking` values of successive `thinking_delta` events to assemble the block's full `thinking` value. - - `JsonValue type constant` + - `JsonValue type = "thinking_delta"` - `class BetaSignatureDelta:` @@ -5491,7 +5491,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `signature` for this thinking block: an opaque value used to verify that the block was generated by Claude when it is passed back to the API. Delivered in a `signature_delta` event just before the block's `content_block_stop` event. - - `JsonValue type constant` + - `JsonValue type = "signature_delta"` - `class BetaCompactionContentBlockDelta:` @@ -5501,17 +5501,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonValue type constant` + - `JsonValue type = "compaction_delta"` - `long index` - - `JsonValue type constant` + - `JsonValue type = "content_block_delta"` - `class BetaRawContentBlockStopEvent:` - `long index` - - `JsonValue type constant` + - `JsonValue type = "content_block_stop"` ### Example @@ -5825,13 +5825,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -5868,7 +5868,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -5888,7 +5888,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -5918,7 +5918,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -5930,7 +5930,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -5968,7 +5968,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class BetaImageBlockParam:` @@ -5990,11 +5990,11 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaUrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -6002,9 +6002,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -6032,17 +6032,17 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaContentBlockSource:` @@ -6056,11 +6056,11 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaImageBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class BetaUrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -6068,9 +6068,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -6096,7 +6096,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -6108,7 +6108,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String title` - - `JsonValue type constant` + - `JsonValue type = "search_result"` - `Optional cacheControl` @@ -6128,7 +6128,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ The `thinking` text of this block as returned by the API. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class BetaRedactedThinkingBlockParam:` @@ -6136,7 +6136,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class BetaToolUseBlockParam:` @@ -6150,7 +6150,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 200, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional cacheControl` @@ -6164,7 +6164,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -6174,7 +6174,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -6182,7 +6182,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -6196,7 +6196,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_result"` - `Optional cacheControl` @@ -6224,7 +6224,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` @@ -6268,7 +6268,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonValue type constant` + - `JsonValue type = "browser_state"` - `Optional cacheControl` @@ -6296,7 +6296,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -6308,7 +6308,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -6329,7 +6329,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -6359,7 +6359,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -6407,7 +6407,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional cacheControl` @@ -6437,7 +6437,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -6459,13 +6459,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional cacheControl` @@ -6511,13 +6511,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlockParam:` - `BetaRequestDocumentBlock content` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -6531,7 +6531,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional cacheControl` @@ -6573,13 +6573,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlockParam:` - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `Optional stopReason` @@ -6589,7 +6589,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `Optional stopReason` @@ -6597,7 +6597,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `Optional cacheControl` @@ -6621,7 +6621,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -6629,7 +6629,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -6637,7 +6637,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -6647,7 +6647,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -6655,13 +6655,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `Optional cacheControl` @@ -6685,7 +6685,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlockParam:` @@ -6693,7 +6693,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -6701,13 +6701,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `Optional cacheControl` @@ -6731,7 +6731,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `FILE_NOT_FOUND("file_not_found")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `Optional errorMessage` @@ -6747,7 +6747,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `PDF("pdf")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `Optional numLines` @@ -6759,11 +6759,11 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `Optional> lines` @@ -6779,7 +6779,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `Optional cacheControl` @@ -6801,7 +6801,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `Optional errorMessage` @@ -6813,19 +6813,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `Optional cacheControl` @@ -6845,7 +6845,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `Optional cacheControl` @@ -6857,7 +6857,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `Optional cacheControl` @@ -6873,7 +6873,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -6890,7 +6890,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Optional cacheControl` @@ -6906,7 +6906,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ When content is None, the block represents a failed compaction. The server treats these as no-ops. Empty string content is not allowed. - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `Optional cacheControl` @@ -6946,7 +6946,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -6957,7 +6957,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -6965,9 +6965,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_toolset_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_addition"` - `Optional cacheControl` @@ -7004,7 +7004,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Reference to every tool in the named MCP server's toolset. - - `JsonValue type constant` + - `JsonValue type = "tool_removal"` - `Optional cacheControl` @@ -7108,7 +7108,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Identifies one hop of a fallback transition. - - `JsonValue type constant` + - `JsonValue type = "fallback"` - `Optional trigger` @@ -7176,7 +7176,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String name` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -7214,7 +7214,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -7306,7 +7306,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -7358,13 +7358,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolBash20241022:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20241022"` - `Optional> allowedCallers` @@ -7392,13 +7392,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolBash20250124:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20250124"` - `Optional> allowedCallers` @@ -7426,13 +7426,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaCodeExecutionTool20250522:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250522"` - `Optional> allowedCallers` @@ -7458,13 +7458,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaCodeExecutionTool20250825:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `Optional> allowedCallers` @@ -7492,13 +7492,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional> allowedCallers` @@ -7526,13 +7526,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Code execution tool with REPL state persistence. - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260521"` - `Optional> allowedCallers` @@ -7563,7 +7563,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ the family's tool with any members disabled via `configs` removed from its schema. - - `JsonValue type constant` + - `JsonValue type = "browser_toolset_20260801"` - `Optional cacheControl` @@ -7964,13 +7964,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20241022"` - `Optional> allowedCallers` @@ -8004,13 +8004,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaMemoryTool20250818:` - - `JsonValue name constant` + - `JsonValue name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "memory_20250818"` - `Optional> allowedCallers` @@ -8050,13 +8050,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20250124"` - `Optional> allowedCallers` @@ -8090,13 +8090,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolTextEditor20241022:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20241022"` - `Optional> allowedCallers` @@ -8136,13 +8136,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20251124"` - `Optional> allowedCallers` @@ -8189,7 +8189,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonValue type constant` + - `JsonValue type = "computer_toolset_20260801"` - `Optional cacheControl` @@ -8410,13 +8410,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolTextEditor20250124:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250124"` - `Optional> allowedCallers` @@ -8444,13 +8444,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolTextEditor20250429:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250429"` - `Optional> allowedCallers` @@ -8478,13 +8478,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolTextEditor20250728:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250728"` - `Optional> allowedCallers` @@ -8518,13 +8518,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebSearchTool20250305:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20250305"` - `Optional> allowedCallers` @@ -8566,7 +8566,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Parameters for the user's location. Used to provide more relevant search results. - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -8594,13 +8594,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebFetchTool20250910:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20250910"` - `Optional> allowedCallers` @@ -8650,13 +8650,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebSearchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260209"` - `Optional> allowedCallers` @@ -8700,13 +8700,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebFetchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260209"` - `Optional> allowedCallers` @@ -8758,13 +8758,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260309"` - `Optional> allowedCallers` @@ -8818,13 +8818,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebSearchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260318"` - `Optional> allowedCallers` @@ -8876,13 +8876,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebFetchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260318"` - `Optional> allowedCallers` @@ -8950,13 +8950,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonValue name constant` + - `JsonValue name = "advisor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "advisor_20260301"` - `Optional> allowedCallers` @@ -8998,7 +8998,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolSearchToolBm25_20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_bm25"` Name of the tool. @@ -9034,7 +9034,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolSearchToolRegex20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_regex"` Name of the tool. @@ -9081,7 +9081,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 255, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "mcp_toolset"` - `Optional cacheControl` @@ -9286,7 +9286,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -9302,7 +9302,7 @@ public final class Main { The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` ### Beta Advisor Redacted Result Block Param @@ -9312,7 +9312,7 @@ public final class Main { Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `Optional stopReason` @@ -9326,7 +9326,7 @@ public final class Main { - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` ### Beta Advisor Result Block Param @@ -9334,7 +9334,7 @@ public final class Main { - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `Optional stopReason` @@ -9416,13 +9416,13 @@ public final class Main { High-performance model for agents and coding - - `JsonValue name constant` + - `JsonValue name = "advisor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "advisor_20260301"` - `Optional> allowedCallers` @@ -9438,7 +9438,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -9503,7 +9503,7 @@ public final class Main { - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -9513,7 +9513,7 @@ public final class Main { - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -9525,13 +9525,13 @@ public final class Main { The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` ### Beta Advisor Tool Result Block Param @@ -9557,13 +9557,13 @@ public final class Main { - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlockParam:` - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `Optional stopReason` @@ -9573,7 +9573,7 @@ public final class Main { Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `Optional stopReason` @@ -9581,13 +9581,13 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -9624,7 +9624,7 @@ public final class Main { - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` ### Beta Advisor Tool Result Error Param @@ -9646,13 +9646,13 @@ public final class Main { - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` ### Beta All Thinking Turns - `class BetaAllThinkingTurns:` - - `JsonValue type constant` + - `JsonValue type = "all"` ### Beta Base64 Image Source @@ -9672,7 +9672,7 @@ public final class Main { - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` ### Beta Base64 PDF Source @@ -9682,9 +9682,9 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` ### Beta Bash Code Execution Output Block @@ -9692,7 +9692,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` ### Beta Bash Code Execution Output Block Param @@ -9700,7 +9700,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` ### Beta Bash Code Execution Result Block @@ -9710,7 +9710,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -9718,7 +9718,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` ### Beta Bash Code Execution Result Block Param @@ -9728,7 +9728,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -9736,7 +9736,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` ### Beta Bash Code Execution Tool Result Block @@ -9758,7 +9758,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -9766,7 +9766,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -9774,13 +9774,13 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` ### Beta Bash Code Execution Tool Result Block Param @@ -9802,7 +9802,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlockParam:` @@ -9810,7 +9810,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -9818,19 +9818,19 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -9863,7 +9863,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` ### Beta Bash Code Execution Tool Result Error Param @@ -9881,7 +9881,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` ### Beta Browser Close Tab Config @@ -10287,13 +10287,13 @@ public final class Main { Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonValue type constant` + - `JsonValue type = "browser_state"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -10332,7 +10332,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -10344,7 +10344,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -10365,7 +10365,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -10395,7 +10395,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -10437,7 +10437,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -10449,7 +10449,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -10470,7 +10470,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -10500,7 +10500,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -10529,7 +10529,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -10561,7 +10561,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -10587,7 +10587,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -10613,7 +10613,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` ### Beta Browser State Tab Entry @@ -10673,13 +10673,13 @@ public final class Main { the family's tool with any members disabled via `configs` removed from its schema. - - `JsonValue type constant` + - `JsonValue type = "browser_toolset_20260801"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -11520,7 +11520,7 @@ public final class Main { - `class BetaCacheControlEphemeral:` - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -11561,7 +11561,7 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "messages_changed"` ### Beta Cache Miss Model Changed @@ -11571,13 +11571,13 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "model_changed"` ### Beta Cache Miss Previous Message Not Found - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonValue type constant` + - `JsonValue type = "previous_message_not_found"` ### Beta Cache Miss System Changed @@ -11587,7 +11587,7 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "system_changed"` ### Beta Cache Miss Tools Changed @@ -11597,13 +11597,13 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "tools_changed"` ### Beta Cache Miss Unavailable - `class BetaCacheMissUnavailable:` - - `JsonValue type constant` + - `JsonValue type = "unavailable"` ### Beta Citation Char Location @@ -11625,7 +11625,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` ### Beta Citation Char Location Param @@ -11647,7 +11647,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` ### Beta Citation Config @@ -11685,7 +11685,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` ### Beta Citation Content Block Location Param @@ -11717,7 +11717,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` ### Beta Citation Page Location @@ -11739,7 +11739,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` ### Beta Citation Page Location Param @@ -11761,7 +11761,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` ### Beta Citation Search Result Location @@ -11797,7 +11797,7 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` ### Beta Citation Search Result Location Param @@ -11833,7 +11833,7 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` ### Beta Citation Web Search Result Location Param @@ -11847,7 +11847,7 @@ public final class Main { maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -11883,7 +11883,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocation:` @@ -11903,7 +11903,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -11933,7 +11933,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -11945,7 +11945,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -11981,9 +11981,9 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - - `JsonValue type constant` + - `JsonValue type = "citations_delta"` ### Beta Citations Web Search Result Location @@ -11997,7 +11997,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -12005,7 +12005,7 @@ public final class Main { - `class BetaClearThinking20251015Edit:` - - `JsonValue type constant` + - `JsonValue type = "clear_thinking_20251015"` - `Optional keep` @@ -12013,7 +12013,7 @@ public final class Main { - `class BetaThinkingTurns:` - - `JsonValue type constant` + - `JsonValue type = "thinking_turns"` - `long value` @@ -12021,7 +12021,7 @@ public final class Main { - `class BetaAllThinkingTurns:` - - `JsonValue type constant` + - `JsonValue type = "all"` - `JsonValue` @@ -12041,7 +12041,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_thinking_20251015"` The type of context management edit applied. @@ -12049,13 +12049,13 @@ public final class Main { - `class BetaClearToolUses20250919Edit:` - - `JsonValue type constant` + - `JsonValue type = "clear_tool_uses_20250919"` - `Optional clearAtLeast` Minimum number of tokens that must be cleared when triggered. Context will only be modified if at least this many tokens can be removed. - - `JsonValue type constant` + - `JsonValue type = "input_tokens"` - `long value` @@ -12077,7 +12077,7 @@ public final class Main { Number of tool uses to retain in the conversation - - `JsonValue type constant` + - `JsonValue type = "tool_uses"` - `long value` @@ -12089,7 +12089,7 @@ public final class Main { - `class BetaInputTokensTrigger:` - - `JsonValue type constant` + - `JsonValue type = "input_tokens"` - `long value` @@ -12097,7 +12097,7 @@ public final class Main { - `class BetaToolUsesTrigger:` - - `JsonValue type constant` + - `JsonValue type = "tool_uses"` - `long value` @@ -12119,7 +12119,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -12129,7 +12129,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` ### Beta Code Execution Output Block Param @@ -12137,7 +12137,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` ### Beta Code Execution Result Block @@ -12147,7 +12147,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -12155,7 +12155,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` ### Beta Code Execution Result Block Param @@ -12165,7 +12165,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -12173,19 +12173,19 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` ### Beta Code Execution Tool 20250522 - `class BetaCodeExecutionTool20250522:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250522"` - `Optional> allowedCallers` @@ -12201,7 +12201,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -12230,13 +12230,13 @@ public final class Main { - `class BetaCodeExecutionTool20250825:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `Optional> allowedCallers` @@ -12252,7 +12252,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -12283,13 +12283,13 @@ public final class Main { Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional> allowedCallers` @@ -12305,7 +12305,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -12336,13 +12336,13 @@ public final class Main { Code execution tool with REPL state persistence. - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260521"` - `Optional> allowedCallers` @@ -12358,7 +12358,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -12403,7 +12403,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -12411,7 +12411,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -12419,7 +12419,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -12429,7 +12429,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -12437,13 +12437,13 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` ### Beta Code Execution Tool Result Block Content @@ -12463,7 +12463,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -12471,7 +12471,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -12479,7 +12479,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -12489,7 +12489,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -12497,7 +12497,7 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` ### Beta Code Execution Tool Result Block Param @@ -12519,7 +12519,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -12527,7 +12527,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -12535,7 +12535,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -12545,7 +12545,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -12553,19 +12553,19 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -12600,7 +12600,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -12608,7 +12608,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -12616,7 +12616,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -12626,7 +12626,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -12634,7 +12634,7 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` ### Beta Code Execution Tool Result Error @@ -12650,7 +12650,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` ### Beta Code Execution Tool Result Error Code @@ -12678,7 +12678,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` ### Beta Compact 20260112 Edit @@ -12686,7 +12686,7 @@ public final class Main { Automatically compact older context when reaching the configured trigger threshold. - - `JsonValue type constant` + - `JsonValue type = "compact_20260112"` - `Optional instructions` @@ -12700,7 +12700,7 @@ public final class Main { When to trigger compaction. Defaults to 150000 input tokens. - - `JsonValue type constant` + - `JsonValue type = "input_tokens"` - `long value` @@ -12724,7 +12724,7 @@ public final class Main { Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonValue type constant` + - `JsonValue type = "compaction"` ### Beta Compaction Block Param @@ -12738,13 +12738,13 @@ public final class Main { When content is None, the block represents a failed compaction. The server treats these as no-ops. Empty string content is not allowed. - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -12779,7 +12779,7 @@ public final class Main { Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonValue type constant` + - `JsonValue type = "compaction_delta"` ### Beta Compaction Iteration Usage @@ -12827,7 +12827,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "compaction"` Usage for a compaction iteration @@ -13026,13 +13026,13 @@ public final class Main { `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonValue type constant` + - `JsonValue type = "computer_toolset_20260801"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -13643,7 +13643,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` ### Beta Container Upload Block Param @@ -13654,13 +13654,13 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -13709,7 +13709,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocation:` @@ -13729,7 +13729,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -13759,7 +13759,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -13771,7 +13771,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -13807,13 +13807,13 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaThinkingBlock:` @@ -13829,7 +13829,7 @@ public final class Main { The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -13841,7 +13841,7 @@ public final class Main { See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -13855,7 +13855,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional caller` @@ -13865,7 +13865,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -13875,7 +13875,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -13883,7 +13883,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -13917,7 +13917,7 @@ public final class Main { - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional caller` @@ -13953,7 +13953,7 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -13963,7 +13963,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -13971,7 +13971,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional caller` @@ -14013,7 +14013,7 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -14033,29 +14033,29 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -14065,7 +14065,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional caller` @@ -14103,7 +14103,7 @@ public final class Main { - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -14113,7 +14113,7 @@ public final class Main { - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -14125,13 +14125,13 @@ public final class Main { The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -14151,7 +14151,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -14159,7 +14159,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -14167,7 +14167,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -14177,7 +14177,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -14185,13 +14185,13 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -14211,7 +14211,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -14219,7 +14219,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -14227,13 +14227,13 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -14255,7 +14255,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -14275,13 +14275,13 @@ public final class Main { - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -14295,13 +14295,13 @@ public final class Main { - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -14321,7 +14321,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -14331,15 +14331,15 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -14357,7 +14357,7 @@ public final class Main { The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -14377,7 +14377,7 @@ public final class Main { maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `boolean isError` @@ -14385,7 +14385,7 @@ public final class Main { pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -14393,7 +14393,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `class BetaCompactionBlock:` @@ -14411,7 +14411,7 @@ public final class Main { Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `class BetaFallbackBlock:` @@ -14537,9 +14537,9 @@ public final class Main { The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - - `JsonValue type constant` + - `JsonValue type = "fallback"` ### Beta Content Block Param @@ -14553,13 +14553,13 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -14596,7 +14596,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -14616,7 +14616,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -14646,7 +14646,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -14658,7 +14658,7 @@ public final class Main { maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -14696,7 +14696,7 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class BetaImageBlockParam:` @@ -14718,11 +14718,11 @@ public final class Main { - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaUrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -14730,9 +14730,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -14760,17 +14760,17 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaContentBlockSource:` @@ -14784,11 +14784,11 @@ public final class Main { - `class BetaImageBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class BetaUrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -14796,9 +14796,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -14824,7 +14824,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -14836,7 +14836,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "search_result"` - `Optional cacheControl` @@ -14856,7 +14856,7 @@ public final class Main { The `thinking` text of this block as returned by the API. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class BetaRedactedThinkingBlockParam:` @@ -14864,7 +14864,7 @@ public final class Main { The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class BetaToolUseBlockParam:` @@ -14878,7 +14878,7 @@ public final class Main { maxLength: 200, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional cacheControl` @@ -14892,7 +14892,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -14902,7 +14902,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -14910,7 +14910,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -14924,7 +14924,7 @@ public final class Main { pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_result"` - `Optional cacheControl` @@ -14952,7 +14952,7 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` @@ -14996,7 +14996,7 @@ public final class Main { Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonValue type constant` + - `JsonValue type = "browser_state"` - `Optional cacheControl` @@ -15024,7 +15024,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -15036,7 +15036,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -15057,7 +15057,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -15087,7 +15087,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -15135,7 +15135,7 @@ public final class Main { - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional cacheControl` @@ -15165,7 +15165,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -15187,13 +15187,13 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional cacheControl` @@ -15239,13 +15239,13 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlockParam:` - `BetaRequestDocumentBlock content` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -15259,7 +15259,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional cacheControl` @@ -15301,13 +15301,13 @@ public final class Main { - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlockParam:` - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `Optional stopReason` @@ -15317,7 +15317,7 @@ public final class Main { Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `Optional stopReason` @@ -15325,7 +15325,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `Optional cacheControl` @@ -15349,7 +15349,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -15357,7 +15357,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -15365,7 +15365,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -15375,7 +15375,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -15383,13 +15383,13 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `Optional cacheControl` @@ -15413,7 +15413,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlockParam:` @@ -15421,7 +15421,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -15429,13 +15429,13 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `Optional cacheControl` @@ -15459,7 +15459,7 @@ public final class Main { - `FILE_NOT_FOUND("file_not_found")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `Optional errorMessage` @@ -15475,7 +15475,7 @@ public final class Main { - `PDF("pdf")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `Optional numLines` @@ -15487,11 +15487,11 @@ public final class Main { - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `Optional> lines` @@ -15507,7 +15507,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `Optional cacheControl` @@ -15529,7 +15529,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `Optional errorMessage` @@ -15541,19 +15541,19 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `Optional cacheControl` @@ -15573,7 +15573,7 @@ public final class Main { The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `Optional cacheControl` @@ -15585,7 +15585,7 @@ public final class Main { pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `Optional cacheControl` @@ -15601,7 +15601,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -15618,7 +15618,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Optional cacheControl` @@ -15634,7 +15634,7 @@ public final class Main { When content is None, the block represents a failed compaction. The server treats these as no-ops. Empty string content is not allowed. - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `Optional cacheControl` @@ -15674,7 +15674,7 @@ public final class Main { pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -15685,7 +15685,7 @@ public final class Main { - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -15693,9 +15693,9 @@ public final class Main { - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_toolset_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_addition"` - `Optional cacheControl` @@ -15732,7 +15732,7 @@ public final class Main { Reference to every tool in the named MCP server's toolset. - - `JsonValue type constant` + - `JsonValue type = "tool_removal"` - `Optional cacheControl` @@ -15836,7 +15836,7 @@ public final class Main { Identifies one hop of a fallback transition. - - `JsonValue type constant` + - `JsonValue type = "fallback"` - `Optional trigger` @@ -15858,13 +15858,13 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -15901,7 +15901,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -15921,7 +15921,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -15951,7 +15951,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -15963,7 +15963,7 @@ public final class Main { maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -16001,7 +16001,7 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class BetaImageBlockParam:` @@ -16023,11 +16023,11 @@ public final class Main { - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaUrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -16035,9 +16035,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -16055,7 +16055,7 @@ public final class Main { - `ERROR("error")` - - `JsonValue type constant` + - `JsonValue type = "content"` ### Beta Content Block Source Content @@ -16067,13 +16067,13 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -16110,7 +16110,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -16130,7 +16130,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -16160,7 +16160,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -16172,7 +16172,7 @@ public final class Main { maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -16210,7 +16210,7 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class BetaImageBlockParam:` @@ -16232,11 +16232,11 @@ public final class Main { - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaUrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -16244,9 +16244,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -16276,13 +16276,13 @@ public final class Main { - `class BetaClearToolUses20250919Edit:` - - `JsonValue type constant` + - `JsonValue type = "clear_tool_uses_20250919"` - `Optional clearAtLeast` Minimum number of tokens that must be cleared when triggered. Context will only be modified if at least this many tokens can be removed. - - `JsonValue type constant` + - `JsonValue type = "input_tokens"` - `long value` @@ -16304,7 +16304,7 @@ public final class Main { Number of tool uses to retain in the conversation - - `JsonValue type constant` + - `JsonValue type = "tool_uses"` - `long value` @@ -16316,7 +16316,7 @@ public final class Main { - `class BetaInputTokensTrigger:` - - `JsonValue type constant` + - `JsonValue type = "input_tokens"` - `long value` @@ -16324,7 +16324,7 @@ public final class Main { - `class BetaToolUsesTrigger:` - - `JsonValue type constant` + - `JsonValue type = "tool_uses"` - `long value` @@ -16332,7 +16332,7 @@ public final class Main { - `class BetaClearThinking20251015Edit:` - - `JsonValue type constant` + - `JsonValue type = "clear_thinking_20251015"` - `Optional keep` @@ -16340,7 +16340,7 @@ public final class Main { - `class BetaThinkingTurns:` - - `JsonValue type constant` + - `JsonValue type = "thinking_turns"` - `long value` @@ -16348,7 +16348,7 @@ public final class Main { - `class BetaAllThinkingTurns:` - - `JsonValue type constant` + - `JsonValue type = "all"` - `JsonValue` @@ -16356,7 +16356,7 @@ public final class Main { Automatically compact older context when reaching the configured trigger threshold. - - `JsonValue type constant` + - `JsonValue type = "compact_20260112"` - `Optional instructions` @@ -16392,7 +16392,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -16410,7 +16410,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_thinking_20251015"` The type of context management edit applied. @@ -16439,7 +16439,7 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -16447,7 +16447,7 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -16455,7 +16455,7 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -16463,15 +16463,15 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonValue type constant` + - `JsonValue type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonValue type constant` + - `JsonValue type = "unavailable"` ### Beta Diagnostics Param @@ -16492,7 +16492,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` ### Beta Document Block @@ -16512,23 +16512,23 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` ### Beta Encrypted Code Execution Result Block @@ -16540,7 +16540,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -16548,7 +16548,7 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` ### Beta Encrypted Code Execution Result Block Param @@ -16560,7 +16560,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -16568,7 +16568,7 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` ### Beta Fallback Block @@ -16696,9 +16696,9 @@ public final class Main { The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - - `JsonValue type constant` + - `JsonValue type = "fallback"` ### Beta Fallback Block Param @@ -16800,7 +16800,7 @@ public final class Main { Identifies one hop of a fallback transition. - - `JsonValue type constant` + - `JsonValue type = "fallback"` - `Optional trigger` @@ -16843,7 +16843,7 @@ public final class Main { - `WRONG_WORKSPACE("wrong_workspace")` - - `JsonValue type constant` + - `JsonValue type = "not_applied"` - `Optional> removeToRedeem` @@ -16863,7 +16863,7 @@ public final class Main { The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonValue type constant` + - `JsonValue type = "redeemed"` ### Beta Fallback Credit Token Param @@ -16911,7 +16911,7 @@ public final class Main { The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonValue type constant` + - `JsonValue type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -16948,7 +16948,7 @@ public final class Main { - `WRONG_WORKSPACE("wrong_workspace")` - - `JsonValue type constant` + - `JsonValue type = "not_applied"` - `Optional> removeToRedeem` @@ -17246,7 +17246,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -17361,7 +17361,7 @@ public final class Main { The JSON schema of the format - - `JsonValue type constant` + - `JsonValue type = "json_schema"` - `Optional taskBudget` @@ -17373,7 +17373,7 @@ public final class Main { minimum: 1024 - - `JsonValue type constant` + - `JsonValue type = "tokens"` The budget type. Currently only 'tokens' is supported. @@ -17405,7 +17405,7 @@ public final class Main { minimum: 1024 - - `JsonValue type constant` + - `JsonValue type = "enabled"` - `Optional blockBinding` @@ -17437,11 +17437,11 @@ public final class Main { - `class BetaThinkingConfigDisabled:` - - `JsonValue type constant` + - `JsonValue type = "disabled"` - `class BetaThinkingConfigAdaptive:` - - `JsonValue type constant` + - `JsonValue type = "adaptive"` - `Optional blockBinding` @@ -17489,7 +17489,7 @@ public final class Main { The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` ### Beta Fallbacks Param @@ -17599,7 +17599,7 @@ public final class Main { The JSON schema of the format - - `JsonValue type constant` + - `JsonValue type = "json_schema"` - `Optional taskBudget` @@ -17611,7 +17611,7 @@ public final class Main { minimum: 1024 - - `JsonValue type constant` + - `JsonValue type = "tokens"` The budget type. Currently only 'tokens' is supported. @@ -17643,7 +17643,7 @@ public final class Main { minimum: 1024 - - `JsonValue type constant` + - `JsonValue type = "enabled"` - `Optional blockBinding` @@ -17675,11 +17675,11 @@ public final class Main { - `class BetaThinkingConfigDisabled:` - - `JsonValue type constant` + - `JsonValue type = "disabled"` - `class BetaThinkingConfigAdaptive:` - - `JsonValue type constant` + - `JsonValue type = "adaptive"` - `Optional blockBinding` @@ -17705,7 +17705,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` ### Beta File Image Source @@ -17713,7 +17713,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` ### Beta Image Block Param @@ -17737,11 +17737,11 @@ public final class Main { - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaUrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -17749,15 +17749,15 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -17806,13 +17806,13 @@ public final class Main { - `String partialJson` - - `JsonValue type constant` + - `JsonValue type = "input_json_delta"` ### Beta Input Tokens Clear At Least - `class BetaInputTokensClearAtLeast:` - - `JsonValue type constant` + - `JsonValue type = "input_tokens"` - `long value` @@ -17822,7 +17822,7 @@ public final class Main { - `class BetaInputTokensTrigger:` - - `JsonValue type constant` + - `JsonValue type = "input_tokens"` - `long value` @@ -17836,7 +17836,7 @@ public final class Main { The JSON schema of the format - - `JsonValue type constant` + - `JsonValue type = "json_schema"` ### Beta MCP Tool Config @@ -17892,7 +17892,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocation:` @@ -17912,7 +17912,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -17942,7 +17942,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -17954,7 +17954,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -17990,13 +17990,13 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `boolean isError` @@ -18004,7 +18004,7 @@ public final class Main { pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` ### Beta MCP Tool Use Block @@ -18024,7 +18024,7 @@ public final class Main { The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` ### Beta MCP Tool Use Block Param @@ -18042,13 +18042,13 @@ public final class Main { The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -18080,13 +18080,13 @@ public final class Main { maxLength: 255, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "mcp_toolset"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -18123,13 +18123,13 @@ public final class Main { - `class BetaMemoryTool20250818:` - - `JsonValue name constant` + - `JsonValue name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "memory_20250818"` - `Optional> allowedCallers` @@ -18145,7 +18145,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -18178,7 +18178,7 @@ public final class Main { - `class BetaMemoryTool20250818ViewCommand:` - - `JsonValue command constant` + - `JsonValue command = "view"` Command type identifier @@ -18194,7 +18194,7 @@ public final class Main { - `class BetaMemoryTool20250818CreateCommand:` - - `JsonValue command constant` + - `JsonValue command = "create"` Command type identifier @@ -18208,7 +18208,7 @@ public final class Main { - `class BetaMemoryTool20250818StrReplaceCommand:` - - `JsonValue command constant` + - `JsonValue command = "str_replace"` Command type identifier @@ -18226,7 +18226,7 @@ public final class Main { - `class BetaMemoryTool20250818InsertCommand:` - - `JsonValue command constant` + - `JsonValue command = "insert"` Command type identifier @@ -18246,7 +18246,7 @@ public final class Main { - `class BetaMemoryTool20250818DeleteCommand:` - - `JsonValue command constant` + - `JsonValue command = "delete"` Command type identifier @@ -18256,7 +18256,7 @@ public final class Main { - `class BetaMemoryTool20250818RenameCommand:` - - `JsonValue command constant` + - `JsonValue command = "rename"` Command type identifier @@ -18272,7 +18272,7 @@ public final class Main { - `class BetaMemoryTool20250818CreateCommand:` - - `JsonValue command constant` + - `JsonValue command = "create"` Command type identifier @@ -18288,7 +18288,7 @@ public final class Main { - `class BetaMemoryTool20250818DeleteCommand:` - - `JsonValue command constant` + - `JsonValue command = "delete"` Command type identifier @@ -18300,7 +18300,7 @@ public final class Main { - `class BetaMemoryTool20250818InsertCommand:` - - `JsonValue command constant` + - `JsonValue command = "insert"` Command type identifier @@ -18322,7 +18322,7 @@ public final class Main { - `class BetaMemoryTool20250818RenameCommand:` - - `JsonValue command constant` + - `JsonValue command = "rename"` Command type identifier @@ -18338,7 +18338,7 @@ public final class Main { - `class BetaMemoryTool20250818StrReplaceCommand:` - - `JsonValue command constant` + - `JsonValue command = "str_replace"` Command type identifier @@ -18358,7 +18358,7 @@ public final class Main { - `class BetaMemoryTool20250818ViewCommand:` - - `JsonValue command constant` + - `JsonValue command = "view"` Command type identifier @@ -18475,7 +18475,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocation:` @@ -18495,7 +18495,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -18525,7 +18525,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -18537,7 +18537,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -18573,13 +18573,13 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaThinkingBlock:` @@ -18595,7 +18595,7 @@ public final class Main { The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -18607,7 +18607,7 @@ public final class Main { See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -18621,7 +18621,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional caller` @@ -18631,7 +18631,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -18641,7 +18641,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -18649,7 +18649,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -18683,7 +18683,7 @@ public final class Main { - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional caller` @@ -18719,7 +18719,7 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -18729,7 +18729,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -18737,7 +18737,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional caller` @@ -18779,7 +18779,7 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -18799,29 +18799,29 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -18831,7 +18831,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional caller` @@ -18869,7 +18869,7 @@ public final class Main { - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -18879,7 +18879,7 @@ public final class Main { - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -18891,13 +18891,13 @@ public final class Main { The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -18917,7 +18917,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -18925,7 +18925,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -18933,7 +18933,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -18943,7 +18943,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -18951,13 +18951,13 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -18977,7 +18977,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -18985,7 +18985,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -18993,13 +18993,13 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -19021,7 +19021,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -19041,13 +19041,13 @@ public final class Main { - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -19061,13 +19061,13 @@ public final class Main { - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -19087,7 +19087,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -19097,15 +19097,15 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -19123,7 +19123,7 @@ public final class Main { The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -19143,7 +19143,7 @@ public final class Main { maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `boolean isError` @@ -19151,7 +19151,7 @@ public final class Main { pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -19159,7 +19159,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `class BetaCompactionBlock:` @@ -19177,7 +19177,7 @@ public final class Main { Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `class BetaFallbackBlock:` @@ -19303,9 +19303,9 @@ public final class Main { The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - - `JsonValue type constant` + - `JsonValue type = "fallback"` - `Optional contextManagement` @@ -19331,7 +19331,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -19349,7 +19349,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_thinking_20251015"` The type of context management edit applied. @@ -19368,7 +19368,7 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -19376,7 +19376,7 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -19384,7 +19384,7 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -19392,15 +19392,15 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonValue type constant` + - `JsonValue type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonValue type constant` + - `JsonValue type = "unavailable"` - `Model model` @@ -19408,7 +19408,7 @@ public final class Main { See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonValue role constant` + - `JsonValue role = "assistant"` Conversational role of the generated message. @@ -19497,7 +19497,7 @@ public final class Main { The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - `Optional stopReason` @@ -19537,7 +19537,7 @@ public final class Main { This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonValue type constant` + - `JsonValue type = "message"` Object type. @@ -19601,7 +19601,7 @@ public final class Main { The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonValue type constant` + - `JsonValue type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -19638,7 +19638,7 @@ public final class Main { - `WRONG_WORKSPACE("wrong_workspace")` - - `JsonValue type constant` + - `JsonValue type = "not_applied"` - `Optional> removeToRedeem` @@ -19711,7 +19711,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "message"` Usage for a sampling iteration @@ -19747,7 +19747,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "compaction"` Usage for a compaction iteration @@ -19789,7 +19789,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -19836,7 +19836,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -19950,7 +19950,7 @@ public final class Main { - `END_USER_BINDING_MISMATCH("end_user_binding_mismatch")` - - `JsonValue type constant` + - `JsonValue type = "thinking_dropped"` Always `thinking_dropped` for this entry type. @@ -19988,7 +19988,7 @@ public final class Main { The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonValue type constant` + - `JsonValue type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -20025,7 +20025,7 @@ public final class Main { - `WRONG_WORKSPACE("wrong_workspace")` - - `JsonValue type constant` + - `JsonValue type = "not_applied"` - `Optional> removeToRedeem` @@ -20174,7 +20174,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "message"` Usage for a sampling iteration @@ -20210,7 +20210,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "compaction"` Usage for a compaction iteration @@ -20252,7 +20252,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -20299,7 +20299,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -20465,7 +20465,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "message"` Usage for a sampling iteration @@ -20485,13 +20485,13 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -20528,7 +20528,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -20548,7 +20548,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -20578,7 +20578,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -20590,7 +20590,7 @@ public final class Main { maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -20628,7 +20628,7 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class BetaImageBlockParam:` @@ -20650,11 +20650,11 @@ public final class Main { - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaUrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -20662,9 +20662,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -20692,17 +20692,17 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaContentBlockSource:` @@ -20716,11 +20716,11 @@ public final class Main { - `class BetaImageBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class BetaUrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -20728,9 +20728,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -20756,7 +20756,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -20768,7 +20768,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "search_result"` - `Optional cacheControl` @@ -20788,7 +20788,7 @@ public final class Main { The `thinking` text of this block as returned by the API. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class BetaRedactedThinkingBlockParam:` @@ -20796,7 +20796,7 @@ public final class Main { The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class BetaToolUseBlockParam:` @@ -20810,7 +20810,7 @@ public final class Main { maxLength: 200, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional cacheControl` @@ -20824,7 +20824,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -20834,7 +20834,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -20842,7 +20842,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -20856,7 +20856,7 @@ public final class Main { pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_result"` - `Optional cacheControl` @@ -20884,7 +20884,7 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` @@ -20928,7 +20928,7 @@ public final class Main { Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonValue type constant` + - `JsonValue type = "browser_state"` - `Optional cacheControl` @@ -20956,7 +20956,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -20968,7 +20968,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -20989,7 +20989,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -21019,7 +21019,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -21067,7 +21067,7 @@ public final class Main { - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional cacheControl` @@ -21097,7 +21097,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -21119,13 +21119,13 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional cacheControl` @@ -21171,13 +21171,13 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlockParam:` - `BetaRequestDocumentBlock content` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -21191,7 +21191,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional cacheControl` @@ -21233,13 +21233,13 @@ public final class Main { - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlockParam:` - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `Optional stopReason` @@ -21249,7 +21249,7 @@ public final class Main { Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `Optional stopReason` @@ -21257,7 +21257,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `Optional cacheControl` @@ -21281,7 +21281,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -21289,7 +21289,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -21297,7 +21297,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -21307,7 +21307,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -21315,13 +21315,13 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `Optional cacheControl` @@ -21345,7 +21345,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlockParam:` @@ -21353,7 +21353,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -21361,13 +21361,13 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `Optional cacheControl` @@ -21391,7 +21391,7 @@ public final class Main { - `FILE_NOT_FOUND("file_not_found")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `Optional errorMessage` @@ -21407,7 +21407,7 @@ public final class Main { - `PDF("pdf")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `Optional numLines` @@ -21419,11 +21419,11 @@ public final class Main { - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `Optional> lines` @@ -21439,7 +21439,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `Optional cacheControl` @@ -21461,7 +21461,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `Optional errorMessage` @@ -21473,19 +21473,19 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `Optional cacheControl` @@ -21505,7 +21505,7 @@ public final class Main { The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `Optional cacheControl` @@ -21517,7 +21517,7 @@ public final class Main { pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `Optional cacheControl` @@ -21533,7 +21533,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -21550,7 +21550,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Optional cacheControl` @@ -21566,7 +21566,7 @@ public final class Main { When content is None, the block represents a failed compaction. The server treats these as no-ops. Empty string content is not allowed. - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `Optional cacheControl` @@ -21606,7 +21606,7 @@ public final class Main { pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -21617,7 +21617,7 @@ public final class Main { - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -21625,9 +21625,9 @@ public final class Main { - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_toolset_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_addition"` - `Optional cacheControl` @@ -21664,7 +21664,7 @@ public final class Main { Reference to every tool in the named MCP server's toolset. - - `JsonValue type constant` + - `JsonValue type = "tool_removal"` - `Optional cacheControl` @@ -21768,7 +21768,7 @@ public final class Main { Identifies one hop of a fallback transition. - - `JsonValue type constant` + - `JsonValue type = "fallback"` - `Optional trigger` @@ -21866,7 +21866,7 @@ public final class Main { The JSON schema of the format - - `JsonValue type constant` + - `JsonValue type = "json_schema"` - `Optional taskBudget` @@ -21878,7 +21878,7 @@ public final class Main { minimum: 1024 - - `JsonValue type constant` + - `JsonValue type = "tokens"` The budget type. Currently only 'tokens' is supported. @@ -21911,9 +21911,9 @@ public final class Main { - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` ### Beta Raw Content Block Delta @@ -21923,13 +21923,13 @@ public final class Main { - `String text` - - `JsonValue type constant` + - `JsonValue type = "text_delta"` - `class BetaInputJsonDelta:` - `String partialJson` - - `JsonValue type constant` + - `JsonValue type = "input_json_delta"` - `class BetaCitationsDelta:` @@ -21953,7 +21953,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocation:` @@ -21973,7 +21973,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -22003,7 +22003,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -22015,7 +22015,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -22051,9 +22051,9 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - - `JsonValue type constant` + - `JsonValue type = "citations_delta"` - `class BetaThinkingDelta:` @@ -22065,7 +22065,7 @@ public final class Main { The incremental `thinking` text for this content block. Concatenate the `thinking` values of successive `thinking_delta` events to assemble the block's full `thinking` value. - - `JsonValue type constant` + - `JsonValue type = "thinking_delta"` - `class BetaSignatureDelta:` @@ -22073,7 +22073,7 @@ public final class Main { The `signature` for this thinking block: an opaque value used to verify that the block was generated by Claude when it is passed back to the API. Delivered in a `signature_delta` event just before the block's `content_block_stop` event. - - `JsonValue type constant` + - `JsonValue type = "signature_delta"` - `class BetaCompactionContentBlockDelta:` @@ -22083,7 +22083,7 @@ public final class Main { Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonValue type constant` + - `JsonValue type = "compaction_delta"` ### Beta Raw Content Block Delta Event @@ -22095,13 +22095,13 @@ public final class Main { - `String text` - - `JsonValue type constant` + - `JsonValue type = "text_delta"` - `class BetaInputJsonDelta:` - `String partialJson` - - `JsonValue type constant` + - `JsonValue type = "input_json_delta"` - `class BetaCitationsDelta:` @@ -22125,7 +22125,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocation:` @@ -22145,7 +22145,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -22175,7 +22175,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -22187,7 +22187,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -22223,9 +22223,9 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - - `JsonValue type constant` + - `JsonValue type = "citations_delta"` - `class BetaThinkingDelta:` @@ -22237,7 +22237,7 @@ public final class Main { The incremental `thinking` text for this content block. Concatenate the `thinking` values of successive `thinking_delta` events to assemble the block's full `thinking` value. - - `JsonValue type constant` + - `JsonValue type = "thinking_delta"` - `class BetaSignatureDelta:` @@ -22245,7 +22245,7 @@ public final class Main { The `signature` for this thinking block: an opaque value used to verify that the block was generated by Claude when it is passed back to the API. Delivered in a `signature_delta` event just before the block's `content_block_stop` event. - - `JsonValue type constant` + - `JsonValue type = "signature_delta"` - `class BetaCompactionContentBlockDelta:` @@ -22255,11 +22255,11 @@ public final class Main { Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonValue type constant` + - `JsonValue type = "compaction_delta"` - `long index` - - `JsonValue type constant` + - `JsonValue type = "content_block_delta"` ### Beta Raw Content Block Start Event @@ -22295,7 +22295,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocation:` @@ -22315,7 +22315,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -22345,7 +22345,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -22357,7 +22357,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -22393,13 +22393,13 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaThinkingBlock:` @@ -22415,7 +22415,7 @@ public final class Main { The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -22427,7 +22427,7 @@ public final class Main { See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -22441,7 +22441,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional caller` @@ -22451,7 +22451,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -22461,7 +22461,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -22469,7 +22469,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -22503,7 +22503,7 @@ public final class Main { - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional caller` @@ -22539,7 +22539,7 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -22549,7 +22549,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -22557,7 +22557,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional caller` @@ -22599,7 +22599,7 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -22619,29 +22619,29 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -22651,7 +22651,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional caller` @@ -22689,7 +22689,7 @@ public final class Main { - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -22699,7 +22699,7 @@ public final class Main { - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -22711,13 +22711,13 @@ public final class Main { The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -22737,7 +22737,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -22745,7 +22745,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -22753,7 +22753,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -22763,7 +22763,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -22771,13 +22771,13 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -22797,7 +22797,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -22805,7 +22805,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -22813,13 +22813,13 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -22841,7 +22841,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -22861,13 +22861,13 @@ public final class Main { - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -22881,13 +22881,13 @@ public final class Main { - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -22907,7 +22907,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -22917,15 +22917,15 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -22943,7 +22943,7 @@ public final class Main { The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -22963,7 +22963,7 @@ public final class Main { maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `boolean isError` @@ -22971,7 +22971,7 @@ public final class Main { pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -22979,7 +22979,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `class BetaCompactionBlock:` @@ -22997,7 +22997,7 @@ public final class Main { Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `class BetaFallbackBlock:` @@ -23123,13 +23123,13 @@ public final class Main { The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - - `JsonValue type constant` + - `JsonValue type = "fallback"` - `long index` - - `JsonValue type constant` + - `JsonValue type = "content_block_start"` ### Beta Raw Content Block Stop Event @@ -23137,7 +23137,7 @@ public final class Main { - `long index` - - `JsonValue type constant` + - `JsonValue type = "content_block_stop"` ### Beta Raw Message Delta Event @@ -23165,7 +23165,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -23183,7 +23183,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_thinking_20251015"` The type of context management edit applied. @@ -23310,7 +23310,7 @@ public final class Main { The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - `Optional stopReason` @@ -23332,7 +23332,7 @@ public final class Main { - `Optional stopSequence` - - `JsonValue type constant` + - `JsonValue type = "message_delta"` - `BetaMessageDeltaUsage usage` @@ -23376,7 +23376,7 @@ public final class Main { The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonValue type constant` + - `JsonValue type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -23413,7 +23413,7 @@ public final class Main { - `WRONG_WORKSPACE("wrong_workspace")` - - `JsonValue type constant` + - `JsonValue type = "not_applied"` - `Optional> removeToRedeem` @@ -23562,7 +23562,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "message"` Usage for a sampling iteration @@ -23598,7 +23598,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "compaction"` Usage for a compaction iteration @@ -23640,7 +23640,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -23687,7 +23687,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -23781,7 +23781,7 @@ public final class Main { - `END_USER_BINDING_MISMATCH("end_user_binding_mismatch")` - - `JsonValue type constant` + - `JsonValue type = "thinking_dropped"` Always `thinking_dropped` for this entry type. @@ -23890,7 +23890,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocation:` @@ -23910,7 +23910,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -23940,7 +23940,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -23952,7 +23952,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -23988,13 +23988,13 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaThinkingBlock:` @@ -24010,7 +24010,7 @@ public final class Main { The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -24022,7 +24022,7 @@ public final class Main { See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -24036,7 +24036,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional caller` @@ -24046,7 +24046,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -24056,7 +24056,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -24064,7 +24064,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -24098,7 +24098,7 @@ public final class Main { - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional caller` @@ -24134,7 +24134,7 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -24144,7 +24144,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -24152,7 +24152,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional caller` @@ -24194,7 +24194,7 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -24214,29 +24214,29 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -24246,7 +24246,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional caller` @@ -24284,7 +24284,7 @@ public final class Main { - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -24294,7 +24294,7 @@ public final class Main { - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -24306,13 +24306,13 @@ public final class Main { The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -24332,7 +24332,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -24340,7 +24340,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -24348,7 +24348,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -24358,7 +24358,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -24366,13 +24366,13 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -24392,7 +24392,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -24400,7 +24400,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -24408,13 +24408,13 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -24436,7 +24436,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -24456,13 +24456,13 @@ public final class Main { - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -24476,13 +24476,13 @@ public final class Main { - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -24502,7 +24502,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -24512,15 +24512,15 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -24538,7 +24538,7 @@ public final class Main { The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -24558,7 +24558,7 @@ public final class Main { maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `boolean isError` @@ -24566,7 +24566,7 @@ public final class Main { pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -24574,7 +24574,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `class BetaCompactionBlock:` @@ -24592,7 +24592,7 @@ public final class Main { Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `class BetaFallbackBlock:` @@ -24718,9 +24718,9 @@ public final class Main { The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - - `JsonValue type constant` + - `JsonValue type = "fallback"` - `Optional contextManagement` @@ -24746,7 +24746,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -24764,7 +24764,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_thinking_20251015"` The type of context management edit applied. @@ -24783,7 +24783,7 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -24791,7 +24791,7 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -24799,7 +24799,7 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -24807,15 +24807,15 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonValue type constant` + - `JsonValue type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonValue type constant` + - `JsonValue type = "unavailable"` - `Model model` @@ -24823,7 +24823,7 @@ public final class Main { See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonValue role constant` + - `JsonValue role = "assistant"` Conversational role of the generated message. @@ -24912,7 +24912,7 @@ public final class Main { The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - `Optional stopReason` @@ -24952,7 +24952,7 @@ public final class Main { This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonValue type constant` + - `JsonValue type = "message"` Object type. @@ -25016,7 +25016,7 @@ public final class Main { The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonValue type constant` + - `JsonValue type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -25053,7 +25053,7 @@ public final class Main { - `WRONG_WORKSPACE("wrong_workspace")` - - `JsonValue type constant` + - `JsonValue type = "not_applied"` - `Optional> removeToRedeem` @@ -25126,7 +25126,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "message"` Usage for a sampling iteration @@ -25162,7 +25162,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "compaction"` Usage for a compaction iteration @@ -25204,7 +25204,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -25251,7 +25251,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -25365,17 +25365,17 @@ public final class Main { - `END_USER_BINDING_MISMATCH("end_user_binding_mismatch")` - - `JsonValue type constant` + - `JsonValue type = "thinking_dropped"` Always `thinking_dropped` for this entry type. - - `JsonValue type constant` + - `JsonValue type = "message_start"` ### Beta Raw Message Stop Event - `class BetaRawMessageStopEvent:` - - `JsonValue type constant` + - `JsonValue type = "message_stop"` ### Beta Raw Message Stream Event @@ -25484,7 +25484,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocation:` @@ -25504,7 +25504,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -25534,7 +25534,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -25546,7 +25546,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -25582,13 +25582,13 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaThinkingBlock:` @@ -25604,7 +25604,7 @@ public final class Main { The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -25616,7 +25616,7 @@ public final class Main { See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -25630,7 +25630,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional caller` @@ -25640,7 +25640,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -25650,7 +25650,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -25658,7 +25658,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -25692,7 +25692,7 @@ public final class Main { - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional caller` @@ -25728,7 +25728,7 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -25738,7 +25738,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -25746,7 +25746,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional caller` @@ -25788,7 +25788,7 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -25808,29 +25808,29 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -25840,7 +25840,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional caller` @@ -25878,7 +25878,7 @@ public final class Main { - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -25888,7 +25888,7 @@ public final class Main { - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -25900,13 +25900,13 @@ public final class Main { The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -25926,7 +25926,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -25934,7 +25934,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -25942,7 +25942,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -25952,7 +25952,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -25960,13 +25960,13 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -25986,7 +25986,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -25994,7 +25994,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -26002,13 +26002,13 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -26030,7 +26030,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -26050,13 +26050,13 @@ public final class Main { - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -26070,13 +26070,13 @@ public final class Main { - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -26096,7 +26096,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -26106,15 +26106,15 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -26132,7 +26132,7 @@ public final class Main { The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -26152,7 +26152,7 @@ public final class Main { maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `boolean isError` @@ -26160,7 +26160,7 @@ public final class Main { pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -26168,7 +26168,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `class BetaCompactionBlock:` @@ -26186,7 +26186,7 @@ public final class Main { Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `class BetaFallbackBlock:` @@ -26312,9 +26312,9 @@ public final class Main { The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - - `JsonValue type constant` + - `JsonValue type = "fallback"` - `Optional contextManagement` @@ -26340,7 +26340,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -26358,7 +26358,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_thinking_20251015"` The type of context management edit applied. @@ -26377,7 +26377,7 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -26385,7 +26385,7 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -26393,7 +26393,7 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -26401,15 +26401,15 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonValue type constant` + - `JsonValue type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonValue type constant` + - `JsonValue type = "unavailable"` - `Model model` @@ -26417,7 +26417,7 @@ public final class Main { See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonValue role constant` + - `JsonValue role = "assistant"` Conversational role of the generated message. @@ -26506,7 +26506,7 @@ public final class Main { The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - `Optional stopReason` @@ -26546,7 +26546,7 @@ public final class Main { This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonValue type constant` + - `JsonValue type = "message"` Object type. @@ -26610,7 +26610,7 @@ public final class Main { The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonValue type constant` + - `JsonValue type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -26647,7 +26647,7 @@ public final class Main { - `WRONG_WORKSPACE("wrong_workspace")` - - `JsonValue type constant` + - `JsonValue type = "not_applied"` - `Optional> removeToRedeem` @@ -26720,7 +26720,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "message"` Usage for a sampling iteration @@ -26756,7 +26756,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "compaction"` Usage for a compaction iteration @@ -26798,7 +26798,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -26845,7 +26845,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -26959,11 +26959,11 @@ public final class Main { - `END_USER_BINDING_MISMATCH("end_user_binding_mismatch")` - - `JsonValue type constant` + - `JsonValue type = "thinking_dropped"` Always `thinking_dropped` for this entry type. - - `JsonValue type constant` + - `JsonValue type = "message_start"` - `class BetaRawMessageDeltaEvent:` @@ -26985,7 +26985,7 @@ public final class Main { - `Optional stopSequence` - - `JsonValue type constant` + - `JsonValue type = "message_delta"` - `BetaMessageDeltaUsage usage` @@ -27111,13 +27111,13 @@ public final class Main { `organization_binding_mismatch`, `end_user_binding_mismatch`, `model_binding_mismatch`, `prefix_binding_mismatch`. - - `JsonValue type constant` + - `JsonValue type = "thinking_dropped"` Always `thinking_dropped` for this entry type. - `class BetaRawMessageStopEvent:` - - `JsonValue type constant` + - `JsonValue type = "message_stop"` - `class BetaRawContentBlockStartEvent:` @@ -27181,7 +27181,7 @@ public final class Main { - `long index` - - `JsonValue type constant` + - `JsonValue type = "content_block_start"` - `class BetaRawContentBlockDeltaEvent:` @@ -27191,13 +27191,13 @@ public final class Main { - `String text` - - `JsonValue type constant` + - `JsonValue type = "text_delta"` - `class BetaInputJsonDelta:` - `String partialJson` - - `JsonValue type constant` + - `JsonValue type = "input_json_delta"` - `class BetaCitationsDelta:` @@ -27213,7 +27213,7 @@ public final class Main { - `class BetaCitationSearchResultLocation:` - - `JsonValue type constant` + - `JsonValue type = "citations_delta"` - `class BetaThinkingDelta:` @@ -27225,7 +27225,7 @@ public final class Main { The incremental `thinking` text for this content block. Concatenate the `thinking` values of successive `thinking_delta` events to assemble the block's full `thinking` value. - - `JsonValue type constant` + - `JsonValue type = "thinking_delta"` - `class BetaSignatureDelta:` @@ -27233,7 +27233,7 @@ public final class Main { The `signature` for this thinking block: an opaque value used to verify that the block was generated by Claude when it is passed back to the API. Delivered in a `signature_delta` event just before the block's `content_block_stop` event. - - `JsonValue type constant` + - `JsonValue type = "signature_delta"` - `class BetaCompactionContentBlockDelta:` @@ -27243,17 +27243,17 @@ public final class Main { Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonValue type constant` + - `JsonValue type = "compaction_delta"` - `long index` - - `JsonValue type constant` + - `JsonValue type = "content_block_delta"` - `class BetaRawContentBlockStopEvent:` - `long index` - - `JsonValue type constant` + - `JsonValue type = "content_block_stop"` ### Beta Redacted Thinking Block @@ -27267,7 +27267,7 @@ public final class Main { See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` ### Beta Redacted Thinking Block Param @@ -27277,7 +27277,7 @@ public final class Main { The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` ### Beta Refusal Stop Details @@ -27364,7 +27364,7 @@ public final class Main { The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonValue type constant` + - `JsonValue type = "refusal"` ### Beta Request Document Block @@ -27378,17 +27378,17 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaContentBlockSource:` @@ -27404,13 +27404,13 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -27447,7 +27447,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -27467,7 +27467,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -27497,7 +27497,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -27509,7 +27509,7 @@ public final class Main { maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -27547,7 +27547,7 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class BetaImageBlockParam:` @@ -27569,11 +27569,11 @@ public final class Main { - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaUrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -27581,9 +27581,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -27601,11 +27601,11 @@ public final class Main { - `ERROR("error")` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class BetaUrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -27613,9 +27613,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -27647,7 +27647,7 @@ public final class Main { - `String name` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -27667,13 +27667,13 @@ public final class Main { pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -27700,7 +27700,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -27726,7 +27726,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -27746,7 +27746,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -27776,7 +27776,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -27788,7 +27788,7 @@ public final class Main { maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -27826,7 +27826,7 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `Optional isError` @@ -27858,7 +27858,7 @@ public final class Main { pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -27869,7 +27869,7 @@ public final class Main { - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -27877,15 +27877,15 @@ public final class Main { - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_toolset_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_addition"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -27930,7 +27930,7 @@ public final class Main { pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -27941,7 +27941,7 @@ public final class Main { - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -27949,15 +27949,15 @@ public final class Main { - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_toolset_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_removal"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -27984,13 +27984,13 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -28027,7 +28027,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -28047,7 +28047,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -28077,7 +28077,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -28089,7 +28089,7 @@ public final class Main { maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -28127,13 +28127,13 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String source` - `String title` - - `JsonValue type constant` + - `JsonValue type = "search_result"` - `Optional cacheControl` @@ -28153,7 +28153,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` ### Beta Server Tool Caller 20260120 @@ -28163,7 +28163,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` ### Beta Server Tool Usage @@ -28209,7 +28209,7 @@ public final class Main { - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional caller` @@ -28219,7 +28219,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -28229,7 +28229,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -28237,7 +28237,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` ### Beta Server Tool Use Block Param @@ -28267,13 +28267,13 @@ public final class Main { - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -28298,7 +28298,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -28308,7 +28308,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -28316,7 +28316,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` ### Beta Signature Delta @@ -28326,7 +28326,7 @@ public final class Main { The `signature` for this thinking block: an opaque value used to verify that the block was generated by Claude when it is passed back to the API. Delivered in a `signature_delta` event just before the block's `content_block_stop` event. - - `JsonValue type constant` + - `JsonValue type = "signature_delta"` ### Beta Skill Params @@ -28426,7 +28426,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocation:` @@ -28446,7 +28446,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -28476,7 +28476,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -28488,7 +28488,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -28524,13 +28524,13 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` ### Beta Text Block Param @@ -28540,13 +28540,13 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -28583,7 +28583,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -28603,7 +28603,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -28633,7 +28633,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -28645,7 +28645,7 @@ public final class Main { maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -28683,7 +28683,7 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` ### Beta Text Citation @@ -28707,7 +28707,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocation:` @@ -28727,7 +28727,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -28757,7 +28757,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -28769,7 +28769,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -28805,7 +28805,7 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` ### Beta Text Citation Param @@ -28829,7 +28829,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -28849,7 +28849,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -28879,7 +28879,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -28891,7 +28891,7 @@ public final class Main { maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -28929,7 +28929,7 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` ### Beta Text Delta @@ -28937,7 +28937,7 @@ public final class Main { - `String text` - - `JsonValue type constant` + - `JsonValue type = "text_delta"` ### Beta Text Editor Code Execution Create Result Block @@ -28945,7 +28945,7 @@ public final class Main { - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` ### Beta Text Editor Code Execution Create Result Block Param @@ -28953,7 +28953,7 @@ public final class Main { - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` ### Beta Text Editor Code Execution Str Replace Result Block @@ -28969,13 +28969,13 @@ public final class Main { - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` ### Beta Text Editor Code Execution Str Replace Result Block Param - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `Optional> lines` @@ -29009,7 +29009,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -29029,13 +29029,13 @@ public final class Main { - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -29049,13 +29049,13 @@ public final class Main { - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` ### Beta Text Editor Code Execution Tool Result Block Param @@ -29077,7 +29077,7 @@ public final class Main { - `FILE_NOT_FOUND("file_not_found")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `Optional errorMessage` @@ -29093,7 +29093,7 @@ public final class Main { - `PDF("pdf")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `Optional numLines` @@ -29105,11 +29105,11 @@ public final class Main { - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `Optional> lines` @@ -29125,13 +29125,13 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -29166,7 +29166,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` ### Beta Text Editor Code Execution Tool Result Error Param @@ -29184,7 +29184,7 @@ public final class Main { - `FILE_NOT_FOUND("file_not_found")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `Optional errorMessage` @@ -29208,7 +29208,7 @@ public final class Main { - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` ### Beta Text Editor Code Execution View Result Block Param @@ -29224,7 +29224,7 @@ public final class Main { - `PDF("pdf")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `Optional numLines` @@ -29248,7 +29248,7 @@ public final class Main { The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` ### Beta Thinking Block Binding @@ -29284,13 +29284,13 @@ public final class Main { The `thinking` text of this block as returned by the API. - - `JsonValue type constant` + - `JsonValue type = "thinking"` ### Beta Thinking Config Adaptive - `class BetaThinkingConfigAdaptive:` - - `JsonValue type constant` + - `JsonValue type = "adaptive"` - `Optional blockBinding` @@ -29324,7 +29324,7 @@ public final class Main { - `class BetaThinkingConfigDisabled:` - - `JsonValue type constant` + - `JsonValue type = "disabled"` ### Beta Thinking Config Enabled @@ -29340,7 +29340,7 @@ public final class Main { minimum: 1024 - - `JsonValue type constant` + - `JsonValue type = "enabled"` - `Optional blockBinding` @@ -29392,7 +29392,7 @@ public final class Main { minimum: 1024 - - `JsonValue type constant` + - `JsonValue type = "enabled"` - `Optional blockBinding` @@ -29424,11 +29424,11 @@ public final class Main { - `class BetaThinkingConfigDisabled:` - - `JsonValue type constant` + - `JsonValue type = "disabled"` - `class BetaThinkingConfigAdaptive:` - - `JsonValue type constant` + - `JsonValue type = "adaptive"` - `Optional blockBinding` @@ -29458,7 +29458,7 @@ public final class Main { The incremental `thinking` text for this content block. Concatenate the `thinking` values of successive `thinking_delta` events to assemble the block's full `thinking` value. - - `JsonValue type constant` + - `JsonValue type = "thinking_delta"` ### Beta Thinking Dropped Input Transformation @@ -29494,7 +29494,7 @@ public final class Main { - `END_USER_BINDING_MISMATCH("end_user_binding_mismatch")` - - `JsonValue type constant` + - `JsonValue type = "thinking_dropped"` Always `thinking_dropped` for this entry type. @@ -29516,7 +29516,7 @@ public final class Main { - `class BetaThinkingTurns:` - - `JsonValue type constant` + - `JsonValue type = "thinking_turns"` - `long value` @@ -29534,7 +29534,7 @@ public final class Main { minimum: 1024 - - `JsonValue type constant` + - `JsonValue type = "tokens"` The budget type. Currently only 'tokens' is supported. @@ -29554,7 +29554,7 @@ public final class Main { This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -29582,7 +29582,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -29625,13 +29625,13 @@ public final class Main { - `class BetaToolBash20241022:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20241022"` - `Optional> allowedCallers` @@ -29647,7 +29647,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -29678,13 +29678,13 @@ public final class Main { - `class BetaToolBash20250124:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20250124"` - `Optional> allowedCallers` @@ -29700,7 +29700,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -29738,7 +29738,7 @@ public final class Main { - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_reference"` ### Beta Tool Change MCP Toolset Reference @@ -29748,7 +29748,7 @@ public final class Main { - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_toolset_reference"` ### Beta Tool Change Tool Reference @@ -29763,7 +29763,7 @@ public final class Main { pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` ### Beta Tool Choice @@ -29775,7 +29775,7 @@ public final class Main { The model will automatically decide whether to use tools. - - `JsonValue type constant` + - `JsonValue type = "auto"` - `Optional disableParallelToolUse` @@ -29787,7 +29787,7 @@ public final class Main { The model will use any available tools. - - `JsonValue type constant` + - `JsonValue type = "any"` - `Optional disableParallelToolUse` @@ -29803,7 +29803,7 @@ public final class Main { The name of the tool to use. - - `JsonValue type constant` + - `JsonValue type = "tool"` - `Optional disableParallelToolUse` @@ -29815,7 +29815,7 @@ public final class Main { The model will not be allowed to use tools. - - `JsonValue type constant` + - `JsonValue type = "none"` ### Beta Tool Choice Any @@ -29823,7 +29823,7 @@ public final class Main { The model will use any available tools. - - `JsonValue type constant` + - `JsonValue type = "any"` - `Optional disableParallelToolUse` @@ -29837,7 +29837,7 @@ public final class Main { The model will automatically decide whether to use tools. - - `JsonValue type constant` + - `JsonValue type = "auto"` - `Optional disableParallelToolUse` @@ -29851,7 +29851,7 @@ public final class Main { The model will not be allowed to use tools. - - `JsonValue type constant` + - `JsonValue type = "none"` ### Beta Tool Choice Tool @@ -29863,7 +29863,7 @@ public final class Main { The name of the tool to use. - - `JsonValue type constant` + - `JsonValue type = "tool"` - `Optional disableParallelToolUse` @@ -29887,13 +29887,13 @@ public final class Main { minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20241022"` - `Optional> allowedCallers` @@ -29909,7 +29909,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -29958,13 +29958,13 @@ public final class Main { minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20250124"` - `Optional> allowedCallers` @@ -29980,7 +29980,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -30029,13 +30029,13 @@ public final class Main { minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20251124"` - `Optional> allowedCallers` @@ -30051,7 +30051,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -30096,7 +30096,7 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` ### Beta Tool Reference Block Param @@ -30108,13 +30108,13 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -30139,13 +30139,13 @@ public final class Main { pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_result"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -30174,7 +30174,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -30200,7 +30200,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -30220,7 +30220,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -30250,7 +30250,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -30262,7 +30262,7 @@ public final class Main { maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -30300,7 +30300,7 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class BetaImageBlockParam:` @@ -30322,11 +30322,11 @@ public final class Main { - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaUrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -30334,9 +30334,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -30362,7 +30362,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -30374,7 +30374,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "search_result"` - `Optional cacheControl` @@ -30394,17 +30394,17 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaContentBlockSource:` @@ -30418,11 +30418,11 @@ public final class Main { - `class BetaImageBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class BetaUrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -30430,9 +30430,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -30456,7 +30456,7 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` @@ -30500,7 +30500,7 @@ public final class Main { Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonValue type constant` + - `JsonValue type = "browser_state"` - `Optional cacheControl` @@ -30528,7 +30528,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -30540,7 +30540,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -30561,7 +30561,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -30591,7 +30591,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -30617,7 +30617,7 @@ public final class Main { - `class BetaToolSearchToolBm25_20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_bm25"` Name of the tool. @@ -30643,7 +30643,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -30672,7 +30672,7 @@ public final class Main { - `class BetaToolSearchToolRegex20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_regex"` Name of the tool. @@ -30698,7 +30698,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -30743,7 +30743,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -30753,15 +30753,15 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` ### Beta Tool Search Tool Result Block Param @@ -30781,7 +30781,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `Optional errorMessage` @@ -30793,13 +30793,13 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -30816,13 +30816,13 @@ public final class Main { - `TTL_1H("1h")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `Optional cacheControl` @@ -30844,7 +30844,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` ### Beta Tool Search Tool Result Error Param @@ -30860,7 +30860,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `Optional errorMessage` @@ -30874,9 +30874,9 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` ### Beta Tool Search Tool Search Result Block Param @@ -30888,13 +30888,13 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -30911,19 +30911,19 @@ public final class Main { - `TTL_1H("1h")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` ### Beta Tool Text Editor 20241022 - `class BetaToolTextEditor20241022:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20241022"` - `Optional> allowedCallers` @@ -30939,7 +30939,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -30970,13 +30970,13 @@ public final class Main { - `class BetaToolTextEditor20250124:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250124"` - `Optional> allowedCallers` @@ -30992,7 +30992,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -31023,13 +31023,13 @@ public final class Main { - `class BetaToolTextEditor20250429:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250429"` - `Optional> allowedCallers` @@ -31045,7 +31045,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -31076,13 +31076,13 @@ public final class Main { - `class BetaToolTextEditor20250728:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250728"` - `Optional> allowedCallers` @@ -31098,7 +31098,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -31145,7 +31145,7 @@ public final class Main { This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -31173,7 +31173,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -31214,13 +31214,13 @@ public final class Main { - `class BetaToolBash20241022:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20241022"` - `Optional> allowedCallers` @@ -31248,13 +31248,13 @@ public final class Main { - `class BetaToolBash20250124:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20250124"` - `Optional> allowedCallers` @@ -31282,13 +31282,13 @@ public final class Main { - `class BetaCodeExecutionTool20250522:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250522"` - `Optional> allowedCallers` @@ -31314,13 +31314,13 @@ public final class Main { - `class BetaCodeExecutionTool20250825:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `Optional> allowedCallers` @@ -31348,13 +31348,13 @@ public final class Main { Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional> allowedCallers` @@ -31382,13 +31382,13 @@ public final class Main { Code execution tool with REPL state persistence. - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260521"` - `Optional> allowedCallers` @@ -31419,7 +31419,7 @@ public final class Main { the family's tool with any members disabled via `configs` removed from its schema. - - `JsonValue type constant` + - `JsonValue type = "browser_toolset_20260801"` - `Optional cacheControl` @@ -31820,13 +31820,13 @@ public final class Main { minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20241022"` - `Optional> allowedCallers` @@ -31860,13 +31860,13 @@ public final class Main { - `class BetaMemoryTool20250818:` - - `JsonValue name constant` + - `JsonValue name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "memory_20250818"` - `Optional> allowedCallers` @@ -31906,13 +31906,13 @@ public final class Main { minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20250124"` - `Optional> allowedCallers` @@ -31946,13 +31946,13 @@ public final class Main { - `class BetaToolTextEditor20241022:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20241022"` - `Optional> allowedCallers` @@ -31992,13 +31992,13 @@ public final class Main { minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20251124"` - `Optional> allowedCallers` @@ -32045,7 +32045,7 @@ public final class Main { `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonValue type constant` + - `JsonValue type = "computer_toolset_20260801"` - `Optional cacheControl` @@ -32266,13 +32266,13 @@ public final class Main { - `class BetaToolTextEditor20250124:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250124"` - `Optional> allowedCallers` @@ -32300,13 +32300,13 @@ public final class Main { - `class BetaToolTextEditor20250429:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250429"` - `Optional> allowedCallers` @@ -32334,13 +32334,13 @@ public final class Main { - `class BetaToolTextEditor20250728:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250728"` - `Optional> allowedCallers` @@ -32374,13 +32374,13 @@ public final class Main { - `class BetaWebSearchTool20250305:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20250305"` - `Optional> allowedCallers` @@ -32422,7 +32422,7 @@ public final class Main { Parameters for the user's location. Used to provide more relevant search results. - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -32450,13 +32450,13 @@ public final class Main { - `class BetaWebFetchTool20250910:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20250910"` - `Optional> allowedCallers` @@ -32508,13 +32508,13 @@ public final class Main { - `class BetaWebSearchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260209"` - `Optional> allowedCallers` @@ -32558,13 +32558,13 @@ public final class Main { - `class BetaWebFetchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260209"` - `Optional> allowedCallers` @@ -32616,13 +32616,13 @@ public final class Main { Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260309"` - `Optional> allowedCallers` @@ -32676,13 +32676,13 @@ public final class Main { - `class BetaWebSearchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260318"` - `Optional> allowedCallers` @@ -32734,13 +32734,13 @@ public final class Main { - `class BetaWebFetchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260318"` - `Optional> allowedCallers` @@ -32876,13 +32876,13 @@ public final class Main { High-performance model for agents and coding - - `JsonValue name constant` + - `JsonValue name = "advisor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "advisor_20260301"` - `Optional> allowedCallers` @@ -32924,7 +32924,7 @@ public final class Main { - `class BetaToolSearchToolBm25_20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_bm25"` Name of the tool. @@ -32960,7 +32960,7 @@ public final class Main { - `class BetaToolSearchToolRegex20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_regex"` Name of the tool. @@ -33007,7 +33007,7 @@ public final class Main { maxLength: 255, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "mcp_toolset"` - `Optional cacheControl` @@ -33043,7 +33043,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional caller` @@ -33053,7 +33053,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -33063,7 +33063,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -33071,7 +33071,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -33093,13 +33093,13 @@ public final class Main { maxLength: 200, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -33124,7 +33124,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -33134,7 +33134,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -33142,7 +33142,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -33154,7 +33154,7 @@ public final class Main { - `class BetaToolUsesKeep:` - - `JsonValue type constant` + - `JsonValue type = "tool_uses"` - `long value` @@ -33164,7 +33164,7 @@ public final class Main { - `class BetaToolUsesTrigger:` - - `JsonValue type constant` + - `JsonValue type = "tool_uses"` - `long value` @@ -33174,7 +33174,7 @@ public final class Main { - `class BetaUrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -33182,7 +33182,7 @@ public final class Main { - `class BetaUrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -33236,7 +33236,7 @@ public final class Main { The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonValue type constant` + - `JsonValue type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -33273,7 +33273,7 @@ public final class Main { - `WRONG_WORKSPACE("wrong_workspace")` - - `JsonValue type constant` + - `JsonValue type = "not_applied"` - `Optional> removeToRedeem` @@ -33414,7 +33414,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "message"` Usage for a sampling iteration @@ -33450,7 +33450,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "compaction"` Usage for a compaction iteration @@ -33492,7 +33492,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -33539,7 +33539,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -33609,7 +33609,7 @@ public final class Main { - `class BetaUserLocation:` - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -33655,29 +33655,29 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -33697,17 +33697,17 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaContentBlockSource:` @@ -33723,13 +33723,13 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -33766,7 +33766,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -33786,7 +33786,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -33816,7 +33816,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -33828,7 +33828,7 @@ public final class Main { maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -33866,7 +33866,7 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class BetaImageBlockParam:` @@ -33888,11 +33888,11 @@ public final class Main { - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaUrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -33900,9 +33900,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -33920,11 +33920,11 @@ public final class Main { - `ERROR("error")` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class BetaUrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -33932,9 +33932,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -33952,7 +33952,7 @@ public final class Main { maxLength: 500, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -33966,13 +33966,13 @@ public final class Main { - `class BetaWebFetchTool20250910:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20250910"` - `Optional> allowedCallers` @@ -33996,7 +33996,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -34043,13 +34043,13 @@ public final class Main { - `class BetaWebFetchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260209"` - `Optional> allowedCallers` @@ -34073,7 +34073,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -34122,13 +34122,13 @@ public final class Main { Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260309"` - `Optional> allowedCallers` @@ -34152,7 +34152,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -34203,13 +34203,13 @@ public final class Main { - `class BetaWebFetchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260318"` - `Optional> allowedCallers` @@ -34233,7 +34233,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -34316,7 +34316,7 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -34336,29 +34336,29 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -34368,7 +34368,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional caller` @@ -34378,7 +34378,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -34388,7 +34388,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -34396,7 +34396,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` ### Beta Web Fetch Tool Result Block Param @@ -34426,7 +34426,7 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlockParam:` @@ -34440,17 +34440,17 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaContentBlockSource:` @@ -34466,13 +34466,13 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -34509,7 +34509,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -34529,7 +34529,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -34559,7 +34559,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -34571,7 +34571,7 @@ public final class Main { maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -34609,7 +34609,7 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class BetaImageBlockParam:` @@ -34631,11 +34631,11 @@ public final class Main { - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaUrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -34643,9 +34643,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -34663,11 +34663,11 @@ public final class Main { - `ERROR("error")` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class BetaUrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -34675,9 +34675,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -34695,7 +34695,7 @@ public final class Main { maxLength: 500, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -34709,7 +34709,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional cacheControl` @@ -34723,7 +34723,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -34733,7 +34733,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -34741,7 +34741,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` ### Beta Web Fetch Tool Result Error Block @@ -34767,7 +34767,7 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` ### Beta Web Fetch Tool Result Error Block Param @@ -34793,7 +34793,7 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` ### Beta Web Fetch Tool Result Error Code @@ -34827,7 +34827,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -34839,7 +34839,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -34849,13 +34849,13 @@ public final class Main { - `class BetaWebSearchTool20250305:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20250305"` - `Optional> allowedCallers` @@ -34879,7 +34879,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -34914,7 +34914,7 @@ public final class Main { Parameters for the user's location. Used to provide more relevant search results. - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -34944,13 +34944,13 @@ public final class Main { - `class BetaWebSearchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260209"` - `Optional> allowedCallers` @@ -34974,7 +34974,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -35009,7 +35009,7 @@ public final class Main { Parameters for the user's location. Used to provide more relevant search results. - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -35039,13 +35039,13 @@ public final class Main { - `class BetaWebSearchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260318"` - `Optional> allowedCallers` @@ -35069,7 +35069,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -35112,7 +35112,7 @@ public final class Main { Parameters for the user's location. Used to provide more relevant search results. - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -35156,7 +35156,7 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` ### Beta Web Search Tool Result Block @@ -35180,7 +35180,7 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -35190,7 +35190,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -35198,7 +35198,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional caller` @@ -35208,7 +35208,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -35218,7 +35218,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -35226,7 +35226,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` ### Beta Web Search Tool Result Block Content @@ -35248,7 +35248,7 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -35258,7 +35258,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -35274,7 +35274,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -35296,19 +35296,19 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -35333,7 +35333,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -35343,7 +35343,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -35351,7 +35351,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` ### Beta Web Search Tool Result Block Param Content @@ -35363,7 +35363,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -35385,7 +35385,7 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` ### Beta Web Search Tool Result Error @@ -35405,7 +35405,7 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` ### Beta Web Search Tool Result Error Code @@ -35632,13 +35632,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -35675,7 +35675,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -35695,7 +35695,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -35725,7 +35725,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -35737,7 +35737,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -35775,7 +35775,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class BetaImageBlockParam:` @@ -35797,11 +35797,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaUrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -35809,9 +35809,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -35839,17 +35839,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaContentBlockSource:` @@ -35863,11 +35863,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaImageBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class BetaUrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -35875,9 +35875,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -35903,7 +35903,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -35915,7 +35915,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String title` - - `JsonValue type constant` + - `JsonValue type = "search_result"` - `Optional cacheControl` @@ -35935,7 +35935,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `thinking` text of this block as returned by the API. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class BetaRedactedThinkingBlockParam:` @@ -35943,7 +35943,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class BetaToolUseBlockParam:` @@ -35957,7 +35957,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 200, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional cacheControl` @@ -35971,7 +35971,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -35981,7 +35981,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -35989,7 +35989,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -36003,7 +36003,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_result"` - `Optional cacheControl` @@ -36031,7 +36031,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` @@ -36075,7 +36075,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonValue type constant` + - `JsonValue type = "browser_state"` - `Optional cacheControl` @@ -36103,7 +36103,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -36115,7 +36115,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -36136,7 +36136,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -36166,7 +36166,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -36214,7 +36214,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional cacheControl` @@ -36244,7 +36244,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -36266,13 +36266,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional cacheControl` @@ -36318,13 +36318,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlockParam:` - `BetaRequestDocumentBlock content` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -36338,7 +36338,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional cacheControl` @@ -36380,13 +36380,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlockParam:` - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `Optional stopReason` @@ -36396,7 +36396,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `Optional stopReason` @@ -36404,7 +36404,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `Optional cacheControl` @@ -36428,7 +36428,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -36436,7 +36436,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -36444,7 +36444,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -36454,7 +36454,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -36462,13 +36462,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `Optional cacheControl` @@ -36492,7 +36492,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlockParam:` @@ -36500,7 +36500,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -36508,13 +36508,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `Optional cacheControl` @@ -36538,7 +36538,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `FILE_NOT_FOUND("file_not_found")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `Optional errorMessage` @@ -36554,7 +36554,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `PDF("pdf")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `Optional numLines` @@ -36566,11 +36566,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `Optional> lines` @@ -36586,7 +36586,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `Optional cacheControl` @@ -36608,7 +36608,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `Optional errorMessage` @@ -36620,19 +36620,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `Optional cacheControl` @@ -36652,7 +36652,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `Optional cacheControl` @@ -36664,7 +36664,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `Optional cacheControl` @@ -36680,7 +36680,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -36697,7 +36697,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Optional cacheControl` @@ -36713,7 +36713,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl When content is None, the block represents a failed compaction. The server treats these as no-ops. Empty string content is not allowed. - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `Optional cacheControl` @@ -36753,7 +36753,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -36764,7 +36764,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -36772,9 +36772,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_toolset_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_addition"` - `Optional cacheControl` @@ -36811,7 +36811,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Reference to every tool in the named MCP server's toolset. - - `JsonValue type constant` + - `JsonValue type = "tool_removal"` - `Optional cacheControl` @@ -36915,7 +36915,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Identifies one hop of a fallback transition. - - `JsonValue type constant` + - `JsonValue type = "fallback"` - `Optional trigger` @@ -37023,13 +37023,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaClearToolUses20250919Edit:` - - `JsonValue type constant` + - `JsonValue type = "clear_tool_uses_20250919"` - `Optional clearAtLeast` Minimum number of tokens that must be cleared when triggered. Context will only be modified if at least this many tokens can be removed. - - `JsonValue type constant` + - `JsonValue type = "input_tokens"` - `long value` @@ -37051,7 +37051,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Number of tool uses to retain in the conversation - - `JsonValue type constant` + - `JsonValue type = "tool_uses"` - `long value` @@ -37063,7 +37063,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaInputTokensTrigger:` - - `JsonValue type constant` + - `JsonValue type = "input_tokens"` - `long value` @@ -37071,7 +37071,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolUsesTrigger:` - - `JsonValue type constant` + - `JsonValue type = "tool_uses"` - `long value` @@ -37079,7 +37079,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaClearThinking20251015Edit:` - - `JsonValue type constant` + - `JsonValue type = "clear_thinking_20251015"` - `Optional keep` @@ -37087,7 +37087,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaThinkingTurns:` - - `JsonValue type constant` + - `JsonValue type = "thinking_turns"` - `long value` @@ -37095,7 +37095,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaAllThinkingTurns:` - - `JsonValue type constant` + - `JsonValue type = "all"` - `JsonValue` @@ -37103,7 +37103,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Automatically compact older context when reaching the configured trigger threshold. - - `JsonValue type constant` + - `JsonValue type = "compact_20260112"` - `Optional instructions` @@ -37215,7 +37215,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The JSON schema of the format - - `JsonValue type constant` + - `JsonValue type = "json_schema"` - `Optional taskBudget` @@ -37227,7 +37227,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1024 - - `JsonValue type constant` + - `JsonValue type = "tokens"` The budget type. Currently only 'tokens' is supported. @@ -37259,7 +37259,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1024 - - `JsonValue type constant` + - `JsonValue type = "enabled"` - `Optional blockBinding` @@ -37291,11 +37291,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaThinkingConfigDisabled:` - - `JsonValue type constant` + - `JsonValue type = "disabled"` - `class BetaThinkingConfigAdaptive:` - - `JsonValue type constant` + - `JsonValue type = "adaptive"` - `Optional blockBinding` @@ -37327,7 +37327,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String name` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -37401,7 +37401,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -37431,7 +37431,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will automatically decide whether to use tools. - - `JsonValue type constant` + - `JsonValue type = "auto"` - `Optional disableParallelToolUse` @@ -37443,7 +37443,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will use any available tools. - - `JsonValue type constant` + - `JsonValue type = "any"` - `Optional disableParallelToolUse` @@ -37459,7 +37459,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the tool to use. - - `JsonValue type constant` + - `JsonValue type = "tool"` - `Optional disableParallelToolUse` @@ -37471,7 +37471,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will not be allowed to use tools. - - `JsonValue type constant` + - `JsonValue type = "none"` - `Optional> tools` @@ -37545,7 +37545,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -37597,13 +37597,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolBash20241022:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20241022"` - `Optional> allowedCallers` @@ -37631,13 +37631,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolBash20250124:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20250124"` - `Optional> allowedCallers` @@ -37665,13 +37665,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaCodeExecutionTool20250522:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250522"` - `Optional> allowedCallers` @@ -37697,13 +37697,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaCodeExecutionTool20250825:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `Optional> allowedCallers` @@ -37731,13 +37731,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional> allowedCallers` @@ -37765,13 +37765,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence. - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260521"` - `Optional> allowedCallers` @@ -37802,7 +37802,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl the family's tool with any members disabled via `configs` removed from its schema. - - `JsonValue type constant` + - `JsonValue type = "browser_toolset_20260801"` - `Optional cacheControl` @@ -38203,13 +38203,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20241022"` - `Optional> allowedCallers` @@ -38243,13 +38243,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaMemoryTool20250818:` - - `JsonValue name constant` + - `JsonValue name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "memory_20250818"` - `Optional> allowedCallers` @@ -38289,13 +38289,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20250124"` - `Optional> allowedCallers` @@ -38329,13 +38329,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20241022:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20241022"` - `Optional> allowedCallers` @@ -38375,13 +38375,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20251124"` - `Optional> allowedCallers` @@ -38428,7 +38428,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonValue type constant` + - `JsonValue type = "computer_toolset_20260801"` - `Optional cacheControl` @@ -38649,13 +38649,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20250124:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250124"` - `Optional> allowedCallers` @@ -38683,13 +38683,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20250429:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250429"` - `Optional> allowedCallers` @@ -38717,13 +38717,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20250728:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250728"` - `Optional> allowedCallers` @@ -38757,13 +38757,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebSearchTool20250305:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20250305"` - `Optional> allowedCallers` @@ -38805,7 +38805,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Parameters for the user's location. Used to provide more relevant search results. - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -38833,13 +38833,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebFetchTool20250910:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20250910"` - `Optional> allowedCallers` @@ -38889,13 +38889,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebSearchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260209"` - `Optional> allowedCallers` @@ -38939,13 +38939,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebFetchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260209"` - `Optional> allowedCallers` @@ -38997,13 +38997,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260309"` - `Optional> allowedCallers` @@ -39057,13 +39057,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebSearchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260318"` - `Optional> allowedCallers` @@ -39115,13 +39115,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebFetchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260318"` - `Optional> allowedCallers` @@ -39189,13 +39189,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonValue name constant` + - `JsonValue name = "advisor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "advisor_20260301"` - `Optional> allowedCallers` @@ -39237,7 +39237,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolSearchToolBm25_20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_bm25"` Name of the tool. @@ -39273,7 +39273,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolSearchToolRegex20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_regex"` Name of the tool. @@ -39320,7 +39320,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 255, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "mcp_toolset"` - `Optional cacheControl` @@ -39478,7 +39478,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. @@ -39741,7 +39741,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. @@ -40005,7 +40005,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. @@ -40266,7 +40266,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. @@ -40436,7 +40436,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl ID of the Message Batch. - - `JsonValue type constant` + - `JsonValue type = "message_batch_deleted"` Deleted object type. @@ -40705,7 +40705,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocation:` @@ -40725,7 +40725,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -40755,7 +40755,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -40767,7 +40767,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -40803,13 +40803,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaThinkingBlock:` @@ -40825,7 +40825,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -40837,7 +40837,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -40851,7 +40851,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional caller` @@ -40861,7 +40861,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -40871,7 +40871,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -40879,7 +40879,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -40913,7 +40913,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional caller` @@ -40949,7 +40949,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -40959,7 +40959,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -40967,7 +40967,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional caller` @@ -41009,7 +41009,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -41029,29 +41029,29 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -41061,7 +41061,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional caller` @@ -41099,7 +41099,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -41109,7 +41109,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -41121,13 +41121,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -41147,7 +41147,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -41155,7 +41155,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -41163,7 +41163,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -41173,7 +41173,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -41181,13 +41181,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -41207,7 +41207,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -41215,7 +41215,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -41223,13 +41223,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -41251,7 +41251,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -41271,13 +41271,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -41291,13 +41291,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -41317,7 +41317,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -41327,15 +41327,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -41353,7 +41353,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -41373,7 +41373,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `boolean isError` @@ -41381,7 +41381,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -41389,7 +41389,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `class BetaCompactionBlock:` @@ -41407,7 +41407,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `class BetaFallbackBlock:` @@ -41533,9 +41533,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - - `JsonValue type constant` + - `JsonValue type = "fallback"` - `Optional contextManagement` @@ -41561,7 +41561,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -41579,7 +41579,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_thinking_20251015"` The type of context management edit applied. @@ -41598,7 +41598,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -41606,7 +41606,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -41614,7 +41614,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -41622,15 +41622,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonValue type constant` + - `JsonValue type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonValue type constant` + - `JsonValue type = "unavailable"` - `Model model` @@ -41638,7 +41638,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonValue role constant` + - `JsonValue role = "assistant"` Conversational role of the generated message. @@ -41727,7 +41727,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - `Optional stopReason` @@ -41767,7 +41767,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonValue type constant` + - `JsonValue type = "message"` Object type. @@ -41831,7 +41831,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonValue type constant` + - `JsonValue type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -41868,7 +41868,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `WRONG_WORKSPACE("wrong_workspace")` - - `JsonValue type constant` + - `JsonValue type = "not_applied"` - `Optional> removeToRedeem` @@ -41941,7 +41941,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "message"` Usage for a sampling iteration @@ -41977,7 +41977,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "compaction"` Usage for a compaction iteration @@ -42019,7 +42019,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -42066,7 +42066,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -42180,11 +42180,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `END_USER_BINDING_MISMATCH("end_user_binding_mismatch")` - - `JsonValue type constant` + - `JsonValue type = "thinking_dropped"` Always `thinking_dropped` for this entry type. - - `JsonValue type constant` + - `JsonValue type = "succeeded"` - `class BetaMessageBatchErroredResult:` @@ -42196,69 +42196,69 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String message` - - `JsonValue type constant` + - `JsonValue type = "invalid_request_error"` - `class BetaAuthenticationError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "authentication_error"` - `class BetaBillingError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "billing_error"` - `class BetaPermissionError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "permission_error"` - `class BetaNotFoundError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "not_found_error"` - `class BetaRateLimitError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "rate_limit_error"` - `class BetaGatewayTimeoutError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "timeout_error"` - `class BetaApiError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "api_error"` - `class BetaOverloadedError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "overloaded_error"` - `Optional requestId` - - `JsonValue type constant` + - `JsonValue type = "error"` - - `JsonValue type constant` + - `JsonValue type = "errored"` - `class BetaMessageBatchCanceledResult:` - - `JsonValue type constant` + - `JsonValue type = "canceled"` - `class BetaMessageBatchExpiredResult:` - - `JsonValue type constant` + - `JsonValue type = "expired"` #### Example diff --git a/content/en/api/java/beta/messages/batches.md b/content/en/api/java/beta/messages/batches.md index 5b682ec8b2..11acc463e7 100644 --- a/content/en/api/java/beta/messages/batches.md +++ b/content/en/api/java/beta/messages/batches.md @@ -207,13 +207,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -250,7 +250,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -270,7 +270,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -300,7 +300,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -312,7 +312,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -350,7 +350,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class BetaImageBlockParam:` @@ -372,11 +372,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaUrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -384,9 +384,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -414,17 +414,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaContentBlockSource:` @@ -438,11 +438,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaImageBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class BetaUrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -450,9 +450,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -478,7 +478,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -490,7 +490,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String title` - - `JsonValue type constant` + - `JsonValue type = "search_result"` - `Optional cacheControl` @@ -510,7 +510,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `thinking` text of this block as returned by the API. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class BetaRedactedThinkingBlockParam:` @@ -518,7 +518,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class BetaToolUseBlockParam:` @@ -532,7 +532,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 200, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional cacheControl` @@ -546,7 +546,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -556,7 +556,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -564,7 +564,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -578,7 +578,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_result"` - `Optional cacheControl` @@ -606,7 +606,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` @@ -650,7 +650,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonValue type constant` + - `JsonValue type = "browser_state"` - `Optional cacheControl` @@ -678,7 +678,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -690,7 +690,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -711,7 +711,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -741,7 +741,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -789,7 +789,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional cacheControl` @@ -819,7 +819,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -841,13 +841,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional cacheControl` @@ -893,13 +893,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlockParam:` - `BetaRequestDocumentBlock content` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -913,7 +913,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional cacheControl` @@ -955,13 +955,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlockParam:` - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `Optional stopReason` @@ -971,7 +971,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `Optional stopReason` @@ -979,7 +979,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `Optional cacheControl` @@ -1003,7 +1003,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -1011,7 +1011,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -1019,7 +1019,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -1029,7 +1029,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -1037,13 +1037,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `Optional cacheControl` @@ -1067,7 +1067,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlockParam:` @@ -1075,7 +1075,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -1083,13 +1083,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `Optional cacheControl` @@ -1113,7 +1113,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `FILE_NOT_FOUND("file_not_found")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `Optional errorMessage` @@ -1129,7 +1129,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `PDF("pdf")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `Optional numLines` @@ -1141,11 +1141,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `Optional> lines` @@ -1161,7 +1161,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `Optional cacheControl` @@ -1183,7 +1183,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `Optional errorMessage` @@ -1195,19 +1195,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `Optional cacheControl` @@ -1227,7 +1227,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `Optional cacheControl` @@ -1239,7 +1239,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `Optional cacheControl` @@ -1255,7 +1255,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -1272,7 +1272,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Optional cacheControl` @@ -1288,7 +1288,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl When content is None, the block represents a failed compaction. The server treats these as no-ops. Empty string content is not allowed. - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `Optional cacheControl` @@ -1328,7 +1328,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -1339,7 +1339,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -1347,9 +1347,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_toolset_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_addition"` - `Optional cacheControl` @@ -1386,7 +1386,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Reference to every tool in the named MCP server's toolset. - - `JsonValue type constant` + - `JsonValue type = "tool_removal"` - `Optional cacheControl` @@ -1490,7 +1490,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Identifies one hop of a fallback transition. - - `JsonValue type constant` + - `JsonValue type = "fallback"` - `Optional trigger` @@ -1598,13 +1598,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaClearToolUses20250919Edit:` - - `JsonValue type constant` + - `JsonValue type = "clear_tool_uses_20250919"` - `Optional clearAtLeast` Minimum number of tokens that must be cleared when triggered. Context will only be modified if at least this many tokens can be removed. - - `JsonValue type constant` + - `JsonValue type = "input_tokens"` - `long value` @@ -1626,7 +1626,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Number of tool uses to retain in the conversation - - `JsonValue type constant` + - `JsonValue type = "tool_uses"` - `long value` @@ -1638,7 +1638,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaInputTokensTrigger:` - - `JsonValue type constant` + - `JsonValue type = "input_tokens"` - `long value` @@ -1646,7 +1646,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolUsesTrigger:` - - `JsonValue type constant` + - `JsonValue type = "tool_uses"` - `long value` @@ -1654,7 +1654,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaClearThinking20251015Edit:` - - `JsonValue type constant` + - `JsonValue type = "clear_thinking_20251015"` - `Optional keep` @@ -1662,7 +1662,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaThinkingTurns:` - - `JsonValue type constant` + - `JsonValue type = "thinking_turns"` - `long value` @@ -1670,7 +1670,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaAllThinkingTurns:` - - `JsonValue type constant` + - `JsonValue type = "all"` - `JsonValue` @@ -1678,7 +1678,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Automatically compact older context when reaching the configured trigger threshold. - - `JsonValue type constant` + - `JsonValue type = "compact_20260112"` - `Optional instructions` @@ -1790,7 +1790,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The JSON schema of the format - - `JsonValue type constant` + - `JsonValue type = "json_schema"` - `Optional taskBudget` @@ -1802,7 +1802,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1024 - - `JsonValue type constant` + - `JsonValue type = "tokens"` The budget type. Currently only 'tokens' is supported. @@ -1834,7 +1834,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1024 - - `JsonValue type constant` + - `JsonValue type = "enabled"` - `Optional blockBinding` @@ -1866,11 +1866,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaThinkingConfigDisabled:` - - `JsonValue type constant` + - `JsonValue type = "disabled"` - `class BetaThinkingConfigAdaptive:` - - `JsonValue type constant` + - `JsonValue type = "adaptive"` - `Optional blockBinding` @@ -1902,7 +1902,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String name` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -1976,7 +1976,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -2006,7 +2006,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will automatically decide whether to use tools. - - `JsonValue type constant` + - `JsonValue type = "auto"` - `Optional disableParallelToolUse` @@ -2018,7 +2018,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will use any available tools. - - `JsonValue type constant` + - `JsonValue type = "any"` - `Optional disableParallelToolUse` @@ -2034,7 +2034,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the tool to use. - - `JsonValue type constant` + - `JsonValue type = "tool"` - `Optional disableParallelToolUse` @@ -2046,7 +2046,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will not be allowed to use tools. - - `JsonValue type constant` + - `JsonValue type = "none"` - `Optional> tools` @@ -2120,7 +2120,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -2172,13 +2172,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolBash20241022:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20241022"` - `Optional> allowedCallers` @@ -2206,13 +2206,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolBash20250124:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20250124"` - `Optional> allowedCallers` @@ -2240,13 +2240,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaCodeExecutionTool20250522:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250522"` - `Optional> allowedCallers` @@ -2272,13 +2272,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaCodeExecutionTool20250825:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `Optional> allowedCallers` @@ -2306,13 +2306,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional> allowedCallers` @@ -2340,13 +2340,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence. - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260521"` - `Optional> allowedCallers` @@ -2377,7 +2377,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl the family's tool with any members disabled via `configs` removed from its schema. - - `JsonValue type constant` + - `JsonValue type = "browser_toolset_20260801"` - `Optional cacheControl` @@ -2778,13 +2778,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20241022"` - `Optional> allowedCallers` @@ -2818,13 +2818,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaMemoryTool20250818:` - - `JsonValue name constant` + - `JsonValue name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "memory_20250818"` - `Optional> allowedCallers` @@ -2864,13 +2864,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20250124"` - `Optional> allowedCallers` @@ -2904,13 +2904,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20241022:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20241022"` - `Optional> allowedCallers` @@ -2950,13 +2950,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20251124"` - `Optional> allowedCallers` @@ -3003,7 +3003,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonValue type constant` + - `JsonValue type = "computer_toolset_20260801"` - `Optional cacheControl` @@ -3224,13 +3224,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20250124:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250124"` - `Optional> allowedCallers` @@ -3258,13 +3258,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20250429:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250429"` - `Optional> allowedCallers` @@ -3292,13 +3292,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20250728:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250728"` - `Optional> allowedCallers` @@ -3332,13 +3332,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebSearchTool20250305:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20250305"` - `Optional> allowedCallers` @@ -3380,7 +3380,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Parameters for the user's location. Used to provide more relevant search results. - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -3408,13 +3408,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebFetchTool20250910:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20250910"` - `Optional> allowedCallers` @@ -3464,13 +3464,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebSearchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260209"` - `Optional> allowedCallers` @@ -3514,13 +3514,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebFetchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260209"` - `Optional> allowedCallers` @@ -3572,13 +3572,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260309"` - `Optional> allowedCallers` @@ -3632,13 +3632,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebSearchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260318"` - `Optional> allowedCallers` @@ -3690,13 +3690,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebFetchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260318"` - `Optional> allowedCallers` @@ -3764,13 +3764,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonValue name constant` + - `JsonValue name = "advisor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "advisor_20260301"` - `Optional> allowedCallers` @@ -3812,7 +3812,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolSearchToolBm25_20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_bm25"` Name of the tool. @@ -3848,7 +3848,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolSearchToolRegex20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_regex"` Name of the tool. @@ -3895,7 +3895,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 255, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "mcp_toolset"` - `Optional cacheControl` @@ -4053,7 +4053,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. @@ -4316,7 +4316,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. @@ -4580,7 +4580,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. @@ -4841,7 +4841,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. @@ -5011,7 +5011,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl ID of the Message Batch. - - `JsonValue type constant` + - `JsonValue type = "message_batch_deleted"` Deleted object type. @@ -5280,7 +5280,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocation:` @@ -5300,7 +5300,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -5330,7 +5330,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -5342,7 +5342,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -5378,13 +5378,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaThinkingBlock:` @@ -5400,7 +5400,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -5412,7 +5412,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -5426,7 +5426,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional caller` @@ -5436,7 +5436,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -5446,7 +5446,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -5454,7 +5454,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -5488,7 +5488,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional caller` @@ -5524,7 +5524,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -5534,7 +5534,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -5542,7 +5542,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional caller` @@ -5584,7 +5584,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -5604,29 +5604,29 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -5636,7 +5636,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional caller` @@ -5674,7 +5674,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -5684,7 +5684,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -5696,13 +5696,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -5722,7 +5722,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -5730,7 +5730,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -5738,7 +5738,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -5748,7 +5748,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -5756,13 +5756,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -5782,7 +5782,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -5790,7 +5790,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -5798,13 +5798,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -5826,7 +5826,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -5846,13 +5846,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -5866,13 +5866,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -5892,7 +5892,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -5902,15 +5902,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -5928,7 +5928,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -5948,7 +5948,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `boolean isError` @@ -5956,7 +5956,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -5964,7 +5964,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `class BetaCompactionBlock:` @@ -5982,7 +5982,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `class BetaFallbackBlock:` @@ -6108,9 +6108,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - - `JsonValue type constant` + - `JsonValue type = "fallback"` - `Optional contextManagement` @@ -6136,7 +6136,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -6154,7 +6154,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_thinking_20251015"` The type of context management edit applied. @@ -6173,7 +6173,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -6181,7 +6181,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -6189,7 +6189,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -6197,15 +6197,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonValue type constant` + - `JsonValue type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonValue type constant` + - `JsonValue type = "unavailable"` - `Model model` @@ -6213,7 +6213,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonValue role constant` + - `JsonValue role = "assistant"` Conversational role of the generated message. @@ -6302,7 +6302,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - `Optional stopReason` @@ -6342,7 +6342,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonValue type constant` + - `JsonValue type = "message"` Object type. @@ -6406,7 +6406,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonValue type constant` + - `JsonValue type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -6443,7 +6443,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `WRONG_WORKSPACE("wrong_workspace")` - - `JsonValue type constant` + - `JsonValue type = "not_applied"` - `Optional> removeToRedeem` @@ -6516,7 +6516,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "message"` Usage for a sampling iteration @@ -6552,7 +6552,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "compaction"` Usage for a compaction iteration @@ -6594,7 +6594,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -6641,7 +6641,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -6755,11 +6755,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `END_USER_BINDING_MISMATCH("end_user_binding_mismatch")` - - `JsonValue type constant` + - `JsonValue type = "thinking_dropped"` Always `thinking_dropped` for this entry type. - - `JsonValue type constant` + - `JsonValue type = "succeeded"` - `class BetaMessageBatchErroredResult:` @@ -6771,69 +6771,69 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String message` - - `JsonValue type constant` + - `JsonValue type = "invalid_request_error"` - `class BetaAuthenticationError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "authentication_error"` - `class BetaBillingError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "billing_error"` - `class BetaPermissionError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "permission_error"` - `class BetaNotFoundError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "not_found_error"` - `class BetaRateLimitError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "rate_limit_error"` - `class BetaGatewayTimeoutError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "timeout_error"` - `class BetaApiError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "api_error"` - `class BetaOverloadedError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "overloaded_error"` - `Optional requestId` - - `JsonValue type constant` + - `JsonValue type = "error"` - - `JsonValue type constant` + - `JsonValue type = "errored"` - `class BetaMessageBatchCanceledResult:` - - `JsonValue type constant` + - `JsonValue type = "canceled"` - `class BetaMessageBatchExpiredResult:` - - `JsonValue type constant` + - `JsonValue type = "expired"` ### Example @@ -6867,7 +6867,7 @@ public final class Main { ID of the Message Batch. - - `JsonValue type constant` + - `JsonValue type = "message_batch_deleted"` Deleted object type. @@ -6965,7 +6965,7 @@ public final class Main { Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. @@ -6975,7 +6975,7 @@ public final class Main { - `class BetaMessageBatchCanceledResult:` - - `JsonValue type constant` + - `JsonValue type = "canceled"` ### Beta Message Batch Errored Result @@ -6989,67 +6989,67 @@ public final class Main { - `String message` - - `JsonValue type constant` + - `JsonValue type = "invalid_request_error"` - `class BetaAuthenticationError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "authentication_error"` - `class BetaBillingError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "billing_error"` - `class BetaPermissionError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "permission_error"` - `class BetaNotFoundError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "not_found_error"` - `class BetaRateLimitError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "rate_limit_error"` - `class BetaGatewayTimeoutError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "timeout_error"` - `class BetaApiError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "api_error"` - `class BetaOverloadedError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "overloaded_error"` - `Optional requestId` - - `JsonValue type constant` + - `JsonValue type = "error"` - - `JsonValue type constant` + - `JsonValue type = "errored"` ### Beta Message Batch Expired Result - `class BetaMessageBatchExpiredResult:` - - `JsonValue type constant` + - `JsonValue type = "expired"` ### Beta Message Batch Individual Response @@ -7172,7 +7172,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocation:` @@ -7192,7 +7192,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -7222,7 +7222,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -7234,7 +7234,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -7270,13 +7270,13 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaThinkingBlock:` @@ -7292,7 +7292,7 @@ public final class Main { The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -7304,7 +7304,7 @@ public final class Main { See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -7318,7 +7318,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional caller` @@ -7328,7 +7328,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -7338,7 +7338,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -7346,7 +7346,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -7380,7 +7380,7 @@ public final class Main { - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional caller` @@ -7416,7 +7416,7 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -7426,7 +7426,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -7434,7 +7434,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional caller` @@ -7476,7 +7476,7 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -7496,29 +7496,29 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -7528,7 +7528,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional caller` @@ -7566,7 +7566,7 @@ public final class Main { - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -7576,7 +7576,7 @@ public final class Main { - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -7588,13 +7588,13 @@ public final class Main { The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -7614,7 +7614,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -7622,7 +7622,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -7630,7 +7630,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -7640,7 +7640,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -7648,13 +7648,13 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -7674,7 +7674,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -7682,7 +7682,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -7690,13 +7690,13 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -7718,7 +7718,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -7738,13 +7738,13 @@ public final class Main { - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -7758,13 +7758,13 @@ public final class Main { - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -7784,7 +7784,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -7794,15 +7794,15 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -7820,7 +7820,7 @@ public final class Main { The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -7840,7 +7840,7 @@ public final class Main { maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `boolean isError` @@ -7848,7 +7848,7 @@ public final class Main { pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -7856,7 +7856,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `class BetaCompactionBlock:` @@ -7874,7 +7874,7 @@ public final class Main { Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `class BetaFallbackBlock:` @@ -8000,9 +8000,9 @@ public final class Main { The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - - `JsonValue type constant` + - `JsonValue type = "fallback"` - `Optional contextManagement` @@ -8028,7 +8028,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -8046,7 +8046,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_thinking_20251015"` The type of context management edit applied. @@ -8065,7 +8065,7 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -8073,7 +8073,7 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -8081,7 +8081,7 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -8089,15 +8089,15 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonValue type constant` + - `JsonValue type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonValue type constant` + - `JsonValue type = "unavailable"` - `Model model` @@ -8105,7 +8105,7 @@ public final class Main { See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonValue role constant` + - `JsonValue role = "assistant"` Conversational role of the generated message. @@ -8194,7 +8194,7 @@ public final class Main { The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - `Optional stopReason` @@ -8234,7 +8234,7 @@ public final class Main { This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonValue type constant` + - `JsonValue type = "message"` Object type. @@ -8298,7 +8298,7 @@ public final class Main { The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonValue type constant` + - `JsonValue type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -8335,7 +8335,7 @@ public final class Main { - `WRONG_WORKSPACE("wrong_workspace")` - - `JsonValue type constant` + - `JsonValue type = "not_applied"` - `Optional> removeToRedeem` @@ -8408,7 +8408,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "message"` Usage for a sampling iteration @@ -8444,7 +8444,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "compaction"` Usage for a compaction iteration @@ -8486,7 +8486,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -8533,7 +8533,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -8647,11 +8647,11 @@ public final class Main { - `END_USER_BINDING_MISMATCH("end_user_binding_mismatch")` - - `JsonValue type constant` + - `JsonValue type = "thinking_dropped"` Always `thinking_dropped` for this entry type. - - `JsonValue type constant` + - `JsonValue type = "succeeded"` - `class BetaMessageBatchErroredResult:` @@ -8663,69 +8663,69 @@ public final class Main { - `String message` - - `JsonValue type constant` + - `JsonValue type = "invalid_request_error"` - `class BetaAuthenticationError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "authentication_error"` - `class BetaBillingError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "billing_error"` - `class BetaPermissionError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "permission_error"` - `class BetaNotFoundError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "not_found_error"` - `class BetaRateLimitError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "rate_limit_error"` - `class BetaGatewayTimeoutError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "timeout_error"` - `class BetaApiError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "api_error"` - `class BetaOverloadedError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "overloaded_error"` - `Optional requestId` - - `JsonValue type constant` + - `JsonValue type = "error"` - - `JsonValue type constant` + - `JsonValue type = "errored"` - `class BetaMessageBatchCanceledResult:` - - `JsonValue type constant` + - `JsonValue type = "canceled"` - `class BetaMessageBatchExpiredResult:` - - `JsonValue type constant` + - `JsonValue type = "expired"` ### Beta Message Batch Request Counts @@ -8870,7 +8870,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocation:` @@ -8890,7 +8890,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -8920,7 +8920,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -8932,7 +8932,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -8968,13 +8968,13 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaThinkingBlock:` @@ -8990,7 +8990,7 @@ public final class Main { The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -9002,7 +9002,7 @@ public final class Main { See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -9016,7 +9016,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional caller` @@ -9026,7 +9026,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -9036,7 +9036,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -9044,7 +9044,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -9078,7 +9078,7 @@ public final class Main { - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional caller` @@ -9114,7 +9114,7 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -9124,7 +9124,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -9132,7 +9132,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional caller` @@ -9174,7 +9174,7 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -9194,29 +9194,29 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -9226,7 +9226,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional caller` @@ -9264,7 +9264,7 @@ public final class Main { - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -9274,7 +9274,7 @@ public final class Main { - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -9286,13 +9286,13 @@ public final class Main { The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -9312,7 +9312,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -9320,7 +9320,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -9328,7 +9328,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -9338,7 +9338,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -9346,13 +9346,13 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -9372,7 +9372,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -9380,7 +9380,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -9388,13 +9388,13 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -9416,7 +9416,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -9436,13 +9436,13 @@ public final class Main { - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -9456,13 +9456,13 @@ public final class Main { - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -9482,7 +9482,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -9492,15 +9492,15 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -9518,7 +9518,7 @@ public final class Main { The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -9538,7 +9538,7 @@ public final class Main { maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `boolean isError` @@ -9546,7 +9546,7 @@ public final class Main { pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -9554,7 +9554,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `class BetaCompactionBlock:` @@ -9572,7 +9572,7 @@ public final class Main { Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `class BetaFallbackBlock:` @@ -9698,9 +9698,9 @@ public final class Main { The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - - `JsonValue type constant` + - `JsonValue type = "fallback"` - `Optional contextManagement` @@ -9726,7 +9726,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -9744,7 +9744,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_thinking_20251015"` The type of context management edit applied. @@ -9763,7 +9763,7 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -9771,7 +9771,7 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -9779,7 +9779,7 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -9787,15 +9787,15 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonValue type constant` + - `JsonValue type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonValue type constant` + - `JsonValue type = "unavailable"` - `Model model` @@ -9803,7 +9803,7 @@ public final class Main { See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonValue role constant` + - `JsonValue role = "assistant"` Conversational role of the generated message. @@ -9892,7 +9892,7 @@ public final class Main { The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - `Optional stopReason` @@ -9932,7 +9932,7 @@ public final class Main { This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonValue type constant` + - `JsonValue type = "message"` Object type. @@ -9996,7 +9996,7 @@ public final class Main { The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonValue type constant` + - `JsonValue type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -10033,7 +10033,7 @@ public final class Main { - `WRONG_WORKSPACE("wrong_workspace")` - - `JsonValue type constant` + - `JsonValue type = "not_applied"` - `Optional> removeToRedeem` @@ -10106,7 +10106,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "message"` Usage for a sampling iteration @@ -10142,7 +10142,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "compaction"` Usage for a compaction iteration @@ -10184,7 +10184,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -10231,7 +10231,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -10345,11 +10345,11 @@ public final class Main { - `END_USER_BINDING_MISMATCH("end_user_binding_mismatch")` - - `JsonValue type constant` + - `JsonValue type = "thinking_dropped"` Always `thinking_dropped` for this entry type. - - `JsonValue type constant` + - `JsonValue type = "succeeded"` - `class BetaMessageBatchErroredResult:` @@ -10361,69 +10361,69 @@ public final class Main { - `String message` - - `JsonValue type constant` + - `JsonValue type = "invalid_request_error"` - `class BetaAuthenticationError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "authentication_error"` - `class BetaBillingError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "billing_error"` - `class BetaPermissionError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "permission_error"` - `class BetaNotFoundError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "not_found_error"` - `class BetaRateLimitError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "rate_limit_error"` - `class BetaGatewayTimeoutError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "timeout_error"` - `class BetaApiError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "api_error"` - `class BetaOverloadedError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "overloaded_error"` - `Optional requestId` - - `JsonValue type constant` + - `JsonValue type = "error"` - - `JsonValue type constant` + - `JsonValue type = "errored"` - `class BetaMessageBatchCanceledResult:` - - `JsonValue type constant` + - `JsonValue type = "canceled"` - `class BetaMessageBatchExpiredResult:` - - `JsonValue type constant` + - `JsonValue type = "expired"` ### Beta Message Batch Succeeded Result @@ -10530,7 +10530,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocation:` @@ -10550,7 +10550,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -10580,7 +10580,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -10592,7 +10592,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -10628,13 +10628,13 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaThinkingBlock:` @@ -10650,7 +10650,7 @@ public final class Main { The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -10662,7 +10662,7 @@ public final class Main { See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -10676,7 +10676,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional caller` @@ -10686,7 +10686,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -10696,7 +10696,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -10704,7 +10704,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -10738,7 +10738,7 @@ public final class Main { - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional caller` @@ -10774,7 +10774,7 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -10784,7 +10784,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -10792,7 +10792,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional caller` @@ -10834,7 +10834,7 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -10854,29 +10854,29 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -10886,7 +10886,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional caller` @@ -10924,7 +10924,7 @@ public final class Main { - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -10934,7 +10934,7 @@ public final class Main { - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -10946,13 +10946,13 @@ public final class Main { The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -10972,7 +10972,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -10980,7 +10980,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -10988,7 +10988,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -10998,7 +10998,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -11006,13 +11006,13 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -11032,7 +11032,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -11040,7 +11040,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -11048,13 +11048,13 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -11076,7 +11076,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -11096,13 +11096,13 @@ public final class Main { - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -11116,13 +11116,13 @@ public final class Main { - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -11142,7 +11142,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -11152,15 +11152,15 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -11178,7 +11178,7 @@ public final class Main { The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -11198,7 +11198,7 @@ public final class Main { maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `boolean isError` @@ -11206,7 +11206,7 @@ public final class Main { pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -11214,7 +11214,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `class BetaCompactionBlock:` @@ -11232,7 +11232,7 @@ public final class Main { Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `class BetaFallbackBlock:` @@ -11358,9 +11358,9 @@ public final class Main { The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - - `JsonValue type constant` + - `JsonValue type = "fallback"` - `Optional contextManagement` @@ -11386,7 +11386,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -11404,7 +11404,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_thinking_20251015"` The type of context management edit applied. @@ -11423,7 +11423,7 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -11431,7 +11431,7 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -11439,7 +11439,7 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -11447,15 +11447,15 @@ public final class Main { Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonValue type constant` + - `JsonValue type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonValue type constant` + - `JsonValue type = "unavailable"` - `Model model` @@ -11463,7 +11463,7 @@ public final class Main { See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonValue role constant` + - `JsonValue role = "assistant"` Conversational role of the generated message. @@ -11552,7 +11552,7 @@ public final class Main { The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - `Optional stopReason` @@ -11592,7 +11592,7 @@ public final class Main { This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonValue type constant` + - `JsonValue type = "message"` Object type. @@ -11656,7 +11656,7 @@ public final class Main { The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonValue type constant` + - `JsonValue type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -11693,7 +11693,7 @@ public final class Main { - `WRONG_WORKSPACE("wrong_workspace")` - - `JsonValue type constant` + - `JsonValue type = "not_applied"` - `Optional> removeToRedeem` @@ -11766,7 +11766,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "message"` Usage for a sampling iteration @@ -11802,7 +11802,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "compaction"` Usage for a compaction iteration @@ -11844,7 +11844,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -11891,7 +11891,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -12005,8 +12005,8 @@ public final class Main { - `END_USER_BINDING_MISMATCH("end_user_binding_mismatch")` - - `JsonValue type constant` + - `JsonValue type = "thinking_dropped"` Always `thinking_dropped` for this entry type. - - `JsonValue type constant` + - `JsonValue type = "succeeded"` diff --git a/content/en/api/java/beta/messages/batches/cancel.md b/content/en/api/java/beta/messages/batches/cancel.md index a0c1b05cc6..5a00898783 100644 --- a/content/en/api/java/beta/messages/batches/cancel.md +++ b/content/en/api/java/beta/messages/batches/cancel.md @@ -202,7 +202,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. diff --git a/content/en/api/java/beta/messages/batches/create.md b/content/en/api/java/beta/messages/batches/create.md index b715ca0a69..e0c7b1ed2d 100644 --- a/content/en/api/java/beta/messages/batches/create.md +++ b/content/en/api/java/beta/messages/batches/create.md @@ -205,13 +205,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -248,7 +248,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -268,7 +268,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -298,7 +298,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -310,7 +310,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -348,7 +348,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class BetaImageBlockParam:` @@ -370,11 +370,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaUrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -382,9 +382,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -412,17 +412,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaContentBlockSource:` @@ -436,11 +436,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaImageBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class BetaUrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -448,9 +448,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -476,7 +476,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -488,7 +488,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String title` - - `JsonValue type constant` + - `JsonValue type = "search_result"` - `Optional cacheControl` @@ -508,7 +508,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `thinking` text of this block as returned by the API. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class BetaRedactedThinkingBlockParam:` @@ -516,7 +516,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class BetaToolUseBlockParam:` @@ -530,7 +530,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 200, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional cacheControl` @@ -544,7 +544,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -554,7 +554,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -562,7 +562,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -576,7 +576,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_result"` - `Optional cacheControl` @@ -604,7 +604,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` @@ -648,7 +648,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonValue type constant` + - `JsonValue type = "browser_state"` - `Optional cacheControl` @@ -676,7 +676,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -688,7 +688,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -709,7 +709,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -739,7 +739,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -787,7 +787,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional cacheControl` @@ -817,7 +817,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -839,13 +839,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional cacheControl` @@ -891,13 +891,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlockParam:` - `BetaRequestDocumentBlock content` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -911,7 +911,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional cacheControl` @@ -953,13 +953,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlockParam:` - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `Optional stopReason` @@ -969,7 +969,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `Optional stopReason` @@ -977,7 +977,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `Optional cacheControl` @@ -1001,7 +1001,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -1009,7 +1009,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -1017,7 +1017,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -1027,7 +1027,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -1035,13 +1035,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `Optional cacheControl` @@ -1065,7 +1065,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlockParam:` @@ -1073,7 +1073,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -1081,13 +1081,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `Optional cacheControl` @@ -1111,7 +1111,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `FILE_NOT_FOUND("file_not_found")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `Optional errorMessage` @@ -1127,7 +1127,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `PDF("pdf")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `Optional numLines` @@ -1139,11 +1139,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `Optional> lines` @@ -1159,7 +1159,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `Optional cacheControl` @@ -1181,7 +1181,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `Optional errorMessage` @@ -1193,19 +1193,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `Optional cacheControl` @@ -1225,7 +1225,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `Optional cacheControl` @@ -1237,7 +1237,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `Optional cacheControl` @@ -1253,7 +1253,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -1270,7 +1270,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Optional cacheControl` @@ -1286,7 +1286,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl When content is None, the block represents a failed compaction. The server treats these as no-ops. Empty string content is not allowed. - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `Optional cacheControl` @@ -1326,7 +1326,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -1337,7 +1337,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -1345,9 +1345,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_toolset_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_addition"` - `Optional cacheControl` @@ -1384,7 +1384,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Reference to every tool in the named MCP server's toolset. - - `JsonValue type constant` + - `JsonValue type = "tool_removal"` - `Optional cacheControl` @@ -1488,7 +1488,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Identifies one hop of a fallback transition. - - `JsonValue type constant` + - `JsonValue type = "fallback"` - `Optional trigger` @@ -1596,13 +1596,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaClearToolUses20250919Edit:` - - `JsonValue type constant` + - `JsonValue type = "clear_tool_uses_20250919"` - `Optional clearAtLeast` Minimum number of tokens that must be cleared when triggered. Context will only be modified if at least this many tokens can be removed. - - `JsonValue type constant` + - `JsonValue type = "input_tokens"` - `long value` @@ -1624,7 +1624,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Number of tool uses to retain in the conversation - - `JsonValue type constant` + - `JsonValue type = "tool_uses"` - `long value` @@ -1636,7 +1636,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaInputTokensTrigger:` - - `JsonValue type constant` + - `JsonValue type = "input_tokens"` - `long value` @@ -1644,7 +1644,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolUsesTrigger:` - - `JsonValue type constant` + - `JsonValue type = "tool_uses"` - `long value` @@ -1652,7 +1652,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaClearThinking20251015Edit:` - - `JsonValue type constant` + - `JsonValue type = "clear_thinking_20251015"` - `Optional keep` @@ -1660,7 +1660,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaThinkingTurns:` - - `JsonValue type constant` + - `JsonValue type = "thinking_turns"` - `long value` @@ -1668,7 +1668,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaAllThinkingTurns:` - - `JsonValue type constant` + - `JsonValue type = "all"` - `JsonValue` @@ -1676,7 +1676,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Automatically compact older context when reaching the configured trigger threshold. - - `JsonValue type constant` + - `JsonValue type = "compact_20260112"` - `Optional instructions` @@ -1788,7 +1788,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The JSON schema of the format - - `JsonValue type constant` + - `JsonValue type = "json_schema"` - `Optional taskBudget` @@ -1800,7 +1800,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1024 - - `JsonValue type constant` + - `JsonValue type = "tokens"` The budget type. Currently only 'tokens' is supported. @@ -1832,7 +1832,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1024 - - `JsonValue type constant` + - `JsonValue type = "enabled"` - `Optional blockBinding` @@ -1864,11 +1864,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaThinkingConfigDisabled:` - - `JsonValue type constant` + - `JsonValue type = "disabled"` - `class BetaThinkingConfigAdaptive:` - - `JsonValue type constant` + - `JsonValue type = "adaptive"` - `Optional blockBinding` @@ -1900,7 +1900,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String name` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -1974,7 +1974,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -2004,7 +2004,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will automatically decide whether to use tools. - - `JsonValue type constant` + - `JsonValue type = "auto"` - `Optional disableParallelToolUse` @@ -2016,7 +2016,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will use any available tools. - - `JsonValue type constant` + - `JsonValue type = "any"` - `Optional disableParallelToolUse` @@ -2032,7 +2032,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the tool to use. - - `JsonValue type constant` + - `JsonValue type = "tool"` - `Optional disableParallelToolUse` @@ -2044,7 +2044,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will not be allowed to use tools. - - `JsonValue type constant` + - `JsonValue type = "none"` - `Optional> tools` @@ -2118,7 +2118,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -2170,13 +2170,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolBash20241022:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20241022"` - `Optional> allowedCallers` @@ -2204,13 +2204,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolBash20250124:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20250124"` - `Optional> allowedCallers` @@ -2238,13 +2238,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaCodeExecutionTool20250522:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250522"` - `Optional> allowedCallers` @@ -2270,13 +2270,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaCodeExecutionTool20250825:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `Optional> allowedCallers` @@ -2304,13 +2304,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional> allowedCallers` @@ -2338,13 +2338,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence. - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260521"` - `Optional> allowedCallers` @@ -2375,7 +2375,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl the family's tool with any members disabled via `configs` removed from its schema. - - `JsonValue type constant` + - `JsonValue type = "browser_toolset_20260801"` - `Optional cacheControl` @@ -2776,13 +2776,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20241022"` - `Optional> allowedCallers` @@ -2816,13 +2816,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaMemoryTool20250818:` - - `JsonValue name constant` + - `JsonValue name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "memory_20250818"` - `Optional> allowedCallers` @@ -2862,13 +2862,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20250124"` - `Optional> allowedCallers` @@ -2902,13 +2902,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20241022:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20241022"` - `Optional> allowedCallers` @@ -2948,13 +2948,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20251124"` - `Optional> allowedCallers` @@ -3001,7 +3001,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonValue type constant` + - `JsonValue type = "computer_toolset_20260801"` - `Optional cacheControl` @@ -3222,13 +3222,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20250124:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250124"` - `Optional> allowedCallers` @@ -3256,13 +3256,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20250429:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250429"` - `Optional> allowedCallers` @@ -3290,13 +3290,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolTextEditor20250728:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250728"` - `Optional> allowedCallers` @@ -3330,13 +3330,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebSearchTool20250305:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20250305"` - `Optional> allowedCallers` @@ -3378,7 +3378,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Parameters for the user's location. Used to provide more relevant search results. - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -3406,13 +3406,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebFetchTool20250910:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20250910"` - `Optional> allowedCallers` @@ -3462,13 +3462,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebSearchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260209"` - `Optional> allowedCallers` @@ -3512,13 +3512,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebFetchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260209"` - `Optional> allowedCallers` @@ -3570,13 +3570,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260309"` - `Optional> allowedCallers` @@ -3630,13 +3630,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebSearchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260318"` - `Optional> allowedCallers` @@ -3688,13 +3688,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaWebFetchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260318"` - `Optional> allowedCallers` @@ -3762,13 +3762,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonValue name constant` + - `JsonValue name = "advisor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "advisor_20260301"` - `Optional> allowedCallers` @@ -3810,7 +3810,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolSearchToolBm25_20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_bm25"` Name of the tool. @@ -3846,7 +3846,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class BetaToolSearchToolRegex20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_regex"` Name of the tool. @@ -3893,7 +3893,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 255, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "mcp_toolset"` - `Optional cacheControl` @@ -4051,7 +4051,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. diff --git a/content/en/api/java/beta/messages/batches/delete.md b/content/en/api/java/beta/messages/batches/delete.md index aefa6288c4..eccacaa608 100644 --- a/content/en/api/java/beta/messages/batches/delete.md +++ b/content/en/api/java/beta/messages/batches/delete.md @@ -118,7 +118,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl ID of the Message Batch. - - `JsonValue type constant` + - `JsonValue type = "message_batch_deleted"` Deleted object type. diff --git a/content/en/api/java/beta/messages/batches/list.md b/content/en/api/java/beta/messages/batches/list.md index f1f046db04..cf406edfb0 100644 --- a/content/en/api/java/beta/messages/batches/list.md +++ b/content/en/api/java/beta/messages/batches/list.md @@ -212,7 +212,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. diff --git a/content/en/api/java/beta/messages/batches/results.md b/content/en/api/java/beta/messages/batches/results.md index 64a3a15613..314fc4bd87 100644 --- a/content/en/api/java/beta/messages/batches/results.md +++ b/content/en/api/java/beta/messages/batches/results.md @@ -231,7 +231,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocation:` @@ -251,7 +251,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -281,7 +281,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -293,7 +293,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -329,13 +329,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaThinkingBlock:` @@ -351,7 +351,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -363,7 +363,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -377,7 +377,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional caller` @@ -387,7 +387,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -397,7 +397,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -405,7 +405,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -439,7 +439,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional caller` @@ -475,7 +475,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -485,7 +485,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -493,7 +493,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional caller` @@ -535,7 +535,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -555,29 +555,29 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -587,7 +587,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional caller` @@ -625,7 +625,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -635,7 +635,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -647,13 +647,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -673,7 +673,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -681,7 +681,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -689,7 +689,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -699,7 +699,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -707,13 +707,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -733,7 +733,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -741,7 +741,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -749,13 +749,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -777,7 +777,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -797,13 +797,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -817,13 +817,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -843,7 +843,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -853,15 +853,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -879,7 +879,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -899,7 +899,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `boolean isError` @@ -907,7 +907,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -915,7 +915,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `class BetaCompactionBlock:` @@ -933,7 +933,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `class BetaFallbackBlock:` @@ -1059,9 +1059,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - - `JsonValue type constant` + - `JsonValue type = "fallback"` - `Optional contextManagement` @@ -1087,7 +1087,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -1105,7 +1105,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_thinking_20251015"` The type of context management edit applied. @@ -1124,7 +1124,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -1132,7 +1132,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -1140,7 +1140,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -1148,15 +1148,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonValue type constant` + - `JsonValue type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonValue type constant` + - `JsonValue type = "unavailable"` - `Model model` @@ -1164,7 +1164,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonValue role constant` + - `JsonValue role = "assistant"` Conversational role of the generated message. @@ -1253,7 +1253,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - `Optional stopReason` @@ -1293,7 +1293,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonValue type constant` + - `JsonValue type = "message"` Object type. @@ -1357,7 +1357,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonValue type constant` + - `JsonValue type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -1394,7 +1394,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `WRONG_WORKSPACE("wrong_workspace")` - - `JsonValue type constant` + - `JsonValue type = "not_applied"` - `Optional> removeToRedeem` @@ -1467,7 +1467,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "message"` Usage for a sampling iteration @@ -1503,7 +1503,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "compaction"` Usage for a compaction iteration @@ -1545,7 +1545,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -1592,7 +1592,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -1706,11 +1706,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `END_USER_BINDING_MISMATCH("end_user_binding_mismatch")` - - `JsonValue type constant` + - `JsonValue type = "thinking_dropped"` Always `thinking_dropped` for this entry type. - - `JsonValue type constant` + - `JsonValue type = "succeeded"` - `class BetaMessageBatchErroredResult:` @@ -1722,69 +1722,69 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String message` - - `JsonValue type constant` + - `JsonValue type = "invalid_request_error"` - `class BetaAuthenticationError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "authentication_error"` - `class BetaBillingError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "billing_error"` - `class BetaPermissionError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "permission_error"` - `class BetaNotFoundError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "not_found_error"` - `class BetaRateLimitError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "rate_limit_error"` - `class BetaGatewayTimeoutError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "timeout_error"` - `class BetaApiError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "api_error"` - `class BetaOverloadedError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "overloaded_error"` - `Optional requestId` - - `JsonValue type constant` + - `JsonValue type = "error"` - - `JsonValue type constant` + - `JsonValue type = "errored"` - `class BetaMessageBatchCanceledResult:` - - `JsonValue type constant` + - `JsonValue type = "canceled"` - `class BetaMessageBatchExpiredResult:` - - `JsonValue type constant` + - `JsonValue type = "expired"` ## Example diff --git a/content/en/api/java/beta/messages/batches/retrieve.md b/content/en/api/java/beta/messages/batches/retrieve.md index e76a557c9d..1bc2ae6b90 100644 --- a/content/en/api/java/beta/messages/batches/retrieve.md +++ b/content/en/api/java/beta/messages/batches/retrieve.md @@ -200,7 +200,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. diff --git a/content/en/api/java/beta/messages/count_tokens.md b/content/en/api/java/beta/messages/count_tokens.md index 6d4b872936..0593aa6c76 100644 --- a/content/en/api/java/beta/messages/count_tokens.md +++ b/content/en/api/java/beta/messages/count_tokens.md @@ -173,13 +173,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -216,7 +216,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -236,7 +236,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -266,7 +266,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -278,7 +278,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -316,7 +316,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class BetaImageBlockParam:` @@ -338,11 +338,11 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaUrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -350,9 +350,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -380,17 +380,17 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaContentBlockSource:` @@ -404,11 +404,11 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaImageBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class BetaUrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -416,9 +416,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -444,7 +444,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -456,7 +456,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String title` - - `JsonValue type constant` + - `JsonValue type = "search_result"` - `Optional cacheControl` @@ -476,7 +476,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ The `thinking` text of this block as returned by the API. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class BetaRedactedThinkingBlockParam:` @@ -484,7 +484,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class BetaToolUseBlockParam:` @@ -498,7 +498,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 200, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional cacheControl` @@ -512,7 +512,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -522,7 +522,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -530,7 +530,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -544,7 +544,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_result"` - `Optional cacheControl` @@ -572,7 +572,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` @@ -616,7 +616,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonValue type constant` + - `JsonValue type = "browser_state"` - `Optional cacheControl` @@ -644,7 +644,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -656,7 +656,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -677,7 +677,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -707,7 +707,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -755,7 +755,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional cacheControl` @@ -785,7 +785,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -807,13 +807,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional cacheControl` @@ -859,13 +859,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlockParam:` - `BetaRequestDocumentBlock content` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -879,7 +879,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional cacheControl` @@ -921,13 +921,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlockParam:` - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `Optional stopReason` @@ -937,7 +937,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `Optional stopReason` @@ -945,7 +945,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `Optional cacheControl` @@ -969,7 +969,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -977,7 +977,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -985,7 +985,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -995,7 +995,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -1003,13 +1003,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `Optional cacheControl` @@ -1033,7 +1033,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlockParam:` @@ -1041,7 +1041,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -1049,13 +1049,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `Optional cacheControl` @@ -1079,7 +1079,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `FILE_NOT_FOUND("file_not_found")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `Optional errorMessage` @@ -1095,7 +1095,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `PDF("pdf")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `Optional numLines` @@ -1107,11 +1107,11 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `Optional> lines` @@ -1127,7 +1127,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `Optional cacheControl` @@ -1149,7 +1149,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `Optional errorMessage` @@ -1161,19 +1161,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `Optional cacheControl` @@ -1193,7 +1193,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `Optional cacheControl` @@ -1205,7 +1205,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `Optional cacheControl` @@ -1221,7 +1221,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -1238,7 +1238,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Optional cacheControl` @@ -1254,7 +1254,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ When content is None, the block represents a failed compaction. The server treats these as no-ops. Empty string content is not allowed. - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `Optional cacheControl` @@ -1294,7 +1294,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -1305,7 +1305,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -1313,9 +1313,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_toolset_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_addition"` - `Optional cacheControl` @@ -1352,7 +1352,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Reference to every tool in the named MCP server's toolset. - - `JsonValue type constant` + - `JsonValue type = "tool_removal"` - `Optional cacheControl` @@ -1456,7 +1456,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Identifies one hop of a fallback transition. - - `JsonValue type constant` + - `JsonValue type = "fallback"` - `Optional trigger` @@ -1524,7 +1524,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String name` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -1562,7 +1562,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -1654,7 +1654,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -1706,13 +1706,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolBash20241022:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20241022"` - `Optional> allowedCallers` @@ -1740,13 +1740,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolBash20250124:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20250124"` - `Optional> allowedCallers` @@ -1774,13 +1774,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaCodeExecutionTool20250522:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250522"` - `Optional> allowedCallers` @@ -1806,13 +1806,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaCodeExecutionTool20250825:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `Optional> allowedCallers` @@ -1840,13 +1840,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional> allowedCallers` @@ -1874,13 +1874,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Code execution tool with REPL state persistence. - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260521"` - `Optional> allowedCallers` @@ -1911,7 +1911,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ the family's tool with any members disabled via `configs` removed from its schema. - - `JsonValue type constant` + - `JsonValue type = "browser_toolset_20260801"` - `Optional cacheControl` @@ -2312,13 +2312,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20241022"` - `Optional> allowedCallers` @@ -2352,13 +2352,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaMemoryTool20250818:` - - `JsonValue name constant` + - `JsonValue name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "memory_20250818"` - `Optional> allowedCallers` @@ -2398,13 +2398,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20250124"` - `Optional> allowedCallers` @@ -2438,13 +2438,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolTextEditor20241022:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20241022"` - `Optional> allowedCallers` @@ -2484,13 +2484,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20251124"` - `Optional> allowedCallers` @@ -2537,7 +2537,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonValue type constant` + - `JsonValue type = "computer_toolset_20260801"` - `Optional cacheControl` @@ -2758,13 +2758,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolTextEditor20250124:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250124"` - `Optional> allowedCallers` @@ -2792,13 +2792,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolTextEditor20250429:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250429"` - `Optional> allowedCallers` @@ -2826,13 +2826,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolTextEditor20250728:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250728"` - `Optional> allowedCallers` @@ -2866,13 +2866,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebSearchTool20250305:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20250305"` - `Optional> allowedCallers` @@ -2914,7 +2914,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Parameters for the user's location. Used to provide more relevant search results. - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -2942,13 +2942,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebFetchTool20250910:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20250910"` - `Optional> allowedCallers` @@ -2998,13 +2998,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebSearchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260209"` - `Optional> allowedCallers` @@ -3048,13 +3048,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebFetchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260209"` - `Optional> allowedCallers` @@ -3106,13 +3106,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260309"` - `Optional> allowedCallers` @@ -3166,13 +3166,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebSearchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260318"` - `Optional> allowedCallers` @@ -3224,13 +3224,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaWebFetchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260318"` - `Optional> allowedCallers` @@ -3298,13 +3298,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonValue name constant` + - `JsonValue name = "advisor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "advisor_20260301"` - `Optional> allowedCallers` @@ -3346,7 +3346,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolSearchToolBm25_20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_bm25"` Name of the tool. @@ -3382,7 +3382,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class BetaToolSearchToolRegex20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_regex"` Name of the tool. @@ -3429,7 +3429,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 255, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "mcp_toolset"` - `Optional cacheControl` diff --git a/content/en/api/java/beta/messages/create.md b/content/en/api/java/beta/messages/create.md index 7ec68a2b13..8280a551fa 100644 --- a/content/en/api/java/beta/messages/create.md +++ b/content/en/api/java/beta/messages/create.md @@ -185,13 +185,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -228,7 +228,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocationParam:` @@ -248,7 +248,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocationParam:` @@ -278,7 +278,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationWebSearchResultLocationParam:` @@ -290,7 +290,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -328,7 +328,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class BetaImageBlockParam:` @@ -350,11 +350,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaUrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -362,9 +362,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -392,17 +392,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaContentBlockSource:` @@ -416,11 +416,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaImageBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class BetaUrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -428,9 +428,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -456,7 +456,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -468,7 +468,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String title` - - `JsonValue type constant` + - `JsonValue type = "search_result"` - `Optional cacheControl` @@ -488,7 +488,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `thinking` text of this block as returned by the API. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class BetaRedactedThinkingBlockParam:` @@ -496,7 +496,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class BetaToolUseBlockParam:` @@ -510,7 +510,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 200, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional cacheControl` @@ -524,7 +524,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -534,7 +534,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -542,7 +542,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -556,7 +556,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_result"` - `Optional cacheControl` @@ -584,7 +584,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` @@ -628,7 +628,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonValue type constant` + - `JsonValue type = "browser_state"` - `Optional cacheControl` @@ -656,7 +656,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` - `class BetaBrowserStateChangeDownloadStarted:` @@ -668,7 +668,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -689,7 +689,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -719,7 +719,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -767,7 +767,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional cacheControl` @@ -797,7 +797,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -819,13 +819,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional cacheControl` @@ -871,13 +871,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlockParam:` - `BetaRequestDocumentBlock content` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -891,7 +891,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional cacheControl` @@ -933,13 +933,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlockParam:` - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `Optional stopReason` @@ -949,7 +949,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Opaque blob produced by a prior response; must be round-tripped verbatim. - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `Optional stopReason` @@ -957,7 +957,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `Optional cacheControl` @@ -981,7 +981,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlockParam:` @@ -989,7 +989,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -997,7 +997,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlockParam:` @@ -1007,7 +1007,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -1015,13 +1015,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `Optional cacheControl` @@ -1045,7 +1045,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlockParam:` @@ -1053,7 +1053,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -1061,13 +1061,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `Optional cacheControl` @@ -1091,7 +1091,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `FILE_NOT_FOUND("file_not_found")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `Optional errorMessage` @@ -1107,7 +1107,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `PDF("pdf")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `Optional numLines` @@ -1119,11 +1119,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `Optional> lines` @@ -1139,7 +1139,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `Optional cacheControl` @@ -1161,7 +1161,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `Optional errorMessage` @@ -1173,19 +1173,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `Optional cacheControl` @@ -1205,7 +1205,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `Optional cacheControl` @@ -1217,7 +1217,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `Optional cacheControl` @@ -1233,7 +1233,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -1250,7 +1250,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Optional cacheControl` @@ -1266,7 +1266,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co When content is None, the block represents a failed compaction. The server treats these as no-ops. Empty string content is not allowed. - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `Optional cacheControl` @@ -1306,7 +1306,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]{1,128}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `class BetaToolChangeMcpToolReference:` @@ -1317,7 +1317,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_reference"` - `class BetaToolChangeMcpToolsetReference:` @@ -1325,9 +1325,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String serverName` - - `JsonValue type constant` + - `JsonValue type = "mcp_toolset_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_addition"` - `Optional cacheControl` @@ -1364,7 +1364,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Reference to every tool in the named MCP server's toolset. - - `JsonValue type constant` + - `JsonValue type = "tool_removal"` - `Optional cacheControl` @@ -1468,7 +1468,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Identifies one hop of a fallback transition. - - `JsonValue type constant` + - `JsonValue type = "fallback"` - `Optional trigger` @@ -1638,7 +1638,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String name` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -1698,7 +1698,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -1790,7 +1790,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -1842,13 +1842,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolBash20241022:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20241022"` - `Optional> allowedCallers` @@ -1876,13 +1876,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolBash20250124:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20250124"` - `Optional> allowedCallers` @@ -1910,13 +1910,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaCodeExecutionTool20250522:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250522"` - `Optional> allowedCallers` @@ -1942,13 +1942,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaCodeExecutionTool20250825:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `Optional> allowedCallers` @@ -1976,13 +1976,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional> allowedCallers` @@ -2010,13 +2010,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Code execution tool with REPL state persistence. - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260521"` - `Optional> allowedCallers` @@ -2047,7 +2047,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co the family's tool with any members disabled via `configs` removed from its schema. - - `JsonValue type constant` + - `JsonValue type = "browser_toolset_20260801"` - `Optional cacheControl` @@ -2448,13 +2448,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20241022"` - `Optional> allowedCallers` @@ -2488,13 +2488,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaMemoryTool20250818:` - - `JsonValue name constant` + - `JsonValue name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "memory_20250818"` - `Optional> allowedCallers` @@ -2534,13 +2534,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20250124"` - `Optional> allowedCallers` @@ -2574,13 +2574,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolTextEditor20241022:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20241022"` - `Optional> allowedCallers` @@ -2620,13 +2620,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonValue name constant` + - `JsonValue name = "computer"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "computer_20251124"` - `Optional> allowedCallers` @@ -2673,7 +2673,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonValue type constant` + - `JsonValue type = "computer_toolset_20260801"` - `Optional cacheControl` @@ -2894,13 +2894,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolTextEditor20250124:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250124"` - `Optional> allowedCallers` @@ -2928,13 +2928,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolTextEditor20250429:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250429"` - `Optional> allowedCallers` @@ -2962,13 +2962,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolTextEditor20250728:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250728"` - `Optional> allowedCallers` @@ -3002,13 +3002,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebSearchTool20250305:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20250305"` - `Optional> allowedCallers` @@ -3050,7 +3050,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Parameters for the user's location. Used to provide more relevant search results. - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -3078,13 +3078,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebFetchTool20250910:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20250910"` - `Optional> allowedCallers` @@ -3134,13 +3134,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebSearchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260209"` - `Optional> allowedCallers` @@ -3184,13 +3184,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebFetchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260209"` - `Optional> allowedCallers` @@ -3242,13 +3242,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260309"` - `Optional> allowedCallers` @@ -3302,13 +3302,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebSearchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260318"` - `Optional> allowedCallers` @@ -3360,13 +3360,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaWebFetchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260318"` - `Optional> allowedCallers` @@ -3434,13 +3434,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonValue name constant` + - `JsonValue name = "advisor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "advisor_20260301"` - `Optional> allowedCallers` @@ -3482,7 +3482,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolSearchToolBm25_20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_bm25"` Name of the tool. @@ -3518,7 +3518,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaToolSearchToolRegex20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_regex"` Name of the tool. @@ -3565,7 +3565,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 255, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "mcp_toolset"` - `Optional cacheControl` @@ -3734,7 +3734,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class BetaCitationPageLocation:` @@ -3754,7 +3754,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class BetaCitationContentBlockLocation:` @@ -3784,7 +3784,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class BetaCitationsWebSearchResultLocation:` @@ -3796,7 +3796,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -3832,13 +3832,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class BetaThinkingBlock:` @@ -3854,7 +3854,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class BetaRedactedThinkingBlock:` @@ -3866,7 +3866,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class BetaToolUseBlock:` @@ -3880,7 +3880,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional caller` @@ -3890,7 +3890,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class BetaServerToolCaller:` @@ -3900,7 +3900,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class BetaServerToolCaller20260120:` @@ -3908,7 +3908,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -3942,7 +3942,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional caller` @@ -3978,7 +3978,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -3988,7 +3988,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -3996,7 +3996,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional caller` @@ -4038,7 +4038,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class BetaWebFetchBlock:` @@ -4058,29 +4058,29 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class BetaPlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -4090,7 +4090,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional caller` @@ -4128,7 +4128,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `MODEL_NOT_FOUND("model_not_found")` - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result_error"` - `class BetaAdvisorResultBlock:` @@ -4138,7 +4138,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String text` - - `JsonValue type constant` + - `JsonValue type = "advisor_result"` - `class BetaAdvisorRedactedResultBlock:` @@ -4150,13 +4150,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The advisor sub-inference's stop reason (same values as the top-level message `stop_reason`). - - `JsonValue type constant` + - `JsonValue type = "advisor_redacted_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "advisor_tool_result"` - `class BetaCodeExecutionToolResultBlock:` @@ -4176,7 +4176,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class BetaCodeExecutionResultBlock:` @@ -4184,7 +4184,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -4192,7 +4192,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class BetaEncryptedCodeExecutionResultBlock:` @@ -4202,7 +4202,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -4210,13 +4210,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BetaBashCodeExecutionToolResultBlock:` @@ -4236,7 +4236,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BetaBashCodeExecutionResultBlock:` @@ -4244,7 +4244,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -4252,13 +4252,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class BetaTextEditorCodeExecutionToolResultBlock:` @@ -4280,7 +4280,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class BetaTextEditorCodeExecutionViewResultBlock:` @@ -4300,13 +4300,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class BetaTextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class BetaTextEditorCodeExecutionStrReplaceResultBlock:` @@ -4320,13 +4320,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class BetaToolSearchToolResultBlock:` @@ -4346,7 +4346,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class BetaToolSearchToolSearchResultBlock:` @@ -4356,15 +4356,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class BetaMcpToolUseBlock:` @@ -4382,7 +4382,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The name of the MCP server - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_use"` - `class BetaMcpToolResultBlock:` @@ -4402,7 +4402,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `boolean isError` @@ -4410,7 +4410,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "mcp_tool_result"` - `class BetaContainerUploadBlock:` @@ -4418,7 +4418,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `class BetaCompactionBlock:` @@ -4436,7 +4436,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonValue type constant` + - `JsonValue type = "compaction"` - `class BetaFallbackBlock:` @@ -4562,9 +4562,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The request could be related to an area that was determined as harmful. Benign work might sometimes trigger this category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - - `JsonValue type constant` + - `JsonValue type = "fallback"` - `Optional contextManagement` @@ -4590,7 +4590,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_tool_uses_20250919"` The type of context management edit applied. @@ -4608,7 +4608,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "clear_thinking_20251015"` The type of context management edit applied. @@ -4627,7 +4627,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "model_changed"` - `class BetaCacheMissSystemChanged:` @@ -4635,7 +4635,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "system_changed"` - `class BetaCacheMissToolsChanged:` @@ -4643,7 +4643,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "tools_changed"` - `class BetaCacheMissMessagesChanged:` @@ -4651,15 +4651,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Approximate number of input tokens that would have been read from cache had the prefix matched the previous request. - - `JsonValue type constant` + - `JsonValue type = "messages_changed"` - `class BetaCacheMissPreviousMessageNotFound:` - - `JsonValue type constant` + - `JsonValue type = "previous_message_not_found"` - `class BetaCacheMissUnavailable:` - - `JsonValue type constant` + - `JsonValue type = "unavailable"` - `Model model` @@ -4667,7 +4667,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. - - `JsonValue role constant` + - `JsonValue role = "assistant"` Conversational role of the generated message. @@ -4756,7 +4756,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The server's suggested retry target for this refusal. Populated when a fallback attempt could not be made (the fallback model's rate limit was exhausted, or it was overloaded); names the fallback model the caller can retry directly. Null otherwise. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - `Optional stopReason` @@ -4796,7 +4796,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonValue type constant` + - `JsonValue type = "message"` Object type. @@ -4860,7 +4860,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. - - `JsonValue type constant` + - `JsonValue type = "redeemed"` - `class BetaFallbackCreditNotApplied:` @@ -4897,7 +4897,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `WRONG_WORKSPACE("wrong_workspace")` - - `JsonValue type constant` + - `JsonValue type = "not_applied"` - `Optional> removeToRedeem` @@ -4970,7 +4970,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "message"` Usage for a sampling iteration @@ -5006,7 +5006,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "compaction"` Usage for a compaction iteration @@ -5048,7 +5048,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "advisor_message"` Usage for an advisor sub-inference iteration @@ -5095,7 +5095,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "fallback_message"` Usage for the fallback-model attempt that served the response @@ -5209,7 +5209,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `END_USER_BINDING_MISMATCH("end_user_binding_mismatch")` - - `JsonValue type constant` + - `JsonValue type = "thinking_dropped"` Always `thinking_dropped` for this entry type. @@ -5219,7 +5219,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `BetaMessage message` - - `JsonValue type constant` + - `JsonValue type = "message_start"` - `class BetaRawMessageDeltaEvent:` @@ -5241,7 +5241,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional stopSequence` - - `JsonValue type constant` + - `JsonValue type = "message_delta"` - `BetaMessageDeltaUsage usage` @@ -5367,13 +5367,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co `organization_binding_mismatch`, `end_user_binding_mismatch`, `model_binding_mismatch`, `prefix_binding_mismatch`. - - `JsonValue type constant` + - `JsonValue type = "thinking_dropped"` Always `thinking_dropped` for this entry type. - `class BetaRawMessageStopEvent:` - - `JsonValue type constant` + - `JsonValue type = "message_stop"` - `class BetaRawContentBlockStartEvent:` @@ -5437,7 +5437,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `long index` - - `JsonValue type constant` + - `JsonValue type = "content_block_start"` - `class BetaRawContentBlockDeltaEvent:` @@ -5447,13 +5447,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String text` - - `JsonValue type constant` + - `JsonValue type = "text_delta"` - `class BetaInputJsonDelta:` - `String partialJson` - - `JsonValue type constant` + - `JsonValue type = "input_json_delta"` - `class BetaCitationsDelta:` @@ -5469,7 +5469,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class BetaCitationSearchResultLocation:` - - `JsonValue type constant` + - `JsonValue type = "citations_delta"` - `class BetaThinkingDelta:` @@ -5481,7 +5481,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The incremental `thinking` text for this content block. Concatenate the `thinking` values of successive `thinking_delta` events to assemble the block's full `thinking` value. - - `JsonValue type constant` + - `JsonValue type = "thinking_delta"` - `class BetaSignatureDelta:` @@ -5489,7 +5489,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `signature` for this thinking block: an opaque value used to verify that the block was generated by Claude when it is passed back to the API. Delivered in a `signature_delta` event just before the block's `content_block_stop` event. - - `JsonValue type constant` + - `JsonValue type = "signature_delta"` - `class BetaCompactionContentBlockDelta:` @@ -5499,17 +5499,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Opaque metadata from prior compaction, to be round-tripped verbatim - - `JsonValue type constant` + - `JsonValue type = "compaction_delta"` - `long index` - - `JsonValue type constant` + - `JsonValue type = "content_block_delta"` - `class BetaRawContentBlockStopEvent:` - `long index` - - `JsonValue type constant` + - `JsonValue type = "content_block_stop"` ## Example diff --git a/content/en/api/java/beta/models.md b/content/en/api/java/beta/models.md index 0e68c48d5b..291fb607d0 100644 --- a/content/en/api/java/beta/models.md +++ b/content/en/api/java/beta/models.md @@ -252,7 +252,7 @@ The Models API response can be used to determine which models are available for Maximum value for the `max_tokens` parameter when using this model. - - `JsonValue type constant` + - `JsonValue type = "model"` Object type. @@ -603,7 +603,7 @@ The Models API response can be used to determine information about a specific mo Maximum value for the `max_tokens` parameter when using this model. - - `JsonValue type constant` + - `JsonValue type = "model"` Object type. @@ -1011,7 +1011,7 @@ public final class Main { Maximum value for the `max_tokens` parameter when using this model. - - `JsonValue type constant` + - `JsonValue type = "model"` Object type. diff --git a/content/en/api/java/beta/models/list.md b/content/en/api/java/beta/models/list.md index 651dfb9023..3afe5c669a 100644 --- a/content/en/api/java/beta/models/list.md +++ b/content/en/api/java/beta/models/list.md @@ -250,7 +250,7 @@ The Models API response can be used to determine which models are available for Maximum value for the `max_tokens` parameter when using this model. - - `JsonValue type constant` + - `JsonValue type = "model"` Object type. diff --git a/content/en/api/java/beta/models/retrieve.md b/content/en/api/java/beta/models/retrieve.md index f023b88846..a055a00f54 100644 --- a/content/en/api/java/beta/models/retrieve.md +++ b/content/en/api/java/beta/models/retrieve.md @@ -238,7 +238,7 @@ The Models API response can be used to determine information about a specific mo Maximum value for the `max_tokens` parameter when using this model. - - `JsonValue type constant` + - `JsonValue type = "model"` Object type. diff --git a/content/en/api/java/beta/sessions.md b/content/en/api/java/beta/sessions.md index d8db57d3a4..a73af78cf0 100644 --- a/content/en/api/java/beta/sessions.md +++ b/content/en/api/java/beta/sessions.md @@ -358,7 +358,7 @@ Create Session Configuration override for the bash tool. - - `JsonValue name constant` + - `JsonValue name = "bash"` Must be "bash". @@ -388,7 +388,7 @@ Create Session Configuration override for the edit tool. - - `JsonValue name constant` + - `JsonValue name = "edit"` Must be "edit". @@ -414,7 +414,7 @@ Create Session Configuration override for the read tool. - - `JsonValue name constant` + - `JsonValue name = "read"` Must be "read". @@ -440,7 +440,7 @@ Create Session Configuration override for the write tool. - - `JsonValue name constant` + - `JsonValue name = "write"` Must be "write". @@ -466,7 +466,7 @@ Create Session Configuration override for the glob tool. - - `JsonValue name constant` + - `JsonValue name = "glob"` Must be "glob". @@ -492,7 +492,7 @@ Create Session Configuration override for the grep tool. - - `JsonValue name constant` + - `JsonValue name = "grep"` Must be "grep". @@ -518,7 +518,7 @@ Create Session Configuration override for the web_fetch tool. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Must be "web_fetch". @@ -558,7 +558,7 @@ Create Session Configuration override for the web_search tool. - - `JsonValue name constant` + - `JsonValue name = "web_search"` Must be "web_search". @@ -592,7 +592,7 @@ Create Session Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -710,7 +710,7 @@ Create Session JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -1252,7 +1252,7 @@ Create Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -1270,7 +1270,7 @@ Create Session - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -1278,7 +1278,7 @@ Create Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -1292,7 +1292,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -1300,7 +1300,7 @@ Create Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -1314,7 +1314,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -1322,7 +1322,7 @@ Create Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -1336,7 +1336,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -1344,7 +1344,7 @@ Create Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -1358,7 +1358,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -1366,7 +1366,7 @@ Create Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -1380,7 +1380,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -1388,7 +1388,7 @@ Create Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -1402,7 +1402,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -1418,7 +1418,7 @@ Create Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -1432,7 +1432,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -1442,7 +1442,7 @@ Create Session Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -1540,7 +1540,7 @@ Create Session JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -2481,7 +2481,7 @@ List Sessions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -2499,7 +2499,7 @@ List Sessions - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -2507,7 +2507,7 @@ List Sessions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -2521,7 +2521,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -2529,7 +2529,7 @@ List Sessions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -2543,7 +2543,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -2551,7 +2551,7 @@ List Sessions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -2565,7 +2565,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -2573,7 +2573,7 @@ List Sessions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -2587,7 +2587,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -2595,7 +2595,7 @@ List Sessions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -2609,7 +2609,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -2617,7 +2617,7 @@ List Sessions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -2631,7 +2631,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -2647,7 +2647,7 @@ List Sessions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -2661,7 +2661,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -2671,7 +2671,7 @@ List Sessions Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -2769,7 +2769,7 @@ List Sessions JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -3638,7 +3638,7 @@ Get Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -3656,7 +3656,7 @@ Get Session - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -3664,7 +3664,7 @@ Get Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -3678,7 +3678,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -3686,7 +3686,7 @@ Get Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -3700,7 +3700,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -3708,7 +3708,7 @@ Get Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -3722,7 +3722,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -3730,7 +3730,7 @@ Get Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -3744,7 +3744,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -3752,7 +3752,7 @@ Get Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -3766,7 +3766,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -3774,7 +3774,7 @@ Get Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -3788,7 +3788,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -3804,7 +3804,7 @@ Get Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -3818,7 +3818,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -3828,7 +3828,7 @@ Get Session Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -3926,7 +3926,7 @@ Get Session JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -4811,7 +4811,7 @@ Update Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -4829,7 +4829,7 @@ Update Session - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -4837,7 +4837,7 @@ Update Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -4851,7 +4851,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -4859,7 +4859,7 @@ Update Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -4873,7 +4873,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -4881,7 +4881,7 @@ Update Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -4895,7 +4895,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -4903,7 +4903,7 @@ Update Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -4917,7 +4917,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -4925,7 +4925,7 @@ Update Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -4939,7 +4939,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -4947,7 +4947,7 @@ Update Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -4961,7 +4961,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -4977,7 +4977,7 @@ Update Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -4991,7 +4991,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -5001,7 +5001,7 @@ Update Session Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -5099,7 +5099,7 @@ Update Session JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -6108,7 +6108,7 @@ Archive Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -6126,7 +6126,7 @@ Archive Session - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -6134,7 +6134,7 @@ Archive Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -6148,7 +6148,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -6156,7 +6156,7 @@ Archive Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -6170,7 +6170,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -6178,7 +6178,7 @@ Archive Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -6192,7 +6192,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -6200,7 +6200,7 @@ Archive Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -6214,7 +6214,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -6222,7 +6222,7 @@ Archive Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -6236,7 +6236,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -6244,7 +6244,7 @@ Archive Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -6258,7 +6258,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -6274,7 +6274,7 @@ Archive Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -6288,7 +6288,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -6298,7 +6298,7 @@ Archive Session Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -6396,7 +6396,7 @@ Archive Session JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -7239,7 +7239,7 @@ public final class Main { Configuration override for the bash tool. - - `JsonValue name constant` + - `JsonValue name = "bash"` Must be "bash". @@ -7269,7 +7269,7 @@ public final class Main { Configuration override for the edit tool. - - `JsonValue name constant` + - `JsonValue name = "edit"` Must be "edit". @@ -7295,7 +7295,7 @@ public final class Main { Configuration override for the read tool. - - `JsonValue name constant` + - `JsonValue name = "read"` Must be "read". @@ -7321,7 +7321,7 @@ public final class Main { Configuration override for the write tool. - - `JsonValue name constant` + - `JsonValue name = "write"` Must be "write". @@ -7347,7 +7347,7 @@ public final class Main { Configuration override for the glob tool. - - `JsonValue name constant` + - `JsonValue name = "glob"` Must be "glob". @@ -7373,7 +7373,7 @@ public final class Main { Configuration override for the grep tool. - - `JsonValue name constant` + - `JsonValue name = "grep"` Must be "grep". @@ -7399,7 +7399,7 @@ public final class Main { Configuration override for the web_fetch tool. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Must be "web_fetch". @@ -7439,7 +7439,7 @@ public final class Main { Configuration override for the web_search tool. - - `JsonValue name constant` + - `JsonValue name = "web_search"` Must be "web_search". @@ -7473,7 +7473,7 @@ public final class Main { Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -7591,7 +7591,7 @@ public final class Main { JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -8233,7 +8233,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -8251,7 +8251,7 @@ public final class Main { - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -8259,7 +8259,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -8273,7 +8273,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -8281,7 +8281,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -8295,7 +8295,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -8303,7 +8303,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -8317,7 +8317,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -8325,7 +8325,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -8339,7 +8339,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -8347,7 +8347,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -8361,7 +8361,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -8369,7 +8369,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -8383,7 +8383,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -8399,7 +8399,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -8413,7 +8413,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -8423,7 +8423,7 @@ public final class Main { Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -8521,7 +8521,7 @@ public final class Main { JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -9057,7 +9057,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -9075,7 +9075,7 @@ public final class Main { - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -9083,7 +9083,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -9097,7 +9097,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -9105,7 +9105,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -9119,7 +9119,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -9127,7 +9127,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -9141,7 +9141,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -9149,7 +9149,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -9163,7 +9163,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -9171,7 +9171,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -9185,7 +9185,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -9193,7 +9193,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -9207,7 +9207,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -9223,7 +9223,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -9237,7 +9237,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -9247,7 +9247,7 @@ public final class Main { Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -9345,7 +9345,7 @@ public final class Main { JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -9445,7 +9445,7 @@ public final class Main { Configuration override for the bash tool. - - `JsonValue name constant` + - `JsonValue name = "bash"` Must be "bash". @@ -9475,7 +9475,7 @@ public final class Main { Configuration override for the edit tool. - - `JsonValue name constant` + - `JsonValue name = "edit"` Must be "edit". @@ -9501,7 +9501,7 @@ public final class Main { Configuration override for the read tool. - - `JsonValue name constant` + - `JsonValue name = "read"` Must be "read". @@ -9527,7 +9527,7 @@ public final class Main { Configuration override for the write tool. - - `JsonValue name constant` + - `JsonValue name = "write"` Must be "write". @@ -9553,7 +9553,7 @@ public final class Main { Configuration override for the glob tool. - - `JsonValue name constant` + - `JsonValue name = "glob"` Must be "glob". @@ -9579,7 +9579,7 @@ public final class Main { Configuration override for the grep tool. - - `JsonValue name constant` + - `JsonValue name = "grep"` Must be "grep". @@ -9605,7 +9605,7 @@ public final class Main { Configuration override for the web_fetch tool. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Must be "web_fetch". @@ -9645,7 +9645,7 @@ public final class Main { Configuration override for the web_search tool. - - `JsonValue name constant` + - `JsonValue name = "web_search"` Must be "web_search". @@ -9679,7 +9679,7 @@ public final class Main { Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -9797,7 +9797,7 @@ public final class Main { JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -9987,7 +9987,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -10005,7 +10005,7 @@ public final class Main { - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -10013,7 +10013,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -10027,7 +10027,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -10035,7 +10035,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -10049,7 +10049,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -10057,7 +10057,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -10071,7 +10071,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -10079,7 +10079,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -10093,7 +10093,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -10101,7 +10101,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -10115,7 +10115,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -10123,7 +10123,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -10137,7 +10137,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -10153,7 +10153,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -10167,7 +10167,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -10177,7 +10177,7 @@ public final class Main { Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -10275,7 +10275,7 @@ public final class Main { JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -10533,7 +10533,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -10551,7 +10551,7 @@ public final class Main { - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -10559,7 +10559,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -10573,7 +10573,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -10581,7 +10581,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -10595,7 +10595,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -10603,7 +10603,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -10617,7 +10617,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -10625,7 +10625,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -10639,7 +10639,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -10647,7 +10647,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -10661,7 +10661,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -10669,7 +10669,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -10683,7 +10683,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -10699,7 +10699,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -10713,7 +10713,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -10723,7 +10723,7 @@ public final class Main { Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -10821,7 +10821,7 @@ public final class Main { JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -13177,7 +13177,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -13195,7 +13195,7 @@ List Events - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -13203,7 +13203,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -13217,7 +13217,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -13225,7 +13225,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -13239,7 +13239,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -13247,7 +13247,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -13261,7 +13261,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -13269,7 +13269,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -13283,7 +13283,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -13291,7 +13291,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -13305,7 +13305,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -13313,7 +13313,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -13327,7 +13327,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -13343,7 +13343,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -13357,7 +13357,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -13367,7 +13367,7 @@ List Events Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -13465,7 +13465,7 @@ List Events JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -16433,7 +16433,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -16451,7 +16451,7 @@ Stream Events - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -16459,7 +16459,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -16473,7 +16473,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -16481,7 +16481,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -16495,7 +16495,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -16503,7 +16503,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -16517,7 +16517,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -16525,7 +16525,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -16539,7 +16539,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -16547,7 +16547,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -16561,7 +16561,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -16569,7 +16569,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -16583,7 +16583,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -16599,7 +16599,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -16613,7 +16613,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -16623,7 +16623,7 @@ Stream Events Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -16721,7 +16721,7 @@ Stream Events JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -18437,7 +18437,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -18455,7 +18455,7 @@ List Session Threads - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -18463,7 +18463,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -18477,7 +18477,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -18485,7 +18485,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -18499,7 +18499,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -18507,7 +18507,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -18521,7 +18521,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -18529,7 +18529,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -18543,7 +18543,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -18551,7 +18551,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -18565,7 +18565,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -18573,7 +18573,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -18587,7 +18587,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -18603,7 +18603,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -18617,7 +18617,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -18627,7 +18627,7 @@ List Session Threads Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -18725,7 +18725,7 @@ List Session Threads JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -19288,7 +19288,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -19306,7 +19306,7 @@ Get Session Thread - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -19314,7 +19314,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -19328,7 +19328,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -19336,7 +19336,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -19350,7 +19350,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -19358,7 +19358,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -19372,7 +19372,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -19380,7 +19380,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -19394,7 +19394,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -19402,7 +19402,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -19416,7 +19416,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -19424,7 +19424,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -19438,7 +19438,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -19454,7 +19454,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -19468,7 +19468,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -19478,7 +19478,7 @@ Get Session Thread Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -19576,7 +19576,7 @@ Get Session Thread JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -20138,7 +20138,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -20156,7 +20156,7 @@ Archive Session Thread - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -20164,7 +20164,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -20178,7 +20178,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -20186,7 +20186,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -20200,7 +20200,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -20208,7 +20208,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -20222,7 +20222,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -20230,7 +20230,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -20244,7 +20244,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -20252,7 +20252,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -20266,7 +20266,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -20274,7 +20274,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -20288,7 +20288,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -20304,7 +20304,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -20318,7 +20318,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -20328,7 +20328,7 @@ Archive Session Thread Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -20426,7 +20426,7 @@ Archive Session Thread JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -22460,7 +22460,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -22478,7 +22478,7 @@ List Session Thread Events - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -22486,7 +22486,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -22500,7 +22500,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -22508,7 +22508,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -22522,7 +22522,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -22530,7 +22530,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -22544,7 +22544,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -22552,7 +22552,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -22566,7 +22566,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -22574,7 +22574,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -22588,7 +22588,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -22596,7 +22596,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -22610,7 +22610,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -22626,7 +22626,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -22640,7 +22640,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -22650,7 +22650,7 @@ List Session Thread Events Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -22748,7 +22748,7 @@ List Session Thread Events JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -24746,7 +24746,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -24764,7 +24764,7 @@ Stream Session Thread Events - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -24772,7 +24772,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -24786,7 +24786,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -24794,7 +24794,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -24808,7 +24808,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -24816,7 +24816,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -24830,7 +24830,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -24838,7 +24838,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -24852,7 +24852,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -24860,7 +24860,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -24874,7 +24874,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -24882,7 +24882,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -24896,7 +24896,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -24912,7 +24912,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -24926,7 +24926,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -24936,7 +24936,7 @@ Stream Session Thread Events Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -25034,7 +25034,7 @@ Stream Session Thread Events JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` diff --git a/content/en/api/java/beta/sessions/archive.md b/content/en/api/java/beta/sessions/archive.md index c88a3fb030..d34a469907 100644 --- a/content/en/api/java/beta/sessions/archive.md +++ b/content/en/api/java/beta/sessions/archive.md @@ -306,7 +306,7 @@ Archive Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -324,7 +324,7 @@ Archive Session - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -332,7 +332,7 @@ Archive Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -346,7 +346,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -354,7 +354,7 @@ Archive Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -368,7 +368,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -376,7 +376,7 @@ Archive Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -390,7 +390,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -398,7 +398,7 @@ Archive Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -412,7 +412,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -420,7 +420,7 @@ Archive Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -434,7 +434,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -442,7 +442,7 @@ Archive Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -456,7 +456,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -472,7 +472,7 @@ Archive Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -486,7 +486,7 @@ Archive Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -496,7 +496,7 @@ Archive Session Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -594,7 +594,7 @@ Archive Session JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` diff --git a/content/en/api/java/beta/sessions/create.md b/content/en/api/java/beta/sessions/create.md index 8a653173a9..5c9e10d204 100644 --- a/content/en/api/java/beta/sessions/create.md +++ b/content/en/api/java/beta/sessions/create.md @@ -356,7 +356,7 @@ Create Session Configuration override for the bash tool. - - `JsonValue name constant` + - `JsonValue name = "bash"` Must be "bash". @@ -386,7 +386,7 @@ Create Session Configuration override for the edit tool. - - `JsonValue name constant` + - `JsonValue name = "edit"` Must be "edit". @@ -412,7 +412,7 @@ Create Session Configuration override for the read tool. - - `JsonValue name constant` + - `JsonValue name = "read"` Must be "read". @@ -438,7 +438,7 @@ Create Session Configuration override for the write tool. - - `JsonValue name constant` + - `JsonValue name = "write"` Must be "write". @@ -464,7 +464,7 @@ Create Session Configuration override for the glob tool. - - `JsonValue name constant` + - `JsonValue name = "glob"` Must be "glob". @@ -490,7 +490,7 @@ Create Session Configuration override for the grep tool. - - `JsonValue name constant` + - `JsonValue name = "grep"` Must be "grep". @@ -516,7 +516,7 @@ Create Session Configuration override for the web_fetch tool. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Must be "web_fetch". @@ -556,7 +556,7 @@ Create Session Configuration override for the web_search tool. - - `JsonValue name constant` + - `JsonValue name = "web_search"` Must be "web_search". @@ -590,7 +590,7 @@ Create Session Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -708,7 +708,7 @@ Create Session JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -1250,7 +1250,7 @@ Create Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -1268,7 +1268,7 @@ Create Session - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -1276,7 +1276,7 @@ Create Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -1290,7 +1290,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -1298,7 +1298,7 @@ Create Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -1312,7 +1312,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -1320,7 +1320,7 @@ Create Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -1334,7 +1334,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -1342,7 +1342,7 @@ Create Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -1356,7 +1356,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -1364,7 +1364,7 @@ Create Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -1378,7 +1378,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -1386,7 +1386,7 @@ Create Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -1400,7 +1400,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -1416,7 +1416,7 @@ Create Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -1430,7 +1430,7 @@ Create Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -1440,7 +1440,7 @@ Create Session Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -1538,7 +1538,7 @@ Create Session JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` diff --git a/content/en/api/java/beta/sessions/events.md b/content/en/api/java/beta/sessions/events.md index 0729cb8b94..01bffa7e92 100644 --- a/content/en/api/java/beta/sessions/events.md +++ b/content/en/api/java/beta/sessions/events.md @@ -1792,7 +1792,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -1810,7 +1810,7 @@ List Events - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -1818,7 +1818,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -1832,7 +1832,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -1840,7 +1840,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -1854,7 +1854,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -1862,7 +1862,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -1876,7 +1876,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -1884,7 +1884,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -1898,7 +1898,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -1906,7 +1906,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -1920,7 +1920,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -1928,7 +1928,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -1942,7 +1942,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -1958,7 +1958,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -1972,7 +1972,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -1982,7 +1982,7 @@ List Events Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -2080,7 +2080,7 @@ List Events JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -5048,7 +5048,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -5066,7 +5066,7 @@ Stream Events - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -5074,7 +5074,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -5088,7 +5088,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -5096,7 +5096,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -5110,7 +5110,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -5118,7 +5118,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -5132,7 +5132,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -5140,7 +5140,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -5154,7 +5154,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -5162,7 +5162,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -5176,7 +5176,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -5184,7 +5184,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -5198,7 +5198,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -5214,7 +5214,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -5228,7 +5228,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -5238,7 +5238,7 @@ Stream Events Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -5336,7 +5336,7 @@ Stream Events JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -9914,7 +9914,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -9932,7 +9932,7 @@ public final class Main { - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -9940,7 +9940,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -9954,7 +9954,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -9962,7 +9962,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -9976,7 +9976,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -9984,7 +9984,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -9998,7 +9998,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -10006,7 +10006,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -10020,7 +10020,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -10028,7 +10028,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -10042,7 +10042,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -10050,7 +10050,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -10064,7 +10064,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -10080,7 +10080,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -10094,7 +10094,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -10104,7 +10104,7 @@ public final class Main { Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -10202,7 +10202,7 @@ public final class Main { JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -12648,7 +12648,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -12666,7 +12666,7 @@ public final class Main { - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -12674,7 +12674,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -12688,7 +12688,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -12696,7 +12696,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -12710,7 +12710,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -12718,7 +12718,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -12732,7 +12732,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -12740,7 +12740,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -12754,7 +12754,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -12762,7 +12762,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -12776,7 +12776,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -12784,7 +12784,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -12798,7 +12798,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -12814,7 +12814,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -12828,7 +12828,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -12838,7 +12838,7 @@ public final class Main { Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -12936,7 +12936,7 @@ public final class Main { JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` diff --git a/content/en/api/java/beta/sessions/events/list.md b/content/en/api/java/beta/sessions/events/list.md index c3eb72cbbc..6399b94ce7 100644 --- a/content/en/api/java/beta/sessions/events/list.md +++ b/content/en/api/java/beta/sessions/events/list.md @@ -1790,7 +1790,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -1808,7 +1808,7 @@ List Events - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -1816,7 +1816,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -1830,7 +1830,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -1838,7 +1838,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -1852,7 +1852,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -1860,7 +1860,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -1874,7 +1874,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -1882,7 +1882,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -1896,7 +1896,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -1904,7 +1904,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -1918,7 +1918,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -1926,7 +1926,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -1940,7 +1940,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -1956,7 +1956,7 @@ List Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -1970,7 +1970,7 @@ List Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -1980,7 +1980,7 @@ List Events Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -2078,7 +2078,7 @@ List Events JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` diff --git a/content/en/api/java/beta/sessions/events/stream.md b/content/en/api/java/beta/sessions/events/stream.md index 00b066a85a..2f9bb47fdd 100644 --- a/content/en/api/java/beta/sessions/events/stream.md +++ b/content/en/api/java/beta/sessions/events/stream.md @@ -1752,7 +1752,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -1770,7 +1770,7 @@ Stream Events - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -1778,7 +1778,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -1792,7 +1792,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -1800,7 +1800,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -1814,7 +1814,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -1822,7 +1822,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -1836,7 +1836,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -1844,7 +1844,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -1858,7 +1858,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -1866,7 +1866,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -1880,7 +1880,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -1888,7 +1888,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -1902,7 +1902,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -1918,7 +1918,7 @@ Stream Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -1932,7 +1932,7 @@ Stream Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -1942,7 +1942,7 @@ Stream Events Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -2040,7 +2040,7 @@ Stream Events JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` diff --git a/content/en/api/java/beta/sessions/list.md b/content/en/api/java/beta/sessions/list.md index 8e6ad48dbd..463224befd 100644 --- a/content/en/api/java/beta/sessions/list.md +++ b/content/en/api/java/beta/sessions/list.md @@ -380,7 +380,7 @@ List Sessions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -398,7 +398,7 @@ List Sessions - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -406,7 +406,7 @@ List Sessions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -420,7 +420,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -428,7 +428,7 @@ List Sessions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -442,7 +442,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -450,7 +450,7 @@ List Sessions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -464,7 +464,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -472,7 +472,7 @@ List Sessions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -486,7 +486,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -494,7 +494,7 @@ List Sessions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -508,7 +508,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -516,7 +516,7 @@ List Sessions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -530,7 +530,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -546,7 +546,7 @@ List Sessions - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -560,7 +560,7 @@ List Sessions Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -570,7 +570,7 @@ List Sessions Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -668,7 +668,7 @@ List Sessions JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` diff --git a/content/en/api/java/beta/sessions/retrieve.md b/content/en/api/java/beta/sessions/retrieve.md index b0ac312b94..957888a2d5 100644 --- a/content/en/api/java/beta/sessions/retrieve.md +++ b/content/en/api/java/beta/sessions/retrieve.md @@ -306,7 +306,7 @@ Get Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -324,7 +324,7 @@ Get Session - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -332,7 +332,7 @@ Get Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -346,7 +346,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -354,7 +354,7 @@ Get Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -368,7 +368,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -376,7 +376,7 @@ Get Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -390,7 +390,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -398,7 +398,7 @@ Get Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -412,7 +412,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -420,7 +420,7 @@ Get Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -434,7 +434,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -442,7 +442,7 @@ Get Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -456,7 +456,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -472,7 +472,7 @@ Get Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -486,7 +486,7 @@ Get Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -496,7 +496,7 @@ Get Session Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -594,7 +594,7 @@ Get Session JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` diff --git a/content/en/api/java/beta/sessions/threads.md b/content/en/api/java/beta/sessions/threads.md index b9899f897e..811b667745 100644 --- a/content/en/api/java/beta/sessions/threads.md +++ b/content/en/api/java/beta/sessions/threads.md @@ -296,7 +296,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -314,7 +314,7 @@ List Session Threads - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -322,7 +322,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -336,7 +336,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -344,7 +344,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -358,7 +358,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -366,7 +366,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -380,7 +380,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -388,7 +388,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -402,7 +402,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -410,7 +410,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -424,7 +424,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -432,7 +432,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -446,7 +446,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -462,7 +462,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -476,7 +476,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -486,7 +486,7 @@ List Session Threads Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -584,7 +584,7 @@ List Session Threads JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -1147,7 +1147,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -1165,7 +1165,7 @@ Get Session Thread - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -1173,7 +1173,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -1187,7 +1187,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -1195,7 +1195,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -1209,7 +1209,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -1217,7 +1217,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -1231,7 +1231,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -1239,7 +1239,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -1253,7 +1253,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -1261,7 +1261,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -1275,7 +1275,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -1283,7 +1283,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -1297,7 +1297,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -1313,7 +1313,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -1327,7 +1327,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -1337,7 +1337,7 @@ Get Session Thread Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -1435,7 +1435,7 @@ Get Session Thread JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -1997,7 +1997,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -2015,7 +2015,7 @@ Archive Session Thread - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -2023,7 +2023,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -2037,7 +2037,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -2045,7 +2045,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -2059,7 +2059,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -2067,7 +2067,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -2081,7 +2081,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -2089,7 +2089,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -2103,7 +2103,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -2111,7 +2111,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -2125,7 +2125,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -2133,7 +2133,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -2147,7 +2147,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -2163,7 +2163,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -2177,7 +2177,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -2187,7 +2187,7 @@ Archive Session Thread Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -2285,7 +2285,7 @@ Archive Session Thread JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -2741,7 +2741,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -2759,7 +2759,7 @@ public final class Main { - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -2767,7 +2767,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -2781,7 +2781,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -2789,7 +2789,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -2803,7 +2803,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -2811,7 +2811,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -2825,7 +2825,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -2833,7 +2833,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -2847,7 +2847,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -2855,7 +2855,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -2869,7 +2869,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -2877,7 +2877,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -2891,7 +2891,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -2907,7 +2907,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -2921,7 +2921,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -2931,7 +2931,7 @@ public final class Main { Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -3029,7 +3029,7 @@ public final class Main { JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -4941,7 +4941,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -4959,7 +4959,7 @@ public final class Main { - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -4967,7 +4967,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -4981,7 +4981,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -4989,7 +4989,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -5003,7 +5003,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -5011,7 +5011,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -5025,7 +5025,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -5033,7 +5033,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -5047,7 +5047,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -5055,7 +5055,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -5069,7 +5069,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -5077,7 +5077,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -5091,7 +5091,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -5107,7 +5107,7 @@ public final class Main { - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -5121,7 +5121,7 @@ public final class Main { Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -5131,7 +5131,7 @@ public final class Main { Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -5229,7 +5229,7 @@ public final class Main { JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -7237,7 +7237,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -7255,7 +7255,7 @@ List Session Thread Events - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -7263,7 +7263,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -7277,7 +7277,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -7285,7 +7285,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -7299,7 +7299,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -7307,7 +7307,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -7321,7 +7321,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -7329,7 +7329,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -7343,7 +7343,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -7351,7 +7351,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -7365,7 +7365,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -7373,7 +7373,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -7387,7 +7387,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -7403,7 +7403,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -7417,7 +7417,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -7427,7 +7427,7 @@ List Session Thread Events Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -7525,7 +7525,7 @@ List Session Thread Events JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -9523,7 +9523,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -9541,7 +9541,7 @@ Stream Session Thread Events - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -9549,7 +9549,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -9563,7 +9563,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -9571,7 +9571,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -9585,7 +9585,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -9593,7 +9593,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -9607,7 +9607,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -9615,7 +9615,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -9629,7 +9629,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -9637,7 +9637,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -9651,7 +9651,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -9659,7 +9659,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -9673,7 +9673,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -9689,7 +9689,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -9703,7 +9703,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -9713,7 +9713,7 @@ Stream Session Thread Events Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -9811,7 +9811,7 @@ Stream Session Thread Events JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` diff --git a/content/en/api/java/beta/sessions/threads/archive.md b/content/en/api/java/beta/sessions/threads/archive.md index dcc97effe6..27ce8241ea 100644 --- a/content/en/api/java/beta/sessions/threads/archive.md +++ b/content/en/api/java/beta/sessions/threads/archive.md @@ -286,7 +286,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -304,7 +304,7 @@ Archive Session Thread - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -312,7 +312,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -326,7 +326,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -334,7 +334,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -348,7 +348,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -356,7 +356,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -370,7 +370,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -378,7 +378,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -392,7 +392,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -400,7 +400,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -414,7 +414,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -422,7 +422,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -436,7 +436,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -452,7 +452,7 @@ Archive Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -466,7 +466,7 @@ Archive Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -476,7 +476,7 @@ Archive Session Thread Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -574,7 +574,7 @@ Archive Session Thread JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` diff --git a/content/en/api/java/beta/sessions/threads/events.md b/content/en/api/java/beta/sessions/threads/events.md index 6074a9ba4e..292abfcdd9 100644 --- a/content/en/api/java/beta/sessions/threads/events.md +++ b/content/en/api/java/beta/sessions/threads/events.md @@ -1758,7 +1758,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -1776,7 +1776,7 @@ List Session Thread Events - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -1784,7 +1784,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -1798,7 +1798,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -1806,7 +1806,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -1820,7 +1820,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -1828,7 +1828,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -1842,7 +1842,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -1850,7 +1850,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -1864,7 +1864,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -1872,7 +1872,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -1886,7 +1886,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -1894,7 +1894,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -1908,7 +1908,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -1924,7 +1924,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -1938,7 +1938,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -1948,7 +1948,7 @@ List Session Thread Events Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -2046,7 +2046,7 @@ List Session Thread Events JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -4044,7 +4044,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -4062,7 +4062,7 @@ Stream Session Thread Events - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -4070,7 +4070,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -4084,7 +4084,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -4092,7 +4092,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -4106,7 +4106,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -4114,7 +4114,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -4128,7 +4128,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -4136,7 +4136,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -4150,7 +4150,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -4158,7 +4158,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -4172,7 +4172,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -4180,7 +4180,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -4194,7 +4194,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -4210,7 +4210,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -4224,7 +4224,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -4234,7 +4234,7 @@ Stream Session Thread Events Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -4332,7 +4332,7 @@ Stream Session Thread Events JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` diff --git a/content/en/api/java/beta/sessions/threads/events/list.md b/content/en/api/java/beta/sessions/threads/events/list.md index be6c57604f..b3d11e724f 100644 --- a/content/en/api/java/beta/sessions/threads/events/list.md +++ b/content/en/api/java/beta/sessions/threads/events/list.md @@ -1756,7 +1756,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -1774,7 +1774,7 @@ List Session Thread Events - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -1782,7 +1782,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -1796,7 +1796,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -1804,7 +1804,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -1818,7 +1818,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -1826,7 +1826,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -1840,7 +1840,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -1848,7 +1848,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -1862,7 +1862,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -1870,7 +1870,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -1884,7 +1884,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -1892,7 +1892,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -1906,7 +1906,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -1922,7 +1922,7 @@ List Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -1936,7 +1936,7 @@ List Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -1946,7 +1946,7 @@ List Session Thread Events Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -2044,7 +2044,7 @@ List Session Thread Events JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` diff --git a/content/en/api/java/beta/sessions/threads/events/stream.md b/content/en/api/java/beta/sessions/threads/events/stream.md index c3a3a5f9fe..f5adc6cacb 100644 --- a/content/en/api/java/beta/sessions/threads/events/stream.md +++ b/content/en/api/java/beta/sessions/threads/events/stream.md @@ -1754,7 +1754,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -1772,7 +1772,7 @@ Stream Session Thread Events - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -1780,7 +1780,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -1794,7 +1794,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -1802,7 +1802,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -1816,7 +1816,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -1824,7 +1824,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -1838,7 +1838,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -1846,7 +1846,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -1860,7 +1860,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -1868,7 +1868,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -1882,7 +1882,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -1890,7 +1890,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -1904,7 +1904,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -1920,7 +1920,7 @@ Stream Session Thread Events - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -1934,7 +1934,7 @@ Stream Session Thread Events Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -1944,7 +1944,7 @@ Stream Session Thread Events Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -2042,7 +2042,7 @@ Stream Session Thread Events JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` diff --git a/content/en/api/java/beta/sessions/threads/list.md b/content/en/api/java/beta/sessions/threads/list.md index a52233b9ae..1dd8015328 100644 --- a/content/en/api/java/beta/sessions/threads/list.md +++ b/content/en/api/java/beta/sessions/threads/list.md @@ -294,7 +294,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -312,7 +312,7 @@ List Session Threads - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -320,7 +320,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -334,7 +334,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -342,7 +342,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -356,7 +356,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -364,7 +364,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -378,7 +378,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -386,7 +386,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -400,7 +400,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -408,7 +408,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -422,7 +422,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -430,7 +430,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -444,7 +444,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -460,7 +460,7 @@ List Session Threads - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -474,7 +474,7 @@ List Session Threads Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -484,7 +484,7 @@ List Session Threads Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -582,7 +582,7 @@ List Session Threads JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` diff --git a/content/en/api/java/beta/sessions/threads/retrieve.md b/content/en/api/java/beta/sessions/threads/retrieve.md index 62c7ea93cd..139bdf0715 100644 --- a/content/en/api/java/beta/sessions/threads/retrieve.md +++ b/content/en/api/java/beta/sessions/threads/retrieve.md @@ -286,7 +286,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -304,7 +304,7 @@ Get Session Thread - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -312,7 +312,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -326,7 +326,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -334,7 +334,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -348,7 +348,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -356,7 +356,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -370,7 +370,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -378,7 +378,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -392,7 +392,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -400,7 +400,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -414,7 +414,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -422,7 +422,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -436,7 +436,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -452,7 +452,7 @@ Get Session Thread - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -466,7 +466,7 @@ Get Session Thread Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -476,7 +476,7 @@ Get Session Thread Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -574,7 +574,7 @@ Get Session Thread JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` diff --git a/content/en/api/java/beta/sessions/update.md b/content/en/api/java/beta/sessions/update.md index 9bb29c7d79..1436b4324c 100644 --- a/content/en/api/java/beta/sessions/update.md +++ b/content/en/api/java/beta/sessions/update.md @@ -328,7 +328,7 @@ Update Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "bash"` - `PermissionPolicy permissionPolicy` @@ -346,7 +346,7 @@ Update Session - `Type type` - - `JsonValue type constant` + - `JsonValue type = "bash"` - `class BetaManagedAgentsEditToolConfig:` @@ -354,7 +354,7 @@ Update Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "edit"` - `PermissionPolicy permissionPolicy` @@ -368,7 +368,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "edit"` - `class BetaManagedAgentsReadToolConfig:` @@ -376,7 +376,7 @@ Update Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "read"` - `PermissionPolicy permissionPolicy` @@ -390,7 +390,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "read"` - `class BetaManagedAgentsWriteToolConfig:` @@ -398,7 +398,7 @@ Update Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "write"` - `PermissionPolicy permissionPolicy` @@ -412,7 +412,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "write"` - `class BetaManagedAgentsGlobToolConfig:` @@ -420,7 +420,7 @@ Update Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "glob"` - `PermissionPolicy permissionPolicy` @@ -434,7 +434,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "glob"` - `class BetaManagedAgentsGrepToolConfig:` @@ -442,7 +442,7 @@ Update Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "grep"` - `PermissionPolicy permissionPolicy` @@ -456,7 +456,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "grep"` - `class BetaManagedAgentsWebFetchToolConfig:` @@ -464,7 +464,7 @@ Update Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` - `PermissionPolicy permissionPolicy` @@ -478,7 +478,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_fetch"` - `Optional> allowedDomains` @@ -494,7 +494,7 @@ Update Session - `boolean enabled` - - `JsonValue name constant` + - `JsonValue name = "web_search"` - `PermissionPolicy permissionPolicy` @@ -508,7 +508,7 @@ Update Session Tool calls require user confirmation before execution. - - `JsonValue type constant` + - `JsonValue type = "web_search"` - `Optional> allowedDomains` @@ -518,7 +518,7 @@ Update Session Approximate user location for search result localization. - - `JsonValue type constant` + - `JsonValue type = "approximate"` Location precision. Only "approximate" is supported. @@ -616,7 +616,7 @@ Update Session JSON Schema for custom tool input parameters. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` diff --git a/content/en/api/java/beta/skills.md b/content/en/api/java/beta/skills.md index 5135ac2500..c1e426232b 100644 --- a/content/en/api/java/beta/skills.md +++ b/content/en/api/java/beta/skills.md @@ -172,7 +172,7 @@ Create Skill - `PLUGIN("plugin")` - - `JsonValue type constant` + - `JsonValue type = "skill"` Object type. @@ -408,7 +408,7 @@ List Skills - `PLUGIN("plugin")` - - `JsonValue type constant` + - `JsonValue type = "skill"` Object type. @@ -628,7 +628,7 @@ Get Skill - `PLUGIN("plugin")` - - `JsonValue type constant` + - `JsonValue type = "skill"` Object type. @@ -797,7 +797,7 @@ Delete Skill The format and length of IDs may change over time. - - `JsonValue type constant` + - `JsonValue type = "skill_deleted"` Deleted object type. @@ -845,7 +845,7 @@ public final class Main { The format and length of IDs may change over time. - - `JsonValue type constant` + - `JsonValue type = "skill_deleted"` Deleted object type. @@ -907,7 +907,7 @@ public final class Main { - `PLUGIN("plugin")` - - `JsonValue type constant` + - `JsonValue type = "skill"` Object type. @@ -1094,7 +1094,7 @@ Create Skill Version The format and length of IDs may change over time. - - `JsonValue type constant` + - `JsonValue type = "skill_version"` Object type. @@ -1295,7 +1295,7 @@ List Skill Versions The format and length of IDs may change over time. - - `JsonValue type constant` + - `JsonValue type = "skill_version"` Object type. @@ -1631,7 +1631,7 @@ Get Skill Version The format and length of IDs may change over time. - - `JsonValue type constant` + - `JsonValue type = "skill_version"` Object type. @@ -1800,7 +1800,7 @@ Delete Skill Version Unique identifier for this Skill Version. The id addresses the version in paths and pins it in references. - - `JsonValue type constant` + - `JsonValue type = "skill_version_deleted"` Deleted object type. diff --git a/content/en/api/java/beta/skills/create.md b/content/en/api/java/beta/skills/create.md index f90caabde6..385dc53094 100644 --- a/content/en/api/java/beta/skills/create.md +++ b/content/en/api/java/beta/skills/create.md @@ -170,7 +170,7 @@ Create Skill - `PLUGIN("plugin")` - - `JsonValue type constant` + - `JsonValue type = "skill"` Object type. diff --git a/content/en/api/java/beta/skills/delete.md b/content/en/api/java/beta/skills/delete.md index 17d76eaa8d..f7395d9df1 100644 --- a/content/en/api/java/beta/skills/delete.md +++ b/content/en/api/java/beta/skills/delete.md @@ -118,7 +118,7 @@ Delete Skill The format and length of IDs may change over time. - - `JsonValue type constant` + - `JsonValue type = "skill_deleted"` Deleted object type. diff --git a/content/en/api/java/beta/skills/list.md b/content/en/api/java/beta/skills/list.md index d75e65d887..fa8535dbc3 100644 --- a/content/en/api/java/beta/skills/list.md +++ b/content/en/api/java/beta/skills/list.md @@ -181,7 +181,7 @@ List Skills - `PLUGIN("plugin")` - - `JsonValue type constant` + - `JsonValue type = "skill"` Object type. diff --git a/content/en/api/java/beta/skills/retrieve.md b/content/en/api/java/beta/skills/retrieve.md index 48777f85dc..388edb580d 100644 --- a/content/en/api/java/beta/skills/retrieve.md +++ b/content/en/api/java/beta/skills/retrieve.md @@ -164,7 +164,7 @@ Get Skill - `PLUGIN("plugin")` - - `JsonValue type constant` + - `JsonValue type = "skill"` Object type. diff --git a/content/en/api/java/beta/skills/versions.md b/content/en/api/java/beta/skills/versions.md index 7ccee6081b..2a6150d8ec 100644 --- a/content/en/api/java/beta/skills/versions.md +++ b/content/en/api/java/beta/skills/versions.md @@ -150,7 +150,7 @@ Create Skill Version The format and length of IDs may change over time. - - `JsonValue type constant` + - `JsonValue type = "skill_version"` Object type. @@ -351,7 +351,7 @@ List Skill Versions The format and length of IDs may change over time. - - `JsonValue type constant` + - `JsonValue type = "skill_version"` Object type. @@ -687,7 +687,7 @@ Get Skill Version The format and length of IDs may change over time. - - `JsonValue type constant` + - `JsonValue type = "skill_version"` Object type. @@ -856,7 +856,7 @@ Delete Skill Version Unique identifier for this Skill Version. The id addresses the version in paths and pins it in references. - - `JsonValue type constant` + - `JsonValue type = "skill_version_deleted"` Deleted object type. @@ -907,7 +907,7 @@ public final class Main { Unique identifier for this Skill Version. The id addresses the version in paths and pins it in references. - - `JsonValue type constant` + - `JsonValue type = "skill_version_deleted"` Deleted object type. @@ -947,7 +947,7 @@ public final class Main { The format and length of IDs may change over time. - - `JsonValue type constant` + - `JsonValue type = "skill_version"` Object type. diff --git a/content/en/api/java/beta/skills/versions/create.md b/content/en/api/java/beta/skills/versions/create.md index 4ae1a0fd17..783a5f3696 100644 --- a/content/en/api/java/beta/skills/versions/create.md +++ b/content/en/api/java/beta/skills/versions/create.md @@ -148,7 +148,7 @@ Create Skill Version The format and length of IDs may change over time. - - `JsonValue type constant` + - `JsonValue type = "skill_version"` Object type. diff --git a/content/en/api/java/beta/skills/versions/delete.md b/content/en/api/java/beta/skills/versions/delete.md index c7bde697eb..d52554df6d 100644 --- a/content/en/api/java/beta/skills/versions/delete.md +++ b/content/en/api/java/beta/skills/versions/delete.md @@ -123,7 +123,7 @@ Delete Skill Version Unique identifier for this Skill Version. The id addresses the version in paths and pins it in references. - - `JsonValue type constant` + - `JsonValue type = "skill_version_deleted"` Deleted object type. diff --git a/content/en/api/java/beta/skills/versions/list.md b/content/en/api/java/beta/skills/versions/list.md index 4d4de61469..794cab3da0 100644 --- a/content/en/api/java/beta/skills/versions/list.md +++ b/content/en/api/java/beta/skills/versions/list.md @@ -154,7 +154,7 @@ List Skill Versions The format and length of IDs may change over time. - - `JsonValue type constant` + - `JsonValue type = "skill_version"` Object type. diff --git a/content/en/api/java/beta/skills/versions/retrieve.md b/content/en/api/java/beta/skills/versions/retrieve.md index f8abaff16d..630b60b64f 100644 --- a/content/en/api/java/beta/skills/versions/retrieve.md +++ b/content/en/api/java/beta/skills/versions/retrieve.md @@ -148,7 +148,7 @@ Get Skill Version The format and length of IDs may change over time. - - `JsonValue type constant` + - `JsonValue type = "skill_version"` Object type. diff --git a/content/en/api/java/beta/tunnels.md b/content/en/api/java/beta/tunnels.md index b5705aaa68..b700823949 100644 --- a/content/en/api/java/beta/tunnels.md +++ b/content/en/api/java/beta/tunnels.md @@ -142,7 +142,7 @@ Creates a tunnel. Creation allocates a fresh hostname and provisions the tunnel; Anthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived. - - `JsonValue type constant` + - `JsonValue type = "tunnel"` ### Example @@ -316,7 +316,7 @@ Fetches a tunnel by ID. Anthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived. - - `JsonValue type constant` + - `JsonValue type = "tunnel"` ### Example @@ -502,7 +502,7 @@ Lists tunnels. Results are ordered by creation time, newest first; archived tunn Anthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived. - - `JsonValue type constant` + - `JsonValue type = "tunnel"` ### Example @@ -681,7 +681,7 @@ Archives a tunnel. Archival is irreversible: every non-archived certificate on t Anthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived. - - `JsonValue type constant` + - `JsonValue type = "tunnel"` ### Example @@ -839,7 +839,7 @@ Reveals a tunnel's connector token. The value is fetched live on each call; Anth The connector token used to run the tunnel. Treat as a credential. - - `JsonValue type constant` + - `JsonValue type = "tunnel_token"` ### Example @@ -1000,7 +1000,7 @@ Rotates a tunnel's connector token. Rotation invalidates the current token for n The connector token used to run the tunnel. Treat as a credential. - - `JsonValue type constant` + - `JsonValue type = "tunnel_token"` ### Example @@ -1065,7 +1065,7 @@ public final class Main { Anthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived. - - `JsonValue type constant` + - `JsonValue type = "tunnel"` ### Beta Tunnel Token @@ -1081,7 +1081,7 @@ public final class Main { The connector token used to run the tunnel. Treat as a credential. - - `JsonValue type constant` + - `JsonValue type = "tunnel_token"` ## Tunnels › Certificates @@ -1235,7 +1235,7 @@ Registers a public CA certificate on a tunnel. Anthropic verifies the gateway's ID of the tunnel the certificate is registered against. - - `JsonValue type constant` + - `JsonValue type = "tunnel_certificate"` #### Example @@ -1422,7 +1422,7 @@ Fetches a tunnel certificate by ID. ID of the tunnel the certificate is registered against. - - `JsonValue type constant` + - `JsonValue type = "tunnel_certificate"` #### Example @@ -1621,7 +1621,7 @@ Lists the certificates registered on a tunnel. Archived certificates are exclude ID of the tunnel the certificate is registered against. - - `JsonValue type constant` + - `JsonValue type = "tunnel_certificate"` #### Example @@ -1809,7 +1809,7 @@ Archives a tunnel certificate, removing it from the set Anthropic trusts for the ID of the tunnel the certificate is registered against. - - `JsonValue type constant` + - `JsonValue type = "tunnel_certificate"` #### Example diff --git a/content/en/api/java/beta/tunnels/archive.md b/content/en/api/java/beta/tunnels/archive.md index 20e841a741..f25a7014f7 100644 --- a/content/en/api/java/beta/tunnels/archive.md +++ b/content/en/api/java/beta/tunnels/archive.md @@ -136,7 +136,7 @@ Archives a tunnel. Archival is irreversible: every non-archived certificate on t Anthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived. - - `JsonValue type constant` + - `JsonValue type = "tunnel"` ## Example diff --git a/content/en/api/java/beta/tunnels/certificates.md b/content/en/api/java/beta/tunnels/certificates.md index 3f05c45b78..5c54c56644 100644 --- a/content/en/api/java/beta/tunnels/certificates.md +++ b/content/en/api/java/beta/tunnels/certificates.md @@ -150,7 +150,7 @@ Registers a public CA certificate on a tunnel. Anthropic verifies the gateway's ID of the tunnel the certificate is registered against. - - `JsonValue type constant` + - `JsonValue type = "tunnel_certificate"` ### Example @@ -337,7 +337,7 @@ Fetches a tunnel certificate by ID. ID of the tunnel the certificate is registered against. - - `JsonValue type constant` + - `JsonValue type = "tunnel_certificate"` ### Example @@ -536,7 +536,7 @@ Lists the certificates registered on a tunnel. Archived certificates are exclude ID of the tunnel the certificate is registered against. - - `JsonValue type constant` + - `JsonValue type = "tunnel_certificate"` ### Example @@ -724,7 +724,7 @@ Archives a tunnel certificate, removing it from the set Anthropic trusts for the ID of the tunnel the certificate is registered against. - - `JsonValue type constant` + - `JsonValue type = "tunnel_certificate"` ### Example @@ -803,4 +803,4 @@ public final class Main { ID of the tunnel the certificate is registered against. - - `JsonValue type constant` + - `JsonValue type = "tunnel_certificate"` diff --git a/content/en/api/java/beta/tunnels/certificates/archive.md b/content/en/api/java/beta/tunnels/certificates/archive.md index 23f9849a6a..8742eb33e3 100644 --- a/content/en/api/java/beta/tunnels/certificates/archive.md +++ b/content/en/api/java/beta/tunnels/certificates/archive.md @@ -144,7 +144,7 @@ Archives a tunnel certificate, removing it from the set Anthropic trusts for the ID of the tunnel the certificate is registered against. - - `JsonValue type constant` + - `JsonValue type = "tunnel_certificate"` ## Example diff --git a/content/en/api/java/beta/tunnels/certificates/create.md b/content/en/api/java/beta/tunnels/certificates/create.md index 327a2a8f81..b5ea470b66 100644 --- a/content/en/api/java/beta/tunnels/certificates/create.md +++ b/content/en/api/java/beta/tunnels/certificates/create.md @@ -148,7 +148,7 @@ Registers a public CA certificate on a tunnel. Anthropic verifies the gateway's ID of the tunnel the certificate is registered against. - - `JsonValue type constant` + - `JsonValue type = "tunnel_certificate"` ## Example diff --git a/content/en/api/java/beta/tunnels/certificates/list.md b/content/en/api/java/beta/tunnels/certificates/list.md index 1ee9e5e462..13c0bc37d5 100644 --- a/content/en/api/java/beta/tunnels/certificates/list.md +++ b/content/en/api/java/beta/tunnels/certificates/list.md @@ -156,7 +156,7 @@ Lists the certificates registered on a tunnel. Archived certificates are exclude ID of the tunnel the certificate is registered against. - - `JsonValue type constant` + - `JsonValue type = "tunnel_certificate"` ## Example diff --git a/content/en/api/java/beta/tunnels/certificates/retrieve.md b/content/en/api/java/beta/tunnels/certificates/retrieve.md index 93d274048c..8641dfb726 100644 --- a/content/en/api/java/beta/tunnels/certificates/retrieve.md +++ b/content/en/api/java/beta/tunnels/certificates/retrieve.md @@ -144,7 +144,7 @@ Fetches a tunnel certificate by ID. ID of the tunnel the certificate is registered against. - - `JsonValue type constant` + - `JsonValue type = "tunnel_certificate"` ## Example diff --git a/content/en/api/java/beta/tunnels/create.md b/content/en/api/java/beta/tunnels/create.md index 1648056df6..40a0b94c33 100644 --- a/content/en/api/java/beta/tunnels/create.md +++ b/content/en/api/java/beta/tunnels/create.md @@ -140,7 +140,7 @@ Creates a tunnel. Creation allocates a fresh hostname and provisions the tunnel; Anthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived. - - `JsonValue type constant` + - `JsonValue type = "tunnel"` ## Example diff --git a/content/en/api/java/beta/tunnels/list.md b/content/en/api/java/beta/tunnels/list.md index ef38370610..d719f5f935 100644 --- a/content/en/api/java/beta/tunnels/list.md +++ b/content/en/api/java/beta/tunnels/list.md @@ -148,7 +148,7 @@ Lists tunnels. Results are ordered by creation time, newest first; archived tunn Anthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived. - - `JsonValue type constant` + - `JsonValue type = "tunnel"` ## Example diff --git a/content/en/api/java/beta/tunnels/retrieve.md b/content/en/api/java/beta/tunnels/retrieve.md index 733befafab..f4d847a992 100644 --- a/content/en/api/java/beta/tunnels/retrieve.md +++ b/content/en/api/java/beta/tunnels/retrieve.md @@ -136,7 +136,7 @@ Fetches a tunnel by ID. Anthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived. - - `JsonValue type constant` + - `JsonValue type = "tunnel"` ## Example diff --git a/content/en/api/java/beta/tunnels/reveal_token.md b/content/en/api/java/beta/tunnels/reveal_token.md index 8595be22cd..4a186ca462 100644 --- a/content/en/api/java/beta/tunnels/reveal_token.md +++ b/content/en/api/java/beta/tunnels/reveal_token.md @@ -120,7 +120,7 @@ Reveals a tunnel's connector token. The value is fetched live on each call; Anth The connector token used to run the tunnel. Treat as a credential. - - `JsonValue type constant` + - `JsonValue type = "tunnel_token"` ## Example diff --git a/content/en/api/java/beta/tunnels/rotate_token.md b/content/en/api/java/beta/tunnels/rotate_token.md index f8123a6049..21ba6e6450 100644 --- a/content/en/api/java/beta/tunnels/rotate_token.md +++ b/content/en/api/java/beta/tunnels/rotate_token.md @@ -126,7 +126,7 @@ Rotates a tunnel's connector token. Rotation invalidates the current token for n The connector token used to run the tunnel. Treat as a credential. - - `JsonValue type constant` + - `JsonValue type = "tunnel_token"` ## Example diff --git a/content/en/api/java/beta/webhooks.md b/content/en/api/java/beta/webhooks.md index 316311706f..6b01ef6f6e 100644 --- a/content/en/api/java/beta/webhooks.md +++ b/content/en/api/java/beta/webhooks.md @@ -12,7 +12,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "agent.archived"` - `String workspaceId` @@ -26,7 +26,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "agent.created"` - `String workspaceId` @@ -40,7 +40,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "agent.deleted"` - `String workspaceId` @@ -54,7 +54,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "agent.updated"` - `String workspaceId` @@ -68,7 +68,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "deployment.archived"` - `String workspaceId` @@ -82,7 +82,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "deployment.created"` - `String workspaceId` @@ -96,7 +96,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "deployment.deleted"` - `String workspaceId` @@ -110,7 +110,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "deployment.paused"` - `String workspaceId` @@ -124,7 +124,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "deployment_run.failed"` - `String workspaceId` @@ -138,7 +138,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "deployment_run.started"` - `String workspaceId` @@ -152,7 +152,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "deployment_run.succeeded"` - `String workspaceId` @@ -166,7 +166,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "deployment.unpaused"` - `String workspaceId` @@ -180,7 +180,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "deployment.updated"` - `String workspaceId` @@ -194,7 +194,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "environment.archived"` - `String workspaceId` @@ -208,7 +208,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "environment.created"` - `String workspaceId` @@ -222,7 +222,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "environment.deleted"` - `String workspaceId` @@ -236,7 +236,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "environment.updated"` - `String workspaceId` @@ -264,7 +264,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.created"` - `String workspaceId` @@ -276,7 +276,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.pending"` - `String workspaceId` @@ -288,7 +288,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.running"` - `String workspaceId` @@ -300,7 +300,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.idled"` - `String workspaceId` @@ -312,7 +312,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.requires_action"` - `String workspaceId` @@ -324,7 +324,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.archived"` - `String workspaceId` @@ -336,7 +336,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.deleted"` - `String workspaceId` @@ -348,7 +348,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.status_rescheduled"` - `String workspaceId` @@ -360,7 +360,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.status_run_started"` - `String workspaceId` @@ -372,7 +372,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.status_idled"` - `String workspaceId` @@ -384,7 +384,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.status_terminated"` - `String workspaceId` @@ -400,7 +400,7 @@ ID of the session thread this event refers to. - - `JsonValue type constant` + - `JsonValue type = "session.thread_created"` - `String workspaceId` @@ -416,7 +416,7 @@ ID of the session thread this event refers to. - - `JsonValue type constant` + - `JsonValue type = "session.thread_idled"` - `String workspaceId` @@ -432,7 +432,7 @@ ID of the session thread this event refers to. - - `JsonValue type constant` + - `JsonValue type = "session.thread_terminated"` - `String workspaceId` @@ -444,7 +444,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.outcome_evaluation_ended"` - `String workspaceId` @@ -456,7 +456,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "vault.created"` - `String workspaceId` @@ -468,7 +468,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "vault.archived"` - `String workspaceId` @@ -480,7 +480,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "vault.deleted"` - `String workspaceId` @@ -492,7 +492,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "vault_credential.created"` - `String vaultId` @@ -508,7 +508,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "vault_credential.archived"` - `String vaultId` @@ -524,7 +524,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "vault_credential.deleted"` - `String vaultId` @@ -540,7 +540,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "vault_credential.refresh_failed"` - `String vaultId` @@ -556,7 +556,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.updated"` - `String workspaceId` @@ -568,7 +568,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "agent.created"` - `String workspaceId` @@ -580,7 +580,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "agent.archived"` - `String workspaceId` @@ -592,7 +592,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "agent.deleted"` - `String workspaceId` @@ -604,7 +604,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "deployment.paused"` - `String workspaceId` @@ -616,7 +616,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "deployment_run.failed"` - `String workspaceId` @@ -628,7 +628,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "deployment.created"` - `String workspaceId` @@ -640,7 +640,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "deployment.updated"` - `String workspaceId` @@ -652,7 +652,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "deployment.unpaused"` - `String workspaceId` @@ -664,7 +664,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "agent.updated"` - `String workspaceId` @@ -676,7 +676,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "deployment.archived"` - `String workspaceId` @@ -688,7 +688,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "deployment_run.started"` - `String workspaceId` @@ -700,7 +700,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "deployment.deleted"` - `String workspaceId` @@ -712,7 +712,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "deployment_run.succeeded"` - `String workspaceId` @@ -724,7 +724,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "environment.created"` - `String workspaceId` @@ -736,7 +736,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "environment.updated"` - `String workspaceId` @@ -748,7 +748,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "environment.archived"` - `String workspaceId` @@ -760,7 +760,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "environment.deleted"` - `String workspaceId` @@ -772,7 +772,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "memory_store.created"` - `String workspaceId` @@ -784,7 +784,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "memory_store.archived"` - `String workspaceId` @@ -796,7 +796,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "memory_store.deleted"` - `String workspaceId` @@ -808,11 +808,11 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.budget_reached"` - `String workspaceId` - - `JsonValue type constant` + - `JsonValue type = "event"` Object type. Always `event` for webhook payloads. @@ -828,7 +828,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.created"` - `String workspaceId` @@ -840,7 +840,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.pending"` - `String workspaceId` @@ -852,7 +852,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.running"` - `String workspaceId` @@ -864,7 +864,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.idled"` - `String workspaceId` @@ -876,7 +876,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.requires_action"` - `String workspaceId` @@ -888,7 +888,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.archived"` - `String workspaceId` @@ -900,7 +900,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.deleted"` - `String workspaceId` @@ -912,7 +912,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.status_rescheduled"` - `String workspaceId` @@ -924,7 +924,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.status_run_started"` - `String workspaceId` @@ -936,7 +936,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.status_idled"` - `String workspaceId` @@ -948,7 +948,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.status_terminated"` - `String workspaceId` @@ -964,7 +964,7 @@ ID of the session thread this event refers to. - - `JsonValue type constant` + - `JsonValue type = "session.thread_created"` - `String workspaceId` @@ -980,7 +980,7 @@ ID of the session thread this event refers to. - - `JsonValue type constant` + - `JsonValue type = "session.thread_idled"` - `String workspaceId` @@ -996,7 +996,7 @@ ID of the session thread this event refers to. - - `JsonValue type constant` + - `JsonValue type = "session.thread_terminated"` - `String workspaceId` @@ -1008,7 +1008,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.outcome_evaluation_ended"` - `String workspaceId` @@ -1020,7 +1020,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "vault.created"` - `String workspaceId` @@ -1032,7 +1032,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "vault.archived"` - `String workspaceId` @@ -1044,7 +1044,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "vault.deleted"` - `String workspaceId` @@ -1056,7 +1056,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "vault_credential.created"` - `String vaultId` @@ -1072,7 +1072,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "vault_credential.archived"` - `String vaultId` @@ -1088,7 +1088,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "vault_credential.deleted"` - `String vaultId` @@ -1104,7 +1104,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "vault_credential.refresh_failed"` - `String vaultId` @@ -1120,7 +1120,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.updated"` - `String workspaceId` @@ -1132,7 +1132,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "agent.created"` - `String workspaceId` @@ -1144,7 +1144,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "agent.archived"` - `String workspaceId` @@ -1156,7 +1156,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "agent.deleted"` - `String workspaceId` @@ -1168,7 +1168,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "deployment.paused"` - `String workspaceId` @@ -1180,7 +1180,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "deployment_run.failed"` - `String workspaceId` @@ -1192,7 +1192,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "deployment.created"` - `String workspaceId` @@ -1204,7 +1204,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "deployment.updated"` - `String workspaceId` @@ -1216,7 +1216,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "deployment.unpaused"` - `String workspaceId` @@ -1228,7 +1228,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "agent.updated"` - `String workspaceId` @@ -1240,7 +1240,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "deployment.archived"` - `String workspaceId` @@ -1252,7 +1252,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "deployment_run.started"` - `String workspaceId` @@ -1264,7 +1264,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "deployment.deleted"` - `String workspaceId` @@ -1276,7 +1276,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "deployment_run.succeeded"` - `String workspaceId` @@ -1288,7 +1288,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "environment.created"` - `String workspaceId` @@ -1300,7 +1300,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "environment.updated"` - `String workspaceId` @@ -1312,7 +1312,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "environment.archived"` - `String workspaceId` @@ -1324,7 +1324,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "environment.deleted"` - `String workspaceId` @@ -1336,7 +1336,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "memory_store.created"` - `String workspaceId` @@ -1348,7 +1348,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "memory_store.archived"` - `String workspaceId` @@ -1360,7 +1360,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "memory_store.deleted"` - `String workspaceId` @@ -1372,7 +1372,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.budget_reached"` - `String workspaceId` @@ -1386,7 +1386,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "memory_store.archived"` - `String workspaceId` @@ -1400,7 +1400,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "memory_store.created"` - `String workspaceId` @@ -1414,7 +1414,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "memory_store.deleted"` - `String workspaceId` @@ -1428,7 +1428,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.archived"` - `String workspaceId` @@ -1442,7 +1442,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.budget_reached"` - `String workspaceId` @@ -1456,7 +1456,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.created"` - `String workspaceId` @@ -1470,7 +1470,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.deleted"` - `String workspaceId` @@ -1484,7 +1484,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.idled"` - `String workspaceId` @@ -1498,7 +1498,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.outcome_evaluation_ended"` - `String workspaceId` @@ -1512,7 +1512,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.pending"` - `String workspaceId` @@ -1526,7 +1526,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.requires_action"` - `String workspaceId` @@ -1540,7 +1540,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.running"` - `String workspaceId` @@ -1554,7 +1554,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.status_idled"` - `String workspaceId` @@ -1568,7 +1568,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.status_rescheduled"` - `String workspaceId` @@ -1582,7 +1582,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.status_run_started"` - `String workspaceId` @@ -1596,7 +1596,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.status_terminated"` - `String workspaceId` @@ -1614,7 +1614,7 @@ ID of the session thread this event refers to. - - `JsonValue type constant` + - `JsonValue type = "session.thread_created"` - `String workspaceId` @@ -1632,7 +1632,7 @@ ID of the session thread this event refers to. - - `JsonValue type constant` + - `JsonValue type = "session.thread_idled"` - `String workspaceId` @@ -1650,7 +1650,7 @@ ID of the session thread this event refers to. - - `JsonValue type constant` + - `JsonValue type = "session.thread_terminated"` - `String workspaceId` @@ -1664,7 +1664,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "session.updated"` - `String workspaceId` @@ -1678,7 +1678,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "vault.archived"` - `String workspaceId` @@ -1692,7 +1692,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "vault.created"` - `String workspaceId` @@ -1706,7 +1706,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "vault_credential.archived"` - `String vaultId` @@ -1724,7 +1724,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "vault_credential.created"` - `String vaultId` @@ -1742,7 +1742,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "vault_credential.deleted"` - `String vaultId` @@ -1760,7 +1760,7 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "vault_credential.refresh_failed"` - `String vaultId` @@ -1778,6 +1778,6 @@ - `String organizationId` - - `JsonValue type constant` + - `JsonValue type = "vault.deleted"` - `String workspaceId` diff --git a/content/en/api/java/completions.md b/content/en/api/java/completions.md index bc1e803c1f..a2d0ef2402 100644 --- a/content/en/api/java/completions.md +++ b/content/en/api/java/completions.md @@ -289,7 +289,7 @@ Future models and features will not be compatible with Text Completions. See our * `"stop_sequence"`: we reached a stop sequence — either provided by you via the `stop_sequences` parameter, or a stop sequence built into the model * `"max_tokens"`: we exceeded `max_tokens_to_sample` or the model's maximum - - `JsonValue type constant` + - `JsonValue type = "completion"` Object type. @@ -435,7 +435,7 @@ public final class Main { * `"stop_sequence"`: we reached a stop sequence — either provided by you via the `stop_sequences` parameter, or a stop sequence built into the model * `"max_tokens"`: we exceeded `max_tokens_to_sample` or the model's maximum - - `JsonValue type constant` + - `JsonValue type = "completion"` Object type. diff --git a/content/en/api/java/completions/create.md b/content/en/api/java/completions/create.md index 913578e41d..62fb0e77a1 100644 --- a/content/en/api/java/completions/create.md +++ b/content/en/api/java/completions/create.md @@ -287,7 +287,7 @@ Future models and features will not be compatible with Text Completions. See our * `"stop_sequence"`: we reached a stop sequence — either provided by you via the `stop_sequences` parameter, or a stop sequence built into the model * `"max_tokens"`: we exceeded `max_tokens_to_sample` or the model's maximum - - `JsonValue type constant` + - `JsonValue type = "completion"` Object type. diff --git a/content/en/api/java/messages.md b/content/en/api/java/messages.md index 1636337ad8..f0ee08a642 100644 --- a/content/en/api/java/messages.md +++ b/content/en/api/java/messages.md @@ -95,13 +95,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -138,7 +138,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocationParam:` @@ -158,7 +158,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -188,7 +188,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -200,7 +200,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -238,7 +238,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class ImageBlockParam:` @@ -260,11 +260,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class UrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -272,9 +272,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -302,17 +302,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class ContentBlockSource:` @@ -326,11 +326,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ImageBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class UrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -338,9 +338,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -366,7 +366,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -378,7 +378,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String title` - - `JsonValue type constant` + - `JsonValue type = "search_result"` - `Optional cacheControl` @@ -398,7 +398,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `thinking` text of this block as returned by the API. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class RedactedThinkingBlockParam:` @@ -406,7 +406,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class ToolUseBlockParam:` @@ -420,7 +420,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 200, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional cacheControl` @@ -434,7 +434,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -444,7 +444,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -452,7 +452,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -466,7 +466,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_result"` - `Optional cacheControl` @@ -494,7 +494,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` @@ -538,7 +538,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonValue type constant` + - `JsonValue type = "browser_state"` - `Optional cacheControl` @@ -566,7 +566,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` - `class BrowserStateChangeDownloadStarted:` @@ -578,7 +578,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -599,7 +599,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -629,7 +629,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -675,7 +675,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional cacheControl` @@ -705,7 +705,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -727,13 +727,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional cacheControl` @@ -779,13 +779,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class WebFetchBlockParam:` - `DocumentBlockParam content` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -799,7 +799,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional cacheControl` @@ -837,7 +837,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlockParam:` @@ -845,7 +845,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -853,7 +853,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlockParam:` @@ -863,7 +863,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -871,13 +871,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `Optional cacheControl` @@ -901,7 +901,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlockParam:` @@ -909,7 +909,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -917,13 +917,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `Optional cacheControl` @@ -947,7 +947,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `FILE_NOT_FOUND("file_not_found")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `Optional errorMessage` @@ -963,7 +963,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `PDF("pdf")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `Optional numLines` @@ -975,11 +975,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `Optional> lines` @@ -995,7 +995,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `Optional cacheControl` @@ -1017,7 +1017,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `Optional errorMessage` @@ -1029,19 +1029,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `Optional cacheControl` @@ -1054,7 +1054,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Optional cacheControl` @@ -1126,7 +1126,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -1218,7 +1218,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -1270,13 +1270,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ToolBash20250124:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20250124"` - `Optional> allowedCallers` @@ -1304,13 +1304,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class CodeExecutionTool20250522:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250522"` - `Optional> allowedCallers` @@ -1336,13 +1336,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class CodeExecutionTool20250825:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `Optional> allowedCallers` @@ -1370,13 +1370,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional> allowedCallers` @@ -1404,13 +1404,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Code execution tool with REPL state persistence. - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260521"` - `Optional> allowedCallers` @@ -1441,7 +1441,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co the family's tool with any members disabled via `configs` removed from its schema. - - `JsonValue type constant` + - `JsonValue type = "browser_toolset_20260801"` - `Optional cacheControl` @@ -1830,13 +1830,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class MemoryTool20250818:` - - `JsonValue name constant` + - `JsonValue name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "memory_20250818"` - `Optional> allowedCallers` @@ -1873,7 +1873,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonValue type constant` + - `JsonValue type = "computer_toolset_20260801"` - `Optional cacheControl` @@ -2094,13 +2094,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ToolTextEditor20250124:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250124"` - `Optional> allowedCallers` @@ -2128,13 +2128,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ToolTextEditor20250429:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250429"` - `Optional> allowedCallers` @@ -2162,13 +2162,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ToolTextEditor20250728:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250728"` - `Optional> allowedCallers` @@ -2202,13 +2202,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class WebSearchTool20250305:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20250305"` - `Optional> allowedCallers` @@ -2250,7 +2250,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Parameters for the user's location. Used to provide more relevant search results. - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -2278,13 +2278,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class WebFetchTool20250910:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20250910"` - `Optional> allowedCallers` @@ -2334,13 +2334,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class WebSearchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260209"` - `Optional> allowedCallers` @@ -2384,13 +2384,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class WebFetchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260209"` - `Optional> allowedCallers` @@ -2442,13 +2442,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260309"` - `Optional> allowedCallers` @@ -2502,13 +2502,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class WebSearchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260318"` - `Optional> allowedCallers` @@ -2560,13 +2560,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class WebFetchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260318"` - `Optional> allowedCallers` @@ -2628,7 +2628,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ToolSearchToolBm25_20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_bm25"` Name of the tool. @@ -2664,7 +2664,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ToolSearchToolRegex20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_regex"` Name of the tool. @@ -2837,7 +2837,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocation:` @@ -2857,7 +2857,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocation:` @@ -2887,7 +2887,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -2899,7 +2899,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -2935,13 +2935,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class ThinkingBlock:` @@ -2957,7 +2957,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class RedactedThinkingBlock:` @@ -2969,7 +2969,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class ToolUseBlock:` @@ -2985,7 +2985,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -2995,7 +2995,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -3003,7 +3003,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Input input` @@ -3011,7 +3011,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional toolsetName` @@ -3057,7 +3057,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `class WebSearchToolResultBlock:` @@ -3093,7 +3093,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -3103,7 +3103,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -3111,7 +3111,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `class WebFetchToolResultBlock:` @@ -3153,7 +3153,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -3173,29 +3173,29 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -3205,7 +3205,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `class CodeExecutionToolResultBlock:` @@ -3225,7 +3225,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -3233,7 +3233,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -3241,7 +3241,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -3251,7 +3251,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -3259,13 +3259,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BashCodeExecutionToolResultBlock:` @@ -3285,7 +3285,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -3293,7 +3293,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -3301,13 +3301,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class TextEditorCodeExecutionToolResultBlock:` @@ -3329,7 +3329,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -3349,13 +3349,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -3369,13 +3369,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class ToolSearchToolResultBlock:` @@ -3395,7 +3395,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -3405,15 +3405,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class ContainerUploadBlock:` @@ -3421,7 +3421,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Model model` @@ -3497,7 +3497,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co High-performance model for agents and coding - - `JsonValue role constant` + - `JsonValue role = "assistant"` Conversational role of the generated message. @@ -3537,7 +3537,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co This text is not guaranteed to be stable. `null` when no explanation is available for the category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - `Optional stopReason` @@ -3575,7 +3575,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonValue type constant` + - `JsonValue type = "message"` Object type. @@ -3691,7 +3691,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Message message` - - `JsonValue type constant` + - `JsonValue type = "message_start"` - `class RawMessageDeltaEvent:` @@ -3709,7 +3709,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional stopSequence` - - `JsonValue type constant` + - `JsonValue type = "message_delta"` - `MessageDeltaUsage usage` @@ -3760,7 +3760,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class RawMessageStopEvent:` - - `JsonValue type constant` + - `JsonValue type = "message_stop"` - `class RawContentBlockStartEvent:` @@ -3796,7 +3796,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `long index` - - `JsonValue type constant` + - `JsonValue type = "content_block_start"` - `class RawContentBlockDeltaEvent:` @@ -3806,13 +3806,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String text` - - `JsonValue type constant` + - `JsonValue type = "text_delta"` - `class InputJsonDelta:` - `String partialJson` - - `JsonValue type constant` + - `JsonValue type = "input_json_delta"` - `class CitationsDelta:` @@ -3828,7 +3828,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class CitationsSearchResultLocation:` - - `JsonValue type constant` + - `JsonValue type = "citations_delta"` - `class ThinkingDelta:` @@ -3836,7 +3836,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The incremental `thinking` text for this content block. Concatenate the `thinking` values of successive `thinking_delta` events to assemble the block's full `thinking` value. - - `JsonValue type constant` + - `JsonValue type = "thinking_delta"` - `class SignatureDelta:` @@ -3844,17 +3844,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `signature` for this thinking block: an opaque value used to verify that the block was generated by Claude when it is passed back to the API. Delivered in a `signature_delta` event just before the block's `content_block_stop` event. - - `JsonValue type constant` + - `JsonValue type = "signature_delta"` - `long index` - - `JsonValue type constant` + - `JsonValue type = "content_block_delta"` - `class RawContentBlockStopEvent:` - `long index` - - `JsonValue type constant` + - `JsonValue type = "content_block_stop"` ### Example @@ -4031,13 +4031,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -4074,7 +4074,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocationParam:` @@ -4094,7 +4094,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -4124,7 +4124,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -4136,7 +4136,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -4174,7 +4174,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class ImageBlockParam:` @@ -4196,11 +4196,11 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class UrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -4208,9 +4208,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -4238,17 +4238,17 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class ContentBlockSource:` @@ -4262,11 +4262,11 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ImageBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class UrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -4274,9 +4274,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -4302,7 +4302,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -4314,7 +4314,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String title` - - `JsonValue type constant` + - `JsonValue type = "search_result"` - `Optional cacheControl` @@ -4334,7 +4334,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ The `thinking` text of this block as returned by the API. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class RedactedThinkingBlockParam:` @@ -4342,7 +4342,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class ToolUseBlockParam:` @@ -4356,7 +4356,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 200, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional cacheControl` @@ -4370,7 +4370,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -4380,7 +4380,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -4388,7 +4388,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -4402,7 +4402,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_result"` - `Optional cacheControl` @@ -4430,7 +4430,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` @@ -4474,7 +4474,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonValue type constant` + - `JsonValue type = "browser_state"` - `Optional cacheControl` @@ -4502,7 +4502,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` - `class BrowserStateChangeDownloadStarted:` @@ -4514,7 +4514,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -4535,7 +4535,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -4565,7 +4565,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -4611,7 +4611,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional cacheControl` @@ -4641,7 +4641,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -4663,13 +4663,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional cacheControl` @@ -4715,13 +4715,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class WebFetchBlockParam:` - `DocumentBlockParam content` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -4735,7 +4735,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional cacheControl` @@ -4773,7 +4773,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlockParam:` @@ -4781,7 +4781,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -4789,7 +4789,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlockParam:` @@ -4799,7 +4799,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -4807,13 +4807,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `Optional cacheControl` @@ -4837,7 +4837,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlockParam:` @@ -4845,7 +4845,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -4853,13 +4853,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `Optional cacheControl` @@ -4883,7 +4883,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `FILE_NOT_FOUND("file_not_found")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `Optional errorMessage` @@ -4899,7 +4899,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `PDF("pdf")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `Optional numLines` @@ -4911,11 +4911,11 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `Optional> lines` @@ -4931,7 +4931,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `Optional cacheControl` @@ -4953,7 +4953,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `Optional errorMessage` @@ -4965,19 +4965,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `Optional cacheControl` @@ -4990,7 +4990,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Optional cacheControl` @@ -5032,7 +5032,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -5124,7 +5124,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -5176,13 +5176,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ToolBash20250124:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20250124"` - `Optional> allowedCallers` @@ -5210,13 +5210,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class CodeExecutionTool20250522:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250522"` - `Optional> allowedCallers` @@ -5242,13 +5242,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class CodeExecutionTool20250825:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `Optional> allowedCallers` @@ -5276,13 +5276,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional> allowedCallers` @@ -5310,13 +5310,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Code execution tool with REPL state persistence. - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260521"` - `Optional> allowedCallers` @@ -5347,7 +5347,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ the family's tool with any members disabled via `configs` removed from its schema. - - `JsonValue type constant` + - `JsonValue type = "browser_toolset_20260801"` - `Optional cacheControl` @@ -5736,13 +5736,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class MemoryTool20250818:` - - `JsonValue name constant` + - `JsonValue name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "memory_20250818"` - `Optional> allowedCallers` @@ -5779,7 +5779,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonValue type constant` + - `JsonValue type = "computer_toolset_20260801"` - `Optional cacheControl` @@ -6000,13 +6000,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ToolTextEditor20250124:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250124"` - `Optional> allowedCallers` @@ -6034,13 +6034,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ToolTextEditor20250429:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250429"` - `Optional> allowedCallers` @@ -6068,13 +6068,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ToolTextEditor20250728:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250728"` - `Optional> allowedCallers` @@ -6108,13 +6108,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class WebSearchTool20250305:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20250305"` - `Optional> allowedCallers` @@ -6156,7 +6156,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Parameters for the user's location. Used to provide more relevant search results. - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -6184,13 +6184,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class WebFetchTool20250910:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20250910"` - `Optional> allowedCallers` @@ -6240,13 +6240,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class WebSearchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260209"` - `Optional> allowedCallers` @@ -6290,13 +6290,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class WebFetchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260209"` - `Optional> allowedCallers` @@ -6348,13 +6348,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260309"` - `Optional> allowedCallers` @@ -6408,13 +6408,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class WebSearchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260318"` - `Optional> allowedCallers` @@ -6466,13 +6466,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class WebFetchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260318"` - `Optional> allowedCallers` @@ -6534,7 +6534,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ToolSearchToolBm25_20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_bm25"` Name of the tool. @@ -6570,7 +6570,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ToolSearchToolRegex20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_regex"` Name of the tool. @@ -6666,7 +6666,7 @@ public final class Main { - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` ### Base64 PDF Source @@ -6676,9 +6676,9 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` ### Bash Code Execution Output Block @@ -6686,7 +6686,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` ### Bash Code Execution Output Block Param @@ -6694,7 +6694,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` ### Bash Code Execution Result Block @@ -6704,7 +6704,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -6712,7 +6712,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` ### Bash Code Execution Result Block Param @@ -6722,7 +6722,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -6730,7 +6730,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` ### Bash Code Execution Tool Result Block @@ -6752,7 +6752,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -6760,7 +6760,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -6768,13 +6768,13 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` ### Bash Code Execution Tool Result Block Param @@ -6796,7 +6796,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlockParam:` @@ -6804,7 +6804,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -6812,19 +6812,19 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -6857,7 +6857,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` ### Bash Code Execution Tool Result Error Code @@ -6889,7 +6889,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` ### Browser Close Tab Config @@ -7295,13 +7295,13 @@ public final class Main { Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonValue type constant` + - `JsonValue type = "browser_state"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -7340,7 +7340,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` - `class BrowserStateChangeDownloadStarted:` @@ -7352,7 +7352,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -7373,7 +7373,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -7403,7 +7403,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -7445,7 +7445,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` - `class BrowserStateChangeDownloadStarted:` @@ -7457,7 +7457,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -7478,7 +7478,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -7508,7 +7508,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -7537,7 +7537,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -7569,7 +7569,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -7595,7 +7595,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -7621,7 +7621,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` ### Browser State Tab Entry @@ -7681,13 +7681,13 @@ public final class Main { the family's tool with any members disabled via `configs` removed from its schema. - - `JsonValue type constant` + - `JsonValue type = "browser_toolset_20260801"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -8528,7 +8528,7 @@ public final class Main { - `class CacheControlEphemeral:` - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -8581,7 +8581,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` ### Citation Char Location Param @@ -8603,7 +8603,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` ### Citation Content Block Location @@ -8635,7 +8635,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` ### Citation Content Block Location Param @@ -8667,7 +8667,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` ### Citation Page Location @@ -8689,7 +8689,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` ### Citation Page Location Param @@ -8711,7 +8711,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` ### Citation Search Result Location Param @@ -8747,7 +8747,7 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` ### Citation Web Search Result Location Param @@ -8761,7 +8761,7 @@ public final class Main { maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -8803,7 +8803,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocation:` @@ -8823,7 +8823,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocation:` @@ -8853,7 +8853,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -8865,7 +8865,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -8901,9 +8901,9 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - - `JsonValue type constant` + - `JsonValue type = "citations_delta"` ### Citations Search Result Location @@ -8939,7 +8939,7 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` ### Citations Web Search Result Location @@ -8953,7 +8953,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -8963,7 +8963,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` ### Code Execution Output Block Param @@ -8971,7 +8971,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` ### Code Execution Result Block @@ -8981,7 +8981,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -8989,7 +8989,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` ### Code Execution Result Block Param @@ -8999,7 +8999,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -9007,19 +9007,19 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` ### Code Execution Tool 20250522 - `class CodeExecutionTool20250522:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250522"` - `Optional> allowedCallers` @@ -9035,7 +9035,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -9064,13 +9064,13 @@ public final class Main { - `class CodeExecutionTool20250825:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `Optional> allowedCallers` @@ -9086,7 +9086,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -9117,13 +9117,13 @@ public final class Main { Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional> allowedCallers` @@ -9139,7 +9139,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -9170,13 +9170,13 @@ public final class Main { Code execution tool with REPL state persistence. - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260521"` - `Optional> allowedCallers` @@ -9192,7 +9192,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -9237,7 +9237,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -9245,7 +9245,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -9253,7 +9253,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -9263,7 +9263,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -9271,13 +9271,13 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` ### Code Execution Tool Result Block Content @@ -9297,7 +9297,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -9305,7 +9305,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -9313,7 +9313,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -9323,7 +9323,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -9331,7 +9331,7 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` ### Code Execution Tool Result Block Param @@ -9353,7 +9353,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlockParam:` @@ -9361,7 +9361,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -9369,7 +9369,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlockParam:` @@ -9379,7 +9379,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -9387,19 +9387,19 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -9434,7 +9434,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlockParam:` @@ -9442,7 +9442,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -9450,7 +9450,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlockParam:` @@ -9460,7 +9460,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -9468,7 +9468,7 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` ### Code Execution Tool Result Error @@ -9484,7 +9484,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` ### Code Execution Tool Result Error Code @@ -9512,7 +9512,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` ### Computer Cursor Position Config @@ -9709,13 +9709,13 @@ public final class Main { `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonValue type constant` + - `JsonValue type = "computer_toolset_20260801"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -10326,7 +10326,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` ### Container Upload Block Param @@ -10337,13 +10337,13 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -10392,7 +10392,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocation:` @@ -10412,7 +10412,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocation:` @@ -10442,7 +10442,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -10454,7 +10454,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -10490,13 +10490,13 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class ThinkingBlock:` @@ -10512,7 +10512,7 @@ public final class Main { The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class RedactedThinkingBlock:` @@ -10524,7 +10524,7 @@ public final class Main { See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class ToolUseBlock:` @@ -10540,7 +10540,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -10550,7 +10550,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -10558,7 +10558,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Input input` @@ -10566,7 +10566,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional toolsetName` @@ -10612,7 +10612,7 @@ public final class Main { - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `class WebSearchToolResultBlock:` @@ -10648,7 +10648,7 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -10658,7 +10658,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -10666,7 +10666,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `class WebFetchToolResultBlock:` @@ -10708,7 +10708,7 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -10728,29 +10728,29 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -10760,7 +10760,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `class CodeExecutionToolResultBlock:` @@ -10780,7 +10780,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -10788,7 +10788,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -10796,7 +10796,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -10806,7 +10806,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -10814,13 +10814,13 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BashCodeExecutionToolResultBlock:` @@ -10840,7 +10840,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -10848,7 +10848,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -10856,13 +10856,13 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class TextEditorCodeExecutionToolResultBlock:` @@ -10884,7 +10884,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -10904,13 +10904,13 @@ public final class Main { - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -10924,13 +10924,13 @@ public final class Main { - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class ToolSearchToolResultBlock:` @@ -10950,7 +10950,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -10960,15 +10960,15 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class ContainerUploadBlock:` @@ -10976,7 +10976,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` ### Content Block Param @@ -10990,13 +10990,13 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -11033,7 +11033,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocationParam:` @@ -11053,7 +11053,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -11083,7 +11083,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -11095,7 +11095,7 @@ public final class Main { maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -11133,7 +11133,7 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class ImageBlockParam:` @@ -11155,11 +11155,11 @@ public final class Main { - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class UrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -11167,9 +11167,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -11197,17 +11197,17 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class ContentBlockSource:` @@ -11221,11 +11221,11 @@ public final class Main { - `class ImageBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class UrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -11233,9 +11233,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -11261,7 +11261,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -11273,7 +11273,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "search_result"` - `Optional cacheControl` @@ -11293,7 +11293,7 @@ public final class Main { The `thinking` text of this block as returned by the API. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class RedactedThinkingBlockParam:` @@ -11301,7 +11301,7 @@ public final class Main { The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class ToolUseBlockParam:` @@ -11315,7 +11315,7 @@ public final class Main { maxLength: 200, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional cacheControl` @@ -11329,7 +11329,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -11339,7 +11339,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -11347,7 +11347,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -11361,7 +11361,7 @@ public final class Main { pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_result"` - `Optional cacheControl` @@ -11389,7 +11389,7 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` @@ -11433,7 +11433,7 @@ public final class Main { Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonValue type constant` + - `JsonValue type = "browser_state"` - `Optional cacheControl` @@ -11461,7 +11461,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` - `class BrowserStateChangeDownloadStarted:` @@ -11473,7 +11473,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -11494,7 +11494,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -11524,7 +11524,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -11570,7 +11570,7 @@ public final class Main { - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional cacheControl` @@ -11600,7 +11600,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -11622,13 +11622,13 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional cacheControl` @@ -11674,13 +11674,13 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class WebFetchBlockParam:` - `DocumentBlockParam content` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -11694,7 +11694,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional cacheControl` @@ -11732,7 +11732,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlockParam:` @@ -11740,7 +11740,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -11748,7 +11748,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlockParam:` @@ -11758,7 +11758,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -11766,13 +11766,13 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `Optional cacheControl` @@ -11796,7 +11796,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlockParam:` @@ -11804,7 +11804,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -11812,13 +11812,13 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `Optional cacheControl` @@ -11842,7 +11842,7 @@ public final class Main { - `FILE_NOT_FOUND("file_not_found")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `Optional errorMessage` @@ -11858,7 +11858,7 @@ public final class Main { - `PDF("pdf")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `Optional numLines` @@ -11870,11 +11870,11 @@ public final class Main { - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `Optional> lines` @@ -11890,7 +11890,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `Optional cacheControl` @@ -11912,7 +11912,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `Optional errorMessage` @@ -11924,19 +11924,19 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `Optional cacheControl` @@ -11949,7 +11949,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Optional cacheControl` @@ -11971,13 +11971,13 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -12014,7 +12014,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocationParam:` @@ -12034,7 +12034,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -12064,7 +12064,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -12076,7 +12076,7 @@ public final class Main { maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -12114,7 +12114,7 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class ImageBlockParam:` @@ -12136,11 +12136,11 @@ public final class Main { - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class UrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -12148,9 +12148,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -12168,7 +12168,7 @@ public final class Main { - `ERROR("error")` - - `JsonValue type constant` + - `JsonValue type = "content"` ### Content Block Source Content @@ -12180,13 +12180,13 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -12223,7 +12223,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocationParam:` @@ -12243,7 +12243,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -12273,7 +12273,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -12285,7 +12285,7 @@ public final class Main { maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -12323,7 +12323,7 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class ImageBlockParam:` @@ -12345,11 +12345,11 @@ public final class Main { - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class UrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -12357,9 +12357,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -12383,7 +12383,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` ### Document Block @@ -12403,23 +12403,23 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` ### Document Block Param @@ -12433,17 +12433,17 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class ContentBlockSource:` @@ -12459,13 +12459,13 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -12502,7 +12502,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocationParam:` @@ -12522,7 +12522,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -12552,7 +12552,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -12564,7 +12564,7 @@ public final class Main { maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -12602,7 +12602,7 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class ImageBlockParam:` @@ -12624,11 +12624,11 @@ public final class Main { - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class UrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -12636,9 +12636,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -12656,11 +12656,11 @@ public final class Main { - `ERROR("error")` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class UrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -12668,9 +12668,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -12698,7 +12698,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -12706,7 +12706,7 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` ### Encrypted Code Execution Result Block Param @@ -12718,7 +12718,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -12726,7 +12726,7 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` ### File Document Source @@ -12734,7 +12734,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` ### File Image Source @@ -12742,7 +12742,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` ### Image Block Param @@ -12766,11 +12766,11 @@ public final class Main { - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class UrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -12778,15 +12778,15 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -12835,7 +12835,7 @@ public final class Main { - `String partialJson` - - `JsonValue type constant` + - `JsonValue type = "input_json_delta"` ### JSON Output Format @@ -12845,19 +12845,19 @@ public final class Main { The JSON schema of the format - - `JsonValue type constant` + - `JsonValue type = "json_schema"` ### Memory Tool 20250818 - `class MemoryTool20250818:` - - `JsonValue name constant` + - `JsonValue name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "memory_20250818"` - `Optional> allowedCallers` @@ -12873,7 +12873,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -13003,7 +13003,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocation:` @@ -13023,7 +13023,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocation:` @@ -13053,7 +13053,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -13065,7 +13065,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -13101,13 +13101,13 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class ThinkingBlock:` @@ -13123,7 +13123,7 @@ public final class Main { The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class RedactedThinkingBlock:` @@ -13135,7 +13135,7 @@ public final class Main { See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class ToolUseBlock:` @@ -13151,7 +13151,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -13161,7 +13161,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -13169,7 +13169,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Input input` @@ -13177,7 +13177,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional toolsetName` @@ -13223,7 +13223,7 @@ public final class Main { - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `class WebSearchToolResultBlock:` @@ -13259,7 +13259,7 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -13269,7 +13269,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -13277,7 +13277,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `class WebFetchToolResultBlock:` @@ -13319,7 +13319,7 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -13339,29 +13339,29 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -13371,7 +13371,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `class CodeExecutionToolResultBlock:` @@ -13391,7 +13391,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -13399,7 +13399,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -13407,7 +13407,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -13417,7 +13417,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -13425,13 +13425,13 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BashCodeExecutionToolResultBlock:` @@ -13451,7 +13451,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -13459,7 +13459,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -13467,13 +13467,13 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class TextEditorCodeExecutionToolResultBlock:` @@ -13495,7 +13495,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -13515,13 +13515,13 @@ public final class Main { - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -13535,13 +13535,13 @@ public final class Main { - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class ToolSearchToolResultBlock:` @@ -13561,7 +13561,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -13571,15 +13571,15 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class ContainerUploadBlock:` @@ -13587,7 +13587,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Model model` @@ -13663,7 +13663,7 @@ public final class Main { High-performance model for agents and coding - - `JsonValue role constant` + - `JsonValue role = "assistant"` Conversational role of the generated message. @@ -13703,7 +13703,7 @@ public final class Main { This text is not guaranteed to be stable. `null` when no explanation is available for the category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - `Optional stopReason` @@ -13741,7 +13741,7 @@ public final class Main { This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonValue type constant` + - `JsonValue type = "message"` Object type. @@ -13865,7 +13865,7 @@ public final class Main { This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -13893,7 +13893,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -13934,13 +13934,13 @@ public final class Main { - `class ToolBash20250124:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20250124"` - `Optional> allowedCallers` @@ -13968,13 +13968,13 @@ public final class Main { - `class CodeExecutionTool20250522:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250522"` - `Optional> allowedCallers` @@ -14000,13 +14000,13 @@ public final class Main { - `class CodeExecutionTool20250825:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `Optional> allowedCallers` @@ -14034,13 +14034,13 @@ public final class Main { Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional> allowedCallers` @@ -14068,13 +14068,13 @@ public final class Main { Code execution tool with REPL state persistence. - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260521"` - `Optional> allowedCallers` @@ -14105,7 +14105,7 @@ public final class Main { the family's tool with any members disabled via `configs` removed from its schema. - - `JsonValue type constant` + - `JsonValue type = "browser_toolset_20260801"` - `Optional cacheControl` @@ -14494,13 +14494,13 @@ public final class Main { - `class MemoryTool20250818:` - - `JsonValue name constant` + - `JsonValue name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "memory_20250818"` - `Optional> allowedCallers` @@ -14537,7 +14537,7 @@ public final class Main { `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonValue type constant` + - `JsonValue type = "computer_toolset_20260801"` - `Optional cacheControl` @@ -14758,13 +14758,13 @@ public final class Main { - `class ToolTextEditor20250124:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250124"` - `Optional> allowedCallers` @@ -14792,13 +14792,13 @@ public final class Main { - `class ToolTextEditor20250429:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250429"` - `Optional> allowedCallers` @@ -14826,13 +14826,13 @@ public final class Main { - `class ToolTextEditor20250728:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250728"` - `Optional> allowedCallers` @@ -14866,13 +14866,13 @@ public final class Main { - `class WebSearchTool20250305:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20250305"` - `Optional> allowedCallers` @@ -14914,7 +14914,7 @@ public final class Main { Parameters for the user's location. Used to provide more relevant search results. - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -14942,13 +14942,13 @@ public final class Main { - `class WebFetchTool20250910:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20250910"` - `Optional> allowedCallers` @@ -15000,13 +15000,13 @@ public final class Main { - `class WebSearchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260209"` - `Optional> allowedCallers` @@ -15050,13 +15050,13 @@ public final class Main { - `class WebFetchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260209"` - `Optional> allowedCallers` @@ -15108,13 +15108,13 @@ public final class Main { Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260309"` - `Optional> allowedCallers` @@ -15168,13 +15168,13 @@ public final class Main { - `class WebSearchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260318"` - `Optional> allowedCallers` @@ -15226,13 +15226,13 @@ public final class Main { - `class WebFetchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260318"` - `Optional> allowedCallers` @@ -15294,7 +15294,7 @@ public final class Main { - `class ToolSearchToolBm25_20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_bm25"` Name of the tool. @@ -15330,7 +15330,7 @@ public final class Main { - `class ToolSearchToolRegex20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_regex"` Name of the tool. @@ -15486,13 +15486,13 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -15529,7 +15529,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocationParam:` @@ -15549,7 +15549,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -15579,7 +15579,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -15591,7 +15591,7 @@ public final class Main { maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -15629,7 +15629,7 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class ImageBlockParam:` @@ -15651,11 +15651,11 @@ public final class Main { - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class UrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -15663,9 +15663,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -15693,17 +15693,17 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class ContentBlockSource:` @@ -15717,11 +15717,11 @@ public final class Main { - `class ImageBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class UrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -15729,9 +15729,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -15757,7 +15757,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -15769,7 +15769,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "search_result"` - `Optional cacheControl` @@ -15789,7 +15789,7 @@ public final class Main { The `thinking` text of this block as returned by the API. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class RedactedThinkingBlockParam:` @@ -15797,7 +15797,7 @@ public final class Main { The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class ToolUseBlockParam:` @@ -15811,7 +15811,7 @@ public final class Main { maxLength: 200, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional cacheControl` @@ -15825,7 +15825,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -15835,7 +15835,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -15843,7 +15843,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -15857,7 +15857,7 @@ public final class Main { pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_result"` - `Optional cacheControl` @@ -15885,7 +15885,7 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` @@ -15929,7 +15929,7 @@ public final class Main { Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonValue type constant` + - `JsonValue type = "browser_state"` - `Optional cacheControl` @@ -15957,7 +15957,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` - `class BrowserStateChangeDownloadStarted:` @@ -15969,7 +15969,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -15990,7 +15990,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -16020,7 +16020,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -16066,7 +16066,7 @@ public final class Main { - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional cacheControl` @@ -16096,7 +16096,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -16118,13 +16118,13 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional cacheControl` @@ -16170,13 +16170,13 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class WebFetchBlockParam:` - `DocumentBlockParam content` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -16190,7 +16190,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional cacheControl` @@ -16228,7 +16228,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlockParam:` @@ -16236,7 +16236,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -16244,7 +16244,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlockParam:` @@ -16254,7 +16254,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -16262,13 +16262,13 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `Optional cacheControl` @@ -16292,7 +16292,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlockParam:` @@ -16300,7 +16300,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -16308,13 +16308,13 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `Optional cacheControl` @@ -16338,7 +16338,7 @@ public final class Main { - `FILE_NOT_FOUND("file_not_found")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `Optional errorMessage` @@ -16354,7 +16354,7 @@ public final class Main { - `PDF("pdf")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `Optional numLines` @@ -16366,11 +16366,11 @@ public final class Main { - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `Optional> lines` @@ -16386,7 +16386,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `Optional cacheControl` @@ -16408,7 +16408,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `Optional errorMessage` @@ -16420,19 +16420,19 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `Optional cacheControl` @@ -16445,7 +16445,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Optional cacheControl` @@ -16581,7 +16581,7 @@ public final class Main { The JSON schema of the format - - `JsonValue type constant` + - `JsonValue type = "json_schema"` ### Output Tokens Details @@ -16606,9 +16606,9 @@ public final class Main { - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` ### Raw Content Block Delta @@ -16618,13 +16618,13 @@ public final class Main { - `String text` - - `JsonValue type constant` + - `JsonValue type = "text_delta"` - `class InputJsonDelta:` - `String partialJson` - - `JsonValue type constant` + - `JsonValue type = "input_json_delta"` - `class CitationsDelta:` @@ -16648,7 +16648,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocation:` @@ -16668,7 +16668,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocation:` @@ -16698,7 +16698,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -16710,7 +16710,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -16746,9 +16746,9 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - - `JsonValue type constant` + - `JsonValue type = "citations_delta"` - `class ThinkingDelta:` @@ -16756,7 +16756,7 @@ public final class Main { The incremental `thinking` text for this content block. Concatenate the `thinking` values of successive `thinking_delta` events to assemble the block's full `thinking` value. - - `JsonValue type constant` + - `JsonValue type = "thinking_delta"` - `class SignatureDelta:` @@ -16764,7 +16764,7 @@ public final class Main { The `signature` for this thinking block: an opaque value used to verify that the block was generated by Claude when it is passed back to the API. Delivered in a `signature_delta` event just before the block's `content_block_stop` event. - - `JsonValue type constant` + - `JsonValue type = "signature_delta"` ### Raw Content Block Delta Event @@ -16776,13 +16776,13 @@ public final class Main { - `String text` - - `JsonValue type constant` + - `JsonValue type = "text_delta"` - `class InputJsonDelta:` - `String partialJson` - - `JsonValue type constant` + - `JsonValue type = "input_json_delta"` - `class CitationsDelta:` @@ -16806,7 +16806,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocation:` @@ -16826,7 +16826,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocation:` @@ -16856,7 +16856,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -16868,7 +16868,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -16904,9 +16904,9 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - - `JsonValue type constant` + - `JsonValue type = "citations_delta"` - `class ThinkingDelta:` @@ -16914,7 +16914,7 @@ public final class Main { The incremental `thinking` text for this content block. Concatenate the `thinking` values of successive `thinking_delta` events to assemble the block's full `thinking` value. - - `JsonValue type constant` + - `JsonValue type = "thinking_delta"` - `class SignatureDelta:` @@ -16922,11 +16922,11 @@ public final class Main { The `signature` for this thinking block: an opaque value used to verify that the block was generated by Claude when it is passed back to the API. Delivered in a `signature_delta` event just before the block's `content_block_stop` event. - - `JsonValue type constant` + - `JsonValue type = "signature_delta"` - `long index` - - `JsonValue type constant` + - `JsonValue type = "content_block_delta"` ### Raw Content Block Start Event @@ -16962,7 +16962,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocation:` @@ -16982,7 +16982,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocation:` @@ -17012,7 +17012,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -17024,7 +17024,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -17060,13 +17060,13 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class ThinkingBlock:` @@ -17082,7 +17082,7 @@ public final class Main { The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class RedactedThinkingBlock:` @@ -17094,7 +17094,7 @@ public final class Main { See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class ToolUseBlock:` @@ -17110,7 +17110,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -17120,7 +17120,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -17128,7 +17128,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Input input` @@ -17136,7 +17136,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional toolsetName` @@ -17182,7 +17182,7 @@ public final class Main { - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `class WebSearchToolResultBlock:` @@ -17218,7 +17218,7 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -17228,7 +17228,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -17236,7 +17236,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `class WebFetchToolResultBlock:` @@ -17278,7 +17278,7 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -17298,29 +17298,29 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -17330,7 +17330,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `class CodeExecutionToolResultBlock:` @@ -17350,7 +17350,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -17358,7 +17358,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -17366,7 +17366,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -17376,7 +17376,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -17384,13 +17384,13 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BashCodeExecutionToolResultBlock:` @@ -17410,7 +17410,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -17418,7 +17418,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -17426,13 +17426,13 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class TextEditorCodeExecutionToolResultBlock:` @@ -17454,7 +17454,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -17474,13 +17474,13 @@ public final class Main { - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -17494,13 +17494,13 @@ public final class Main { - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class ToolSearchToolResultBlock:` @@ -17520,7 +17520,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -17530,15 +17530,15 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class ContainerUploadBlock:` @@ -17546,11 +17546,11 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `long index` - - `JsonValue type constant` + - `JsonValue type = "content_block_start"` ### Raw Content Block Stop Event @@ -17558,7 +17558,7 @@ public final class Main { - `long index` - - `JsonValue type constant` + - `JsonValue type = "content_block_stop"` ### Raw Message Delta Event @@ -17638,7 +17638,7 @@ public final class Main { This text is not guaranteed to be stable. `null` when no explanation is available for the category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - `Optional stopReason` @@ -17658,7 +17658,7 @@ public final class Main { - `Optional stopSequence` - - `JsonValue type constant` + - `JsonValue type = "message_delta"` - `MessageDeltaUsage usage` @@ -17837,7 +17837,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocation:` @@ -17857,7 +17857,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocation:` @@ -17887,7 +17887,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -17899,7 +17899,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -17935,13 +17935,13 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class ThinkingBlock:` @@ -17957,7 +17957,7 @@ public final class Main { The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class RedactedThinkingBlock:` @@ -17969,7 +17969,7 @@ public final class Main { See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class ToolUseBlock:` @@ -17985,7 +17985,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -17995,7 +17995,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -18003,7 +18003,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Input input` @@ -18011,7 +18011,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional toolsetName` @@ -18057,7 +18057,7 @@ public final class Main { - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `class WebSearchToolResultBlock:` @@ -18093,7 +18093,7 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -18103,7 +18103,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -18111,7 +18111,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `class WebFetchToolResultBlock:` @@ -18153,7 +18153,7 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -18173,29 +18173,29 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -18205,7 +18205,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `class CodeExecutionToolResultBlock:` @@ -18225,7 +18225,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -18233,7 +18233,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -18241,7 +18241,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -18251,7 +18251,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -18259,13 +18259,13 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BashCodeExecutionToolResultBlock:` @@ -18285,7 +18285,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -18293,7 +18293,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -18301,13 +18301,13 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class TextEditorCodeExecutionToolResultBlock:` @@ -18329,7 +18329,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -18349,13 +18349,13 @@ public final class Main { - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -18369,13 +18369,13 @@ public final class Main { - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class ToolSearchToolResultBlock:` @@ -18395,7 +18395,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -18405,15 +18405,15 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class ContainerUploadBlock:` @@ -18421,7 +18421,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Model model` @@ -18497,7 +18497,7 @@ public final class Main { High-performance model for agents and coding - - `JsonValue role constant` + - `JsonValue role = "assistant"` Conversational role of the generated message. @@ -18537,7 +18537,7 @@ public final class Main { This text is not guaranteed to be stable. `null` when no explanation is available for the category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - `Optional stopReason` @@ -18575,7 +18575,7 @@ public final class Main { This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonValue type constant` + - `JsonValue type = "message"` Object type. @@ -18685,13 +18685,13 @@ public final class Main { - `BATCH("batch")` - - `JsonValue type constant` + - `JsonValue type = "message_start"` ### Raw Message Stop Event - `class RawMessageStopEvent:` - - `JsonValue type constant` + - `JsonValue type = "message_stop"` ### Raw Message Stream Event @@ -18800,7 +18800,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocation:` @@ -18820,7 +18820,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocation:` @@ -18850,7 +18850,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -18862,7 +18862,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -18898,13 +18898,13 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class ThinkingBlock:` @@ -18920,7 +18920,7 @@ public final class Main { The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class RedactedThinkingBlock:` @@ -18932,7 +18932,7 @@ public final class Main { See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class ToolUseBlock:` @@ -18948,7 +18948,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -18958,7 +18958,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -18966,7 +18966,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Input input` @@ -18974,7 +18974,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional toolsetName` @@ -19020,7 +19020,7 @@ public final class Main { - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `class WebSearchToolResultBlock:` @@ -19056,7 +19056,7 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -19066,7 +19066,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -19074,7 +19074,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `class WebFetchToolResultBlock:` @@ -19116,7 +19116,7 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -19136,29 +19136,29 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -19168,7 +19168,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `class CodeExecutionToolResultBlock:` @@ -19188,7 +19188,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -19196,7 +19196,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -19204,7 +19204,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -19214,7 +19214,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -19222,13 +19222,13 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BashCodeExecutionToolResultBlock:` @@ -19248,7 +19248,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -19256,7 +19256,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -19264,13 +19264,13 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class TextEditorCodeExecutionToolResultBlock:` @@ -19292,7 +19292,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -19312,13 +19312,13 @@ public final class Main { - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -19332,13 +19332,13 @@ public final class Main { - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class ToolSearchToolResultBlock:` @@ -19358,7 +19358,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -19368,15 +19368,15 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class ContainerUploadBlock:` @@ -19384,7 +19384,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Model model` @@ -19460,7 +19460,7 @@ public final class Main { High-performance model for agents and coding - - `JsonValue role constant` + - `JsonValue role = "assistant"` Conversational role of the generated message. @@ -19500,7 +19500,7 @@ public final class Main { This text is not guaranteed to be stable. `null` when no explanation is available for the category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - `Optional stopReason` @@ -19538,7 +19538,7 @@ public final class Main { This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonValue type constant` + - `JsonValue type = "message"` Object type. @@ -19648,7 +19648,7 @@ public final class Main { - `BATCH("batch")` - - `JsonValue type constant` + - `JsonValue type = "message_start"` - `class RawMessageDeltaEvent:` @@ -19666,7 +19666,7 @@ public final class Main { - `Optional stopSequence` - - `JsonValue type constant` + - `JsonValue type = "message_delta"` - `MessageDeltaUsage usage` @@ -19717,7 +19717,7 @@ public final class Main { - `class RawMessageStopEvent:` - - `JsonValue type constant` + - `JsonValue type = "message_stop"` - `class RawContentBlockStartEvent:` @@ -19753,7 +19753,7 @@ public final class Main { - `long index` - - `JsonValue type constant` + - `JsonValue type = "content_block_start"` - `class RawContentBlockDeltaEvent:` @@ -19763,13 +19763,13 @@ public final class Main { - `String text` - - `JsonValue type constant` + - `JsonValue type = "text_delta"` - `class InputJsonDelta:` - `String partialJson` - - `JsonValue type constant` + - `JsonValue type = "input_json_delta"` - `class CitationsDelta:` @@ -19785,7 +19785,7 @@ public final class Main { - `class CitationsSearchResultLocation:` - - `JsonValue type constant` + - `JsonValue type = "citations_delta"` - `class ThinkingDelta:` @@ -19793,7 +19793,7 @@ public final class Main { The incremental `thinking` text for this content block. Concatenate the `thinking` values of successive `thinking_delta` events to assemble the block's full `thinking` value. - - `JsonValue type constant` + - `JsonValue type = "thinking_delta"` - `class SignatureDelta:` @@ -19801,17 +19801,17 @@ public final class Main { The `signature` for this thinking block: an opaque value used to verify that the block was generated by Claude when it is passed back to the API. Delivered in a `signature_delta` event just before the block's `content_block_stop` event. - - `JsonValue type constant` + - `JsonValue type = "signature_delta"` - `long index` - - `JsonValue type constant` + - `JsonValue type = "content_block_delta"` - `class RawContentBlockStopEvent:` - `long index` - - `JsonValue type constant` + - `JsonValue type = "content_block_stop"` ### Redacted Thinking Block @@ -19825,7 +19825,7 @@ public final class Main { See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` ### Redacted Thinking Block Param @@ -19835,7 +19835,7 @@ public final class Main { The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` ### Refusal Stop Details @@ -19873,7 +19873,7 @@ public final class Main { This text is not guaranteed to be stable. `null` when no explanation is available for the category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` ### Search Result Block Param @@ -19885,13 +19885,13 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -19928,7 +19928,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocationParam:` @@ -19948,7 +19948,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -19978,7 +19978,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -19990,7 +19990,7 @@ public final class Main { maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -20028,13 +20028,13 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String source` - `String title` - - `JsonValue type constant` + - `JsonValue type = "search_result"` - `Optional cacheControl` @@ -20054,7 +20054,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` ### Server Tool Caller 20260120 @@ -20064,7 +20064,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` ### Server Tool Usage @@ -20098,7 +20098,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -20108,7 +20108,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -20116,7 +20116,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Input input` @@ -20136,7 +20136,7 @@ public final class Main { - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` ### Server Tool Use Block Param @@ -20164,13 +20164,13 @@ public final class Main { - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -20195,7 +20195,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -20205,7 +20205,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -20213,7 +20213,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` ### Signature Delta @@ -20223,7 +20223,7 @@ public final class Main { The `signature` for this thinking block: an opaque value used to verify that the block was generated by Claude when it is passed back to the API. Delivered in a `signature_delta` event just before the block's `content_block_stop` event. - - `JsonValue type constant` + - `JsonValue type = "signature_delta"` ### Skill Params @@ -20297,7 +20297,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocation:` @@ -20317,7 +20317,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocation:` @@ -20347,7 +20347,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -20359,7 +20359,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -20395,13 +20395,13 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` ### Text Block Param @@ -20411,13 +20411,13 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -20454,7 +20454,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocationParam:` @@ -20474,7 +20474,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -20504,7 +20504,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -20516,7 +20516,7 @@ public final class Main { maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -20554,7 +20554,7 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` ### Text Citation @@ -20578,7 +20578,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocation:` @@ -20598,7 +20598,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocation:` @@ -20628,7 +20628,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -20640,7 +20640,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -20676,7 +20676,7 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` ### Text Citation Param @@ -20700,7 +20700,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocationParam:` @@ -20720,7 +20720,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -20750,7 +20750,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -20762,7 +20762,7 @@ public final class Main { maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -20800,7 +20800,7 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` ### Text Delta @@ -20808,7 +20808,7 @@ public final class Main { - `String text` - - `JsonValue type constant` + - `JsonValue type = "text_delta"` ### Text Editor Code Execution Create Result Block @@ -20816,7 +20816,7 @@ public final class Main { - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` ### Text Editor Code Execution Create Result Block Param @@ -20824,7 +20824,7 @@ public final class Main { - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` ### Text Editor Code Execution Str Replace Result Block @@ -20840,13 +20840,13 @@ public final class Main { - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` ### Text Editor Code Execution Str Replace Result Block Param - `class TextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `Optional> lines` @@ -20880,7 +20880,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -20900,13 +20900,13 @@ public final class Main { - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -20920,13 +20920,13 @@ public final class Main { - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` ### Text Editor Code Execution Tool Result Block Param @@ -20948,7 +20948,7 @@ public final class Main { - `FILE_NOT_FOUND("file_not_found")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `Optional errorMessage` @@ -20964,7 +20964,7 @@ public final class Main { - `PDF("pdf")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `Optional numLines` @@ -20976,11 +20976,11 @@ public final class Main { - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `Optional> lines` @@ -20996,13 +20996,13 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -21037,7 +21037,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` ### Text Editor Code Execution Tool Result Error Code @@ -21069,7 +21069,7 @@ public final class Main { - `FILE_NOT_FOUND("file_not_found")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `Optional errorMessage` @@ -21093,7 +21093,7 @@ public final class Main { - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` ### Text Editor Code Execution View Result Block Param @@ -21109,7 +21109,7 @@ public final class Main { - `PDF("pdf")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `Optional numLines` @@ -21133,7 +21133,7 @@ public final class Main { The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` ### Thinking Block Param @@ -21149,13 +21149,13 @@ public final class Main { The `thinking` text of this block as returned by the API. - - `JsonValue type constant` + - `JsonValue type = "thinking"` ### Thinking Config Adaptive - `class ThinkingConfigAdaptive:` - - `JsonValue type constant` + - `JsonValue type = "adaptive"` - `Optional display` @@ -21169,7 +21169,7 @@ public final class Main { - `class ThinkingConfigDisabled:` - - `JsonValue type constant` + - `JsonValue type = "disabled"` ### Thinking Config Enabled @@ -21185,7 +21185,7 @@ public final class Main { minimum: 1024 - - `JsonValue type constant` + - `JsonValue type = "enabled"` - `Optional display` @@ -21217,7 +21217,7 @@ public final class Main { minimum: 1024 - - `JsonValue type constant` + - `JsonValue type = "enabled"` - `Optional display` @@ -21229,11 +21229,11 @@ public final class Main { - `class ThinkingConfigDisabled:` - - `JsonValue type constant` + - `JsonValue type = "disabled"` - `class ThinkingConfigAdaptive:` - - `JsonValue type constant` + - `JsonValue type = "adaptive"` - `Optional display` @@ -21251,7 +21251,7 @@ public final class Main { The incremental `thinking` text for this content block. Concatenate the `thinking` values of successive `thinking_delta` events to assemble the block's full `thinking` value. - - `JsonValue type constant` + - `JsonValue type = "thinking_delta"` ### Tool @@ -21263,7 +21263,7 @@ public final class Main { This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -21291,7 +21291,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -21334,13 +21334,13 @@ public final class Main { - `class ToolBash20250124:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20250124"` - `Optional> allowedCallers` @@ -21356,7 +21356,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -21393,7 +21393,7 @@ public final class Main { The model will automatically decide whether to use tools. - - `JsonValue type constant` + - `JsonValue type = "auto"` - `Optional disableParallelToolUse` @@ -21405,7 +21405,7 @@ public final class Main { The model will use any available tools. - - `JsonValue type constant` + - `JsonValue type = "any"` - `Optional disableParallelToolUse` @@ -21421,7 +21421,7 @@ public final class Main { The name of the tool to use. - - `JsonValue type constant` + - `JsonValue type = "tool"` - `Optional disableParallelToolUse` @@ -21433,7 +21433,7 @@ public final class Main { The model will not be allowed to use tools. - - `JsonValue type constant` + - `JsonValue type = "none"` ### Tool Choice Any @@ -21441,7 +21441,7 @@ public final class Main { The model will use any available tools. - - `JsonValue type constant` + - `JsonValue type = "any"` - `Optional disableParallelToolUse` @@ -21455,7 +21455,7 @@ public final class Main { The model will automatically decide whether to use tools. - - `JsonValue type constant` + - `JsonValue type = "auto"` - `Optional disableParallelToolUse` @@ -21469,7 +21469,7 @@ public final class Main { The model will not be allowed to use tools. - - `JsonValue type constant` + - `JsonValue type = "none"` ### Tool Choice Tool @@ -21481,7 +21481,7 @@ public final class Main { The name of the tool to use. - - `JsonValue type constant` + - `JsonValue type = "tool"` - `Optional disableParallelToolUse` @@ -21497,7 +21497,7 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` ### Tool Reference Block Param @@ -21509,13 +21509,13 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -21540,13 +21540,13 @@ public final class Main { pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_result"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -21575,7 +21575,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -21601,7 +21601,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocationParam:` @@ -21621,7 +21621,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -21651,7 +21651,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -21663,7 +21663,7 @@ public final class Main { maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -21701,7 +21701,7 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class ImageBlockParam:` @@ -21723,11 +21723,11 @@ public final class Main { - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class UrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -21735,9 +21735,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -21763,7 +21763,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -21775,7 +21775,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "search_result"` - `Optional cacheControl` @@ -21795,17 +21795,17 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class ContentBlockSource:` @@ -21819,11 +21819,11 @@ public final class Main { - `class ImageBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class UrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -21831,9 +21831,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -21857,7 +21857,7 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` @@ -21901,7 +21901,7 @@ public final class Main { Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonValue type constant` + - `JsonValue type = "browser_state"` - `Optional cacheControl` @@ -21929,7 +21929,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` - `class BrowserStateChangeDownloadStarted:` @@ -21941,7 +21941,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -21962,7 +21962,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -21992,7 +21992,7 @@ public final class Main { maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -22018,7 +22018,7 @@ public final class Main { - `class ToolSearchToolBm25_20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_bm25"` Name of the tool. @@ -22044,7 +22044,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -22073,7 +22073,7 @@ public final class Main { - `class ToolSearchToolRegex20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_regex"` Name of the tool. @@ -22099,7 +22099,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -22144,7 +22144,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -22154,15 +22154,15 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` ### Tool Search Tool Result Block Param @@ -22182,7 +22182,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `Optional errorMessage` @@ -22194,13 +22194,13 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -22217,13 +22217,13 @@ public final class Main { - `TTL_1H("1h")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `Optional cacheControl` @@ -22245,7 +22245,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` ### Tool Search Tool Result Error Code @@ -22273,7 +22273,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `Optional errorMessage` @@ -22287,9 +22287,9 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` ### Tool Search Tool Search Result Block Param @@ -22301,13 +22301,13 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -22324,19 +22324,19 @@ public final class Main { - `TTL_1H("1h")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` ### Tool Text Editor 20250124 - `class ToolTextEditor20250124:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250124"` - `Optional> allowedCallers` @@ -22352,7 +22352,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -22383,13 +22383,13 @@ public final class Main { - `class ToolTextEditor20250429:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250429"` - `Optional> allowedCallers` @@ -22405,7 +22405,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -22436,13 +22436,13 @@ public final class Main { - `class ToolTextEditor20250728:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250728"` - `Optional> allowedCallers` @@ -22458,7 +22458,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -22505,7 +22505,7 @@ public final class Main { This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -22533,7 +22533,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -22574,13 +22574,13 @@ public final class Main { - `class ToolBash20250124:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20250124"` - `Optional> allowedCallers` @@ -22608,13 +22608,13 @@ public final class Main { - `class CodeExecutionTool20250522:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250522"` - `Optional> allowedCallers` @@ -22640,13 +22640,13 @@ public final class Main { - `class CodeExecutionTool20250825:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `Optional> allowedCallers` @@ -22674,13 +22674,13 @@ public final class Main { Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional> allowedCallers` @@ -22708,13 +22708,13 @@ public final class Main { Code execution tool with REPL state persistence. - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260521"` - `Optional> allowedCallers` @@ -22745,7 +22745,7 @@ public final class Main { the family's tool with any members disabled via `configs` removed from its schema. - - `JsonValue type constant` + - `JsonValue type = "browser_toolset_20260801"` - `Optional cacheControl` @@ -23134,13 +23134,13 @@ public final class Main { - `class MemoryTool20250818:` - - `JsonValue name constant` + - `JsonValue name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "memory_20250818"` - `Optional> allowedCallers` @@ -23177,7 +23177,7 @@ public final class Main { `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonValue type constant` + - `JsonValue type = "computer_toolset_20260801"` - `Optional cacheControl` @@ -23398,13 +23398,13 @@ public final class Main { - `class ToolTextEditor20250124:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250124"` - `Optional> allowedCallers` @@ -23432,13 +23432,13 @@ public final class Main { - `class ToolTextEditor20250429:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250429"` - `Optional> allowedCallers` @@ -23466,13 +23466,13 @@ public final class Main { - `class ToolTextEditor20250728:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250728"` - `Optional> allowedCallers` @@ -23506,13 +23506,13 @@ public final class Main { - `class WebSearchTool20250305:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20250305"` - `Optional> allowedCallers` @@ -23554,7 +23554,7 @@ public final class Main { Parameters for the user's location. Used to provide more relevant search results. - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -23582,13 +23582,13 @@ public final class Main { - `class WebFetchTool20250910:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20250910"` - `Optional> allowedCallers` @@ -23640,13 +23640,13 @@ public final class Main { - `class WebSearchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260209"` - `Optional> allowedCallers` @@ -23690,13 +23690,13 @@ public final class Main { - `class WebFetchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260209"` - `Optional> allowedCallers` @@ -23748,13 +23748,13 @@ public final class Main { Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260309"` - `Optional> allowedCallers` @@ -23808,13 +23808,13 @@ public final class Main { - `class WebSearchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260318"` - `Optional> allowedCallers` @@ -23866,13 +23866,13 @@ public final class Main { - `class WebFetchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260318"` - `Optional> allowedCallers` @@ -23934,7 +23934,7 @@ public final class Main { - `class ToolSearchToolBm25_20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_bm25"` Name of the tool. @@ -23970,7 +23970,7 @@ public final class Main { - `class ToolSearchToolRegex20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_regex"` Name of the tool. @@ -24020,7 +24020,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -24030,7 +24030,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -24038,7 +24038,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Input input` @@ -24046,7 +24046,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional toolsetName` @@ -24068,13 +24068,13 @@ public final class Main { maxLength: 200, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -24099,7 +24099,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -24109,7 +24109,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -24117,7 +24117,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -24129,7 +24129,7 @@ public final class Main { - `class UrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -24137,7 +24137,7 @@ public final class Main { - `class UrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -24241,7 +24241,7 @@ public final class Main { - `class UserLocation:` - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -24287,29 +24287,29 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -24329,17 +24329,17 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class ContentBlockSource:` @@ -24355,13 +24355,13 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -24398,7 +24398,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocationParam:` @@ -24418,7 +24418,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -24448,7 +24448,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -24460,7 +24460,7 @@ public final class Main { maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -24498,7 +24498,7 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class ImageBlockParam:` @@ -24520,11 +24520,11 @@ public final class Main { - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class UrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -24532,9 +24532,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -24552,11 +24552,11 @@ public final class Main { - `ERROR("error")` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class UrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -24564,9 +24564,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -24584,7 +24584,7 @@ public final class Main { maxLength: 500, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -24598,13 +24598,13 @@ public final class Main { - `class WebFetchTool20250910:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20250910"` - `Optional> allowedCallers` @@ -24628,7 +24628,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -24675,13 +24675,13 @@ public final class Main { - `class WebFetchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260209"` - `Optional> allowedCallers` @@ -24705,7 +24705,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -24754,13 +24754,13 @@ public final class Main { Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260309"` - `Optional> allowedCallers` @@ -24784,7 +24784,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -24835,13 +24835,13 @@ public final class Main { - `class WebFetchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260318"` - `Optional> allowedCallers` @@ -24865,7 +24865,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -24932,7 +24932,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -24942,7 +24942,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -24950,7 +24950,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Content content` @@ -24976,7 +24976,7 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -24996,29 +24996,29 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -25028,7 +25028,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` ### Web Fetch Tool Result Block Param @@ -25058,7 +25058,7 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class WebFetchBlockParam:` @@ -25072,17 +25072,17 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class ContentBlockSource:` @@ -25098,13 +25098,13 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -25141,7 +25141,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocationParam:` @@ -25161,7 +25161,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -25191,7 +25191,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -25203,7 +25203,7 @@ public final class Main { maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -25241,7 +25241,7 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class ImageBlockParam:` @@ -25263,11 +25263,11 @@ public final class Main { - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class UrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -25275,9 +25275,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -25295,11 +25295,11 @@ public final class Main { - `ERROR("error")` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class UrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -25307,9 +25307,9 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -25327,7 +25327,7 @@ public final class Main { maxLength: 500, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -25341,7 +25341,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional cacheControl` @@ -25355,7 +25355,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -25365,7 +25365,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -25373,7 +25373,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` ### Web Fetch Tool Result Error Block @@ -25399,7 +25399,7 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` ### Web Fetch Tool Result Error Block Param @@ -25425,7 +25425,7 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` ### Web Fetch Tool Result Error Code @@ -25459,7 +25459,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -25471,7 +25471,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -25481,13 +25481,13 @@ public final class Main { - `class WebSearchTool20250305:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20250305"` - `Optional> allowedCallers` @@ -25511,7 +25511,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -25546,7 +25546,7 @@ public final class Main { Parameters for the user's location. Used to provide more relevant search results. - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -25576,13 +25576,13 @@ public final class Main { - `class WebSearchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260209"` - `Optional> allowedCallers` @@ -25606,7 +25606,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -25641,7 +25641,7 @@ public final class Main { Parameters for the user's location. Used to provide more relevant search results. - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -25671,13 +25671,13 @@ public final class Main { - `class WebSearchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260318"` - `Optional> allowedCallers` @@ -25701,7 +25701,7 @@ public final class Main { Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -25744,7 +25744,7 @@ public final class Main { Parameters for the user's location. Used to provide more relevant search results. - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -25788,7 +25788,7 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` ### Web Search Tool Result Block @@ -25802,7 +25802,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -25812,7 +25812,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -25820,7 +25820,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `WebSearchToolResultBlockContent content` @@ -25840,7 +25840,7 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -25850,7 +25850,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -25858,7 +25858,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` ### Web Search Tool Result Block Content @@ -25880,7 +25880,7 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -25890,7 +25890,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -25906,7 +25906,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -25928,19 +25928,19 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -25965,7 +25965,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -25975,7 +25975,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -25983,7 +25983,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` ### Web Search Tool Result Block Param Content @@ -25995,7 +25995,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -26017,7 +26017,7 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` ### Web Search Tool Result Error @@ -26037,7 +26037,7 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` ### Web Search Tool Result Error Code @@ -26172,13 +26172,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -26215,7 +26215,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocationParam:` @@ -26235,7 +26235,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -26265,7 +26265,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -26277,7 +26277,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -26315,7 +26315,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class ImageBlockParam:` @@ -26337,11 +26337,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class UrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -26349,9 +26349,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -26379,17 +26379,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class ContentBlockSource:` @@ -26403,11 +26403,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ImageBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class UrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -26415,9 +26415,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -26443,7 +26443,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -26455,7 +26455,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String title` - - `JsonValue type constant` + - `JsonValue type = "search_result"` - `Optional cacheControl` @@ -26475,7 +26475,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `thinking` text of this block as returned by the API. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class RedactedThinkingBlockParam:` @@ -26483,7 +26483,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class ToolUseBlockParam:` @@ -26497,7 +26497,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 200, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional cacheControl` @@ -26511,7 +26511,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -26521,7 +26521,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -26529,7 +26529,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -26543,7 +26543,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_result"` - `Optional cacheControl` @@ -26571,7 +26571,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` @@ -26615,7 +26615,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonValue type constant` + - `JsonValue type = "browser_state"` - `Optional cacheControl` @@ -26643,7 +26643,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` - `class BrowserStateChangeDownloadStarted:` @@ -26655,7 +26655,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -26676,7 +26676,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -26706,7 +26706,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -26752,7 +26752,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional cacheControl` @@ -26782,7 +26782,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -26804,13 +26804,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional cacheControl` @@ -26856,13 +26856,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class WebFetchBlockParam:` - `DocumentBlockParam content` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -26876,7 +26876,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional cacheControl` @@ -26914,7 +26914,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlockParam:` @@ -26922,7 +26922,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -26930,7 +26930,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlockParam:` @@ -26940,7 +26940,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -26948,13 +26948,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `Optional cacheControl` @@ -26978,7 +26978,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlockParam:` @@ -26986,7 +26986,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -26994,13 +26994,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `Optional cacheControl` @@ -27024,7 +27024,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `FILE_NOT_FOUND("file_not_found")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `Optional errorMessage` @@ -27040,7 +27040,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `PDF("pdf")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `Optional numLines` @@ -27052,11 +27052,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `Optional> lines` @@ -27072,7 +27072,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `Optional cacheControl` @@ -27094,7 +27094,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `Optional errorMessage` @@ -27106,19 +27106,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `Optional cacheControl` @@ -27131,7 +27131,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Optional cacheControl` @@ -27305,7 +27305,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The JSON schema of the format - - `JsonValue type constant` + - `JsonValue type = "json_schema"` - `Optional serviceTier` @@ -27345,7 +27345,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -27373,7 +27373,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1024 - - `JsonValue type constant` + - `JsonValue type = "enabled"` - `Optional display` @@ -27385,11 +27385,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ThinkingConfigDisabled:` - - `JsonValue type constant` + - `JsonValue type = "disabled"` - `class ThinkingConfigAdaptive:` - - `JsonValue type constant` + - `JsonValue type = "adaptive"` - `Optional display` @@ -27407,7 +27407,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will automatically decide whether to use tools. - - `JsonValue type constant` + - `JsonValue type = "auto"` - `Optional disableParallelToolUse` @@ -27419,7 +27419,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will use any available tools. - - `JsonValue type constant` + - `JsonValue type = "any"` - `Optional disableParallelToolUse` @@ -27435,7 +27435,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the tool to use. - - `JsonValue type constant` + - `JsonValue type = "tool"` - `Optional disableParallelToolUse` @@ -27447,7 +27447,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will not be allowed to use tools. - - `JsonValue type constant` + - `JsonValue type = "none"` - `Optional> tools` @@ -27521,7 +27521,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -27573,13 +27573,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolBash20250124:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20250124"` - `Optional> allowedCallers` @@ -27607,13 +27607,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class CodeExecutionTool20250522:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250522"` - `Optional> allowedCallers` @@ -27639,13 +27639,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class CodeExecutionTool20250825:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `Optional> allowedCallers` @@ -27673,13 +27673,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional> allowedCallers` @@ -27707,13 +27707,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence. - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260521"` - `Optional> allowedCallers` @@ -27744,7 +27744,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl the family's tool with any members disabled via `configs` removed from its schema. - - `JsonValue type constant` + - `JsonValue type = "browser_toolset_20260801"` - `Optional cacheControl` @@ -28133,13 +28133,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class MemoryTool20250818:` - - `JsonValue name constant` + - `JsonValue name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "memory_20250818"` - `Optional> allowedCallers` @@ -28176,7 +28176,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonValue type constant` + - `JsonValue type = "computer_toolset_20260801"` - `Optional cacheControl` @@ -28397,13 +28397,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolTextEditor20250124:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250124"` - `Optional> allowedCallers` @@ -28431,13 +28431,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolTextEditor20250429:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250429"` - `Optional> allowedCallers` @@ -28465,13 +28465,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolTextEditor20250728:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250728"` - `Optional> allowedCallers` @@ -28505,13 +28505,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebSearchTool20250305:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20250305"` - `Optional> allowedCallers` @@ -28553,7 +28553,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Parameters for the user's location. Used to provide more relevant search results. - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -28581,13 +28581,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebFetchTool20250910:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20250910"` - `Optional> allowedCallers` @@ -28637,13 +28637,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebSearchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260209"` - `Optional> allowedCallers` @@ -28687,13 +28687,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebFetchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260209"` - `Optional> allowedCallers` @@ -28745,13 +28745,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260309"` - `Optional> allowedCallers` @@ -28805,13 +28805,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebSearchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260318"` - `Optional> allowedCallers` @@ -28863,13 +28863,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebFetchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260318"` - `Optional> allowedCallers` @@ -28931,7 +28931,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolSearchToolBm25_20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_bm25"` Name of the tool. @@ -28967,7 +28967,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolSearchToolRegex20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_regex"` Name of the tool. @@ -29129,7 +29129,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. @@ -29300,7 +29300,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. @@ -29472,7 +29472,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. @@ -29641,7 +29641,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. @@ -29719,7 +29719,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl ID of the Message Batch. - - `JsonValue type constant` + - `JsonValue type = "message_batch_deleted"` Deleted object type. @@ -29896,7 +29896,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocation:` @@ -29916,7 +29916,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocation:` @@ -29946,7 +29946,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -29958,7 +29958,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -29994,13 +29994,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class ThinkingBlock:` @@ -30016,7 +30016,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class RedactedThinkingBlock:` @@ -30028,7 +30028,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class ToolUseBlock:` @@ -30044,7 +30044,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -30054,7 +30054,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -30062,7 +30062,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Input input` @@ -30070,7 +30070,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional toolsetName` @@ -30116,7 +30116,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `class WebSearchToolResultBlock:` @@ -30152,7 +30152,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -30162,7 +30162,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -30170,7 +30170,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `class WebFetchToolResultBlock:` @@ -30212,7 +30212,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -30232,29 +30232,29 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -30264,7 +30264,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `class CodeExecutionToolResultBlock:` @@ -30284,7 +30284,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -30292,7 +30292,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -30300,7 +30300,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -30310,7 +30310,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -30318,13 +30318,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BashCodeExecutionToolResultBlock:` @@ -30344,7 +30344,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -30352,7 +30352,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -30360,13 +30360,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class TextEditorCodeExecutionToolResultBlock:` @@ -30388,7 +30388,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -30408,13 +30408,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -30428,13 +30428,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class ToolSearchToolResultBlock:` @@ -30454,7 +30454,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -30464,15 +30464,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class ContainerUploadBlock:` @@ -30480,7 +30480,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Model model` @@ -30556,7 +30556,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl High-performance model for agents and coding - - `JsonValue role constant` + - `JsonValue role = "assistant"` Conversational role of the generated message. @@ -30596,7 +30596,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This text is not guaranteed to be stable. `null` when no explanation is available for the category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - `Optional stopReason` @@ -30634,7 +30634,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonValue type constant` + - `JsonValue type = "message"` Object type. @@ -30744,7 +30744,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `BATCH("batch")` - - `JsonValue type constant` + - `JsonValue type = "succeeded"` - `class MessageBatchErroredResult:` @@ -30756,69 +30756,69 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String message` - - `JsonValue type constant` + - `JsonValue type = "invalid_request_error"` - `class AuthenticationError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "authentication_error"` - `class BillingError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "billing_error"` - `class PermissionError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "permission_error"` - `class NotFoundError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "not_found_error"` - `class RateLimitError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "rate_limit_error"` - `class GatewayTimeoutError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "timeout_error"` - `class ApiErrorObject:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "api_error"` - `class OverloadedError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "overloaded_error"` - `Optional requestId` - - `JsonValue type constant` + - `JsonValue type = "error"` - - `JsonValue type constant` + - `JsonValue type = "errored"` - `class MessageBatchCanceledResult:` - - `JsonValue type constant` + - `JsonValue type = "canceled"` - `class MessageBatchExpiredResult:` - - `JsonValue type constant` + - `JsonValue type = "expired"` #### Example diff --git a/content/en/api/java/messages/batches.md b/content/en/api/java/messages/batches.md index fd36eee5f9..fca7ca29d1 100644 --- a/content/en/api/java/messages/batches.md +++ b/content/en/api/java/messages/batches.md @@ -115,13 +115,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -158,7 +158,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocationParam:` @@ -178,7 +178,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -208,7 +208,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -220,7 +220,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -258,7 +258,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class ImageBlockParam:` @@ -280,11 +280,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class UrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -292,9 +292,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -322,17 +322,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class ContentBlockSource:` @@ -346,11 +346,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ImageBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class UrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -358,9 +358,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -386,7 +386,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -398,7 +398,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String title` - - `JsonValue type constant` + - `JsonValue type = "search_result"` - `Optional cacheControl` @@ -418,7 +418,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `thinking` text of this block as returned by the API. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class RedactedThinkingBlockParam:` @@ -426,7 +426,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class ToolUseBlockParam:` @@ -440,7 +440,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 200, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional cacheControl` @@ -454,7 +454,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -464,7 +464,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -472,7 +472,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -486,7 +486,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_result"` - `Optional cacheControl` @@ -514,7 +514,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` @@ -558,7 +558,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonValue type constant` + - `JsonValue type = "browser_state"` - `Optional cacheControl` @@ -586,7 +586,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` - `class BrowserStateChangeDownloadStarted:` @@ -598,7 +598,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -619,7 +619,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -649,7 +649,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -695,7 +695,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional cacheControl` @@ -725,7 +725,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -747,13 +747,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional cacheControl` @@ -799,13 +799,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class WebFetchBlockParam:` - `DocumentBlockParam content` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -819,7 +819,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional cacheControl` @@ -857,7 +857,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlockParam:` @@ -865,7 +865,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -873,7 +873,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlockParam:` @@ -883,7 +883,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -891,13 +891,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `Optional cacheControl` @@ -921,7 +921,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlockParam:` @@ -929,7 +929,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -937,13 +937,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `Optional cacheControl` @@ -967,7 +967,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `FILE_NOT_FOUND("file_not_found")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `Optional errorMessage` @@ -983,7 +983,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `PDF("pdf")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `Optional numLines` @@ -995,11 +995,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `Optional> lines` @@ -1015,7 +1015,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `Optional cacheControl` @@ -1037,7 +1037,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `Optional errorMessage` @@ -1049,19 +1049,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `Optional cacheControl` @@ -1074,7 +1074,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Optional cacheControl` @@ -1248,7 +1248,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The JSON schema of the format - - `JsonValue type constant` + - `JsonValue type = "json_schema"` - `Optional serviceTier` @@ -1288,7 +1288,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -1316,7 +1316,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1024 - - `JsonValue type constant` + - `JsonValue type = "enabled"` - `Optional display` @@ -1328,11 +1328,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ThinkingConfigDisabled:` - - `JsonValue type constant` + - `JsonValue type = "disabled"` - `class ThinkingConfigAdaptive:` - - `JsonValue type constant` + - `JsonValue type = "adaptive"` - `Optional display` @@ -1350,7 +1350,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will automatically decide whether to use tools. - - `JsonValue type constant` + - `JsonValue type = "auto"` - `Optional disableParallelToolUse` @@ -1362,7 +1362,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will use any available tools. - - `JsonValue type constant` + - `JsonValue type = "any"` - `Optional disableParallelToolUse` @@ -1378,7 +1378,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the tool to use. - - `JsonValue type constant` + - `JsonValue type = "tool"` - `Optional disableParallelToolUse` @@ -1390,7 +1390,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will not be allowed to use tools. - - `JsonValue type constant` + - `JsonValue type = "none"` - `Optional> tools` @@ -1464,7 +1464,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -1516,13 +1516,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolBash20250124:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20250124"` - `Optional> allowedCallers` @@ -1550,13 +1550,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class CodeExecutionTool20250522:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250522"` - `Optional> allowedCallers` @@ -1582,13 +1582,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class CodeExecutionTool20250825:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `Optional> allowedCallers` @@ -1616,13 +1616,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional> allowedCallers` @@ -1650,13 +1650,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence. - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260521"` - `Optional> allowedCallers` @@ -1687,7 +1687,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl the family's tool with any members disabled via `configs` removed from its schema. - - `JsonValue type constant` + - `JsonValue type = "browser_toolset_20260801"` - `Optional cacheControl` @@ -2076,13 +2076,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class MemoryTool20250818:` - - `JsonValue name constant` + - `JsonValue name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "memory_20250818"` - `Optional> allowedCallers` @@ -2119,7 +2119,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonValue type constant` + - `JsonValue type = "computer_toolset_20260801"` - `Optional cacheControl` @@ -2340,13 +2340,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolTextEditor20250124:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250124"` - `Optional> allowedCallers` @@ -2374,13 +2374,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolTextEditor20250429:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250429"` - `Optional> allowedCallers` @@ -2408,13 +2408,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolTextEditor20250728:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250728"` - `Optional> allowedCallers` @@ -2448,13 +2448,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebSearchTool20250305:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20250305"` - `Optional> allowedCallers` @@ -2496,7 +2496,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Parameters for the user's location. Used to provide more relevant search results. - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -2524,13 +2524,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebFetchTool20250910:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20250910"` - `Optional> allowedCallers` @@ -2580,13 +2580,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebSearchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260209"` - `Optional> allowedCallers` @@ -2630,13 +2630,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebFetchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260209"` - `Optional> allowedCallers` @@ -2688,13 +2688,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260309"` - `Optional> allowedCallers` @@ -2748,13 +2748,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebSearchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260318"` - `Optional> allowedCallers` @@ -2806,13 +2806,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebFetchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260318"` - `Optional> allowedCallers` @@ -2874,7 +2874,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolSearchToolBm25_20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_bm25"` Name of the tool. @@ -2910,7 +2910,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolSearchToolRegex20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_regex"` Name of the tool. @@ -3072,7 +3072,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. @@ -3243,7 +3243,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. @@ -3415,7 +3415,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. @@ -3584,7 +3584,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. @@ -3662,7 +3662,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl ID of the Message Batch. - - `JsonValue type constant` + - `JsonValue type = "message_batch_deleted"` Deleted object type. @@ -3839,7 +3839,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocation:` @@ -3859,7 +3859,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocation:` @@ -3889,7 +3889,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -3901,7 +3901,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -3937,13 +3937,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class ThinkingBlock:` @@ -3959,7 +3959,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class RedactedThinkingBlock:` @@ -3971,7 +3971,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class ToolUseBlock:` @@ -3987,7 +3987,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -3997,7 +3997,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -4005,7 +4005,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Input input` @@ -4013,7 +4013,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional toolsetName` @@ -4059,7 +4059,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `class WebSearchToolResultBlock:` @@ -4095,7 +4095,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -4105,7 +4105,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -4113,7 +4113,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `class WebFetchToolResultBlock:` @@ -4155,7 +4155,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -4175,29 +4175,29 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -4207,7 +4207,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `class CodeExecutionToolResultBlock:` @@ -4227,7 +4227,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -4235,7 +4235,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -4243,7 +4243,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -4253,7 +4253,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -4261,13 +4261,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BashCodeExecutionToolResultBlock:` @@ -4287,7 +4287,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -4295,7 +4295,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -4303,13 +4303,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class TextEditorCodeExecutionToolResultBlock:` @@ -4331,7 +4331,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -4351,13 +4351,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -4371,13 +4371,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class ToolSearchToolResultBlock:` @@ -4397,7 +4397,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -4407,15 +4407,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class ContainerUploadBlock:` @@ -4423,7 +4423,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Model model` @@ -4499,7 +4499,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl High-performance model for agents and coding - - `JsonValue role constant` + - `JsonValue role = "assistant"` Conversational role of the generated message. @@ -4539,7 +4539,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This text is not guaranteed to be stable. `null` when no explanation is available for the category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - `Optional stopReason` @@ -4577,7 +4577,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonValue type constant` + - `JsonValue type = "message"` Object type. @@ -4687,7 +4687,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `BATCH("batch")` - - `JsonValue type constant` + - `JsonValue type = "succeeded"` - `class MessageBatchErroredResult:` @@ -4699,69 +4699,69 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String message` - - `JsonValue type constant` + - `JsonValue type = "invalid_request_error"` - `class AuthenticationError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "authentication_error"` - `class BillingError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "billing_error"` - `class PermissionError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "permission_error"` - `class NotFoundError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "not_found_error"` - `class RateLimitError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "rate_limit_error"` - `class GatewayTimeoutError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "timeout_error"` - `class ApiErrorObject:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "api_error"` - `class OverloadedError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "overloaded_error"` - `Optional requestId` - - `JsonValue type constant` + - `JsonValue type = "error"` - - `JsonValue type constant` + - `JsonValue type = "errored"` - `class MessageBatchCanceledResult:` - - `JsonValue type constant` + - `JsonValue type = "canceled"` - `class MessageBatchExpiredResult:` - - `JsonValue type constant` + - `JsonValue type = "expired"` ### Example @@ -4795,7 +4795,7 @@ public final class Main { ID of the Message Batch. - - `JsonValue type constant` + - `JsonValue type = "message_batch_deleted"` Deleted object type. @@ -4893,7 +4893,7 @@ public final class Main { Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. @@ -4903,7 +4903,7 @@ public final class Main { - `class MessageBatchCanceledResult:` - - `JsonValue type constant` + - `JsonValue type = "canceled"` ### Message Batch Errored Result @@ -4917,67 +4917,67 @@ public final class Main { - `String message` - - `JsonValue type constant` + - `JsonValue type = "invalid_request_error"` - `class AuthenticationError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "authentication_error"` - `class BillingError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "billing_error"` - `class PermissionError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "permission_error"` - `class NotFoundError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "not_found_error"` - `class RateLimitError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "rate_limit_error"` - `class GatewayTimeoutError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "timeout_error"` - `class ApiErrorObject:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "api_error"` - `class OverloadedError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "overloaded_error"` - `Optional requestId` - - `JsonValue type constant` + - `JsonValue type = "error"` - - `JsonValue type constant` + - `JsonValue type = "errored"` ### Message Batch Expired Result - `class MessageBatchExpiredResult:` - - `JsonValue type constant` + - `JsonValue type = "expired"` ### Message Batch Individual Response @@ -5100,7 +5100,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocation:` @@ -5120,7 +5120,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocation:` @@ -5150,7 +5150,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -5162,7 +5162,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -5198,13 +5198,13 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class ThinkingBlock:` @@ -5220,7 +5220,7 @@ public final class Main { The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class RedactedThinkingBlock:` @@ -5232,7 +5232,7 @@ public final class Main { See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class ToolUseBlock:` @@ -5248,7 +5248,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -5258,7 +5258,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -5266,7 +5266,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Input input` @@ -5274,7 +5274,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional toolsetName` @@ -5320,7 +5320,7 @@ public final class Main { - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `class WebSearchToolResultBlock:` @@ -5356,7 +5356,7 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -5366,7 +5366,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -5374,7 +5374,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `class WebFetchToolResultBlock:` @@ -5416,7 +5416,7 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -5436,29 +5436,29 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -5468,7 +5468,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `class CodeExecutionToolResultBlock:` @@ -5488,7 +5488,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -5496,7 +5496,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -5504,7 +5504,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -5514,7 +5514,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -5522,13 +5522,13 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BashCodeExecutionToolResultBlock:` @@ -5548,7 +5548,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -5556,7 +5556,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -5564,13 +5564,13 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class TextEditorCodeExecutionToolResultBlock:` @@ -5592,7 +5592,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -5612,13 +5612,13 @@ public final class Main { - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -5632,13 +5632,13 @@ public final class Main { - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class ToolSearchToolResultBlock:` @@ -5658,7 +5658,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -5668,15 +5668,15 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class ContainerUploadBlock:` @@ -5684,7 +5684,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Model model` @@ -5760,7 +5760,7 @@ public final class Main { High-performance model for agents and coding - - `JsonValue role constant` + - `JsonValue role = "assistant"` Conversational role of the generated message. @@ -5800,7 +5800,7 @@ public final class Main { This text is not guaranteed to be stable. `null` when no explanation is available for the category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - `Optional stopReason` @@ -5838,7 +5838,7 @@ public final class Main { This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonValue type constant` + - `JsonValue type = "message"` Object type. @@ -5948,7 +5948,7 @@ public final class Main { - `BATCH("batch")` - - `JsonValue type constant` + - `JsonValue type = "succeeded"` - `class MessageBatchErroredResult:` @@ -5960,69 +5960,69 @@ public final class Main { - `String message` - - `JsonValue type constant` + - `JsonValue type = "invalid_request_error"` - `class AuthenticationError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "authentication_error"` - `class BillingError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "billing_error"` - `class PermissionError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "permission_error"` - `class NotFoundError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "not_found_error"` - `class RateLimitError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "rate_limit_error"` - `class GatewayTimeoutError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "timeout_error"` - `class ApiErrorObject:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "api_error"` - `class OverloadedError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "overloaded_error"` - `Optional requestId` - - `JsonValue type constant` + - `JsonValue type = "error"` - - `JsonValue type constant` + - `JsonValue type = "errored"` - `class MessageBatchCanceledResult:` - - `JsonValue type constant` + - `JsonValue type = "canceled"` - `class MessageBatchExpiredResult:` - - `JsonValue type constant` + - `JsonValue type = "expired"` ### Message Batch Request Counts @@ -6167,7 +6167,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocation:` @@ -6187,7 +6187,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocation:` @@ -6217,7 +6217,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -6229,7 +6229,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -6265,13 +6265,13 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class ThinkingBlock:` @@ -6287,7 +6287,7 @@ public final class Main { The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class RedactedThinkingBlock:` @@ -6299,7 +6299,7 @@ public final class Main { See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class ToolUseBlock:` @@ -6315,7 +6315,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -6325,7 +6325,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -6333,7 +6333,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Input input` @@ -6341,7 +6341,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional toolsetName` @@ -6387,7 +6387,7 @@ public final class Main { - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `class WebSearchToolResultBlock:` @@ -6423,7 +6423,7 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -6433,7 +6433,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -6441,7 +6441,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `class WebFetchToolResultBlock:` @@ -6483,7 +6483,7 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -6503,29 +6503,29 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -6535,7 +6535,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `class CodeExecutionToolResultBlock:` @@ -6555,7 +6555,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -6563,7 +6563,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -6571,7 +6571,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -6581,7 +6581,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -6589,13 +6589,13 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BashCodeExecutionToolResultBlock:` @@ -6615,7 +6615,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -6623,7 +6623,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -6631,13 +6631,13 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class TextEditorCodeExecutionToolResultBlock:` @@ -6659,7 +6659,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -6679,13 +6679,13 @@ public final class Main { - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -6699,13 +6699,13 @@ public final class Main { - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class ToolSearchToolResultBlock:` @@ -6725,7 +6725,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -6735,15 +6735,15 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class ContainerUploadBlock:` @@ -6751,7 +6751,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Model model` @@ -6827,7 +6827,7 @@ public final class Main { High-performance model for agents and coding - - `JsonValue role constant` + - `JsonValue role = "assistant"` Conversational role of the generated message. @@ -6867,7 +6867,7 @@ public final class Main { This text is not guaranteed to be stable. `null` when no explanation is available for the category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - `Optional stopReason` @@ -6905,7 +6905,7 @@ public final class Main { This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonValue type constant` + - `JsonValue type = "message"` Object type. @@ -7015,7 +7015,7 @@ public final class Main { - `BATCH("batch")` - - `JsonValue type constant` + - `JsonValue type = "succeeded"` - `class MessageBatchErroredResult:` @@ -7027,69 +7027,69 @@ public final class Main { - `String message` - - `JsonValue type constant` + - `JsonValue type = "invalid_request_error"` - `class AuthenticationError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "authentication_error"` - `class BillingError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "billing_error"` - `class PermissionError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "permission_error"` - `class NotFoundError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "not_found_error"` - `class RateLimitError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "rate_limit_error"` - `class GatewayTimeoutError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "timeout_error"` - `class ApiErrorObject:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "api_error"` - `class OverloadedError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "overloaded_error"` - `Optional requestId` - - `JsonValue type constant` + - `JsonValue type = "error"` - - `JsonValue type constant` + - `JsonValue type = "errored"` - `class MessageBatchCanceledResult:` - - `JsonValue type constant` + - `JsonValue type = "canceled"` - `class MessageBatchExpiredResult:` - - `JsonValue type constant` + - `JsonValue type = "expired"` ### Message Batch Succeeded Result @@ -7196,7 +7196,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocation:` @@ -7216,7 +7216,7 @@ public final class Main { minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocation:` @@ -7246,7 +7246,7 @@ public final class Main { minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -7258,7 +7258,7 @@ public final class Main { maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -7294,13 +7294,13 @@ public final class Main { - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class ThinkingBlock:` @@ -7316,7 +7316,7 @@ public final class Main { The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class RedactedThinkingBlock:` @@ -7328,7 +7328,7 @@ public final class Main { See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class ToolUseBlock:` @@ -7344,7 +7344,7 @@ public final class Main { Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -7354,7 +7354,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -7362,7 +7362,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Input input` @@ -7370,7 +7370,7 @@ public final class Main { minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional toolsetName` @@ -7416,7 +7416,7 @@ public final class Main { - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `class WebSearchToolResultBlock:` @@ -7452,7 +7452,7 @@ public final class Main { - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -7462,7 +7462,7 @@ public final class Main { - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -7470,7 +7470,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `class WebFetchToolResultBlock:` @@ -7512,7 +7512,7 @@ public final class Main { - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -7532,29 +7532,29 @@ public final class Main { format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -7564,7 +7564,7 @@ public final class Main { pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `class CodeExecutionToolResultBlock:` @@ -7584,7 +7584,7 @@ public final class Main { - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -7592,7 +7592,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -7600,7 +7600,7 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -7610,7 +7610,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -7618,13 +7618,13 @@ public final class Main { - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BashCodeExecutionToolResultBlock:` @@ -7644,7 +7644,7 @@ public final class Main { - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -7652,7 +7652,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -7660,13 +7660,13 @@ public final class Main { - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class TextEditorCodeExecutionToolResultBlock:` @@ -7688,7 +7688,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -7708,13 +7708,13 @@ public final class Main { - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -7728,13 +7728,13 @@ public final class Main { - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class ToolSearchToolResultBlock:` @@ -7754,7 +7754,7 @@ public final class Main { - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -7764,15 +7764,15 @@ public final class Main { maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class ContainerUploadBlock:` @@ -7780,7 +7780,7 @@ public final class Main { - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Model model` @@ -7856,7 +7856,7 @@ public final class Main { High-performance model for agents and coding - - `JsonValue role constant` + - `JsonValue role = "assistant"` Conversational role of the generated message. @@ -7896,7 +7896,7 @@ public final class Main { This text is not guaranteed to be stable. `null` when no explanation is available for the category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - `Optional stopReason` @@ -7934,7 +7934,7 @@ public final class Main { This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonValue type constant` + - `JsonValue type = "message"` Object type. @@ -8044,4 +8044,4 @@ public final class Main { - `BATCH("batch")` - - `JsonValue type constant` + - `JsonValue type = "succeeded"` diff --git a/content/en/api/java/messages/batches/cancel.md b/content/en/api/java/messages/batches/cancel.md index 70a84df8f0..77c2bd0f1d 100644 --- a/content/en/api/java/messages/batches/cancel.md +++ b/content/en/api/java/messages/batches/cancel.md @@ -110,7 +110,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. diff --git a/content/en/api/java/messages/batches/create.md b/content/en/api/java/messages/batches/create.md index 3d5a7a93fb..1e9cb0af97 100644 --- a/content/en/api/java/messages/batches/create.md +++ b/content/en/api/java/messages/batches/create.md @@ -113,13 +113,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -156,7 +156,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocationParam:` @@ -176,7 +176,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -206,7 +206,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -218,7 +218,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -256,7 +256,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class ImageBlockParam:` @@ -278,11 +278,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class UrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -290,9 +290,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -320,17 +320,17 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class ContentBlockSource:` @@ -344,11 +344,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ImageBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class UrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -356,9 +356,9 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -384,7 +384,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -396,7 +396,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String title` - - `JsonValue type constant` + - `JsonValue type = "search_result"` - `Optional cacheControl` @@ -416,7 +416,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `thinking` text of this block as returned by the API. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class RedactedThinkingBlockParam:` @@ -424,7 +424,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class ToolUseBlockParam:` @@ -438,7 +438,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 200, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional cacheControl` @@ -452,7 +452,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -462,7 +462,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -470,7 +470,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -484,7 +484,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_result"` - `Optional cacheControl` @@ -512,7 +512,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` @@ -556,7 +556,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonValue type constant` + - `JsonValue type = "browser_state"` - `Optional cacheControl` @@ -584,7 +584,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` - `class BrowserStateChangeDownloadStarted:` @@ -596,7 +596,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -617,7 +617,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -647,7 +647,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -693,7 +693,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional cacheControl` @@ -723,7 +723,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -745,13 +745,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional cacheControl` @@ -797,13 +797,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class WebFetchBlockParam:` - `DocumentBlockParam content` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -817,7 +817,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional cacheControl` @@ -855,7 +855,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlockParam:` @@ -863,7 +863,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -871,7 +871,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlockParam:` @@ -881,7 +881,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -889,13 +889,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `Optional cacheControl` @@ -919,7 +919,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlockParam:` @@ -927,7 +927,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -935,13 +935,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `Optional cacheControl` @@ -965,7 +965,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `FILE_NOT_FOUND("file_not_found")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `Optional errorMessage` @@ -981,7 +981,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `PDF("pdf")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `Optional numLines` @@ -993,11 +993,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `Optional> lines` @@ -1013,7 +1013,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `Optional cacheControl` @@ -1035,7 +1035,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `Optional errorMessage` @@ -1047,19 +1047,19 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `Optional cacheControl` @@ -1072,7 +1072,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Optional cacheControl` @@ -1246,7 +1246,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The JSON schema of the format - - `JsonValue type constant` + - `JsonValue type = "json_schema"` - `Optional serviceTier` @@ -1286,7 +1286,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -1314,7 +1314,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1024 - - `JsonValue type constant` + - `JsonValue type = "enabled"` - `Optional display` @@ -1326,11 +1326,11 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ThinkingConfigDisabled:` - - `JsonValue type constant` + - `JsonValue type = "disabled"` - `class ThinkingConfigAdaptive:` - - `JsonValue type constant` + - `JsonValue type = "adaptive"` - `Optional display` @@ -1348,7 +1348,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will automatically decide whether to use tools. - - `JsonValue type constant` + - `JsonValue type = "auto"` - `Optional disableParallelToolUse` @@ -1360,7 +1360,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will use any available tools. - - `JsonValue type constant` + - `JsonValue type = "any"` - `Optional disableParallelToolUse` @@ -1376,7 +1376,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The name of the tool to use. - - `JsonValue type constant` + - `JsonValue type = "tool"` - `Optional disableParallelToolUse` @@ -1388,7 +1388,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The model will not be allowed to use tools. - - `JsonValue type constant` + - `JsonValue type = "none"` - `Optional> tools` @@ -1462,7 +1462,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -1514,13 +1514,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolBash20250124:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20250124"` - `Optional> allowedCallers` @@ -1548,13 +1548,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class CodeExecutionTool20250522:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250522"` - `Optional> allowedCallers` @@ -1580,13 +1580,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class CodeExecutionTool20250825:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `Optional> allowedCallers` @@ -1614,13 +1614,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional> allowedCallers` @@ -1648,13 +1648,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Code execution tool with REPL state persistence. - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260521"` - `Optional> allowedCallers` @@ -1685,7 +1685,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl the family's tool with any members disabled via `configs` removed from its schema. - - `JsonValue type constant` + - `JsonValue type = "browser_toolset_20260801"` - `Optional cacheControl` @@ -2074,13 +2074,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class MemoryTool20250818:` - - `JsonValue name constant` + - `JsonValue name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "memory_20250818"` - `Optional> allowedCallers` @@ -2117,7 +2117,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonValue type constant` + - `JsonValue type = "computer_toolset_20260801"` - `Optional cacheControl` @@ -2338,13 +2338,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolTextEditor20250124:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250124"` - `Optional> allowedCallers` @@ -2372,13 +2372,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolTextEditor20250429:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250429"` - `Optional> allowedCallers` @@ -2406,13 +2406,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolTextEditor20250728:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250728"` - `Optional> allowedCallers` @@ -2446,13 +2446,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebSearchTool20250305:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20250305"` - `Optional> allowedCallers` @@ -2494,7 +2494,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Parameters for the user's location. Used to provide more relevant search results. - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -2522,13 +2522,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebFetchTool20250910:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20250910"` - `Optional> allowedCallers` @@ -2578,13 +2578,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebSearchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260209"` - `Optional> allowedCallers` @@ -2628,13 +2628,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebFetchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260209"` - `Optional> allowedCallers` @@ -2686,13 +2686,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260309"` - `Optional> allowedCallers` @@ -2746,13 +2746,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebSearchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260318"` - `Optional> allowedCallers` @@ -2804,13 +2804,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class WebFetchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260318"` - `Optional> allowedCallers` @@ -2872,7 +2872,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolSearchToolBm25_20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_bm25"` Name of the tool. @@ -2908,7 +2908,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `class ToolSearchToolRegex20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_regex"` Name of the tool. @@ -3070,7 +3070,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. diff --git a/content/en/api/java/messages/batches/delete.md b/content/en/api/java/messages/batches/delete.md index 0e00daf027..29348a41aa 100644 --- a/content/en/api/java/messages/batches/delete.md +++ b/content/en/api/java/messages/batches/delete.md @@ -26,7 +26,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl ID of the Message Batch. - - `JsonValue type constant` + - `JsonValue type = "message_batch_deleted"` Deleted object type. diff --git a/content/en/api/java/messages/batches/list.md b/content/en/api/java/messages/batches/list.md index 31792016c2..021ca8845d 100644 --- a/content/en/api/java/messages/batches/list.md +++ b/content/en/api/java/messages/batches/list.md @@ -120,7 +120,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. diff --git a/content/en/api/java/messages/batches/results.md b/content/en/api/java/messages/batches/results.md index aacbc8295a..3123cabf41 100644 --- a/content/en/api/java/messages/batches/results.md +++ b/content/en/api/java/messages/batches/results.md @@ -139,7 +139,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocation:` @@ -159,7 +159,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocation:` @@ -189,7 +189,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -201,7 +201,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -237,13 +237,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class ThinkingBlock:` @@ -259,7 +259,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class RedactedThinkingBlock:` @@ -271,7 +271,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class ToolUseBlock:` @@ -287,7 +287,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -297,7 +297,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -305,7 +305,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Input input` @@ -313,7 +313,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional toolsetName` @@ -359,7 +359,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `class WebSearchToolResultBlock:` @@ -395,7 +395,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -405,7 +405,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -413,7 +413,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `class WebFetchToolResultBlock:` @@ -455,7 +455,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -475,29 +475,29 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -507,7 +507,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `class CodeExecutionToolResultBlock:` @@ -527,7 +527,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -535,7 +535,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -543,7 +543,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -553,7 +553,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -561,13 +561,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BashCodeExecutionToolResultBlock:` @@ -587,7 +587,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -595,7 +595,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -603,13 +603,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class TextEditorCodeExecutionToolResultBlock:` @@ -631,7 +631,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -651,13 +651,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -671,13 +671,13 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class ToolSearchToolResultBlock:` @@ -697,7 +697,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -707,15 +707,15 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class ContainerUploadBlock:` @@ -723,7 +723,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Model model` @@ -799,7 +799,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl High-performance model for agents and coding - - `JsonValue role constant` + - `JsonValue role = "assistant"` Conversational role of the generated message. @@ -839,7 +839,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This text is not guaranteed to be stable. `null` when no explanation is available for the category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - `Optional stopReason` @@ -877,7 +877,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonValue type constant` + - `JsonValue type = "message"` Object type. @@ -987,7 +987,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `BATCH("batch")` - - `JsonValue type constant` + - `JsonValue type = "succeeded"` - `class MessageBatchErroredResult:` @@ -999,69 +999,69 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl - `String message` - - `JsonValue type constant` + - `JsonValue type = "invalid_request_error"` - `class AuthenticationError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "authentication_error"` - `class BillingError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "billing_error"` - `class PermissionError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "permission_error"` - `class NotFoundError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "not_found_error"` - `class RateLimitError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "rate_limit_error"` - `class GatewayTimeoutError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "timeout_error"` - `class ApiErrorObject:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "api_error"` - `class OverloadedError:` - `String message` - - `JsonValue type constant` + - `JsonValue type = "overloaded_error"` - `Optional requestId` - - `JsonValue type constant` + - `JsonValue type = "error"` - - `JsonValue type constant` + - `JsonValue type = "errored"` - `class MessageBatchCanceledResult:` - - `JsonValue type constant` + - `JsonValue type = "canceled"` - `class MessageBatchExpiredResult:` - - `JsonValue type constant` + - `JsonValue type = "expired"` ## Example diff --git a/content/en/api/java/messages/batches/retrieve.md b/content/en/api/java/messages/batches/retrieve.md index 844ac415de..9fd66e4cff 100644 --- a/content/en/api/java/messages/batches/retrieve.md +++ b/content/en/api/java/messages/batches/retrieve.md @@ -108,7 +108,7 @@ Learn more about the Message Batches API in our [user guide](https://platform.cl Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests. - - `JsonValue type constant` + - `JsonValue type = "message_batch"` Object type. diff --git a/content/en/api/java/messages/count_tokens.md b/content/en/api/java/messages/count_tokens.md index e6bce28fae..e39d284c34 100644 --- a/content/en/api/java/messages/count_tokens.md +++ b/content/en/api/java/messages/count_tokens.md @@ -81,13 +81,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -124,7 +124,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocationParam:` @@ -144,7 +144,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -174,7 +174,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -186,7 +186,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -224,7 +224,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class ImageBlockParam:` @@ -246,11 +246,11 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class UrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -258,9 +258,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -288,17 +288,17 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class ContentBlockSource:` @@ -312,11 +312,11 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ImageBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class UrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -324,9 +324,9 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -352,7 +352,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -364,7 +364,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String title` - - `JsonValue type constant` + - `JsonValue type = "search_result"` - `Optional cacheControl` @@ -384,7 +384,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ The `thinking` text of this block as returned by the API. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class RedactedThinkingBlockParam:` @@ -392,7 +392,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class ToolUseBlockParam:` @@ -406,7 +406,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 200, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional cacheControl` @@ -420,7 +420,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -430,7 +430,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -438,7 +438,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -452,7 +452,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_result"` - `Optional cacheControl` @@ -480,7 +480,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` @@ -524,7 +524,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonValue type constant` + - `JsonValue type = "browser_state"` - `Optional cacheControl` @@ -552,7 +552,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` - `class BrowserStateChangeDownloadStarted:` @@ -564,7 +564,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -585,7 +585,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -615,7 +615,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -661,7 +661,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional cacheControl` @@ -691,7 +691,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -713,13 +713,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional cacheControl` @@ -765,13 +765,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class WebFetchBlockParam:` - `DocumentBlockParam content` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -785,7 +785,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional cacheControl` @@ -823,7 +823,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlockParam:` @@ -831,7 +831,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -839,7 +839,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlockParam:` @@ -849,7 +849,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -857,13 +857,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `Optional cacheControl` @@ -887,7 +887,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlockParam:` @@ -895,7 +895,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -903,13 +903,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `Optional cacheControl` @@ -933,7 +933,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `FILE_NOT_FOUND("file_not_found")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `Optional errorMessage` @@ -949,7 +949,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `PDF("pdf")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `Optional numLines` @@ -961,11 +961,11 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `Optional> lines` @@ -981,7 +981,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `Optional cacheControl` @@ -1003,7 +1003,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `Optional errorMessage` @@ -1015,19 +1015,19 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `Optional cacheControl` @@ -1040,7 +1040,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Optional cacheControl` @@ -1082,7 +1082,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -1174,7 +1174,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -1226,13 +1226,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ToolBash20250124:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20250124"` - `Optional> allowedCallers` @@ -1260,13 +1260,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class CodeExecutionTool20250522:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250522"` - `Optional> allowedCallers` @@ -1292,13 +1292,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class CodeExecutionTool20250825:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `Optional> allowedCallers` @@ -1326,13 +1326,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional> allowedCallers` @@ -1360,13 +1360,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Code execution tool with REPL state persistence. - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260521"` - `Optional> allowedCallers` @@ -1397,7 +1397,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ the family's tool with any members disabled via `configs` removed from its schema. - - `JsonValue type constant` + - `JsonValue type = "browser_toolset_20260801"` - `Optional cacheControl` @@ -1786,13 +1786,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class MemoryTool20250818:` - - `JsonValue name constant` + - `JsonValue name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "memory_20250818"` - `Optional> allowedCallers` @@ -1829,7 +1829,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonValue type constant` + - `JsonValue type = "computer_toolset_20260801"` - `Optional cacheControl` @@ -2050,13 +2050,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ToolTextEditor20250124:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250124"` - `Optional> allowedCallers` @@ -2084,13 +2084,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ToolTextEditor20250429:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250429"` - `Optional> allowedCallers` @@ -2118,13 +2118,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ToolTextEditor20250728:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250728"` - `Optional> allowedCallers` @@ -2158,13 +2158,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class WebSearchTool20250305:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20250305"` - `Optional> allowedCallers` @@ -2206,7 +2206,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Parameters for the user's location. Used to provide more relevant search results. - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -2234,13 +2234,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class WebFetchTool20250910:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20250910"` - `Optional> allowedCallers` @@ -2290,13 +2290,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class WebSearchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260209"` - `Optional> allowedCallers` @@ -2340,13 +2340,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class WebFetchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260209"` - `Optional> allowedCallers` @@ -2398,13 +2398,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260309"` - `Optional> allowedCallers` @@ -2458,13 +2458,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class WebSearchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260318"` - `Optional> allowedCallers` @@ -2516,13 +2516,13 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class WebFetchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260318"` - `Optional> allowedCallers` @@ -2584,7 +2584,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ToolSearchToolBm25_20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_bm25"` Name of the tool. @@ -2620,7 +2620,7 @@ Learn more about token counting in our [user guide](https://platform.claude.com/ - `class ToolSearchToolRegex20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_regex"` Name of the tool. diff --git a/content/en/api/java/messages/create.md b/content/en/api/java/messages/create.md index 4161b84a02..7b05626587 100644 --- a/content/en/api/java/messages/create.md +++ b/content/en/api/java/messages/create.md @@ -93,13 +93,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "ephemeral"` - `Optional ttl` @@ -136,7 +136,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocationParam:` @@ -156,7 +156,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocationParam:` @@ -186,7 +186,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationWebSearchResultLocationParam:` @@ -198,7 +198,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 512, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -236,7 +236,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `class ImageBlockParam:` @@ -258,11 +258,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `IMAGE_WEBP("image/webp")` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class UrlImageSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -270,9 +270,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "image"` - `Optional cacheControl` @@ -300,17 +300,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `class ContentBlockSource:` @@ -324,11 +324,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ImageBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "content"` - `class UrlPdfSource:` - - `JsonValue type constant` + - `JsonValue type = "url"` - `String url` @@ -336,9 +336,9 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "file"` - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional cacheControl` @@ -364,7 +364,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -376,7 +376,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String title` - - `JsonValue type constant` + - `JsonValue type = "search_result"` - `Optional cacheControl` @@ -396,7 +396,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `thinking` text of this block as returned by the API. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class RedactedThinkingBlockParam:` @@ -404,7 +404,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class ToolUseBlockParam:` @@ -418,7 +418,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 200, minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional cacheControl` @@ -432,7 +432,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -442,7 +442,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -450,7 +450,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional toolsetName` @@ -464,7 +464,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^[a-zA-Z0-9_-]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_result"` - `Optional cacheControl` @@ -492,7 +492,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` @@ -536,7 +536,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. - - `JsonValue type constant` + - `JsonValue type = "browser_state"` - `Optional cacheControl` @@ -564,7 +564,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "tab_opened"` - `class BrowserStateChangeDownloadStarted:` @@ -576,7 +576,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_started"` - `String url` @@ -597,7 +597,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_completed"` - `String url` @@ -627,7 +627,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$ - - `JsonValue type constant` + - `JsonValue type = "download_failed"` - `String url` @@ -673,7 +673,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `Optional cacheControl` @@ -703,7 +703,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -725,13 +725,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `Optional cacheControl` @@ -777,13 +777,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class WebFetchBlockParam:` - `DocumentBlockParam content` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -797,7 +797,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `Optional cacheControl` @@ -835,7 +835,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlockParam:` @@ -843,7 +843,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -851,7 +851,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlockParam:` @@ -861,7 +861,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -869,13 +869,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `Optional cacheControl` @@ -899,7 +899,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlockParam:` @@ -907,7 +907,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -915,13 +915,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `Optional cacheControl` @@ -945,7 +945,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `FILE_NOT_FOUND("file_not_found")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `Optional errorMessage` @@ -961,7 +961,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `PDF("pdf")` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `Optional numLines` @@ -973,11 +973,11 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlockParam:` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `Optional> lines` @@ -993,7 +993,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `Optional cacheControl` @@ -1015,7 +1015,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `Optional errorMessage` @@ -1027,19 +1027,19 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - `Optional cacheControl` Create a cache control breakpoint at this content block. - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `Optional cacheControl` @@ -1052,7 +1052,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Optional cacheControl` @@ -1124,7 +1124,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional cacheControl` @@ -1216,7 +1216,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co This defines the shape of the `input` that your tool accepts and that the model will produce. - - `JsonValue type constant` + - `JsonValue type = "object"` - `Optional properties` @@ -1268,13 +1268,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ToolBash20250124:` - - `JsonValue name constant` + - `JsonValue name = "bash"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "bash_20250124"` - `Optional> allowedCallers` @@ -1302,13 +1302,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class CodeExecutionTool20250522:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250522"` - `Optional> allowedCallers` @@ -1334,13 +1334,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class CodeExecutionTool20250825:` - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `Optional> allowedCallers` @@ -1368,13 +1368,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint). - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Optional> allowedCallers` @@ -1402,13 +1402,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Code execution tool with REPL state persistence. - - `JsonValue name constant` + - `JsonValue name = "code_execution"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260521"` - `Optional> allowedCallers` @@ -1439,7 +1439,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co the family's tool with any members disabled via `configs` removed from its schema. - - `JsonValue type constant` + - `JsonValue type = "browser_toolset_20260801"` - `Optional cacheControl` @@ -1828,13 +1828,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class MemoryTool20250818:` - - `JsonValue name constant` + - `JsonValue name = "memory"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "memory_20250818"` - `Optional> allowedCallers` @@ -1871,7 +1871,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co `type`, `configs`, and `cache_control`; zoom is controlled via `configs.zoom.enabled`. - - `JsonValue type constant` + - `JsonValue type = "computer_toolset_20260801"` - `Optional cacheControl` @@ -2092,13 +2092,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ToolTextEditor20250124:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_editor"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250124"` - `Optional> allowedCallers` @@ -2126,13 +2126,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ToolTextEditor20250429:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250429"` - `Optional> allowedCallers` @@ -2160,13 +2160,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ToolTextEditor20250728:` - - `JsonValue name constant` + - `JsonValue name = "str_replace_based_edit_tool"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "text_editor_20250728"` - `Optional> allowedCallers` @@ -2200,13 +2200,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class WebSearchTool20250305:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20250305"` - `Optional> allowedCallers` @@ -2248,7 +2248,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Parameters for the user's location. Used to provide more relevant search results. - - `JsonValue type constant` + - `JsonValue type = "approximate"` - `Optional city` @@ -2276,13 +2276,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class WebFetchTool20250910:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20250910"` - `Optional> allowedCallers` @@ -2332,13 +2332,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class WebSearchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260209"` - `Optional> allowedCallers` @@ -2382,13 +2382,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class WebFetchTool20260209:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260209"` - `Optional> allowedCallers` @@ -2440,13 +2440,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Web fetch tool with use_cache parameter for bypassing cached content. - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260309"` - `Optional> allowedCallers` @@ -2500,13 +2500,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class WebSearchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_search"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_search_20260318"` - `Optional> allowedCallers` @@ -2558,13 +2558,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class WebFetchTool20260318:` - - `JsonValue name constant` + - `JsonValue name = "web_fetch"` Name of the tool. This is how the tool will be called by the model and in `tool_use` blocks. - - `JsonValue type constant` + - `JsonValue type = "web_fetch_20260318"` - `Optional> allowedCallers` @@ -2626,7 +2626,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ToolSearchToolBm25_20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_bm25"` Name of the tool. @@ -2662,7 +2662,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class ToolSearchToolRegex20251119:` - - `JsonValue name constant` + - `JsonValue name = "tool_search_tool_regex"` Name of the tool. @@ -2835,7 +2835,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "char_location"` - `class CitationPageLocation:` @@ -2855,7 +2855,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 1 - - `JsonValue type constant` + - `JsonValue type = "page_location"` - `class CitationContentBlockLocation:` @@ -2885,7 +2885,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minimum: 0 - - `JsonValue type constant` + - `JsonValue type = "content_block_location"` - `class CitationsWebSearchResultLocation:` @@ -2897,7 +2897,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 512 - - `JsonValue type constant` + - `JsonValue type = "web_search_result_location"` - `String url` @@ -2933,13 +2933,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional title` - - `JsonValue type constant` + - `JsonValue type = "search_result_location"` - `String text` maxLength: 5000000, minLength: 0 - - `JsonValue type constant` + - `JsonValue type = "text"` - `class ThinkingBlock:` @@ -2955,7 +2955,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The text of Claude's thinking process for this block. - - `JsonValue type constant` + - `JsonValue type = "thinking"` - `class RedactedThinkingBlock:` @@ -2967,7 +2967,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co See [extended thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#redacted-thinking-blocks) for details. - - `JsonValue type constant` + - `JsonValue type = "redacted_thinking"` - `class ToolUseBlock:` @@ -2983,7 +2983,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co Tool invocation directly from the model. - - `JsonValue type constant` + - `JsonValue type = "direct"` - `class ServerToolCaller:` @@ -2993,7 +2993,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20250825"` - `class ServerToolCaller20260120:` @@ -3001,7 +3001,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_20260120"` - `Input input` @@ -3009,7 +3009,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co minLength: 1 - - `JsonValue type constant` + - `JsonValue type = "tool_use"` - `Optional toolsetName` @@ -3055,7 +3055,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `TOOL_SEARCH_TOOL_BM25("tool_search_tool_bm25")` - - `JsonValue type constant` + - `JsonValue type = "server_tool_use"` - `class WebSearchToolResultBlock:` @@ -3091,7 +3091,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `REQUEST_TOO_LARGE("request_too_large")` - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result_error"` - `List` @@ -3101,7 +3101,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String title` - - `JsonValue type constant` + - `JsonValue type = "web_search_result"` - `String url` @@ -3109,7 +3109,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_search_tool_result"` - `class WebFetchToolResultBlock:` @@ -3151,7 +3151,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `UNAVAILABLE("unavailable")` - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result_error"` - `class WebFetchBlock:` @@ -3171,29 +3171,29 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co format: byte - - `JsonValue mediaType constant` + - `JsonValue mediaType = "application/pdf"` - - `JsonValue type constant` + - `JsonValue type = "base64"` - `class PlainTextSource:` - `String data` - - `JsonValue mediaType constant` + - `JsonValue mediaType = "text/plain"` - - `JsonValue type constant` + - `JsonValue type = "text"` - `Optional title` The title of the document - - `JsonValue type constant` + - `JsonValue type = "document"` - `Optional retrievedAt` ISO 8601 timestamp when the content was retrieved - - `JsonValue type constant` + - `JsonValue type = "web_fetch_result"` - `String url` @@ -3203,7 +3203,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "web_fetch_tool_result"` - `class CodeExecutionToolResultBlock:` @@ -3223,7 +3223,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `EXECUTION_TIME_EXCEEDED("execution_time_exceeded")` - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result_error"` - `class CodeExecutionResultBlock:` @@ -3231,7 +3231,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `long returnCode` @@ -3239,7 +3239,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "code_execution_result"` - `class EncryptedCodeExecutionResultBlock:` @@ -3249,7 +3249,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "code_execution_output"` - `String encryptedStdout` @@ -3257,13 +3257,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stderr` - - `JsonValue type constant` + - `JsonValue type = "encrypted_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "code_execution_tool_result"` - `class BashCodeExecutionToolResultBlock:` @@ -3283,7 +3283,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `OUTPUT_FILE_TOO_LARGE("output_file_too_large")` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result_error"` - `class BashCodeExecutionResultBlock:` @@ -3291,7 +3291,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_output"` - `long returnCode` @@ -3299,13 +3299,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String stdout` - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "bash_code_execution_tool_result"` - `class TextEditorCodeExecutionToolResultBlock:` @@ -3327,7 +3327,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result_error"` - `class TextEditorCodeExecutionViewResultBlock:` @@ -3347,13 +3347,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional totalLines` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_view_result"` - `class TextEditorCodeExecutionCreateResultBlock:` - `boolean isFileUpdate` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_create_result"` - `class TextEditorCodeExecutionStrReplaceResultBlock:` @@ -3367,13 +3367,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional oldStart` - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_str_replace_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "text_editor_code_execution_tool_result"` - `class ToolSearchToolResultBlock:` @@ -3393,7 +3393,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional errorMessage` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result_error"` - `class ToolSearchToolSearchResultBlock:` @@ -3403,15 +3403,15 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$ - - `JsonValue type constant` + - `JsonValue type = "tool_reference"` - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_search_result"` - `String toolUseId` pattern: ^srvtoolu_[a-zA-Z0-9_]+$ - - `JsonValue type constant` + - `JsonValue type = "tool_search_tool_result"` - `class ContainerUploadBlock:` @@ -3419,7 +3419,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String fileId` - - `JsonValue type constant` + - `JsonValue type = "container_upload"` - `Model model` @@ -3495,7 +3495,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co High-performance model for agents and coding - - `JsonValue role constant` + - `JsonValue role = "assistant"` Conversational role of the generated message. @@ -3535,7 +3535,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co This text is not guaranteed to be stable. `null` when no explanation is available for the category. - - `JsonValue type constant` + - `JsonValue type = "refusal"` - `Optional stopReason` @@ -3573,7 +3573,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co This value will be a non-null string if one of your custom stop sequences was generated. - - `JsonValue type constant` + - `JsonValue type = "message"` Object type. @@ -3689,7 +3689,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Message message` - - `JsonValue type constant` + - `JsonValue type = "message_start"` - `class RawMessageDeltaEvent:` @@ -3707,7 +3707,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `Optional stopSequence` - - `JsonValue type constant` + - `JsonValue type = "message_delta"` - `MessageDeltaUsage usage` @@ -3758,7 +3758,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class RawMessageStopEvent:` - - `JsonValue type constant` + - `JsonValue type = "message_stop"` - `class RawContentBlockStartEvent:` @@ -3794,7 +3794,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `long index` - - `JsonValue type constant` + - `JsonValue type = "content_block_start"` - `class RawContentBlockDeltaEvent:` @@ -3804,13 +3804,13 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `String text` - - `JsonValue type constant` + - `JsonValue type = "text_delta"` - `class InputJsonDelta:` - `String partialJson` - - `JsonValue type constant` + - `JsonValue type = "input_json_delta"` - `class CitationsDelta:` @@ -3826,7 +3826,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co - `class CitationsSearchResultLocation:` - - `JsonValue type constant` + - `JsonValue type = "citations_delta"` - `class ThinkingDelta:` @@ -3834,7 +3834,7 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The incremental `thinking` text for this content block. Concatenate the `thinking` values of successive `thinking_delta` events to assemble the block's full `thinking` value. - - `JsonValue type constant` + - `JsonValue type = "thinking_delta"` - `class SignatureDelta:` @@ -3842,17 +3842,17 @@ Learn more about the Messages API in our [user guide](https://platform.claude.co The `signature` for this thinking block: an opaque value used to verify that the block was generated by Claude when it is passed back to the API. Delivered in a `signature_delta` event just before the block's `content_block_stop` event. - - `JsonValue type constant` + - `JsonValue type = "signature_delta"` - `long index` - - `JsonValue type constant` + - `JsonValue type = "content_block_delta"` - `class RawContentBlockStopEvent:` - `long index` - - `JsonValue type constant` + - `JsonValue type = "content_block_stop"` ## Example diff --git a/content/en/api/java/models.md b/content/en/api/java/models.md index a034f7ee7f..a572242a5f 100644 --- a/content/en/api/java/models.md +++ b/content/en/api/java/models.md @@ -248,7 +248,7 @@ The Models API response can be used to determine which models are available for Maximum value for the `max_tokens` parameter when using this model. - - `JsonValue type constant` + - `JsonValue type = "model"` Object type. @@ -592,7 +592,7 @@ The Models API response can be used to determine information about a specific mo Maximum value for the `max_tokens` parameter when using this model. - - `JsonValue type constant` + - `JsonValue type = "model"` Object type. @@ -993,7 +993,7 @@ public final class Main { Maximum value for the `max_tokens` parameter when using this model. - - `JsonValue type constant` + - `JsonValue type = "model"` Object type. diff --git a/content/en/api/java/models/list.md b/content/en/api/java/models/list.md index 1cbe5327f0..a0fd0e3b59 100644 --- a/content/en/api/java/models/list.md +++ b/content/en/api/java/models/list.md @@ -246,7 +246,7 @@ The Models API response can be used to determine which models are available for Maximum value for the `max_tokens` parameter when using this model. - - `JsonValue type constant` + - `JsonValue type = "model"` Object type. diff --git a/content/en/api/java/models/retrieve.md b/content/en/api/java/models/retrieve.md index 6e4c809106..38caa7ae13 100644 --- a/content/en/api/java/models/retrieve.md +++ b/content/en/api/java/models/retrieve.md @@ -234,7 +234,7 @@ The Models API response can be used to determine information about a specific mo Maximum value for the `max_tokens` parameter when using this model. - - `JsonValue type constant` + - `JsonValue type = "model"` Object type. diff --git a/content/en/api/php/completions.md b/content/en/api/php/completions.md index e4228decbe..a4193ecd68 100644 --- a/content/en/api/php/completions.md +++ b/content/en/api/php/completions.md @@ -1 +1,545 @@ # Completions + +## Create a Text Completion + +**POST** `/v1/complete` + +[Legacy] Create a Text Completion. + +The Text Completions API is a legacy API. We recommend using the [Messages API](https://platform.claude.com/docs/en/api/messages) going forward. + +Future models and features will not be compatible with Text Completions. See our [migration guide](https://platform.claude.com/docs/en/build-with-claude/working-with-messages) for guidance in migrating from Text Completions to Messages. + +### Headers + +- `"anthropic-beta": optional array of AnthropicBeta` + + Optional header to specify the beta version(s) you want to use. + + - `string` + + - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more` + + - `"message-batches-2024-09-24"` + + - `"prompt-caching-2024-07-31"` + + - `"computer-use-2024-10-22"` + + - `"computer-use-2025-01-24"` + + - `"pdfs-2024-09-25"` + + - `"token-counting-2024-11-01"` + + - `"token-efficient-tools-2025-02-19"` + + - `"output-128k-2025-02-19"` + + - `"files-api-2025-04-14"` + + - `"mcp-client-2025-04-04"` + + - `"mcp-client-2025-11-20"` + + - `"dev-full-thinking-2025-05-14"` + + - `"interleaved-thinking-2025-05-14"` + + - `"code-execution-2025-05-22"` + + - `"extended-cache-ttl-2025-04-11"` + + - `"context-1m-2025-08-07"` + + - `"context-management-2025-06-27"` + + - `"model-context-window-exceeded-2025-08-26"` + + - `"skills-2025-10-02"` + + - `"fast-mode-2026-02-01"` + + - `"output-300k-2026-03-24"` + + - `"user-profiles-2026-03-24"` + + - `"user-profiles-2026-08-18"` + + - `"advisor-tool-2026-03-01"` + + - `"managed-agents-2026-04-01"` + + - `"cache-diagnosis-2026-04-07"` + + - `"dreaming-2026-04-21"` + + - `"thinking-token-count-2026-05-13"` + + - `"server-side-fallback-2026-06-01"` + + - `"server-side-fallback-2026-07-01"` + + - `"fallback-credit-2026-06-01"` + + - `"fallback-credit-2026-07-01"` + + - `"agent-memory-2026-07-22"` + + - `"mid-conversation-tool-changes-2026-07-01"` + + - `"compact-2026-01-12"` + + - `"computer-use-2025-11-24"` + + - `"mcp-tunnels-2026-06-22"` + + - `"structured-outputs-2025-11-13"` + + - `"task-budgets-2026-03-13"` + + - `"thinking-display-updates-2026-08-18"` + + - `"ce-user-management-2026-07-13"` + + - `"mid-conversation-output-config-2026-07-01"` + + - `"thinking-binding-controls-2026-08-01"` + + - `"mid-conversation-system-clear-at-2026-08-21"` + +### Body parameters + +- `max_tokens_to_sample: number` + + The maximum number of tokens to generate before stopping. + + Note that our models may stop _before_ reaching this maximum. This parameter only specifies the absolute maximum number of tokens to generate. + + minimum: 1 + +- `model: Model` + + The model that will complete your prompt. + + See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. + + - `"claude-fable-5-1" or "claude-mythos-5-1" or "claude-sonnet-5" or 14 more` + + The model that will complete your prompt. + + See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. + + - `"claude-fable-5-1"` + + Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows + + - `"claude-mythos-5-1"` + + Our most capable model for cybersecurity and biology research, available through trusted access programs + + - `"claude-sonnet-5"` + + High-performance model for coding and agents + + - `"claude-fable-5"` + + Next generation of intelligence for the hardest knowledge work and coding problems + + - `"claude-mythos-5"` + + Most capable model for cybersecurity and biology research + + - `"claude-opus-5"` + + Powerful intelligence for long-running agents and coding + + - `"claude-opus-4-8"` + + Powerful intelligence for long-running agents and coding + + - `"claude-opus-4-7"` + + Powerful intelligence for long-running agents and coding + + - `"claude-mythos-preview"` + + New class of intelligence, strongest in coding and cybersecurity + + - `"claude-opus-4-6"` + + Powerful intelligence for long-running agents and coding + + - `"claude-sonnet-4-6"` + + Best combination of speed and intelligence + + - `"claude-haiku-4-5"` + + Fastest model with near-frontier intelligence + + - `"claude-haiku-4-5-20251001"` + + Fastest model with near-frontier intelligence + + - `"claude-opus-4-5"` + + Powerful intelligence for long-running agents and coding + + - `"claude-opus-4-5-20251101"` + + Powerful intelligence for long-running agents and coding + + - `"claude-sonnet-4-5"` + + High-performance model for agents and coding + + - `"claude-sonnet-4-5-20250929"` + + High-performance model for agents and coding + + - `string` + +- `prompt: string` + + The prompt that you want Claude to complete. + + For proper response generation you will need to format your prompt using alternating ` + + Human:`and` + + Assistant:` conversational turns. For example: + + ``` + " + + Human: {userQuestion} + + Assistant:" + ``` + + See [prompt validation](https://platform.claude.com/docs/en/build-with-claude/working-with-messages) and our guide to [prompt design](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/overview) for more details. + + minLength: 1 + +- `metadata: optional Metadata` + + An object describing metadata about the request. + + - `user_id: optional string or null` + + An external identifier for the user who is associated with the request. + + This should be a uuid, hash value, or other opaque identifier. Anthropic may use this id to help detect abuse. Do not include any identifying information such as name, email address, or phone number. + + maxLength: 512 + +- `stop_sequences: optional array of string` + + Sequences that will cause the model to stop generating. + + Our models stop on `" + + Human:"`, and may include additional built-in stop sequences in the future. By providing the stop_sequences parameter, you may include additional strings that will cause the model to stop generating. + +- `stream: optional boolean` + + Whether to incrementally stream the response using server-sent events. + + See [streaming](https://platform.claude.com/docs/en/build-with-claude/streaming) for details. + +- `temperature: optional number` + + **Deprecated**: Deprecated. Models released after Claude Opus 4.6 do not support setting temperature. A value of 1.0 of will be accepted for backwards compatibility, all other values will be rejected with a 400 error. + + Amount of randomness injected into the response. + + Defaults to `1.0`. Ranges from `0.0` to `1.0`. Use `temperature` closer to `0.0` for analytical / multiple choice, and closer to `1.0` for creative and generative tasks. + + Note that even with `temperature` of `0.0`, the results will not be fully deterministic. + + maximum: 1, minimum: 0 + +- `top_k: optional number` + + **Deprecated**: Deprecated. Models released after Claude Opus 4.6 do not accept top_k; any value will be rejected with a 400 error. + + Only sample from the top K options for each subsequent token. + + Used to remove "long tail" low probability responses. [Learn more technical details here](https://towardsdatascience.com/how-to-sample-from-language-models-682bceb97277). + + Recommended for advanced use cases only. + + minimum: 0 + +- `top_p: optional number` + + **Deprecated**: Deprecated. Models released after Claude Opus 4.6 do not support setting top_p. A value >= 0.99 will be accepted for backwards compatibility, all other values will be rejected with a 400 error. + + Use nucleus sampling. + + In nucleus sampling, we compute the cumulative distribution over all the options for each subsequent token in decreasing probability order and cut it off once it reaches a particular probability specified by `top_p`. + + Recommended for advanced use cases only. + + maximum: 1, minimum: 0 + +### Returns + +- `Completion object` + + - `id: string` + + Unique object identifier. + + The format and length of IDs may change over time. + + - `completion: string` + + The resulting completion up to and excluding the stop sequences. + + - `model: Model` + + The model that will complete your prompt. + + See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. + + - `"claude-fable-5-1" or "claude-mythos-5-1" or "claude-sonnet-5" or 14 more` + + The model that will complete your prompt. + + See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. + + - `"claude-fable-5-1"` + + Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows + + - `"claude-mythos-5-1"` + + Our most capable model for cybersecurity and biology research, available through trusted access programs + + - `"claude-sonnet-5"` + + High-performance model for coding and agents + + - `"claude-fable-5"` + + Next generation of intelligence for the hardest knowledge work and coding problems + + - `"claude-mythos-5"` + + Most capable model for cybersecurity and biology research + + - `"claude-opus-5"` + + Powerful intelligence for long-running agents and coding + + - `"claude-opus-4-8"` + + Powerful intelligence for long-running agents and coding + + - `"claude-opus-4-7"` + + Powerful intelligence for long-running agents and coding + + - `"claude-mythos-preview"` + + New class of intelligence, strongest in coding and cybersecurity + + - `"claude-opus-4-6"` + + Powerful intelligence for long-running agents and coding + + - `"claude-sonnet-4-6"` + + Best combination of speed and intelligence + + - `"claude-haiku-4-5"` + + Fastest model with near-frontier intelligence + + - `"claude-haiku-4-5-20251001"` + + Fastest model with near-frontier intelligence + + - `"claude-opus-4-5"` + + Powerful intelligence for long-running agents and coding + + - `"claude-opus-4-5-20251101"` + + Powerful intelligence for long-running agents and coding + + - `"claude-sonnet-4-5"` + + High-performance model for agents and coding + + - `"claude-sonnet-4-5-20250929"` + + High-performance model for agents and coding + + - `string` + + - `stop_reason: string or null` + + The reason that we stopped. + + This may be one the following values: + + * `"stop_sequence"`: we reached a stop sequence — either provided by you via the `stop_sequences` parameter, or a stop sequence built into the model + * `"max_tokens"`: we exceeded `max_tokens_to_sample` or the model's maximum + + - `type: "completion"` + + Object type. + + For Text Completions, this is always `"completion"`. + + default: completion + +- `Completion object` + +### Example + +```bash +curl https://api.anthropic.com/v1/complete \ + -H 'Content-Type: application/json' \ + -H 'anthropic-version: 2023-06-01' \ + -H "X-Api-Key: $ANTHROPIC_API_KEY" \ + --max-time 600 \ + -d '{ + "max_tokens_to_sample": 256, + "model": "claude-2.1", + "prompt": "\n\nHuman: Hello, world!\n\nAssistant:", + "temperature": 1, + "top_k": 5, + "top_p": 0.7 + }' +``` + +#### Response (200) + +```json +{ + "id": "compl_018CKm6gsux7P8yMcwZbeCPw", + "completion": " Hello! My name is Claude.", + "model": "claude-2.1", + "stop_reason": "stop_sequence", + "type": "completion" +} +``` + +## Domain types + +### Completion + +- `Completion object` + + - `id: string` + + Unique object identifier. + + The format and length of IDs may change over time. + + - `completion: string` + + The resulting completion up to and excluding the stop sequences. + + - `model: Model` + + The model that will complete your prompt. + + See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. + + - `"claude-fable-5-1" or "claude-mythos-5-1" or "claude-sonnet-5" or 14 more` + + The model that will complete your prompt. + + See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. + + - `"claude-fable-5-1"` + + Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows + + - `"claude-mythos-5-1"` + + Our most capable model for cybersecurity and biology research, available through trusted access programs + + - `"claude-sonnet-5"` + + High-performance model for coding and agents + + - `"claude-fable-5"` + + Next generation of intelligence for the hardest knowledge work and coding problems + + - `"claude-mythos-5"` + + Most capable model for cybersecurity and biology research + + - `"claude-opus-5"` + + Powerful intelligence for long-running agents and coding + + - `"claude-opus-4-8"` + + Powerful intelligence for long-running agents and coding + + - `"claude-opus-4-7"` + + Powerful intelligence for long-running agents and coding + + - `"claude-mythos-preview"` + + New class of intelligence, strongest in coding and cybersecurity + + - `"claude-opus-4-6"` + + Powerful intelligence for long-running agents and coding + + - `"claude-sonnet-4-6"` + + Best combination of speed and intelligence + + - `"claude-haiku-4-5"` + + Fastest model with near-frontier intelligence + + - `"claude-haiku-4-5-20251001"` + + Fastest model with near-frontier intelligence + + - `"claude-opus-4-5"` + + Powerful intelligence for long-running agents and coding + + - `"claude-opus-4-5-20251101"` + + Powerful intelligence for long-running agents and coding + + - `"claude-sonnet-4-5"` + + High-performance model for agents and coding + + - `"claude-sonnet-4-5-20250929"` + + High-performance model for agents and coding + + - `string` + + - `stop_reason: string or null` + + The reason that we stopped. + + This may be one the following values: + + * `"stop_sequence"`: we reached a stop sequence — either provided by you via the `stop_sequences` parameter, or a stop sequence built into the model + * `"max_tokens"`: we exceeded `max_tokens_to_sample` or the model's maximum + + - `type: "completion"` + + Object type. + + For Text Completions, this is always `"completion"`. + + default: completion diff --git a/content/en/api/python/completions.md b/content/en/api/python/completions.md index e4228decbe..a4193ecd68 100644 --- a/content/en/api/python/completions.md +++ b/content/en/api/python/completions.md @@ -1 +1,545 @@ # Completions + +## Create a Text Completion + +**POST** `/v1/complete` + +[Legacy] Create a Text Completion. + +The Text Completions API is a legacy API. We recommend using the [Messages API](https://platform.claude.com/docs/en/api/messages) going forward. + +Future models and features will not be compatible with Text Completions. See our [migration guide](https://platform.claude.com/docs/en/build-with-claude/working-with-messages) for guidance in migrating from Text Completions to Messages. + +### Headers + +- `"anthropic-beta": optional array of AnthropicBeta` + + Optional header to specify the beta version(s) you want to use. + + - `string` + + - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more` + + - `"message-batches-2024-09-24"` + + - `"prompt-caching-2024-07-31"` + + - `"computer-use-2024-10-22"` + + - `"computer-use-2025-01-24"` + + - `"pdfs-2024-09-25"` + + - `"token-counting-2024-11-01"` + + - `"token-efficient-tools-2025-02-19"` + + - `"output-128k-2025-02-19"` + + - `"files-api-2025-04-14"` + + - `"mcp-client-2025-04-04"` + + - `"mcp-client-2025-11-20"` + + - `"dev-full-thinking-2025-05-14"` + + - `"interleaved-thinking-2025-05-14"` + + - `"code-execution-2025-05-22"` + + - `"extended-cache-ttl-2025-04-11"` + + - `"context-1m-2025-08-07"` + + - `"context-management-2025-06-27"` + + - `"model-context-window-exceeded-2025-08-26"` + + - `"skills-2025-10-02"` + + - `"fast-mode-2026-02-01"` + + - `"output-300k-2026-03-24"` + + - `"user-profiles-2026-03-24"` + + - `"user-profiles-2026-08-18"` + + - `"advisor-tool-2026-03-01"` + + - `"managed-agents-2026-04-01"` + + - `"cache-diagnosis-2026-04-07"` + + - `"dreaming-2026-04-21"` + + - `"thinking-token-count-2026-05-13"` + + - `"server-side-fallback-2026-06-01"` + + - `"server-side-fallback-2026-07-01"` + + - `"fallback-credit-2026-06-01"` + + - `"fallback-credit-2026-07-01"` + + - `"agent-memory-2026-07-22"` + + - `"mid-conversation-tool-changes-2026-07-01"` + + - `"compact-2026-01-12"` + + - `"computer-use-2025-11-24"` + + - `"mcp-tunnels-2026-06-22"` + + - `"structured-outputs-2025-11-13"` + + - `"task-budgets-2026-03-13"` + + - `"thinking-display-updates-2026-08-18"` + + - `"ce-user-management-2026-07-13"` + + - `"mid-conversation-output-config-2026-07-01"` + + - `"thinking-binding-controls-2026-08-01"` + + - `"mid-conversation-system-clear-at-2026-08-21"` + +### Body parameters + +- `max_tokens_to_sample: number` + + The maximum number of tokens to generate before stopping. + + Note that our models may stop _before_ reaching this maximum. This parameter only specifies the absolute maximum number of tokens to generate. + + minimum: 1 + +- `model: Model` + + The model that will complete your prompt. + + See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. + + - `"claude-fable-5-1" or "claude-mythos-5-1" or "claude-sonnet-5" or 14 more` + + The model that will complete your prompt. + + See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. + + - `"claude-fable-5-1"` + + Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows + + - `"claude-mythos-5-1"` + + Our most capable model for cybersecurity and biology research, available through trusted access programs + + - `"claude-sonnet-5"` + + High-performance model for coding and agents + + - `"claude-fable-5"` + + Next generation of intelligence for the hardest knowledge work and coding problems + + - `"claude-mythos-5"` + + Most capable model for cybersecurity and biology research + + - `"claude-opus-5"` + + Powerful intelligence for long-running agents and coding + + - `"claude-opus-4-8"` + + Powerful intelligence for long-running agents and coding + + - `"claude-opus-4-7"` + + Powerful intelligence for long-running agents and coding + + - `"claude-mythos-preview"` + + New class of intelligence, strongest in coding and cybersecurity + + - `"claude-opus-4-6"` + + Powerful intelligence for long-running agents and coding + + - `"claude-sonnet-4-6"` + + Best combination of speed and intelligence + + - `"claude-haiku-4-5"` + + Fastest model with near-frontier intelligence + + - `"claude-haiku-4-5-20251001"` + + Fastest model with near-frontier intelligence + + - `"claude-opus-4-5"` + + Powerful intelligence for long-running agents and coding + + - `"claude-opus-4-5-20251101"` + + Powerful intelligence for long-running agents and coding + + - `"claude-sonnet-4-5"` + + High-performance model for agents and coding + + - `"claude-sonnet-4-5-20250929"` + + High-performance model for agents and coding + + - `string` + +- `prompt: string` + + The prompt that you want Claude to complete. + + For proper response generation you will need to format your prompt using alternating ` + + Human:`and` + + Assistant:` conversational turns. For example: + + ``` + " + + Human: {userQuestion} + + Assistant:" + ``` + + See [prompt validation](https://platform.claude.com/docs/en/build-with-claude/working-with-messages) and our guide to [prompt design](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/overview) for more details. + + minLength: 1 + +- `metadata: optional Metadata` + + An object describing metadata about the request. + + - `user_id: optional string or null` + + An external identifier for the user who is associated with the request. + + This should be a uuid, hash value, or other opaque identifier. Anthropic may use this id to help detect abuse. Do not include any identifying information such as name, email address, or phone number. + + maxLength: 512 + +- `stop_sequences: optional array of string` + + Sequences that will cause the model to stop generating. + + Our models stop on `" + + Human:"`, and may include additional built-in stop sequences in the future. By providing the stop_sequences parameter, you may include additional strings that will cause the model to stop generating. + +- `stream: optional boolean` + + Whether to incrementally stream the response using server-sent events. + + See [streaming](https://platform.claude.com/docs/en/build-with-claude/streaming) for details. + +- `temperature: optional number` + + **Deprecated**: Deprecated. Models released after Claude Opus 4.6 do not support setting temperature. A value of 1.0 of will be accepted for backwards compatibility, all other values will be rejected with a 400 error. + + Amount of randomness injected into the response. + + Defaults to `1.0`. Ranges from `0.0` to `1.0`. Use `temperature` closer to `0.0` for analytical / multiple choice, and closer to `1.0` for creative and generative tasks. + + Note that even with `temperature` of `0.0`, the results will not be fully deterministic. + + maximum: 1, minimum: 0 + +- `top_k: optional number` + + **Deprecated**: Deprecated. Models released after Claude Opus 4.6 do not accept top_k; any value will be rejected with a 400 error. + + Only sample from the top K options for each subsequent token. + + Used to remove "long tail" low probability responses. [Learn more technical details here](https://towardsdatascience.com/how-to-sample-from-language-models-682bceb97277). + + Recommended for advanced use cases only. + + minimum: 0 + +- `top_p: optional number` + + **Deprecated**: Deprecated. Models released after Claude Opus 4.6 do not support setting top_p. A value >= 0.99 will be accepted for backwards compatibility, all other values will be rejected with a 400 error. + + Use nucleus sampling. + + In nucleus sampling, we compute the cumulative distribution over all the options for each subsequent token in decreasing probability order and cut it off once it reaches a particular probability specified by `top_p`. + + Recommended for advanced use cases only. + + maximum: 1, minimum: 0 + +### Returns + +- `Completion object` + + - `id: string` + + Unique object identifier. + + The format and length of IDs may change over time. + + - `completion: string` + + The resulting completion up to and excluding the stop sequences. + + - `model: Model` + + The model that will complete your prompt. + + See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. + + - `"claude-fable-5-1" or "claude-mythos-5-1" or "claude-sonnet-5" or 14 more` + + The model that will complete your prompt. + + See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. + + - `"claude-fable-5-1"` + + Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows + + - `"claude-mythos-5-1"` + + Our most capable model for cybersecurity and biology research, available through trusted access programs + + - `"claude-sonnet-5"` + + High-performance model for coding and agents + + - `"claude-fable-5"` + + Next generation of intelligence for the hardest knowledge work and coding problems + + - `"claude-mythos-5"` + + Most capable model for cybersecurity and biology research + + - `"claude-opus-5"` + + Powerful intelligence for long-running agents and coding + + - `"claude-opus-4-8"` + + Powerful intelligence for long-running agents and coding + + - `"claude-opus-4-7"` + + Powerful intelligence for long-running agents and coding + + - `"claude-mythos-preview"` + + New class of intelligence, strongest in coding and cybersecurity + + - `"claude-opus-4-6"` + + Powerful intelligence for long-running agents and coding + + - `"claude-sonnet-4-6"` + + Best combination of speed and intelligence + + - `"claude-haiku-4-5"` + + Fastest model with near-frontier intelligence + + - `"claude-haiku-4-5-20251001"` + + Fastest model with near-frontier intelligence + + - `"claude-opus-4-5"` + + Powerful intelligence for long-running agents and coding + + - `"claude-opus-4-5-20251101"` + + Powerful intelligence for long-running agents and coding + + - `"claude-sonnet-4-5"` + + High-performance model for agents and coding + + - `"claude-sonnet-4-5-20250929"` + + High-performance model for agents and coding + + - `string` + + - `stop_reason: string or null` + + The reason that we stopped. + + This may be one the following values: + + * `"stop_sequence"`: we reached a stop sequence — either provided by you via the `stop_sequences` parameter, or a stop sequence built into the model + * `"max_tokens"`: we exceeded `max_tokens_to_sample` or the model's maximum + + - `type: "completion"` + + Object type. + + For Text Completions, this is always `"completion"`. + + default: completion + +- `Completion object` + +### Example + +```bash +curl https://api.anthropic.com/v1/complete \ + -H 'Content-Type: application/json' \ + -H 'anthropic-version: 2023-06-01' \ + -H "X-Api-Key: $ANTHROPIC_API_KEY" \ + --max-time 600 \ + -d '{ + "max_tokens_to_sample": 256, + "model": "claude-2.1", + "prompt": "\n\nHuman: Hello, world!\n\nAssistant:", + "temperature": 1, + "top_k": 5, + "top_p": 0.7 + }' +``` + +#### Response (200) + +```json +{ + "id": "compl_018CKm6gsux7P8yMcwZbeCPw", + "completion": " Hello! My name is Claude.", + "model": "claude-2.1", + "stop_reason": "stop_sequence", + "type": "completion" +} +``` + +## Domain types + +### Completion + +- `Completion object` + + - `id: string` + + Unique object identifier. + + The format and length of IDs may change over time. + + - `completion: string` + + The resulting completion up to and excluding the stop sequences. + + - `model: Model` + + The model that will complete your prompt. + + See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. + + - `"claude-fable-5-1" or "claude-mythos-5-1" or "claude-sonnet-5" or 14 more` + + The model that will complete your prompt. + + See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options. + + - `"claude-fable-5-1"` + + Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows + + - `"claude-mythos-5-1"` + + Our most capable model for cybersecurity and biology research, available through trusted access programs + + - `"claude-sonnet-5"` + + High-performance model for coding and agents + + - `"claude-fable-5"` + + Next generation of intelligence for the hardest knowledge work and coding problems + + - `"claude-mythos-5"` + + Most capable model for cybersecurity and biology research + + - `"claude-opus-5"` + + Powerful intelligence for long-running agents and coding + + - `"claude-opus-4-8"` + + Powerful intelligence for long-running agents and coding + + - `"claude-opus-4-7"` + + Powerful intelligence for long-running agents and coding + + - `"claude-mythos-preview"` + + New class of intelligence, strongest in coding and cybersecurity + + - `"claude-opus-4-6"` + + Powerful intelligence for long-running agents and coding + + - `"claude-sonnet-4-6"` + + Best combination of speed and intelligence + + - `"claude-haiku-4-5"` + + Fastest model with near-frontier intelligence + + - `"claude-haiku-4-5-20251001"` + + Fastest model with near-frontier intelligence + + - `"claude-opus-4-5"` + + Powerful intelligence for long-running agents and coding + + - `"claude-opus-4-5-20251101"` + + Powerful intelligence for long-running agents and coding + + - `"claude-sonnet-4-5"` + + High-performance model for agents and coding + + - `"claude-sonnet-4-5-20250929"` + + High-performance model for agents and coding + + - `string` + + - `stop_reason: string or null` + + The reason that we stopped. + + This may be one the following values: + + * `"stop_sequence"`: we reached a stop sequence — either provided by you via the `stop_sequences` parameter, or a stop sequence built into the model + * `"max_tokens"`: we exceeded `max_tokens_to_sample` or the model's maximum + + - `type: "completion"` + + Object type. + + For Text Completions, this is always `"completion"`. + + default: completion diff --git a/content/en/api/service-tiers.md b/content/en/api/service-tiers.md index 7fd53c6dcf..59278855fb 100644 --- a/content/en/api/service-tiers.md +++ b/content/en/api/service-tiers.md @@ -14,7 +14,7 @@ Anthropic offers three service tiers: * **Standard:** Default tier for both piloting and scaling everyday use cases * **Batch:** Best for asynchronous workflows that can wait or benefit from being outside your normal capacity -## Standard Tier +## Standard tier The standard tier is the default service tier for all API requests. The API prioritizes these requests alongside all other requests with best-effort availability. diff --git a/content/en/build-with-claude/claude-in-amazon-bedrock.md b/content/en/build-with-claude/claude-in-amazon-bedrock.md index 28bad5c92a..7f97b67152 100644 --- a/content/en/build-with-claude/claude-in-amazon-bedrock.md +++ b/content/en/build-with-claude/claude-in-amazon-bedrock.md @@ -102,7 +102,7 @@ Anthropic's [client SDKs](https://platform.claude.com/docs/en/cli-sdks-libraries ```kotlin - implementation("com.anthropic:anthropic-java-bedrock:2.58.0") + implementation("com.anthropic:anthropic-java-bedrock:2.60.0") ``` @@ -111,7 +111,7 @@ Anthropic's [client SDKs](https://platform.claude.com/docs/en/cli-sdks-libraries com.anthropic anthropic-java-bedrock - 2.58.0 + 2.60.0 ``` diff --git a/content/en/build-with-claude/claude-in-microsoft-foundry.md b/content/en/build-with-claude/claude-in-microsoft-foundry.md index b6d426bb18..05e074db3b 100644 --- a/content/en/build-with-claude/claude-in-microsoft-foundry.md +++ b/content/en/build-with-claude/claude-in-microsoft-foundry.md @@ -77,7 +77,7 @@ Anthropic's [client SDKs](https://platform.claude.com/docs/en/cli-sdks-libraries ```kotlin - implementation("com.anthropic:anthropic-java-foundry:2.58.0") + implementation("com.anthropic:anthropic-java-foundry:2.60.0") // For Entra ID authentication, also add the Azure Identity library implementation("com.azure:azure-identity:1.18.3") @@ -89,7 +89,7 @@ Anthropic's [client SDKs](https://platform.claude.com/docs/en/cli-sdks-libraries com.anthropic anthropic-java-foundry - 2.58.0 + 2.60.0 diff --git a/content/en/build-with-claude/claude-on-amazon-bedrock-legacy.md b/content/en/build-with-claude/claude-on-amazon-bedrock-legacy.md index 655c6c7d30..f172041256 100644 --- a/content/en/build-with-claude/claude-on-amazon-bedrock-legacy.md +++ b/content/en/build-with-claude/claude-on-amazon-bedrock-legacy.md @@ -54,14 +54,14 @@ Anthropic's [client SDKs](https://platform.claude.com/docs/en/cli-sdks-libraries ```groovy Gradle - implementation("com.anthropic:anthropic-java-bedrock:2.58.0") + implementation("com.anthropic:anthropic-java-bedrock:2.60.0") ``` ```xml Maven com.anthropic anthropic-java-bedrock - 2.58.0 + 2.60.0 ``` diff --git a/content/en/build-with-claude/claude-on-vertex-ai.md b/content/en/build-with-claude/claude-on-vertex-ai.md index 72351a1258..ac1e7e5bc7 100644 --- a/content/en/build-with-claude/claude-on-vertex-ai.md +++ b/content/en/build-with-claude/claude-on-vertex-ai.md @@ -45,20 +45,20 @@ First, install Anthropic's [client SDK](https://platform.claude.com/docs/en/cli- ```groovy Gradle - implementation("com.anthropic:anthropic-java:2.58.0") - implementation("com.anthropic:anthropic-java-vertex:2.58.0") + implementation("com.anthropic:anthropic-java:2.60.0") + implementation("com.anthropic:anthropic-java-vertex:2.60.0") ``` ```xml Maven com.anthropic anthropic-java - 2.58.0 + 2.60.0 com.anthropic anthropic-java-vertex - 2.58.0 + 2.60.0 ``` diff --git a/content/en/build-with-claude/claude-platform-on-aws.md b/content/en/build-with-claude/claude-platform-on-aws.md index 0b91f8b6ec..1678693c64 100644 --- a/content/en/build-with-claude/claude-platform-on-aws.md +++ b/content/en/build-with-claude/claude-platform-on-aws.md @@ -305,14 +305,14 @@ Anthropic's [client SDKs](https://platform.claude.com/docs/en/cli-sdks-libraries ```kotlin Gradle - implementation("com.anthropic:anthropic-java-aws:2.58.0") + implementation("com.anthropic:anthropic-java-aws:2.60.0") ``` ```xml Maven com.anthropic anthropic-java-aws - 2.58.0 + 2.60.0 ``` diff --git a/content/en/build-with-claude/files.md b/content/en/build-with-claude/files.md index d5b3ef1763..a0ccf161d0 100644 --- a/content/en/build-with-claude/files.md +++ b/content/en/build-with-claude/files.md @@ -940,7 +940,7 @@ Download files that were created by [skills](https://platform.claude.com/docs/en A file is downloadable only when its metadata shows `"downloadable": true`, which is the case for files created by skills or the code execution tool. Downloading a file you uploaded returns a 400 error.
-On the Claude API, supported image and video files that Claude produces with the code execution tool, including files created by skills, carry signed C2PA Content Credentials when you download them. See [Content Credentials on generated files](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool#content-credentials-on-generated-files) for what the credential contains and how to verify it. +On the Claude API, supported image, video, and audio files that Claude produces with the code execution tool, including files created by skills, carry signed C2PA Content Credentials when you download them. See [Content Credentials on generated files](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool#content-credentials-on-generated-files) for what the credential contains and how to verify it. ## File storage and limits diff --git a/content/en/build-with-claude/mid-conversation-system-messages.md b/content/en/build-with-claude/mid-conversation-system-messages.md index 7b59d42c58..f7fd33632b 100644 --- a/content/en/build-with-claude/mid-conversation-system-messages.md +++ b/content/en/build-with-claude/mid-conversation-system-messages.md @@ -1170,7 +1170,7 @@ Avoid editing or removing a mid-conversation system message that has already bee ## Limitations * **Not for the first message.** A `system` message that carries content cannot be the first entry in `messages`. Use the top-level `system` field for instructions that apply from the very start. -* **Placement is constrained.** A `system` message that carries content (`text`, `tool_addition`, or `tool_removal` blocks) must immediately follow a `user` turn (including a `user` turn that carries `tool_result` blocks) or an `assistant` turn ending in a server tool result, and must precede an `assistant` turn or end the array. It cannot sit between a `tool_use` block and its `tool_result`. Placing it elsewhere returns a 400 error. A message with empty `content` that only sets [`output_config.effort`](https://platform.claude.com/docs/en/build-with-claude/effort#change-effort-mid-conversation-beta) renders nothing at its position and is accepted anywhere in `messages`, including first or between an `assistant` turn and a `user` turn. Consecutive `system` messages are judged together, so adding a text-carrying message next to an effort-only one makes the whole group follow the content rule. +* **Placement is constrained.** A `system` message that carries content (`text`, `tool_addition`, or `tool_removal` blocks) must immediately follow a `user` turn (including a `user` turn that carries `tool_result` blocks) or an `assistant` turn ending in a server tool result, and must precede an `assistant` turn or end the array. It cannot sit between a `tool_use` block and its `tool_result`. Placing it elsewhere returns a 400 error. One exception: `tool_addition` and `tool_removal` blocks are not accepted immediately after a [paused](https://platform.claude.com/docs/en/build-with-claude/handling-stop-reasons#pause-turn) `assistant` turn (one ending in a server tool result), though `text` blocks are; resume the paused turn first, then send the tool change in the next `system` message. A message with empty `content` that only sets [`output_config.effort`](https://platform.claude.com/docs/en/build-with-claude/effort#change-effort-mid-conversation-beta) renders nothing at its position and is accepted anywhere in `messages`, including first or between an `assistant` turn and a `user` turn. Consecutive `system` messages are judged together, so adding a text-carrying message next to an effort-only one makes the whole group follow the content rule. * **Turn-scoped messages are text-only and re-sent verbatim.** A `clear_at: "next_user_message"` message carries no `tool_addition`, `tool_removal`, `output_config`, or `cache_control`, and once cleared it must stay in `messages` byte-for-byte on later requests. See [Turn-scoped system messages](https://platform.claude.com/docs/en/build-with-claude/mid-conversation-system-messages#turn-scoped-system-messages). * **Not a place for untrusted content.** Claude treats system content as operator instructions and follows it. Do not place text from outside the conversation, such as raw tool output, retrieved documents, or web content, directly in a system message; doing so gives that text operator-level authority. Keep that data in `tool_result` blocks and continue to follow [Mitigate jailbreaks and prompt injections](https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/mitigate-jailbreaks). diff --git a/content/en/build-with-claude/preserved-thinking.md b/content/en/build-with-claude/preserved-thinking.md index 5b23b579db..5c26d4be29 100644 --- a/content/en/build-with-claude/preserved-thinking.md +++ b/content/en/build-with-claude/preserved-thinking.md @@ -296,6 +296,52 @@ The same beta names apply on Amazon Bedrock and Google Cloud. See [Beta headers] * Cross-turn files are `file_id` or base64, not mutable URLs. * A production `prefix_mismatch_behavior` is set and its 400s or dropped entries are monitored. +## FAQ + + + + No. Send the `thinking-binding-controls-2026-08-01` beta header and set `thinking.block_binding.prefix_mismatch_behavior`. Setting the field opts that request into enforcement regardless of account age: `"error"` rejects an edited history with the same 400 a new account gets, and `"drop_block"` lets the request through and lists what was dropped in `input_transformations`. See [How to tell whether your integration is impacted](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking#how-to-tell-whether-your-integration-is-impacted). + + + + No. What fails is the thinking already in the history after the point you changed, and you choose what happens to it. With `prefix_mismatch_behavior: "drop_block"` the API drops those blocks and the request succeeds: the model answers that turn without that reasoning, and the prompt cache restarts at the edit. With the default `"error"` the API rejects the request with a 400 until you undo the edit or resend with `"drop_block"`; see [Decide what happens on a mismatch](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking#decide-what-happens-on-a-mismatch). [What counts as an edit](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking#what-counts-as-an-edit) lists which changes matter. + + + + No. `output_config.effort`, `max_tokens`, and the `thinking` configuration aren't part of the checked prefix, which covers only `system`, `tools`, and `messages`. A top-level effort change still invalidates most of the prompt cache; on Claude Fable 5.1, a [per-message effort](https://platform.claude.com/docs/en/build-with-claude/effort#change-effort-mid-conversation-beta) change keeps it. Once sent, that effort message is part of the history: leave it in place on later requests. + + + + Don't edit `tools`: declare the full set at session start, mark tools that aren't available yet `defer_loading: true`, and offer or withdraw them with `tool_addition` and `tool_removal` blocks. A tool whose schema you learn only mid-session, such as one from an MCP server discovered at runtime, can still be appended to `tools` with `defer_loading: true` and offered the same way, because an unreferenced deferred tool isn't part of the prefix. The `role: "system"` messages that carry these blocks join the prefix for later thinking, so don't move, reword, or delete them afterward. See [Change tools with `tool_addition` and `tool_removal`](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking#change-tools-with-tool-addition-and-tool-removal-not-by-editing-tools). + + + + Not if the kept turns still carry their thinking: those blocks were produced against the history you replaced, so they fail the check. Strip `thinking` and `redacted_thinking` from the turns you carry across (their `text` and `tool_use` blocks stay), or send `prefix_mismatch_behavior: "drop_block"` and let the API drop them. Simple compaction (one summary message plus the next user turn, no earlier turns replayed) leaves no thinking behind to fail and is the recommended shape. Server-side [compaction](https://platform.claude.com/docs/en/build-with-claude/compaction) and [context editing](https://platform.claude.com/docs/en/build-with-claude/context-editing) don't count as edits. See [Custom compaction on the client](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking#custom-compaction-on-the-client). + + + + Load them once at session start and keep the top-level `system` prompt and `tools` fixed. When a file changes, append the new version at that point in `messages` instead of editing the original: a [mid-conversation system message](https://platform.claude.com/docs/en/build-with-claude/mid-conversation-system-messages) for instructions that come from you as the operator, or content in the next `user` turn for file text you treat as untrusted, which shouldn't carry system-prompt authority. See [Add instructions with a mid-conversation system message](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking#add-instructions-with-a-mid-conversation-system-message-not-by-editing-system) and [Limitations](https://platform.claude.com/docs/en/build-with-claude/mid-conversation-system-messages#limitations). + + + + Yes. A resumed session is an ordinary follow-up request: `system`, `tools`, and the earlier `messages` must match what you last sent byte-for-byte. Persist what you sent and received (the rendered system prompt, the tool definitions, each assistant turn as returned) and replay that, rather than re-rendering from inputs that might have changed since, such as the date, an updated instruction file, or a new tool version. Anything new goes in an appended message. See [Append assistant turns exactly as returned](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking#append-assistant-turns-exactly-as-returned). + + + + Keep sending the full history and let the API decide on each request. An older model can't read Claude Fable 5.1's thinking blocks, so the API leaves them out of what that model sees for that one request (no error, not billed, and reported as `model_binding_mismatch` in `input_transformations` when you send the beta header); it never edits your `messages` array, so the blocks stay in your history. When the same history goes back to Claude Fable 5.1, those blocks are readable again, along with the older model's thinking. The reasoning is lost only if your client removes the blocks itself, for example a harness that strips thinking on a model switch or rebuilds the history from what each model used. See [Only for the model that produced it, or a newer one](https://platform.claude.com/docs/en/build-with-claude/thinking#preserved-for-model) for which models read which blocks. + + ![Animation: switching to Claude Opus skips Claude Fable 5.1's thinking for that turn; switching back, everything is read again](https://platform.claude.com/docs/images/preserved-thinking-model-switch.gif) + + + + No, provided they're appended after the existing history and nothing earlier changes: an assistant message without thinking blocks is an appended message like any other. Send the other model's output as `text` and `tool_use` content. + + + + Not into a different conversation. A thinking block is usable only behind the exact `system`, `tools`, and `messages` it was produced from, so a branch that replays that history unchanged up to the fork point keeps its thinking, and a conversation that starts from anything else can't use it. Start that one from a summary of the task state (the goal, decisions made, files and results so far, and the next step), as in [simple compaction](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking#custom-compaction-on-the-client). + + + ## Next steps diff --git a/content/en/build-with-claude/prompt-caching.md b/content/en/build-with-claude/prompt-caching.md index 14fcc067c6..bc860088bc 100644 --- a/content/en/build-with-claude/prompt-caching.md +++ b/content/en/build-with-claude/prompt-caching.md @@ -867,7 +867,7 @@ When mixing TTLs, the API determines three billing locations in your prompt: 3. Position `C`: The token count at the last `cache_control` block. - If `B` and/or `C` are larger than `A`, they will necessarily be cache misses, because `A` is the highest cache hit. + If `B` or `C` is larger than `A`, it is necessarily a cache miss, because `A` is the highest cache hit. You'll be charged for: diff --git a/content/en/build-with-claude/prompt-engineering/prompting-claude-fable-5-1.md b/content/en/build-with-claude/prompt-engineering/prompting-claude-fable-5-1.md index 839250ca2a..d6d91d999b 100644 --- a/content/en/build-with-claude/prompt-engineering/prompting-claude-fable-5-1.md +++ b/content/en/build-with-claude/prompt-engineering/prompting-claude-fable-5-1.md @@ -130,7 +130,8 @@ The following loop shows this placement. Each assistant turn goes back exactly a tool_results: list[BetaToolResultBlockParam] = [] for block in response.content: if block.type == "tool_use": - path = str(block.input["path"]) + raw_path = block.input.get("path") + path = raw_path if isinstance(raw_path, str) else "" if path in FILES: tool_results.append( { @@ -255,7 +256,7 @@ The following loop shows this placement. Each assistant turn goes back exactly a } const finalText = response.content.find((block) => block.type === "text"); - console.log(finalText?.text); + console.log(finalText?.text ?? ""); ``` ```csharp C# @@ -333,7 +334,10 @@ The following loop shows this placement. Each assistant turn goes back exactly a { if (block.TryPickToolUse(out var toolUse)) { - var path = toolUse.Input["path"].GetString()!; + var path = toolUse.Input.TryGetValue("path", out var pathValue) + && pathValue.ValueKind == JsonValueKind.String + ? pathValue.GetString()! + : ""; if (files.TryGetValue(path, out var fileText)) { toolResults.Add(new BetaToolResultBlockParam { ToolUseID = toolUse.ID, Content = fileText }); @@ -446,8 +450,9 @@ The following loop shows this placement. Each assistant turn goes back exactly a var input struct { Path string `json:"path"` } + // A missing or non-string path leaves input.Path empty, which takes the error-result branch. if err := json.Unmarshal([]byte(toolUse.JSON.Input.Raw()), &input); err != nil { - log.Fatal(err) + input.Path = "" } text, found := files[input.Path] if !found { @@ -548,7 +553,10 @@ The following loop shows this placement. Each assistant turn goes back exactly a for (BetaToolUseBlock toolUse : toolUses) { Map input = (Map) toolUse._input().asObject().orElseThrow(); - String path = input.get("path").asStringOrThrow(); + JsonValue pathValue = input.get("path"); + String path = pathValue != null && pathValue.asString().isPresent() + ? pathValue.asStringOrThrow() + : ""; String fileText = FILES.get(path); BetaToolResultBlockParam.Builder result = BetaToolResultBlockParam.builder() .toolUseId(toolUse.id()); @@ -575,9 +583,9 @@ The following loop shows this placement. Each assistant turn goes back exactly a String finalText = response.content().stream() .flatMap(block -> block.text().stream()) + .map(textBlock -> textBlock.text()) .findFirst() - .orElseThrow() - .text(); + .orElse(""); IO.println(finalText); } ``` @@ -637,7 +645,7 @@ The following loop shows this placement. Each assistant turn goes back exactly a $toolResults = []; foreach ($response->content as $block) { if ($block->type === 'tool_use') { - $path = $block->input['path']; + $path = is_string($block->input['path'] ?? null) ? $block->input['path'] : ''; if (array_key_exists($path, FILES)) { $toolResults[] = [ 'type' => 'tool_result', @@ -666,7 +674,7 @@ The following loop shows this placement. Each assistant turn goes back exactly a } $textBlock = array_find($response->content, fn ($block) => $block->type === 'text'); - echo $textBlock->text, PHP_EOL; + echo $textBlock?->text ?? '', PHP_EOL; ``` ```ruby Ruby @@ -870,7 +878,7 @@ At `xhigh` and especially `max` effort, Claude Fable 5.1 can think for longer be * Append the following note to the end of the user message. It makes the thinking much shorter on prose and code requests. Replace `[max_tokens]` with the request's actual `max_tokens` value, for example 64,000. ```text wrap -Everything produced in one reply, including any reasoning or drafting it does before the reply, counts toward a single limit of about [max_tokens] tokens. If that limit is reached before the reply is finished, the person receives a cut-off response and has to start over. Composing an entire output or deliverable in full as reasoning and then again as a reply would double the length of the turn without improving the result, so don't do that. +Everything produced in one reply, including any reasoning or drafting done before the reply, counts toward a single limit of about [max_tokens] tokens. If that limit is reached before the reply is finished, the person receives a cut-off response and has to start over. Composing an entire output or deliverable in full as reasoning and then again as a reply would double the length of the turn without improving the result, so don't do that. Instead, when the person has asked for a long or effort-intensive deliverable such as a multi-section document, a large table or dataset, or a complete code file, spend extra effort on understanding the request, checking the inputs the answer depends on, settling the structure and other difficult decisions, and otherwise using the reasoning space to reason and the output space to write an output. Usually it is not needed to draft an output multiple times. ``` diff --git a/content/en/build-with-claude/prompt-engineering/prompting-claude-opus-4-8.md b/content/en/build-with-claude/prompt-engineering/prompting-claude-opus-4-8.md index 171ffd9219..1cc1afe637 100644 --- a/content/en/build-with-claude/prompt-engineering/prompting-claude-opus-4-8.md +++ b/content/en/build-with-claude/prompt-engineering/prompting-claude-opus-4-8.md @@ -157,6 +157,6 @@ Iterate on prompts against a subset of your evals or test cases to validate reca ## Computer use -Claude Opus 4.8 supports the `computer_toolset_20260801` toolset (on the Claude API and Google Cloud) and the earlier `computer_20251124` tool version. For tasks inside webpages, Claude Opus 4.8 also supports the [browser use tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/browser-use-tool) (`browser_toolset_20260801`). [Computer use](https://platform.claude.com/docs/en/agents-and-tools/tool-use/computer-use-tool) capability works across resolutions, up to a maximum resolution of 2576px / 3.75MP. Internal computer use testing shows that sending images at 1080p provides a good balance of performance and cost. +Claude Opus 4.8 supports the `computer_toolset_20260801` toolset (on the Claude API and Google Cloud) and the earlier `computer_20251124` tool version. On the Claude API and Google Cloud, Claude Opus 4.8 also supports the [browser use tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/browser-use-tool) (`browser_toolset_20260801`) for tasks inside webpages. [Computer use](https://platform.claude.com/docs/en/agents-and-tools/tool-use/computer-use-tool) capability works across resolutions, up to a maximum resolution of 2576px / 3.75MP. Internal computer use testing shows that sending images at 1080p provides a good balance of performance and cost. For particularly cost-sensitive workloads, 720p or 1366×768 are lower-cost options with strong performance. Conduct your own testing to find the ideal settings for your use case; experimenting with effort settings can also help tune the model's behavior. diff --git a/content/en/build-with-claude/prompt-engineering/prompting-claude-sonnet-5.md b/content/en/build-with-claude/prompt-engineering/prompting-claude-sonnet-5.md index ffb813edf8..8ad49e4a99 100644 --- a/content/en/build-with-claude/prompt-engineering/prompting-claude-sonnet-5.md +++ b/content/en/build-with-claude/prompt-engineering/prompting-claude-sonnet-5.md @@ -153,6 +153,6 @@ Iterate on prompts against a subset of your evals or test cases to validate reca ## Computer use -Claude Sonnet 5 supports the `computer_toolset_20260801` toolset (on the Claude API and Google Cloud) and the earlier `computer_20251124` tool version. For tasks inside webpages, Claude Sonnet 5 also supports the [browser use tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/browser-use-tool) (`browser_toolset_20260801`). [Computer use](https://platform.claude.com/docs/en/agents-and-tools/tool-use/computer-use-tool) capability works across resolutions, up to a maximum resolution of 2576px / 3.75MP. Internal computer use testing shows that sending images at 1080p provides a good balance of performance and cost. +Claude Sonnet 5 supports the `computer_toolset_20260801` toolset (on the Claude API and Google Cloud) and the earlier `computer_20251124` tool version. On the Claude API and Google Cloud, Claude Sonnet 5 also supports the [browser use tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/browser-use-tool) (`browser_toolset_20260801`) for tasks inside webpages. [Computer use](https://platform.claude.com/docs/en/agents-and-tools/tool-use/computer-use-tool) capability works across resolutions, up to a maximum resolution of 2576px / 3.75MP. Internal computer use testing shows that sending images at 1080p provides a good balance of performance and cost. For particularly cost-sensitive workloads, 720p or 1366×768 are lower-cost options with strong performance. Conduct your own testing to find the ideal settings for your use case; experimenting with effort settings can also help tune the model's behavior. diff --git a/content/en/build-with-claude/task-budgets.md b/content/en/build-with-claude/task-budgets.md index a8aa5fc53f..70f58c6649 100644 --- a/content/en/build-with-claude/task-budgets.md +++ b/content/en/build-with-claude/task-budgets.md @@ -248,16 +248,51 @@ Claude sees a budget-countdown marker injected server-side throughout the conver - **The countdown reflects tokens Claude has processed in the current agentic loop, not tokens you resend between turns.** If your client sends the full conversation history on every follow-up request, your client-side token count may differ from the budget Claude is tracking. If you also decrement `remaining` while resending full history, the model sees an under-reported budget and the countdown drops faster than it should, causing Claude to wrap up earlier than the budget actually allows. Set a generous budget and let the model self-regulate against the countdown rather than trying to mirror it client-side. + **The countdown reflects tokens Claude has processed in the current agentic loop, not tokens you resend between requests.** If your client sends the full conversation history on every follow-up request, your client-side token count might differ from the budget Claude is tracking. If you also decrement `remaining` while resending full history, the model sees an under-reported budget and the countdown drops faster than it should, causing Claude to wrap up earlier than the budget actually allows. Set a generous budget and let the model self-regulate against the countdown rather than trying to mirror it client-side. -### Worked example: budget counting across turns +### What counts as a turn -The task budget counts what Claude **sees** (thinking, tool calls and results, and text), not what's in your request payload. In an agentic loop your client resends the full conversation on every request, so the payload grows turn over turn, but the budget only decrements by the tokens Claude sees this turn. +The budget covers one agentic turn, also called an agentic loop: everything Claude does in response to one user message that carries no tool results. A turn can span several requests. + +A user message that carries no tool results starts a new turn with a fresh budget. Today, the countdown still counts earlier turns' history while it remains in the context. A common case is a follow-up after Claude has ended its turn, for example because the budget ran out: + +```json +{ "role": "user", "content": "Continue." } +``` + +A user message that contains `tool_result` blocks continues the current turn, because your client is resolving tool calls that are part of that turn: + +```json +{ + "role": "user", + "content": [ + { "type": "tool_result", "tool_use_id": "toolu_01", "content": "" } + ] +} +``` + +That holds even when the message adds new content alongside the tool results: + +```json +{ + "role": "user", + "content": [ + { "type": "tool_result", "tool_use_id": "toolu_01", "content": "" }, + { "type": "text", "text": "Also check the Dockerfile." } + ] +} +``` + +Server-side [compaction](https://platform.claude.com/docs/en/build-with-claude/compaction) during a turn does not reset the budget: tokens the turn consumed before the compaction still count against it. Tokens from before the turn began do not count, even when a compaction at the start of a turn summarizes them. Today, that exclusion applies only to the budget carried across a server-side compaction; earlier turns' history still counts while it remains in the context. + +### Worked example: budget counting across requests + +The task budget counts what Claude **sees** (thinking, tool calls and results, and text), not what's in your request payload. In an agentic loop your client resends the full conversation on every request, so the payload keeps growing, but the budget only decrements by what is new: the tokens Claude generates and the content it has not seen before. The following example is one [agentic turn](https://platform.claude.com/docs/en/build-with-claude/task-budgets#what-counts-as-a-turn) made of three requests: the first carries the user message, and the next two each resend the history with a tool result appended. Consider a loop with `task_budget: {type: "tokens", total: 100000}` and a single `bash` tool. -**Turn 1.** You send the initial request: +**Request 1.** You send the initial request: ```json { @@ -287,9 +322,9 @@ Claude thinks, then emits a tool call and stops with `stop_reason: "tool_use"`: } ``` -Suppose this assistant turn (thinking plus the tool call) totals 5,000 generated tokens. The countdown Claude saw during generation ended near `remaining` ≈ 95,000. +Suppose this assistant message (thinking plus the tool call) totals 5,000 generated tokens. The countdown Claude saw during generation ended near `remaining` ≈ 95,000. -**Turn 2.** Your client runs the tool, then resends the full history with the tool result appended: +**Request 2.** Your client runs the tool, then resends the full history with the tool result appended: ```json { @@ -321,24 +356,24 @@ Suppose this assistant turn (thinking plus the tool call) totals 5,000 generated } ``` -The resent turn-1 user and assistant messages are not counted again, but the 2,800-token tool result is new content Claude sees this turn and counts against the budget. Claude spends another 4,000 tokens on thinking and a second tool call (`grep -rn "eval(" src/`). The countdown ends near `remaining` ≈ 88,200. +The resent messages from request 1 are not counted again, but the 2,800-token tool result is new content and counts against the budget. Claude spends another 4,000 tokens on thinking and a second tool call (`grep -rn "eval(" src/`). The countdown ends near `remaining` ≈ 88,200. -**Turn 3.** Full history resent again with the second tool result (1,200 tokens of grep output) appended. Claude writes a 6,000-token final findings report and stops with `stop_reason: "end_turn"`. `remaining` ≈ 81,000. +**Request 3.** Full history resent again with the second tool result (1,200 tokens of grep output) appended. Claude writes a 6,000-token final findings report and stops with `stop_reason: "end_turn"`. `remaining` ≈ 81,000. -Putting the three turns side by side makes the distinction between payload size and budget spend explicit: +Putting the three requests side by side makes the distinction between payload size and budget spend explicit: -| Turn | Request payload (approx. input tokens you sent) | Tokens counted against budget this turn | Budget `remaining` after | +| Request | Request payload (approx. input tokens you sent) | Tokens counted against budget this request | Budget `remaining` after | | --------- | ----------------------------------------------- | --------------------------------------------------------- | ------------------------ | | 1 | \~20 | 5,000 (thinking + `tool_use`) | \~95,000 | -| 2 | \~7,800 (turn 1 history + tool result) | 6,800 (2,800 tool result + 4,000 thinking and `tool_use`) | \~88,200 | +| 2 | \~7,800 (messages from request 1 + tool result) | 6,800 (2,800 tool result + 4,000 thinking and `tool_use`) | \~88,200 | | 3 | \~13,000 (full history + second tool result) | 7,200 (1,200 tool result + 6,000 `text`) | \~81,000 | | **Total** | **\~20,820 sent across requests** | **19,000 counted against budget** | N/A | -Your client sent the turn-1 user message three times and the turn-1 assistant message twice, but each was counted once. The budget spent 19,000 of 100,000 tokens, even though the cumulative payload your client transmitted was larger and the prompt-cached input on turns 2 and 3 was larger still. +Your client sent the original user message three times and the first assistant message twice, but each was counted once. The budget spent 19,000 of 100,000 tokens, even though 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 agentic loop compacts or rewrites context between requests (for example, by summarizing earlier turns), the server has no memory of how much budget was spent before compaction. Pass `remaining` on the next request so the countdown continues from where you left off rather than resetting to `total`: +If your own code compacts or rewrites the message history between requests (for example, by summarizing earlier messages), the server has no memory of how much budget was spent before compaction. Pass `remaining` on the next request so the countdown continues from where you left off rather than resetting to `total`: ```python Python @@ -439,7 +474,9 @@ If your agentic loop compacts or rewrites context between requests (for example, ``` -For loops that resend the full uncompacted history on every turn, omit `remaining` and let the server track the countdown. +In this example, the tokens spent before compaction are the usage of all the messages you have removed from the history so far, measured as in [Measure your current usage](https://platform.claude.com/docs/en/build-with-claude/task-budgets#measure-your-current-usage). Leave out anything still present in the messages you send, including any summary you added, because the server counts those tokens itself. Update this figure only when you replace the history this way; don't decrement it per request. Pass the resulting `remaining` on every request, not only the one that compacts. + +For loops that resend the full uncompacted history on every request, omit `remaining` and let the server track the countdown. ## Changing the budget mid-conversation @@ -594,7 +631,7 @@ The minimum accepted `task_budget.total` is model-specific. On every model that * **`max_tokens`:** Orthogonal to task budgets. `max_tokens` is a hard per-request cap on generated tokens, while `task_budget` is an advisory cap across the full agentic loop (potentially spanning many requests). At `xhigh` or `max` effort, set `max_tokens` to at least 64k to give Claude room to think and act on each request. * **[Effort](https://platform.claude.com/docs/en/build-with-claude/effort):** Effort controls how deeply Claude reasons per step. Task budgets control how much total work Claude does across an agentic loop. The two are complementary: effort tunes depth, task budgets tune breadth. * **[Adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/thinking):** Task budgets include thinking tokens in the count, so adaptive thinking scales down as the budget depletes. -* **[Prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching):** The budget-countdown marker is injected server-side per turn, so it does not match across requests. If your client decrements `task_budget.remaining` on each follow-up request, the changed value invalidates any cache prefix that contains it. To preserve caching, set the budget once on the initial request and let the model self-regulate against the server-side countdown rather than mutating the budget client-side. +* **[Prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching):** The budget-countdown marker is injected server-side on each request, so it does not match across requests. If your client decrements `task_budget.remaining` on each follow-up request, the changed value invalidates any cache prefix that contains it. To preserve caching, set the budget once on the initial request and let the model self-regulate against the server-side countdown rather than mutating the budget client-side. ## Feature support diff --git a/content/en/build-with-claude/token-counting.md b/content/en/build-with-claude/token-counting.md index 9cc3cf78ff..3b84aa6a09 100644 --- a/content/en/build-with-claude/token-counting.md +++ b/content/en/build-with-claude/token-counting.md @@ -779,7 +779,7 @@ An embedded image block that sets [`"oversized_image": "error"`](https://platfor See [Thinking and the context window](https://platform.claude.com/docs/en/build-with-claude/thinking#thinking-and-the-context-window) for more details. - * Thinking blocks from **previous** assistant turns are ignored and **do not** count toward your input tokens + * Thinking blocks from **previous** assistant turns count toward your input tokens on models that [keep all prior turns](https://platform.claude.com/docs/en/build-with-claude/thinking#thinking-block-preservation-by-model); on models that keep only the last turn, the API strips them and they do **not** count * **Current** assistant turn thinking **does** count toward your input tokens @@ -790,10 +790,9 @@ An embedded image block that sets [`"oversized_image": "error"`](https://platfor -H "content-type: application/json" \ -H "anthropic-version: 2023-06-01" \ -d '{ - "model": "claude-sonnet-4-6", + "model": "claude-opus-5", "thinking": { - "type": "enabled", - "budget_tokens": 16000 + "type": "adaptive" }, "messages": [ { @@ -824,10 +823,9 @@ An embedded image block that sets [`"oversized_image": "error"`](https://platfor ```bash CLI ant messages count-tokens <<'YAML' - model: claude-sonnet-4-6 + model: claude-opus-5 thinking: - type: enabled - budget_tokens: 16000 + type: adaptive messages: - role: user content: Are there an infinite number of prime numbers such that n mod 4 == 3? @@ -849,8 +847,8 @@ An embedded image block that sets [`"oversized_image": "error"`](https://platfor client = anthropic.Anthropic() response = client.messages.count_tokens( - model="claude-sonnet-4-6", - thinking={"type": "enabled", "budget_tokens": 16000}, + model="claude-opus-5", + thinking={"type": "adaptive"}, messages=[ { "role": "user", @@ -881,11 +879,8 @@ An embedded image block that sets [`"oversized_image": "error"`](https://platfor const client = new Anthropic(); const response = await client.messages.countTokens({ - model: "claude-sonnet-4-6", - thinking: { - type: "enabled", - budget_tokens: 16000 - }, + model: "claude-opus-5", + thinking: { type: "adaptive" }, messages: [ { role: "user", @@ -928,8 +923,8 @@ An embedded image block that sets [`"oversized_image": "error"`](https://platfor var parameters = new MessageCountTokensParams { - Model = Model.ClaudeSonnet4_6, - Thinking = new ThinkingConfigEnabled(budgetTokens: 16000), + Model = Model.ClaudeOpus5, + Thinking = new ThinkingConfigAdaptive(), Messages = [ new() @@ -975,8 +970,10 @@ An embedded image block that sets [`"oversized_image": "error"`](https://platfor ) response, err := client.Messages.CountTokens(context.TODO(), anthropic.MessageCountTokensParams{ - Model: anthropic.ModelClaudeSonnet4_6, - Thinking: anthropic.ThinkingConfigParamOfEnabled(16000), + Model: anthropic.ModelClaudeOpus5, + Thinking: anthropic.ThinkingConfigParamUnion{ + OfAdaptive: &anthropic.ThinkingConfigAdaptiveParam{}, + }, Messages: []anthropic.MessageParam{ anthropic.NewUserMessage(anthropic.NewTextBlock("Are there an infinite number of prime numbers such that n mod 4 == 3?")), anthropic.NewAssistantMessage(thinkingBlock, textBlock), @@ -995,6 +992,7 @@ An embedded image block that sets [`"oversized_image": "error"`](https://platfor import com.anthropic.models.messages.MessageTokensCount; // ... import com.anthropic.models.messages.ThinkingBlockParam; + import com.anthropic.models.messages.ThinkingConfigAdaptive; // ... AnthropicClient client = AnthropicOkHttpClient.fromEnv(); @@ -1017,8 +1015,8 @@ An embedded image block that sets [`"oversized_image": "error"`](https://platfor ); MessageCountTokensParams params = MessageCountTokensParams.builder() - .model(Model.CLAUDE_SONNET_4_6) - .enabledThinking(16000) + .model(Model.CLAUDE_OPUS_5) + .thinking(ThinkingConfigAdaptive.builder().build()) .addUserMessage("Are there an infinite number of prime numbers such that n mod 4 == 3?") .addAssistantMessageOfBlockParams(assistantBlocks) .addUserMessage("Can you write a formal proof?") @@ -1056,11 +1054,8 @@ An embedded image block that sets [`"oversized_image": "error"`](https://platfor 'content' => 'Can you write a formal proof?' ] ], - model: 'claude-sonnet-4-6', - thinking: [ - 'type' => 'enabled', - 'budget_tokens' => 16000 - ], + model: 'claude-opus-5', + thinking: ['type' => 'adaptive'], ); echo json_encode($response); @@ -1070,10 +1065,9 @@ An embedded image block that sets [`"oversized_image": "error"`](https://platfor client = Anthropic::Client.new response = client.messages.count_tokens( - model: "claude-sonnet-4-6", + model: "claude-opus-5", thinking: { - type: "enabled", - budget_tokens: 16000 + type: "adaptive" }, messages: [ { diff --git a/content/en/cli-sdks-libraries/cli/quickstart.md b/content/en/cli-sdks-libraries/cli/quickstart.md index 8fc4d9e4a0..1afb4bd64a 100644 --- a/content/en/cli-sdks-libraries/cli/quickstart.md +++ b/content/en/cli-sdks-libraries/cli/quickstart.md @@ -29,7 +29,7 @@ Compared to `curl`, `ant` builds request bodies from typed flags or piped YAML i For Linux environments, download the release binary directly. ```bash - VERSION=1.27.0 + VERSION=1.29.0 OS=$(uname -s | tr '[:upper:]' '[:lower:]') case $(uname -m) in x86_64) ARCH=amd64 ;; diff --git a/content/en/cli-sdks-libraries/sdks/csharp.md b/content/en/cli-sdks-libraries/sdks/csharp.md index 5e1027846d..9e377654c1 100644 --- a/content/en/cli-sdks-libraries/sdks/csharp.md +++ b/content/en/cli-sdks-libraries/sdks/csharp.md @@ -6,10 +6,6 @@ description: Install and configure the Anthropic C# SDK for .NET applications wi The Anthropic C# SDK provides convenient access to the Claude API from applications written in C#. - - The C# SDK is currently in beta. APIs may change between versions. - - For API feature documentation with code examples, see the [API reference](https://platform.claude.com/docs/en/api/overview). This page covers C#-specific SDK features and configuration. @@ -448,10 +444,6 @@ Use `AnthropicBedrockMantleClient` for new projects; `AnthropicBedrockClient` re ## Semantic versioning - - Although this package is versioned as 10+, it's currently in beta. During the beta period, breaking changes may occur in minor or patch releases. Once the library reaches stable release, SemVer conventions will be followed more strictly. Share feedback by [filing an issue](https://github.com/anthropics/anthropic-sdk-csharp/issues/new). - - This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backward-incompatible changes may be released as minor versions: 1. Changes to library internals that are technically public but not intended or documented for external use. diff --git a/content/en/cli-sdks-libraries/sdks/java.md b/content/en/cli-sdks-libraries/sdks/java.md index f2c4ab6dbf..409a2eb73d 100644 --- a/content/en/cli-sdks-libraries/sdks/java.md +++ b/content/en/cli-sdks-libraries/sdks/java.md @@ -15,7 +15,7 @@ The Anthropic Java SDK provides convenient access to the Claude API from applica ```kotlin - implementation("com.anthropic:anthropic-java:2.58.0") + implementation("com.anthropic:anthropic-java:2.60.0") ``` @@ -24,7 +24,7 @@ The Anthropic Java SDK provides convenient access to the Claude API from applica com.anthropic anthropic-java - 2.58.0 + 2.60.0 ``` diff --git a/content/en/cli-sdks-libraries/sdks/typescript.md b/content/en/cli-sdks-libraries/sdks/typescript.md index 3d95aa4f70..acd8288167 100644 --- a/content/en/cli-sdks-libraries/sdks/typescript.md +++ b/content/en/cli-sdks-libraries/sdks/typescript.md @@ -18,7 +18,7 @@ npm install @anthropic-ai/sdk ## Requirements -TypeScript >= 4.9 is supported. +TypeScript >= 5.0 is supported. The following runtimes are supported: diff --git a/content/en/docs/claude-code/agent-teams.md b/content/en/docs/claude-code/agent-teams.md index 794e233c79..2193e4b3d4 100644 --- a/content/en/docs/claude-code/agent-teams.md +++ b/content/en/docs/claude-code/agent-teams.md @@ -149,7 +149,7 @@ Claude Code picks each teammate's model from the first of these that applies: 3. [`CLAUDE_CODE_SUBAGENT_MODEL`](/docs/en/model-config#environment-variables), when it's set to anything other than `inherit`. 4. The lead's current model. -[`CLAUDE_CODE_SUBAGENT_MODEL_FORCE`](/docs/en/sub-agents#choose-a-model) applies to teammates as well as to subagents. +[`CLAUDE_CODE_SUBAGENT_MODEL_FORCE`](/docs/en/sub-agents#run-every-subagent-on-one-model) applies to teammates as well as to subagents. Before v2.1.251, `CLAUDE_CODE_SUBAGENT_MODEL` came first in this order. diff --git a/content/en/docs/claude-code/changelog.md b/content/en/docs/claude-code/changelog.md index 7a9f29f26e..8bc515c84e 100644 --- a/content/en/docs/claude-code/changelog.md +++ b/content/en/docs/claude-code/changelog.md @@ -10,6 +10,46 @@ This page is generated from the [CHANGELOG.md on GitHub](https://github.com/anth Run `claude --version` to check your installed version. + + * Added `managedMcpServers` managed setting: organizations can provide HTTP/SSE MCP servers to every user (same entry shape as `.mcp.json`); entries that name a command to run are skipped + * Added `--permission-prompts none` for unattended headless hosts: anything that would prompt is denied automatically while the active permission mode (including auto mode) keeps deciding + * Added recognition of `glab mr create/merge/close/reopen/note/update` so GitLab merge requests show as `MR !N` in the collapsed tool summary and refresh the footer MR badge + * Added `--json` to `claude plugin validate` for a machine-readable validation report + * Fixed concurrent sessions silently reverting each other's `~/.claude.json` changes — workspace trust no longer resets and MCP/project state is no longer lost when running many sessions at once + * Fixed a conversation whose thinking was rejected once being rejected again on every later turn + * Fixed Bash `Read()` deny rules not covering files given as option values (`--ignore-revs-file=.env`, `-f.env`, `@file`), `git diff`/`git grep` file operands, or `cd DIR && cat FILE` compounds; `grep -r`/`cp -r` over a directory holding a denied file now asks + * Fixed the prompt cache being invalidated when the OAuth token refreshed in sessions with telemetry disabled + * Fixed fullscreen mode showing a blank conversation after a long turn with hundreds of tool calls + * Fixed auto mode running a turn on a model it doesn't support when a command or skill's frontmatter `model:` named one; the turn now keeps the session model + * Fixed `CLAUDE_CODE_MAX_CONTEXT_TOKENS` being ignored for Vertex-style model IDs (`@YYYYMMDD` suffix) of model versions Claude Code doesn't recognize + * Fixed the live output preview of a running shell command hiding its newest lines when an earlier line wrapped + * Fixed a background GitHub connection check that ran on every launch for claude.ai users; the result is now remembered across launches + * Fixed `--resume` failing (and `--continue` opening an empty conversation) when a saved session contains an attachment entry with no payload + * Fixed frontmatter `model:` on custom commands and skills being ignored in interactive sessions + * Fixed Artifact publishing failing once with an "unexpected parameter `note`" error in conversations continued from an older version + * Fixed managed `forceRemoteSettingsRefresh` being ignored at startup when a policy helper configured by MDM or the managed settings file had already run + * Fixed worktree isolation refusing hook-created worktrees on machines where `git rev-parse` fails with a message other than "not a git repository" + * Fixed OpenTelemetry metrics and events from cloud sessions missing the `user.email`, `organization.id`, and `user.account_uuid` attributes + * Fixed MCP servers that disconnect while their tools are being listed at startup showing as connected with no tools instead of reporting the error + * Fixed the file edit permission dialog sometimes showing a changed line cut short with no indication + * Fixed repository detection dropping a known repo identity after a transient git probe failure + * Fixed managed settings silently going unenforced when the managed-settings file, a drop-in, the MDM plist, or the HKLM value cannot be parsed: Claude Code now refuses to start and names the source + * Fixed Stop not actually stopping background agents and workflows in remote-control sessions: killed tasks now stay visible and re-stoppable until their processes exit + * Fixed resuming a workflow run while its previous stopped run was still exiting, which could run duplicate copies of its agents + * Fixed marketplace repo URLs on github.com with a trailing slash or dangling `?`/`#` producing an unusable `.git` clone URL + * Fixed blocking Stop hooks causing the turn after a block to lose the model's reasoning from that turn and, on some models, miss the prompt cache + * Fixed remote (claude.ai) sessions taking 60 seconds to start a turn after a browser-hosted MCP server's page had gone away + * Fixed worktree-isolated sessions refusing common Bash loops, xargs pipelines and launcher-wrapped commands that cannot reach the main checkout + * Improved terminal resize and first-render performance for long responses by reusing text measurements + * Improved `/workflows` agent detail: JSON outcomes are pretty-printed with syntax colors and real line breaks, and long outcomes fold behind an expand toggle + * Improved headless/SDK session start: the first turn begins up to 50 ms sooner when MCP servers finish connecting + * Improved `/install-github-app` to explain it is GitHub-only and point to the GitLab CI/CD docs when run inside a GitLab repository + * Improved nested background subagent results to be saved in the parent subagent's transcript, so resumed subagents keep them and shared transcripts show the delivery + * Changed `allowedMcpServers` to govern only servers users add: a literal `managed-mcp.json` server your allowlist used to filter out now loads on upgrade; use `deniedMcpServers` to keep it off + * \[VSCode] Added an Active quick filter and a status filter menu (Needs input, Working, Completed) to the session list sidebar + * Fixed remote and scheduled sessions doing nothing after a connector-tool permission prompt was approved while the session was paused + + * Fixed Claude Code failing to launch on macOS 12 (Monterey), a regression introduced in 2.1.255 * Fixed remote and scheduled sessions failing with "user messages must have non-empty content" after a re-sent permission approval could not be applied diff --git a/content/en/docs/claude-code/env-vars.md b/content/en/docs/claude-code/env-vars.md index 6f8bc9527d..4e05d5f017 100644 --- a/content/en/docs/claude-code/env-vars.md +++ b/content/en/docs/claude-code/env-vars.md @@ -252,7 +252,7 @@ Numeric variables such as timeouts, token budgets, and retry counts accept scien | `CLAUDE_CODE_DISABLE_MOUSE` | Set to `1` to disable mouse tracking in [fullscreen rendering](/docs/en/fullscreen). Keyboard scrolling with `PgUp` and `PgDn` still works. Use this to keep your terminal's native copy-on-select behavior | | `CLAUDE_CODE_DISABLE_MOUSE_CLICKS` | Set to `1` to disable click, drag, and hover handling in [fullscreen rendering](/docs/en/fullscreen) while keeping mouse-wheel scrolling. Use this when you want wheel scroll to work inside Claude Code but don't want clicks to position the cursor, expand tool output, or open links. `CLAUDE_CODE_DISABLE_MOUSE` takes precedence when both are set. Requires Claude Code v2.1.195 or later | | `CLAUDE_CODE_DISABLE_MTLS_RELOAD_ON_STALE_CONNECTION` | Set to `1` to stop Claude Code from re-reading the [mTLS client certificate and key](/docs/en/network-config#mtls-authentication) when an API request fails with a connection-level error, such as a connection reset or a TLS handshake error. With the reload disabled, Claude Code loads rotated files only when it next applies settings or at the next startup. Requires Claude Code v2.1.232 or later | -| `CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC` | Set to any non-empty value, such as `1`, to disable nonessential network traffic: auto-updates, telemetry, error reporting, the `/feedback` command, [Claude-drafted feedback](/docs/en/tools-reference#sendfeedback-tool-behavior), release notes, [gateway model discovery](/docs/en/llm-gateway-connect#add-gateway-models-to-the-model-picker) refreshes, and availability checks such as the [fast mode](/docs/en/fast-mode#use-fast-mode-behind-proxies-and-llm-gateways) check. It also stops the [background runs of plugin `command` sources](/docs/en/plugin-marketplaces#when-claude-code-re-runs-the-command), which are local commands rather than network traffic, because they can trigger dependency installs. **Setting it to `0` or `false` still disables this traffic**, unlike most on/off variables; unset the variable to allow it again. Also disables feature-flag fetching, which makes [Remote Control](/docs/en/remote-control#requirements) and the other [features that need feature-flag fetching](#features-that-need-feature-flag-fetching) unavailable. Official plugin marketplace auto-install isn't covered; disable it with `CLAUDE_CODE_DISABLE_OFFICIAL_MARKETPLACE_AUTOINSTALL` | +| `CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC` | Set to any non-empty value, such as `1`, to disable nonessential network traffic: auto-updates, telemetry, error reporting, the `/feedback` command, [Claude-drafted feedback](/docs/en/tools-reference#sendfeedback-tool-behavior), release notes, the [PR and MR status badge](/docs/en/interactive-mode#pr-review-status) checks, [gateway model discovery](/docs/en/llm-gateway-connect#add-gateway-models-to-the-model-picker) refreshes, and availability checks such as the [fast mode](/docs/en/fast-mode#use-fast-mode-behind-proxies-and-llm-gateways) check. It also stops the [background runs of plugin `command` sources](/docs/en/plugin-marketplaces#when-claude-code-re-runs-the-command), which are local commands rather than network traffic, because they can trigger dependency installs. **Setting it to `0` or `false` still disables this traffic**, unlike most on/off variables; unset the variable to allow it again. Also disables feature-flag fetching, which makes [Remote Control](/docs/en/remote-control#requirements) and the other [features that need feature-flag fetching](#features-that-need-feature-flag-fetching) unavailable. Official plugin marketplace auto-install isn't covered; disable it with `CLAUDE_CODE_DISABLE_OFFICIAL_MARKETPLACE_AUTOINSTALL` | | `CLAUDE_CODE_DISABLE_NONSTREAMING_FALLBACK` | Set to `1` to disable the non-streaming fallback when a streaming request fails mid-stream. Streaming errors propagate to the retry layer instead. Useful when a proxy or gateway causes the fallback to produce duplicate tool execution | | `CLAUDE_CODE_DISABLE_NOTIFICATION_PRESENCE_CHECK` | Set to `1` to send the `PushNotification` tool's desktop notification even while you are typing in or focused on the terminal. By default the tool skips both the desktop notification and the [mobile push](/docs/en/remote-control#mobile-push-notifications) when it detects recent keyboard activity or terminal focus. This variable disables only that local check, so the server can still suppress the mobile push when it detects that you are active. Requires Claude Code v2.1.193 or later | | `CLAUDE_CODE_DISABLE_OFFICIAL_MARKETPLACE_AUTOINSTALL` | Set to `1` to disable automatic registration of the official plugin marketplace. Claude Code reads the variable when it is about to register the marketplace, usually during a machine's first interactive launch. If the variable is set at that point, Claude Code skips the registration permanently. Unsetting the variable later doesn't undo the skip. Run `claude plugin marketplace add anthropics/claude-plugins-official` to register the marketplace at any time | @@ -362,8 +362,8 @@ Numeric variables such as timeouts, token budgets, and retry counts accept scien | `CLAUDE_CODE_SKIP_PROMPT_HISTORY` | Set to `1` to skip writing prompt history and session transcripts to disk. Sessions started with this variable set do not appear in `--resume`, `--continue`, or up-arrow history. Useful for ephemeral scripted sessions | | `CLAUDE_CODE_SKIP_VERTEX_AUTH` | Skip Google authentication for Google Cloud's Agent Platform (for example, when using an LLM gateway) | | `CLAUDE_CODE_STOP_HOOK_BLOCK_CAP` | Maximum number of consecutive times a [Stop](/docs/en/hooks#stop) or [SubagentStop](/docs/en/hooks#subagentstop) hook may block the turn from ending before Claude Code overrides it and ends the turn anyway (default: 8). Set to `0` to disable the cap. Raise this if your hook legitimately needs more iterations to resolve | -| `CLAUDE_CODE_SUBAGENT_MODEL` | The default model for [subagents](/docs/en/sub-agents#choose-a-model), [agent team](/docs/en/agent-teams#specify-teammates-and-models) teammates, and [workflow](/docs/en/workflows) agents that aren't assigned a model another way. Accepts an alias such as `haiku` or a full model name. Two sources take precedence over it: a model Claude passes when it spawns the agent, and a `model` field in the agent's definition, including `inherit`. To change that, set [`CLAUDE_CODE_SUBAGENT_MODEL_FORCE`](/docs/en/sub-agents#choose-a-model). See [Choose a model](/docs/en/sub-agents#choose-a-model) for the full order. Setting it to `inherit` is the same as leaving it unset. Before v2.1.251, this variable overrode both the per-invocation model and the definition's `model` field | -| `CLAUDE_CODE_SUBAGENT_MODEL_FORCE` | Set to `1` to force one model onto subagents, teammates, and workflow agents. [Choose a model](/docs/en/sub-agents#choose-a-model) says which model that is. Requires Claude Code v2.1.257 or later | +| `CLAUDE_CODE_SUBAGENT_MODEL` | The default model for [subagents](/docs/en/sub-agents#choose-a-model), [agent team](/docs/en/agent-teams#specify-teammates-and-models) teammates, and [workflow](/docs/en/workflows) agents that aren't assigned a model another way. Accepts an alias such as `haiku` or a full model name. Two sources take precedence over it: a model Claude passes when it spawns the agent, and a `model` field in the agent's definition, including `inherit`. To change that, set [`CLAUDE_CODE_SUBAGENT_MODEL_FORCE`](/docs/en/sub-agents#run-every-subagent-on-one-model). See [Choose a model](/docs/en/sub-agents#choose-a-model) for the full order. Setting it to `inherit` is the same as leaving it unset. Before v2.1.251, this variable overrode both the per-invocation model and the definition's `model` field | +| `CLAUDE_CODE_SUBAGENT_MODEL_FORCE` | Set to `1` to force one model onto subagents, teammates, and workflow agents. [Run every subagent on one model](/docs/en/sub-agents#run-every-subagent-on-one-model) says which model that is. Requires Claude Code v2.1.257 or later | | `CLAUDE_CODE_SUBAGENT_PROMPT_CACHE_TTL` | Set `5m` or `1h`, the only values Claude Code accepts, to choose the [prompt cache TTL](/docs/en/prompt-caching#cache-lifetime) for requests outside the main conversation, such as [subagents](/docs/en/sub-agents), workflows, and background work. Takes precedence over the `subagentPromptCacheTtl` setting and over `ENABLE_PROMPT_CACHING_1H`, and `FORCE_PROMPT_CACHING_5M` overrides it. The API bills 1-hour cache writes at a higher rate. Requires Claude Code v2.1.242 or later | | `CLAUDE_CODE_SUBPROCESS_ENV_SCRUB` | Set to `1` to strip credentials from subprocess environments (Bash tool, hooks, MCP stdio servers): Anthropic and cloud provider credentials, any other variable that Claude Code recognizes as a credential, and credentials embedded in package registry URLs. The parent Claude process keeps these credentials for API calls, but child processes cannot read them, reducing exposure to prompt injection attacks that attempt to exfiltrate secrets via shell expansion. On Linux, this also runs Bash subprocesses in an isolated PID namespace so they cannot read host process environments via `/proc`; as a side effect, `ps`, `pgrep`, and `kill` cannot see or signal host processes. `claude-code-action` sets this automatically when `allowed_non_write_users` is configured | | `CLAUDE_CODE_SYNC_PLUGIN_INSTALL` | Set to `1` in non-interactive mode (the `-p` flag) to wait for plugin installation to complete before the first query. Without this, plugins install in the background and may not be available on the first turn. Combine with `CLAUDE_CODE_SYNC_PLUGIN_INSTALL_TIMEOUT_MS` to bound the wait | @@ -506,7 +506,6 @@ With fetching off, you can't: * Run [`claude import` or the `/import` command](/docs/en/cli-reference#cli-commands) * Use [the advisor tool](/docs/en/advisor#requirements) * Read or reply to [comments on an artifact](/docs/en/artifacts#collect-comments-on-an-artifact) -* Have Claude Code refresh the [PR review status badge](/docs/en/interactive-mode#pr-review-status) less often while you're idle; Claude Code refreshes it every 60 seconds instead * Get the [v2 MCP client runtime](/docs/en/mcp#mcp-client-runtimes) and its protocol probe without setting `MCP_SDK_GENERATION` and `MCP_PROTOCOL_NEGOTIATION`; Claude Code uses the v1 runtime unless you set `MCP_SDK_GENERATION=v2`, and skips the probe unless you set `MCP_PROTOCOL_NEGOTIATION=auto` * Get the [PowerShell tool](/docs/en/tools-reference#powershell-tool) by default for claude.ai and Console accounts on Windows with Git Bash installed; Claude Code routes shell commands through Git Bash unless you set `CLAUDE_CODE_USE_POWERSHELL_TOOL=1`. On Windows without Git Bash, the tool stays on * Get [Claude-drafted feedback](/docs/en/tools-reference#sendfeedback-tool-behavior), which Claude Code turns on through a fetched flag diff --git a/content/en/docs/claude-code/interactive-mode.md b/content/en/docs/claude-code/interactive-mode.md index 14ae58264a..9981fb0f97 100644 --- a/content/en/docs/claude-code/interactive-mode.md +++ b/content/en/docs/claude-code/interactive-mode.md @@ -623,17 +623,22 @@ When working on a branch with an open pull request, Claude Code displays a click * Red: changes requested * Gray: draft -The badge disappears once the pull request merges or closes. `Cmd+click` (macOS) or `Ctrl+click` (Windows/Linux) the link to open the pull request in your browser. How often Claude Code refreshes the status depends on your provider: +The badge disappears once the pull request merges or closes. -* **Anthropic API with [feature-flag fetching](/docs/en/env-vars#features-that-need-feature-flag-fetching) on**: about every 90 seconds while you're active in the session, and less often while you're idle, while your terminal is unfocused, or while Claude Code keeps finding no pull request for the branch -* **Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry, Claude Platform on AWS, or feature-flag fetching off**: every 60 seconds +`Cmd+click` (macOS) or `Ctrl+click` (Windows/Linux) the link to open the pull request in your browser. -On either schedule, Claude Code also refreshes as soon as a `git push`, or a `gh pr` command that changes the pull request such as `gh pr create` or `gh pr merge`, succeeds in the session. After an hour without input from you, Claude Code stops refreshing, and your next prompt starts it again. +The status refreshes as soon as a `git push`, or a `gh pr` command that changes the pull request, such as `gh pr create` or `gh pr merge`, succeeds in the session. Claude Code renders the badge as a hyperlink even when it can't detect hyperlink support in your terminal, which commonly happens over SSH or in tmux. Set [`FORCE_HYPERLINK=0`](/docs/en/env-vars) to render the badge as plain text. +When you set [`CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC`](/docs/en/env-vars), Claude Code doesn't check pull request or merge request status. + - PR status for GitHub repositories requires the `gh` CLI to be installed and authenticated with `gh auth login`. + PR status for GitHub repositories needs a GitHub token. Claude Code finds one based on the remote's host: + + * **github.com**: `GH_TOKEN` or `GITHUB_TOKEN`, or the token saved by `gh auth login`. Without one, the footer shows `install gh for PR status` when the `gh` CLI isn't installed, or `gh auth login for PR status` when it is + * **A GitHub Enterprise host set as `GH_HOST`**: `GH_ENTERPRISE_TOKEN` or `GITHUB_ENTERPRISE_TOKEN`, or the token saved by `gh auth login --hostname `. Without one, the footer shows the same hints + * **Any other GitHub host**: the token saved by `gh auth login --hostname `. Without one, Claude Code shows no badge and no hint ### GitLab merge requests @@ -644,7 +649,9 @@ When you work on a branch with an open GitLab merge request, Claude Code shows a * Yellow: any other open state * Gray: draft -The badge disappears once the merge request merges or closes. Claude Code checks merge request status on the same schedule as the GitHub badge, and refreshes as soon as a `glab mr create` or `git push` succeeds in the session. +The badge disappears once the merge request merges or closes. + +It refreshes as soon as a `glab mr create` or `git push` succeeds in the session. To get the badge, you need: diff --git a/content/en/docs/claude-code/model-config.md b/content/en/docs/claude-code/model-config.md index a5c726d2d1..59183919b7 100644 --- a/content/en/docs/claude-code/model-config.md +++ b/content/en/docs/claude-code/model-config.md @@ -722,13 +722,13 @@ A custom ID that embeds a family name, such as `my-gateway/claude-opus-5`, count Use the following environment variables to control the model names that the aliases map to. Each value must be a full model name, or the equivalent identifier for your API provider. To choose the model your sessions start on, set [`ANTHROPIC_DEFAULT_MODEL`](#set-a-default-model-for-new-sessions), which this table omits. -| Environment variable | Description | -| -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `ANTHROPIC_DEFAULT_FABLE_MODEL` | The model to use for `fable`, and the model ID Claude Code recognizes as a Fable model for [automatic model fallback](#automatic-model-fallback) on third-party providers | -| `ANTHROPIC_DEFAULT_OPUS_MODEL` | The model to use for `opus`, or for `opusplan` when Plan Mode is active. | -| `ANTHROPIC_DEFAULT_SONNET_MODEL` | The model to use for `sonnet`, or for `opusplan` when Plan Mode is not active. | -| `ANTHROPIC_DEFAULT_HAIKU_MODEL` | The model to use for `haiku`, or [background functionality](/docs/en/costs#background-token-usage) | -| `CLAUDE_CODE_SUBAGENT_MODEL` | The default model for [subagents](/docs/en/sub-agents#choose-a-model), [agent team](/docs/en/agent-teams#specify-teammates-and-models) teammates, and [workflow](/docs/en/workflows) agents that aren't assigned a model another way. Accepts an alias such as `haiku` or a full model name. A per-invocation model or a definition's `model` field, including `inherit`, takes precedence. To change that, set [`CLAUDE_CODE_SUBAGENT_MODEL_FORCE`](/docs/en/sub-agents#choose-a-model) | +| Environment variable | Description | +| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `ANTHROPIC_DEFAULT_FABLE_MODEL` | The model to use for `fable`, and the model ID Claude Code recognizes as a Fable model for [automatic model fallback](#automatic-model-fallback) on third-party providers | +| `ANTHROPIC_DEFAULT_OPUS_MODEL` | The model to use for `opus`, or for `opusplan` when Plan Mode is active. | +| `ANTHROPIC_DEFAULT_SONNET_MODEL` | The model to use for `sonnet`, or for `opusplan` when Plan Mode is not active. | +| `ANTHROPIC_DEFAULT_HAIKU_MODEL` | The model to use for `haiku`, or [background functionality](/docs/en/costs#background-token-usage) | +| `CLAUDE_CODE_SUBAGENT_MODEL` | The default model for [subagents](/docs/en/sub-agents#choose-a-model), [agent team](/docs/en/agent-teams#specify-teammates-and-models) teammates, and [workflow](/docs/en/workflows) agents that aren't assigned a model another way. Accepts an alias such as `haiku` or a full model name. A per-invocation model or a definition's `model` field, including `inherit`, takes precedence. To change that, set [`CLAUDE_CODE_SUBAGENT_MODEL_FORCE`](/docs/en/sub-agents#run-every-subagent-on-one-model) | Note: `ANTHROPIC_SMALL_FAST_MODEL` is deprecated in favor of `ANTHROPIC_DEFAULT_HAIKU_MODEL`. diff --git a/content/en/docs/claude-code/plugins-reference.md b/content/en/docs/claude-code/plugins-reference.md index db07a409e8..7ba8eddcc6 100644 --- a/content/en/docs/claude-code/plugins-reference.md +++ b/content/en/docs/claude-code/plugins-reference.md @@ -1206,6 +1206,40 @@ Per-component (rounded) The always-on total is computed via the `count_tokens` API for your active model. Per-component numbers are proportionally scaled from that total. If the API is unreachable, the command falls back to a character-based estimate. +### plugin validate + +Check a plugin or a marketplace for syntax and schema errors before publishing. + +The command exits 0 when validation passes, 1 when it fails, and 2 when the validation run itself fails, such as when the path you pass is unreadable. + +```bash theme={null} +claude plugin validate [options] +``` + +**Arguments:** + +* ``: Path to a plugin directory or a marketplace directory. See [Validate a plugin or a directory without a manifest](/docs/en/plugin-marketplaces#validate-a-plugin-or-a-directory-without-a-manifest) for which files a plugin run covers. + +**Options:** + +| Option | Description | Default | +| :----------- | :------------------------------------------------------------------------------------------------------------------------------------------------ | :------ | +| `--strict` | Treat warnings as errors and exit 1 on them. Use in CI to catch issues the runtime tolerates, such as [unrecognized fields](#unrecognized-fields) | | +| `--json` | Output the validation report as one JSON object with the same exit codes. Requires Claude Code v2.1.259 or later | | +| `-h, --help` | Display help for command | | + +With `--json`, Claude Code writes the report to stdout as one JSON object with these top-level fields: + +* `success`: the same verdict the exit code gives +* `strict`: whether the run treated warnings as errors +* `target`: the resolved path Claude Code validated +* `manifest`: the manifest's own result, or `null` for a [run without a manifest](/docs/en/plugin-marketplaces#validate-a-plugin-or-a-directory-without-a-manifest) +* `contents`: per-file results, each naming its `file` and carrying `errors`, `warnings`, and `notes` arrays + +On exit 2, the command writes nothing to stdout; the error message goes to stderr. + +Within an interactive session, `/plugin validate ` runs the same checks inline. + ### plugin tag Create a release git tag for a plugin. By default the command tags the plugin in the current directory; pass a path to tag a plugin elsewhere. See [Tag plugin releases](/docs/en/plugin-dependencies#tag-plugin-releases-for-version-resolution). diff --git a/content/en/docs/claude-code/prompt-caching.md b/content/en/docs/claude-code/prompt-caching.md index f896a9294d..dffdd9d7da 100644 --- a/content/en/docs/claude-code/prompt-caching.md +++ b/content/en/docs/claude-code/prompt-caching.md @@ -73,6 +73,7 @@ These actions cause the next request to miss part or all of the cache. You see a * [Enabling or disabling a plugin](#enabling-or-disabling-a-plugin) * [Denying an entire tool](#denying-an-entire-tool) * [Compacting the conversation](#compacting-the-conversation) +* [Accumulating many images](#accumulating-many-images) * [Upgrading Claude Code](#upgrading-claude-code) ### Switching models @@ -161,6 +162,14 @@ After a break longer than the [cache lifetime](#cache-lifetime), there is no cac Compaction works in your favor when the context you discard is content you no longer need. To choose when its overhead happens, run `/compact` at a natural break in your work, such as between tasks, instead of waiting for auto-compaction to trigger mid-task. If you've gone down a path you want to abandon entirely, [`/rewind`](#rewinding-the-conversation) to an earlier turn instead. Rewinding truncates back to a prefix that is already cached, rather than building a new one as compaction does. +### Accumulating many images + +The API limits how many images and PDFs each request can carry. For the current numbers, see [Request limits](https://platform.claude.com/docs/en/build-with-claude/vision#request-limits) in the API docs. Claude Code also caps the total size of the images and PDFs in a request, so large screenshots reach the limit with fewer images than small ones. + +When the next request would pass either limit, Claude Code removes a batch of the oldest images and PDFs from what it sends, which leaves room for more before it needs to remove any again. Claude can no longer see the removed images. If Claude needs one of them again, share it again. + +Removing images changes the messages that held them, so the next request reprocesses the conversation from the earliest of those messages onward. Because Claude Code removes a batch at a time, you see one slower turn per batch rather than one with each new screenshot. + ### Upgrading Claude Code A new Claude Code version typically updates the system prompt or tool definitions, so the first request after an upgrade rebuilds the cache from the top. [Auto-update](/docs/en/setup#auto-updates) downloads new versions in the background but applies them on the next launch, never mid-session, so you see this as an uncached first turn after restarting rather than a surprise during a session. Set `DISABLE_AUTOUPDATER=1` to control when upgrades apply. @@ -291,7 +300,13 @@ A [subagent](/docs/en/sub-agents) starts its own conversation with its own syste The parent's cache is unaffected. From the parent's side, the subagent's call and result append to the conversation, leaving the parent's prefix intact. -A [fork](/docs/en/sub-agents#fork-the-current-conversation), by contrast, inherits the parent's system prompt, tools, and conversation history exactly, so its first request reads the parent's cache. The compaction summarization call described in [Compacting the conversation](#compacting-the-conversation) uses the same prefix-sharing approach. In a [workflow fan-out](/docs/en/workflows#prompt-caching-in-a-fan-out) of same-prefix agents, Claude Code briefly holds all but the first so their first requests can read the prefix the first agent cached. +A [fork](/docs/en/sub-agents#fork-the-current-conversation), by contrast, inherits the parent's system prompt, tools, and conversation history exactly, so its first request reads the parent's cache. + +Other requests can also read a prefix that an earlier request cached: + +* **Session copies**: a session you [copy with `/fork`](/docs/en/agent-view#copy-the-session-with-%2Ffork) receives its isolation instruction as a message at the end of the copied conversation, so the cache that the original conversation built stays intact. +* **Compaction**: the summarization call described in [Compacting the conversation](#compacting-the-conversation) uses the same prefix-sharing approach. +* **Workflow fan-outs**: in a [workflow fan-out](/docs/en/workflows#prompt-caching-in-a-fan-out) of same-prefix agents, Claude Code holds all but the first for up to 5 seconds by default, so their first requests can read the prefix that the first agent cached. ## Disable prompt caching diff --git a/content/en/docs/claude-code/self-hosted-environments-deploy.md b/content/en/docs/claude-code/self-hosted-environments-deploy.md index 186f4188fb..13c08c3a85 100644 --- a/content/en/docs/claude-code/self-hosted-environments-deploy.md +++ b/content/en/docs/claude-code/self-hosted-environments-deploy.md @@ -422,6 +422,8 @@ If tool traffic must stay inside your network, run the equivalent tools as local A session holding a background task that never finishes doesn't count as idle, so `--release-idle-session-min` won't release that session's slot. A session that's waiting on an approval requested from inside a running tool call also doesn't count as idle. Always set `--kill-session-after-min` alongside it as a hard backstop so no session can hold a slot indefinitely. +`--kill-session-after-min` is a backstop for runaway sessions. The runner terminates any session that reaches the limit, even one someone is still using, so set the flag well above your longest expected session, such as `--kill-session-after-min 480` for 8 hours. To free slots from conversations that go idle, use `--release-idle-session-min` instead. + ### Additional limitations * **Resumed sessions lose unpushed work**: when a session is released, on idle timeout or on a runner restart, and the user sends another message, the session resumes on a fresh runner that clones the repository again from its starting branch, so work the session hadn't pushed is gone. Set [`--push-outcome-on-release`](/docs/en/self-hosted-environments-reference#runner-cli-flags) to have the runner make a best-effort push of the session's outcome branches before it releases, so the resumed session starts from those commits instead; this preserves committed work, not a dirty working tree. Before enabling it, restrict who can push to `claude/*` refs on the source remote, for example with a branch ruleset: on resume, the runner fetches the previously pushed branch without verifying who pushed it, so anyone with push access to those refs can place content into the resumed workspace. The runner also discards per-session configuration on resume, meaning the session's Claude config directory and any shell state the session wrote; `--push-outcome-on-release` doesn't cover those. diff --git a/content/en/docs/claude-code/self-hosted-environments-reference.md b/content/en/docs/claude-code/self-hosted-environments-reference.md index 4d1a4d36e9..4ee3e7cbf9 100644 --- a/content/en/docs/claude-code/self-hosted-environments-reference.md +++ b/content/en/docs/claude-code/self-hosted-environments-reference.md @@ -37,7 +37,7 @@ Most flags have a corresponding environment variable. When both are set, the fla | `--git-ssh-rewrite ` | none | unset | Rewrite `https:///...` source URLs to `git@:...` before cloning, for SSH-only git hosts. Repeatable; flag only. | | `--health-port ` | `SELF_HOSTED_RUNNER_HEALTH_PORT` | `8080` | Port for the `/healthz` and `/metrics` listener. Set `0` to disable. | | `--hooks-dir ` | `SELF_HOSTED_RUNNER_HOOKS_DIR` | unset | Directory of lifecycle hook scripts. See [Lifecycle hooks](/docs/en/self-hosted-environments-configuration#lifecycle-hooks). | -| `--kill-session-after-min ` | `SELF_HOSTED_RUNNER_MAX_LIFETIME_MS` | `0` | Terminate a session child once it has lived N minutes wall-clock, as a safety limit for stuck sessions. The runner terminates the session's process tree, including any commands the session left running. The runner defers a kill that falls mid-turn until the turn finishes, for at most the [`SELF_HOSTED_RUNNER_MAX_LIFETIME_GRACE_MS`](#environment-variable-only-settings) window. `0` disables. | +| `--kill-session-after-min ` | `SELF_HOSTED_RUNNER_MAX_LIFETIME_MS` | `0` | Terminate a session child once it has lived N minutes wall-clock, as a safety limit for stuck sessions. The runner terminates the session's process tree, including any commands the session left running. The runner defers a kill that falls mid-turn until the turn finishes, for at most the [`SELF_HOSTED_RUNNER_MAX_LIFETIME_GRACE_MS`](#environment-variable-only-settings) window. To choose a value, see [Some sessions don't count as idle](/docs/en/self-hosted-environments-deploy#some-sessions-don’t-count-as-idle). `0` disables. | | `--lock-to-account ` | `SELF_HOSTED_RUNNER_LOCK_TO_ACCOUNT` | unset | Pre-lock the runner to a specific account at startup instead of locking on first session. Accepts an email address or `user_...` ID in the environment's organization. A pre-locked runner never picks up Claude Tag channel sessions, which have no account. | | `--log-file ` | `SELF_HOSTED_RUNNER_LOG_FILE` | unset | Mirror runner logs to a file in addition to stdout and stderr, created with `0600` permissions. Required for `self-hosted-runner doctor` to tail logs locally. | | `--log-level ` | none | `info` | `info` or `debug` | diff --git a/content/en/docs/claude-code/settings-reference.md b/content/en/docs/claude-code/settings-reference.md index f125a1376f..ce51c193ec 100644 --- a/content/en/docs/claude-code/settings-reference.md +++ b/content/en/docs/claude-code/settings-reference.md @@ -3616,11 +3616,11 @@ At session start, Claude Code adds two git-related pieces to Claude's prompt: it ### `prUrlTemplate` -Point the PR links Claude Code renders, in the footer badge and in tool-result summaries, at an internal code-review tool instead of `github.com`. Claude Code substitutes `{host}`, `{owner}`, `{repo}`, `{number}`, and `{url}` from the `gh`-reported PR URL. The [GitLab merge request badge](/docs/en/interactive-mode#gitlab-merge-requests) keeps its GitLab URL. +Point the PR links Claude Code renders, in the footer badge and in tool-result summaries, at an internal code-review tool instead of `github.com`. Claude Code substitutes `{host}`, `{owner}`, `{repo}`, `{number}`, and `{url}` from the PR URL. The [GitLab merge request badge](/docs/en/interactive-mode#gitlab-merge-requests) keeps its GitLab URL. * **Scope**: [`Any file`](#scopes) * **Type**: string, a URL template using any of the five placeholders -* **Default**: unset, so links use the `gh`-reported URL +* **Default**: unset ```json settings.json theme={null} { diff --git a/content/en/docs/claude-code/sub-agents.md b/content/en/docs/claude-code/sub-agents.md index 6630b67d43..16f4947aaf 100644 --- a/content/en/docs/claude-code/sub-agents.md +++ b/content/en/docs/claude-code/sub-agents.md @@ -36,7 +36,7 @@ Explore and Plan skip your CLAUDE.md files and the parent session's git status t A fast, read-only agent optimized for searching and analyzing codebases. - * **Model**: inherits from the main conversation, capped at Opus on the Claude API, so Explore never runs on a more expensive model than the one you already chose for the session, unless you [force `CLAUDE_CODE_SUBAGENT_MODEL` onto it](#choose-a-model) + * **Model**: inherits from the main conversation, capped at Opus on the Claude API, so Explore never runs on a more expensive model than the one you already chose for the session, unless you set `CLAUDE_CODE_SUBAGENT_MODEL` and [force it onto every subagent](#run-every-subagent-on-one-model) * **Tools**: read-only tools; Write and Edit are denied * **Purpose**: file discovery, code search, codebase exploration @@ -52,7 +52,7 @@ Explore and Plan skip your CLAUDE.md files and the parent session's git status t A research agent used during [plan mode](/docs/en/permission-modes#analyze-before-you-edit-with-plan-mode) to gather context before presenting a plan. - * **Model**: inherits from the main conversation, unless you [force `CLAUDE_CODE_SUBAGENT_MODEL` onto it](#choose-a-model) + * **Model**: inherits from the main conversation, unless you set `CLAUDE_CODE_SUBAGENT_MODEL` and [force it onto every subagent](#run-every-subagent-on-one-model) * **Tools**: read-only tools; Write and Edit are denied * **Purpose**: codebase research for planning @@ -62,7 +62,7 @@ Explore and Plan skip your CLAUDE.md files and the parent session's git status t A capable agent for complex, multi-step tasks that require both exploration and action. - * **Model**: the [`CLAUDE_CODE_SUBAGENT_MODEL`](#choose-a-model) model if you set one and nothing assigns a model another way, otherwise the main conversation's model; [Choose a model](#choose-a-model) states the full order and how to force the variable onto subagents + * **Model**: the [`CLAUDE_CODE_SUBAGENT_MODEL`](#choose-a-model) model if you set one and nothing assigns a model another way, otherwise the main conversation's model; [Choose a model](#choose-a-model) states the full order, and [Run every subagent on one model](#run-every-subagent-on-one-model) shows how to make the variable override those sources * **Tools**: every tool [available to subagents](#available-tools) * **Purpose**: complex research, multi-step operations, code modifications @@ -351,14 +351,12 @@ When Claude invokes a subagent, it can also pass a `model` parameter for that sp 3. The [`CLAUDE_CODE_SUBAGENT_MODEL`](/docs/en/model-config#environment-variables) environment variable, when you set it to a model alias or model ID 4. The main conversation's model -Setting `CLAUDE_CODE_SUBAGENT_MODEL` by itself doesn't change the model the built-in Explore and Plan subagents run on. +Setting `CLAUDE_CODE_SUBAGENT_MODEL` by itself doesn't change the model the built-in Explore and Plan subagents run on. To change it, see [Run every subagent on one model](#run-every-subagent-on-one-model). Before v2.1.251, `CLAUDE_CODE_SUBAGENT_MODEL` came first in this order and overrode both the per-invocation parameter and the frontmatter, including `model: inherit`. Setting the variable to `inherit` is the same as leaving it unset. Before v2.1.196, that value forced subagents onto the main conversation's model and ignored the other sources. -Set [`CLAUDE_CODE_SUBAGENT_MODEL_FORCE=1`](/docs/en/env-vars) to run subagents, [teammates](/docs/en/agent-teams#specify-teammates-and-models), and [workflow agents](/docs/en/workflows) on `CLAUDE_CODE_SUBAGENT_MODEL` whatever model their definition or invocation names, the built-in Explore and Plan definitions included. A [fork](#fork-the-current-conversation), and a [skill that runs in a subagent](/docs/en/skills#run-skills-in-a-subagent) with `model: inherit`, still run on the main conversation's model. When you haven't set `CLAUDE_CODE_SUBAGENT_MODEL`, subagents, teammates, and workflow agents run on the main conversation's model, and the built-in Explore subagent keeps its [model cap](#built-in-subagents). Requires Claude Code v2.1.257 or later. - Claude Code checks the per-invocation parameter, frontmatter, and environment variable values against your organization's [`availableModels`](/docs/en/model-config#restrict-model-selection) allowlist. For a blocked value, it substitutes another model: * When the blocked value is a family alias such as `opus`, Claude Code runs the subagent on the newest version of that family the allowlist permits, following the same [substitution rules and provider scope](/docs/en/model-config#restrict-model-selection) as `/model`. Before v2.1.222, Claude Code ran the subagent on the inherited model for a blocked family alias as well. @@ -372,6 +370,33 @@ A per-invocation `model` parameter also applies when the subagent is [resumed or As of v2.1.198, subagents also inherit the main conversation's [extended thinking](/docs/en/model-config#extended-thinking) configuration: if thinking is on in your session, it's on for the subagent, and if it's off, it stays off. There is no per-subagent thinking setting. Before v2.1.198, subagents ran with extended thinking disabled regardless of the main conversation's setting. +#### Run every subagent on one model + +`CLAUDE_CODE_SUBAGENT_MODEL` is a default, so a subagent's definition or a model Claude passes still takes precedence over it. To apply one model to every subagent, [teammate](/docs/en/agent-teams#specify-teammates-and-models), and [workflow agent](/docs/en/workflows), also set `CLAUDE_CODE_SUBAGENT_MODEL_FORCE` to `1`. Requires Claude Code v2.1.257 or later. + +* If you set both variables, subagents run on the model in `CLAUDE_CODE_SUBAGENT_MODEL`. +* If you set only `CLAUDE_CODE_SUBAGENT_MODEL_FORCE`, subagents run on the main conversation's model. + +For example, to run every subagent on Haiku, set both variables in the `env` block of a [settings file](/docs/en/settings): + +```json theme={null} +{ + "env": { + "CLAUDE_CODE_SUBAGENT_MODEL": "haiku", + "CLAUDE_CODE_SUBAGENT_MODEL_FORCE": "1" + } +} +``` + +To check that the setting took effect, run [`/tasks`](/docs/en/commands) while a subagent is running. The subagent's row shows the model it runs on. + +While `CLAUDE_CODE_SUBAGENT_MODEL_FORCE` is [on](/docs/en/env-vars), Claude Code ignores the `model` field of every subagent definition, including the built-in Explore and Plan subagents, and Claude can't pass a model when it starts a subagent. Two kinds of subagent still run on the main conversation's model: + +* A [fork](#fork-the-current-conversation) +* A [skill that runs in a subagent](/docs/en/skills#run-skills-in-a-subagent) with `model: inherit` + +When you set only `CLAUDE_CODE_SUBAGENT_MODEL_FORCE`, the built-in Explore subagent keeps its [model cap](#built-in-subagents). + ### Control subagent capabilities You can control what subagents can do through tool access, permission modes, and conditional rules. diff --git a/content/en/get-started.md b/content/en/get-started.md index 7d3437d2be..09cb1cf112 100644 --- a/content/en/get-started.md +++ b/content/en/get-started.md @@ -436,7 +436,7 @@ description: Make your first API call to Claude and build a simple web search as } dependencies { - implementation("com.anthropic:anthropic-java:2.58.0") + implementation("com.anthropic:anthropic-java:2.60.0") } application { @@ -462,7 +462,7 @@ description: Make your first API call to Claude and build a simple web search as com.anthropic anthropic-java - 2.58.0 + 2.60.0 diff --git a/content/en/intro.md b/content/en/intro.md index 43654b5d29..d322d8ad9b 100644 --- a/content/en/intro.md +++ b/content/en/intro.md @@ -4,20 +4,6 @@ url: https://platform.claude.com/docs/en/intro description: Claude is a highly performant, trustworthy, and intelligent AI platform built by Anthropic. Claude excels at tasks involving language, reasoning, analysis, coding, and more. --- - - The latest generation of Claude models: - - **Claude Fable 5.1** - For demanding reasoning and long-horizon agentic work. Read the [Claude Fable 5.1 announcement](https://www.anthropic.com/claude-fable-and-mythos-5-1). - - **Claude Mythos 5.1** - Offers Claude Fable 5.1's capabilities by invitation through [Project Glasswing](https://anthropic.com/glasswing). - - **Claude Opus 5** - For complex agentic coding and enterprise work. Read the [Claude Opus 5 announcement](https://www.anthropic.com/news/claude-opus-5). - - **Claude Sonnet 5** - Frontier intelligence at scale, built for coding, agents, and enterprise workflows. Read the [Claude Sonnet 5 announcement](https://www.anthropic.com/news/claude-sonnet-5). - - **Claude Haiku 4.5** - Fastest model with near-frontier intelligence. Read the [Claude Haiku 4.5 announcement](https://www.anthropic.com/news/claude-haiku-4-5). - - Looking to chat with Claude? Visit [claude.ai](https://claude.ai). @@ -31,6 +17,19 @@ Anthropic offers two ways to build with Claude, each suited to different use cas To learn more about each, see [Using the Messages API](https://platform.claude.com/docs/en/build-with-claude/working-with-messages) and the [Claude Managed Agents overview](https://platform.claude.com/docs/en/managed-agents/overview). +## Explore the latest generation of Claude models + +If you're unsure which model to use, start with [Claude Opus 5](https://platform.claude.com/docs/en/models/opus-5/overview) for most workloads. Use [Claude Fable 5.1](https://platform.claude.com/docs/en/models/fable-5-1/overview) for demanding reasoning and long-horizon agentic work, or when your evals on Claude Opus 5 at higher effort still fall short. All current models support text and image input, text output, multilingual capabilities, vision, and tool use. Each model's page lists the platforms it's available on. + +* [Claude Fable 5.1](https://platform.claude.com/docs/en/models/fable-5-1/overview) (`claude-fable-5-1`) — New — *For demanding reasoning and long-horizon agentic work* — Most capable · Research · Multi-day tasks +* [Claude Opus 5](https://platform.claude.com/docs/en/models/opus-5/overview) (`claude-opus-5`) — *For complex agentic coding and enterprise work* — Complex projects · Agents · Coding +* [Claude Sonnet 5](https://platform.claude.com/docs/en/models/sonnet-5/overview) (`claude-sonnet-5`) — *The best combination of speed and intelligence* — Everyday tasks · Writing · Cost-efficient +* [Claude Haiku 4.5](https://platform.claude.com/docs/en/models/haiku-4-5/overview) (`claude-haiku-4-5`) — *The fastest model with near-frontier intelligence* — Fastest · Lowest cost · High volume + +[Compare models](https://platform.claude.com/docs/en/models/overview) + +*** + ## Recommended path for new developers Follow these steps to go from zero to a working Claude integration. diff --git a/content/en/manage-claude/access-transparency.md b/content/en/manage-claude/access-transparency.md index 341ad715ac..1fd241882b 100644 --- a/content/en/manage-claude/access-transparency.md +++ b/content/en/manage-claude/access-transparency.md @@ -67,7 +67,8 @@ curl --fail-with-body -sS -G \ "https://api.anthropic.com/v1/compliance/activities" \ --data-urlencode "activity_types[]=anthropic_access" \ --data-urlencode "limit=50" \ - --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" + --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \ + --header "anthropic-version: 2023-06-01" ``` Pagination, date-range filtering (`created_at.gte` / `.lt`), and the response envelope (`has_more`, `first_id`, `last_id`) are shared with the rest of the Activity Feed. See [Query the Activity Feed](https://platform.claude.com/docs/en/manage-claude/compliance-activity-feed). @@ -121,7 +122,8 @@ curl --fail-with-body -sS -G \ "https://api.anthropic.com/v1/compliance/activities" \ --data-urlencode "activity_types[]=cmek_preserve" \ --data-urlencode "limit=50" \ - --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" + --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \ + --header "anthropic-version: 2023-06-01" ``` Example JSON message: diff --git a/content/en/manage-claude/analytics-api.md b/content/en/manage-claude/analytics-api.md index bb6c9c5af5..1607d8497e 100644 --- a/content/en/manage-claude/analytics-api.md +++ b/content/en/manage-claude/analytics-api.md @@ -64,7 +64,7 @@ The Claude Enterprise Analytics API is available to Claude Enterprise organizati - Pass the key in the `x-api-key` header. Endpoints live under `https://api.anthropic.com/v1/organizations/analytics/`. For request examples, parameters, and response schemas, see the [Claude Enterprise Analytics API reference](https://platform.claude.com/docs/en/api/admin/analytics). + Pass the key in the `x-api-key` header and include the [`anthropic-version`](https://platform.claude.com/docs/en/api/versioning) header on every request. Endpoints live under `https://api.anthropic.com/v1/organizations/analytics/`. For request examples, parameters, and response schemas, see the [Claude Enterprise Analytics API reference](https://platform.claude.com/docs/en/api/admin/analytics). @@ -107,6 +107,10 @@ Claude Enterprise Analytics API data is available for dates on or after January **Rate limits apply at the organization level**, not per key, with a default of 60 requests per minute across all endpoints in this API. If that is not sufficient for your use case, contact your Anthropic account team to discuss adjusting the limit. +## Versioning + +Send the `anthropic-version` header on every request; see [API versions](https://platform.claude.com/docs/en/api/versioning) for the available versions. + ## Known limitations If your organization uses Claude Code through Amazon Bedrock, the Claude Enterprise Analytics API does not return Claude Code activity for that usage. diff --git a/content/en/manage-claude/api-and-data-retention.md b/content/en/manage-claude/api-and-data-retention.md index c6d5b96985..df87cf7278 100644 --- a/content/en/manage-claude/api-and-data-retention.md +++ b/content/en/manage-claude/api-and-data-retention.md @@ -16,7 +16,7 @@ Different APIs and features have different storage needs. Where a feature does n * Only what is technically necessary for the feature to work is retained. Conversation content (your prompts and Claude's outputs) is not retained by default; the exception is [Covered Models](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#model-specific-data-retention-requirements), which require 30-day retention. * Retained data is purged on the shortest practical time to live (TTL), and Anthropic aims to give customers control over how long data is retained. What is held, and the retention duration where a specific TTL applies, is documented on each feature's page. -Several retention models sit outside the ZDR and HIPAA arrangements described on this page. Data accessible through the [Compliance API](https://platform.claude.com/docs/en/manage-claude/compliance-api) follows its own retention model. The [Activity Feed](https://platform.claude.com/docs/en/manage-claude/compliance-activity-feed) retains data for 6 years. Chat, file, and project content from claude.ai follows your organization's retention policy set in [claude.ai > Organization settings > Data and privacy](https://claude.ai/admin-settings/data-privacy-controls). [Local session transcripts](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retrieve-local-sessions) (from sessions on users' machines, in apps such as Cowork and Claude Code) are stored for 6 years by default, or for your organization's custom conversation retention period when a finite one is set (the same claude.ai setting). [Remote session transcripts](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retrieve-remote-sessions) (Cowork in the cloud) are retained for 6 years. The Compliance API does not capture local sessions for which ZDR is in effect, or any local sessions from organizations with HIPAA readiness enabled. +Several retention models sit outside the ZDR and HIPAA arrangements described on this page. Data accessible through the [Compliance API](https://platform.claude.com/docs/en/manage-claude/compliance-api) follows its own retention model. The [Activity Feed](https://platform.claude.com/docs/en/manage-claude/compliance-activity-feed) retains data for 6 years. Chat, file, and project content from claude.ai follows your organization's retention policy set in [claude.ai > Organization settings > Data and privacy](https://claude.ai/admin-settings/data-privacy-controls). [Local session transcripts](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retrieve-local-sessions) (from sessions on users' machines, in apps such as Cowork and Claude Code) are stored for 6 years by default, or for your organization's custom conversation retention period when a finite one is set (the same claude.ai setting). [Remote session transcripts](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retrieve-remote-sessions) (Cowork in the cloud) are retained for 6 years, unless a user deletes the session sooner. The Compliance API does not capture local sessions for which ZDR is in effect, or any local sessions from organizations with HIPAA readiness enabled. ## Zero data retention (ZDR) diff --git a/content/en/manage-claude/authentication.md b/content/en/manage-claude/authentication.md index 986cfad2d5..8d5d262b6b 100644 --- a/content/en/manage-claude/authentication.md +++ b/content/en/manage-claude/authentication.md @@ -127,7 +127,7 @@ If your API key isn't scoped to a workspace, you must specify the workspace ID i The [Admin API](https://platform.claude.com/docs/en/manage-claude/admin-api) accepts a personal key or service account key only if the key isn't scoped to a specific workspace. -You can find a workspace's ID in the **ID** column of [Settings → Workspaces](https://platform.claude.com/settings/workspaces) in the Claude Console, or by calling the [List Workspaces](https://platform.claude.com/docs/en/api/admin/workspaces/list) endpoint. Neither lists the Default Workspace's ID: read it from the `anthropic-workspace-id` [response header](https://platform.claude.com/docs/en/manage-claude/workspaces#identify-the-workspace-behind-an-api-response) of any request that runs there (for example, one made with a workspace key from the Default Workspace), or from `scope.workspace_id` on such a key in [List API Keys](https://platform.claude.com/docs/en/api/admin/api_keys/list). +You can find a workspace's ID in the **ID** column of [Settings → Workspaces](https://platform.claude.com/settings/workspaces) in the Claude Console, or by calling the [List Workspaces](https://platform.claude.com/docs/en/api/admin/workspaces/list) endpoint. List Workspaces omits the Default Workspace; its ID is in the `anthropic-workspace-id` [response header](https://platform.claude.com/docs/en/manage-claude/workspaces#identify-the-workspace-behind-an-api-response) of any request that runs there. ```bash cURL diff --git a/content/en/manage-claude/cmek-aws-kms.md b/content/en/manage-claude/cmek-aws-kms.md index 13f36faef3..9c537b8287 100644 --- a/content/en/manage-claude/cmek-aws-kms.md +++ b/content/en/manage-claude/cmek-aws-kms.md @@ -627,7 +627,7 @@ You can also create the key from the AWS Console: choose a symmetric key with th * The key is enabled, single-region, and in the same AWS account and region as the workspace. * The principal you are signed in as has `kms:DescribeKey`, `kms:Encrypt`, and `kms:Decrypt` on the key. * No service control policy or resource control policy in your AWS organization prevents the service principal or your principal from using the key. - * If the policy looks right and the attach still fails, find the denied `kms:` event in CloudTrail in the key's account (it shows the calling principal and, for cryptographic calls, the encryption context), then retry with the `aws:SourceArn` condition temporarily removed to tell a source-ARN mismatch apart from an encryption-context mismatch. + * If the policy looks right and the attach still fails, find the denied `kms:` event in CloudTrail in the key's account (it shows the calling principal and, for cryptographic calls, the encryption context), then retry with the `aws:SourceArn` condition temporarily removed to tell a source-ARN mismatch apart from an encryption-context mismatch. Once the key is attached, whether on that retry or after you correct the encryption context, restore the `ArnLike` entry on both service-principal statements with `kms:PutKeyPolicy`, using the account-wide `aws:SourceArn` pattern or the ARN of every workspace the key is attached to. diff --git a/content/en/manage-claude/compliance-activity-feed.md b/content/en/manage-claude/compliance-activity-feed.md index 0cde21cb42..0cbd9b2da2 100644 --- a/content/en/manage-claude/compliance-activity-feed.md +++ b/content/en/manage-claude/compliance-activity-feed.md @@ -19,7 +19,8 @@ The Activity Feed records authentication, chat, file, project, administrative, a ```bash cURL curl --fail-with-body -sS \ "https://api.anthropic.com/v1/compliance/activities?limit=1" \ - --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" + --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \ + --header "anthropic-version: 2023-06-01" ``` ```json Response @@ -60,7 +61,8 @@ curl --fail-with-body -sS -G \ --data-urlencode "activity_types[]=claude_file_uploaded" \ --data-urlencode "activity_types[]=claude_chat_created" \ --data-urlencode "created_at.gte=2026-04-01T00:00:00Z" \ - --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" + --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \ + --header "anthropic-version: 2023-06-01" ``` The Activity Feed produces hundreds of distinct activity types. See [Query compliance activities](https://platform.claude.com/docs/en/api/compliance/activities/list) in the API reference for the full list of values that `activity_types[]` accepts. @@ -100,12 +102,14 @@ The cursor parameter sets the page direction; the endpoint's sort order sets the # Fetch the first page (newest activities first) and capture its trailing cursor. last_id=$(curl --fail-with-body -sS \ "https://api.anthropic.com/v1/compliance/activities?limit=2" \ - --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" | jq -er '.last_id') + --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \ + --header "anthropic-version: 2023-06-01" | jq -er '.last_id') # Pass the cursor back unchanged to fetch the next (older) page. curl --fail-with-body -sS -G \ "https://api.anthropic.com/v1/compliance/activities" \ --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \ + --header "anthropic-version: 2023-06-01" \ --data-urlencode "limit=2" \ --data-urlencode "after_id=${last_id}" ``` diff --git a/content/en/manage-claude/compliance-api.md b/content/en/manage-claude/compliance-api.md index 4522533f38..383883d6c2 100644 --- a/content/en/manage-claude/compliance-api.md +++ b/content/en/manage-claude/compliance-api.md @@ -15,7 +15,8 @@ The following call returns the most recent activity event in your organization. ```bash cURL curl --fail-with-body -sS \ "https://api.anthropic.com/v1/compliance/activities?limit=1" \ - --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" + --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \ + --header "anthropic-version: 2023-06-01" ``` A successful response returns a JSON object containing `data` (an array of `Activity` records), `has_more`, `first_id`, and `last_id`: @@ -50,7 +51,7 @@ A successful response returns a JSON object containing `data` (an array of `Acti ## How the Compliance API works -Every endpoint lives under `/v1/compliance/*` on `https://api.anthropic.com` and authenticates through the `x-api-key` header. To provision a key, see [Set up the Compliance API](https://platform.claude.com/docs/en/manage-claude/compliance-api-access). +Every endpoint lives under `/v1/compliance/*` on `https://api.anthropic.com`, authenticates through the `x-api-key` header, and takes the [`anthropic-version`](https://platform.claude.com/docs/en/api/versioning) header on every request. To provision a key, see [Set up the Compliance API](https://platform.claude.com/docs/en/manage-claude/compliance-api-access). The Activity Feed (`GET /v1/compliance/activities`) is available to any key that carries the `read:compliance_activities` scope; see [Query the Activity Feed](https://platform.claude.com/docs/en/manage-claude/compliance-activity-feed) for filters, pagination, and the full `Activity` object. The remaining endpoints require a Compliance Access Key carrying the relevant scope. @@ -60,6 +61,12 @@ All `/v1/compliance/*` endpoints share a rate limit of 600 requests per minute p *** +## Versioning + +Send the `anthropic-version` header on every request; see [API versions](https://platform.claude.com/docs/en/api/versioning) for the available versions. + +*** + ## Compliance API versus related features A few adjacent features overlap with the Compliance API; here is how to choose. diff --git a/content/en/manage-claude/compliance-content-data.md b/content/en/manage-claude/compliance-content-data.md index 973f6027c7..d9aa4800b2 100644 --- a/content/en/manage-claude/compliance-content-data.md +++ b/content/en/manage-claude/compliance-content-data.md @@ -30,6 +30,7 @@ The chat list endpoint defaults to organization-wide scope: leave off `user_ids[ curl --fail-with-body -sS -G \ "https://api.anthropic.com/v1/compliance/apps/chats" \ --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \ + --header "anthropic-version: 2023-06-01" \ --data-urlencode "order_by=updated_at" \ --data-urlencode "updated_at.gte=2025-06-01T00:00:00Z" \ --data-urlencode "limit=100" @@ -72,6 +73,7 @@ To scope the list to specific users instead (for example, a legal hold on named curl --fail-with-body -sS -G \ "https://api.anthropic.com/v1/compliance/apps/chats" \ --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \ + --header "anthropic-version: 2023-06-01" \ --data-urlencode "user_ids[]=user_01XyDMpzjS89pFZXqSFUBDr6" \ --data-urlencode "created_at.gte=2025-06-01T00:00:00Z" \ --data-urlencode "limit=100" @@ -84,7 +86,8 @@ chat_id="claude_chat_01H5CWunD7RpVJ5bHa8RCkja" curl --fail-with-body -sS \ "https://api.anthropic.com/v1/compliance/apps/chats/$chat_id/messages" \ - --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" + --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \ + --header "anthropic-version: 2023-06-01" ``` The messages endpoint returns the chat's metadata plus a `chat_messages` array sorted by `created_at`. When `limit` is omitted, the full message set is returned in one response; pass `limit`, `after_id`, or `before_id` to page through very long chats. The endpoint also accepts `created_at.*` and `updated_at.*` range bounds (`gt`, `gte`, `lt`, `lte`) and an `order` parameter (`asc` or `desc`). See [Get chat messages](https://platform.claude.com/docs/en/api/compliance/apps/chats/messages/list) for the full parameter list. For user messages, `created_at` is when the message was sent; for assistant messages, it is when Claude finished generating the message. Each message carries its text content and, when present, any uploaded files (typically on user messages), any tool-generated files, and any artifacts the assistant produced or updated (typically on assistant messages): @@ -194,6 +197,7 @@ file_id="claude_file_01UaT9wBcDfGhJkLmNpQrSv7" curl --fail-with-body -sS -OJ \ --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \ + --header "anthropic-version: 2023-06-01" \ "https://api.anthropic.com/v1/compliance/apps/chats/files/$file_id/content" ``` @@ -225,7 +229,8 @@ project_id="claude_proj_01KGp4eZNug9ri4kE35RSppq" curl --fail-with-body -sS -G \ "https://api.anthropic.com/v1/compliance/apps/projects/$project_id/attachments" \ - --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" + --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \ + --header "anthropic-version: 2023-06-01" ``` ```json Response @@ -281,7 +286,8 @@ chat_id="claude_chat_01H5CWunD7RpVJ5bHa8RCkja" curl --fail-with-body -sS -X DELETE \ "https://api.anthropic.com/v1/compliance/apps/chats/$chat_id" \ - --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" + --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \ + --header "anthropic-version: 2023-06-01" ``` ```json Response diff --git a/content/en/manage-claude/compliance-errors.md b/content/en/manage-claude/compliance-errors.md index 11f47392dd..e3d85b9d4e 100644 --- a/content/en/manage-claude/compliance-errors.md +++ b/content/en/manage-claude/compliance-errors.md @@ -377,8 +377,8 @@ The local-sessions index cannot currently evaluate retention overrides for this **Cause:** The [local session endpoints](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retrieve-local-sessions) return 503 with one of these bodies. All three share the `overloaded_error` type, so this is one of the few errors on this page where you need the message text, not `error.type`, to tell the conditions apart: -* The `index is temporarily unavailable` body means session listings are briefly unavailable because of load or a back-end condition. This is transient. -* The `Captured content` body means a session's transcript content cannot be returned right now. This is usually transient too. In organizations that use [customer-managed encryption keys](https://platform.claude.com/docs/en/manage-claude/cmek), the messages endpoint also returns this body for every page that contains content your key cannot decrypt, for example because you disabled, revoked, or destroyed the key, or because the key cannot be reached. In that case the error persists for as long as the key cannot be used. The message text is the same either way, so the only signal that the key is the cause is that the error keeps recurring for that organization. An unusable key is never reported as `not_captured`. +* The `index is temporarily unavailable` body means session listings are briefly unavailable because of load or a backend condition. This is transient. +* The `Captured content` body means a session's transcript content cannot be returned right now. This is usually transient too. In organizations that use [customer-managed encryption keys](https://platform.claude.com/docs/en/manage-claude/cmek), the messages endpoint also returns this body for every page that contains content your customer-managed key cannot decrypt, for example because you disabled, revoked, or destroyed the key, or because the key cannot be reached. In that case the error persists for as long as the key cannot be used. The message text is the same either way, so the only signal that the key is the cause is that the error keeps recurring for that organization. An unusable key is never reported as `not_captured`. * The `retention overrides` body means a retention or data-handling setting that applies to one or more sessions in the requested range could not be evaluated yet. On the retrieve and messages endpoints it reads `for this session` instead of `for this page`. It depends on the data and settings of the organization that ran the session rather than on load, and it can persist for an extended period. **Fix:** Handle each body as follows: @@ -387,7 +387,7 @@ The local-sessions index cannot currently evaluate retention overrides for this * If the `Captured content` body keeps recurring on the messages endpoint for an organization that uses a customer-managed key, treat it as persistent: stop walking that organization's transcripts and check the key's status in your key management service. Transcripts in other linked organizations, and session metadata everywhere, are unaffected. If you retry on a later run, restart each session's walk without `page`, because messages page cursors expire 24 hours after the walk's first page. * For the `Try again later.` body, do not hold a walk open waiting for it to clear. On the list endpoint, either retry later by restarting without the `page` parameter (a list page token older than 24 hours is still accepted but is re-evaluated against the current retention boundary, so a parked walk can skip sessions), or narrow the `created_at.gte` and `created_at.lt` window until the request succeeds and export the skipped range separately on a later run. On the retrieve and messages endpoints, skip that session ID, continue with the rest of your export, and retry the session on a later run. Messages page cursors expire 24 hours after the walk's first page, so restart that session's walk without `page` when you return to it. -If any of these conditions recurs across runs, contact your Anthropic representative and include the `request-id` response header. For the customer-managed key case, do this only if the error continues while your key is usable. +If any of these conditions recurs across runs, contact your Anthropic representative and include the `request-id` response header. For the customer-managed key case, do this only if the error continues while that key is usable. For service-wide incidents, check [status.anthropic.com](https://status.anthropic.com). diff --git a/content/en/manage-claude/compliance-faq.md b/content/en/manage-claude/compliance-faq.md index b413d22969..c51a0cd5c3 100644 --- a/content/en/manage-claude/compliance-faq.md +++ b/content/en/manage-claude/compliance-faq.md @@ -103,7 +103,7 @@ description: Answers to common questions about Compliance API access, scopes, re - No. Deletes performed through the Compliance API are immediate, permanent, and not recoverable. The content of a chat that a user deletes in claude.ai is not recoverable either: the Compliance API still returns the chat and its messages, with `deleted_at` populated, but not their content. Pull any content you need to retain (for legal hold or archival) while it is still available. See [Plan content retention](https://platform.claude.com/docs/en/manage-claude/compliance-integration-patterns#plan-content-retention) for when to export content to your own archive. + No. Deletes performed through the Compliance API are immediate, permanent, and not recoverable. The content of a chat that a user deletes in claude.ai is not recoverable either: the Compliance API still returns the chat and its messages, with `deleted_at` populated, but not their content. A remote session that a user deletes is likewise not recoverable, and the remote session endpoints no longer return it. Pull any content you need to retain (for legal hold or archival) while it is still available. See [Plan content retention](https://platform.claude.com/docs/en/manage-claude/compliance-integration-patterns#plan-content-retention) for when to export content to your own archive. diff --git a/content/en/manage-claude/compliance-integration-patterns.md b/content/en/manage-claude/compliance-integration-patterns.md index 419eee6039..56a0a41007 100644 --- a/content/en/manage-claude/compliance-integration-patterns.md +++ b/content/en/manage-claude/compliance-integration-patterns.md @@ -44,6 +44,7 @@ Set `created_at.lt` at least 1 minute in the past so that every activity in the curl --fail-with-body -sS -G \ "https://api.anthropic.com/v1/compliance/activities" \ --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \ + --header "anthropic-version: 2023-06-01" \ --data-urlencode "created_at.gte=2026-04-20T07:00:00Z" \ --data-urlencode "created_at.lt=2026-04-20T08:00:00Z" \ --data-urlencode "limit=5000" @@ -65,6 +66,7 @@ first_id="activity_01XyDMpzjS89pFZXqSFUBDr6" # first_id from a previous respons curl --fail-with-body -sS -G \ "https://api.anthropic.com/v1/compliance/activities" \ --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \ + --header "anthropic-version: 2023-06-01" \ --data-urlencode "limit=5000" \ --data-urlencode "before_id=$first_id" ``` @@ -115,7 +117,7 @@ Five retention horizons govern what you can retrieve later: | Activity Feed records | 6 years | Anthropic | | Chat, file, and project content | Your organization's claude.ai retention policy, unless a user deletes it sooner | Your organization | | Local session transcripts (sessions on users' machines) | 6 years by default, or your organization's custom conversation retention period when a finite one is set | Anthropic by default; your organization when it sets a custom period | -| Remote session transcripts (sessions in the cloud) | 6 years | Anthropic | +| Remote session transcripts (sessions in the cloud) | 6 years, unless a user deletes the session sooner | Anthropic | | Content hard-deleted through the Compliance API | Not retained; deletion is immediate and permanent | The caller of the `DELETE` endpoint | To learn how the rest of the Claude Platform handles retention, see [API and data retention](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention). @@ -124,7 +126,7 @@ Decide between export-and-archive and on-demand API retrieval as follows: * If your legal-hold or audit horizon exceeds 6 years for activity metadata or session transcripts, export Activity Feed pages and session transcripts to your own archive as you ingest them. * If your content-retention policy is shorter than your eDiscovery horizon, export chat and file content before the retention window expires; the Compliance API cannot return content that retention has already removed. The same applies to local session transcripts, which follow your organization's custom conversation retention period when a finite one is set, even when that period is shorter than 6 years. The local session endpoints stop returning messages older than your organization's current period as soon as the setting changes, and lengthening the period later does not restore transcripts that have already expired, so export any transcript you must keep beyond it. -* If you must retain chat content after users delete it in claude.ai (for example, under a legal hold), export chat, file, and artifact content to your own archive as you ingest it; the Compliance API cannot return content that a user has already deleted. +* If you must retain chat content or remote session transcripts after users delete them in claude.ai (for example, under a legal hold), export chat, file, artifact, and remote session content to your own archive as you ingest it; the Compliance API cannot return content that a user has already deleted. * If a workflow might issue a Compliance API hard-delete (for example, DLP enforcement), retrieve and archive the target content first. There is no recovery window after a hard-delete. In every other case, rely on direct API retrieval and avoid maintaining a parallel copy. @@ -154,6 +156,7 @@ The content endpoints (chats, files, projects, project attachments, and local an * Local session transcript content in an organization whose [customer-managed encryption key](https://platform.claude.com/docs/en/manage-claude/cmek) cannot currently be used. Those requests return [503 Service Unavailable](https://platform.claude.com/docs/en/manage-claude/compliance-errors#local-sessions-temporarily-unavailable), and session metadata is still listed. * Content removed by your organization's retention policy. * Content of chats that users delete in claude.ai (the chats are still listed, with `deleted_at` populated). +* Remote sessions that users delete (deleted sessions are no longer listed, and the messages endpoint returns 404 for them). * Content hard-deleted through the Compliance API. See the [Compliance API FAQ](https://platform.claude.com/docs/en/manage-claude/compliance-faq#data-coverage-and-retention) for more on what the Compliance API does and does not capture. diff --git a/content/en/manage-claude/compliance-org-data.md b/content/en/manage-claude/compliance-org-data.md index 7bdea501e1..a24a324276 100644 --- a/content/en/manage-claude/compliance-org-data.md +++ b/content/en/manage-claude/compliance-org-data.md @@ -25,7 +25,8 @@ The following call lists every organization under your parent. The response is a ```bash cURL curl --fail-with-body -sS \ "https://api.anthropic.com/v1/compliance/organizations" \ - -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" + -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \ + -H "anthropic-version: 2023-06-01" ``` ```json Response @@ -77,6 +78,7 @@ org_uuid="91012d09-e48b-438e-a489-1bebfd8fa6f9" curl --fail-with-body -sS -G \ "https://api.anthropic.com/v1/compliance/organizations/$org_uuid/users" \ -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \ + -H "anthropic-version: 2023-06-01" \ --data-urlencode "limit=500" ``` @@ -111,7 +113,8 @@ org_uuid="91012d09-e48b-438e-a489-1bebfd8fa6f9" curl --fail-with-body -sS \ "https://api.anthropic.com/v1/compliance/organizations/${org_uuid}/roles" \ - -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" + -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \ + -H "anthropic-version: 2023-06-01" ``` ```json Response @@ -145,7 +148,8 @@ List groups, then for each group list its members: ```bash cURL curl --fail-with-body -sS -G \ "https://api.anthropic.com/v1/compliance/groups" \ - -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" + -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \ + -H "anthropic-version: 2023-06-01" ``` ```json Response @@ -173,7 +177,8 @@ group_id="rbac_group_01P9qRsTuVwXyZa2BcDeFgHjK" curl --fail-with-body -sS -G \ "https://api.anthropic.com/v1/compliance/groups/$group_id/members" \ - -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" + -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \ + -H "anthropic-version: 2023-06-01" ``` ```json Response @@ -208,7 +213,8 @@ org_uuid="91012d09-e48b-438e-a489-1bebfd8fa6f9" curl --fail-with-body -sS \ "https://api.anthropic.com/v1/compliance/organizations/$org_uuid/settings" \ - -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" + -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \ + -H "anthropic-version: 2023-06-01" ``` The response is a list of typed setting rows, and which rows appear varies by organization: a setting the organization's administrators cannot change, because it is controlled by Anthropic policy or not available to the organization, is omitted from the list. Treat a missing row as "not controllable by this organization's administrators", not as "off". The following abridged example shows three of the rows a response can contain: diff --git a/content/en/manage-claude/compliance-sessions.md b/content/en/manage-claude/compliance-sessions.md index 077f1b29f5..3207f3c1c3 100644 --- a/content/en/manage-claude/compliance-sessions.md +++ b/content/en/manage-claude/compliance-sessions.md @@ -44,7 +44,7 @@ Anthropic recommends the Compliance API for retrieving session content. The foll | Infrastructure | Anthropic-hosted | Anthropic-hosted | You run the collector and storage | | ID prefix | `clls_` | `cse_` | N/A | | `product_surface` values | `cowork`, `claude_code`, `claude_science`, and values beginning with `office_agents` | `cowork_remote` | N/A | -| Retention | 6 years by default, or your organization's custom conversation retention period when a finite one is set; held by Anthropic | 6 years, held by Anthropic | Your infrastructure, your policies | +| Retention | 6 years by default, or your organization's custom conversation retention period when a finite one is set; held by Anthropic | 6 years, unless a user deletes the session sooner; held by Anthropic | Your infrastructure, your policies | | User prompts and assistant responses | Yes | Yes | Yes, subject to content-capture settings | | Tool inputs | Truncated to 10,000 bytes per input by default; up to about 1 MiB on request | Truncated to 10,000 bytes per input by default; up to about 1 MiB on request | Truncated summaries | | Tool result content | Each text entry truncated to 10,000 bytes by default; up to about 1 MiB on request | Each text entry truncated to 10,000 bytes by default; up to about 1 MiB on request | Metadata such as size and success; Claude Code can also capture content with an optional, size-capped setting | @@ -60,7 +60,7 @@ The Compliance API exposes local sessions through three endpoints: `GET /v1/comp For local sessions, Anthropic records each conversation server-side as its requests reach the Claude API; nothing is installed on the device, and nothing is collected beyond the requests the client already sends to the Claude API. Local session transcripts show what Claude was asked to do and what it returned, not what happened on the device. File and network activity is visible only through the tool calls and tool results in the transcript, so activity that never reaches the API (for example, local files the session never sent) is not captured. -In organizations that use [customer-managed encryption keys](https://platform.claude.com/docs/en/manage-claude/cmek), local session transcripts are encrypted under your key and returned as usual. While your key cannot be used (for example, because you disabled or revoked it, or because it cannot be reached), the messages endpoint returns [503 Service Unavailable](https://platform.claude.com/docs/en/manage-claude/compliance-errors#local-sessions-temporarily-unavailable) for the affected pages instead of transcript content. Those messages are never reported as `not_captured` (see [Retrieve a local session transcript](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retrieve-a-local-session-transcript)). Listing sessions and retrieving session metadata are not affected. +In organizations that use [customer-managed encryption keys](https://platform.claude.com/docs/en/manage-claude/cmek), local session transcripts are encrypted under your customer-managed key and returned as usual. While that key cannot be used (for example, because you disabled or revoked it, or because it cannot be reached), the messages endpoint returns [503 Service Unavailable](https://platform.claude.com/docs/en/manage-claude/compliance-errors#local-sessions-temporarily-unavailable) for the affected pages instead of transcript content. Those messages are never reported as `not_captured` (see [Retrieve a local session transcript](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retrieve-a-local-session-transcript)). Listing sessions and retrieving session metadata are not affected. The list endpoint returns session metadata, with no transcript content, for every linked organization your key can read. Unlike the remote session list, it has no organization or user filters: bound the results in time with the `created_at.gte` and `created_at.lt` parameters. Both take RFC 3339 timestamps with a required UTC offset, and when both are supplied, `created_at.lt` must be strictly after `created_at.gte` or the request returns [400 Bad Request](https://platform.claude.com/docs/en/manage-claude/compliance-errors#400-bad-request). A third time filter, `updated_at.gte`, bounds by last activity instead of first: it returns sessions whose last inference call is at or after the given time and combines with the `created_at` filters without changing the ordering or pagination. Use it to poll for sessions active since a previous pass, as described later in this section. New sessions and messages appear in results after a short processing delay, typically within minutes; a session that is missing immediately after it starts is not necessarily uncaptured. The following request lists sessions created since a given date. @@ -68,6 +68,7 @@ The list endpoint returns session metadata, with no transcript content, for ever curl --fail-with-body -sS -G \ "https://api.anthropic.com/v1/compliance/apps/sessions/local" \ --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \ + --header "anthropic-version: 2023-06-01" \ --data-urlencode "created_at.gte=2026-07-01T00:00:00Z" \ --data-urlencode "limit=100" ``` @@ -143,7 +144,8 @@ session_id="clls_01HxKpLmNoPqRsTuVwXyZaBc" curl --fail-with-body -sS \ "https://api.anthropic.com/v1/compliance/apps/sessions/local/$session_id/messages" \ - --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" + --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \ + --header "anthropic-version: 2023-06-01" ``` ```json Response @@ -287,6 +289,7 @@ The list endpoint defaults to organization-wide scope: leave off `organization_i curl --fail-with-body -sS -G \ "https://api.anthropic.com/v1/compliance/apps/sessions/remote" \ --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \ + --header "anthropic-version: 2023-06-01" \ --data-urlencode "created_at.gte=2026-06-01T00:00:00Z" \ --data-urlencode "limit=100" ``` @@ -352,7 +355,8 @@ session_id="cse_01WpQrStUvXyZaBcDeFgHjK6" curl --fail-with-body -sS \ "https://api.anthropic.com/v1/compliance/apps/sessions/remote/$session_id/messages" \ - --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" + --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \ + --header "anthropic-version: 2023-06-01" ``` ```json Response @@ -418,7 +422,7 @@ The messages endpoint returns [404 Not Found](https://platform.claude.com/docs/e ## Retention and deletion -The session endpoints are read-only; local and remote sessions cannot be deleted through the Compliance API. Local session transcripts are retained for 6 years by default, or your organization's custom conversation retention period when a finite one is set, as described under [Sessions on users' machines](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retrieve-local-sessions). Remote session transcripts are retained for 6 years. To learn how these periods sit alongside Anthropic's other retention arrangements, see [API and data retention](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention). +The session endpoints are read-only; local and remote sessions cannot be deleted through the Compliance API. Local session transcripts are retained for 6 years by default, or your organization's custom conversation retention period when a finite one is set, as described under [Sessions on users' machines](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retrieve-local-sessions). Remote session transcripts are retained for 6 years, unless a user deletes the session sooner. The remote session endpoints no longer return a session once a user deletes it, and its transcript is not recoverable through the Compliance API. To learn how these periods sit alongside Anthropic's other retention arrangements, see [API and data retention](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention). ## Next steps diff --git a/content/en/manage-claude/inference-hooks.md b/content/en/manage-claude/inference-hooks.md index 0b6981891b..8b41477168 100644 --- a/content/en/manage-claude/inference-hooks.md +++ b/content/en/manage-claude/inference-hooks.md @@ -60,7 +60,7 @@ For the full request and response schemas, signature verification, and operation Inference hooks are available to Claude Enterprise organizations. Configuring them requires the `organization:manage` permission, which the built-in Admin, Owner, and Primary owner roles hold, as does any custom role granted it. -One hook governs conversations across claude.ai, Cowork, and Claude Code sessions in your Claude Enterprise organization, whether they run on the web, in the desktop app, or in the CLI. Inference hooks are not available on Amazon Bedrock or Google Cloud. +One hook governs conversations across claude.ai, Cowork, and Claude Code sessions in your Claude Enterprise organization, whether they run on the web, in the desktop or mobile apps, or in the CLI. Inference hooks are not available on Amazon Bedrock or Google Cloud. Governed requests are the inference requests behind the user's conversation. Ancillary requests, such as conversation title generation, aren't sent to your endpoint, and system prompts and tool definitions are never included in what is sent. Voice mode is not covered. diff --git a/content/en/manage-claude/spend-limits-api.md b/content/en/manage-claude/spend-limits-api.md index 15a47954db..44cf0edf4a 100644 --- a/content/en/manage-claude/spend-limits-api.md +++ b/content/en/manage-claude/spend-limits-api.md @@ -11,7 +11,7 @@ For per-user and time-bucketed usage and cost *reporting*, see [Analytics APIs]( **Scoped Admin API key required** - These endpoints require an Admin API key with the `read:spend_limits` scope (for `GET` endpoints) or the `write:spend_limits` scope (for `POST` and `DELETE` endpoints). See [Create an Admin API key](https://platform.claude.com/docs/en/manage-claude/admin-api-keys#create-a-key-for-a-claude-enterprise-organization) for where your primary owner creates one and which scopes to select. Pass the key in the `x-api-key` header on every request. + These endpoints require an Admin API key with the `read:spend_limits` scope (for `GET` endpoints) or the `write:spend_limits` scope (for `POST` and `DELETE` endpoints). See [Create an Admin API key](https://platform.claude.com/docs/en/manage-claude/admin-api-keys#create-a-key-for-a-claude-enterprise-organization) for where your primary owner creates one and which scopes to select. Pass the key in the `x-api-key` header on every request, together with the [`anthropic-version`](https://platform.claude.com/docs/en/api/versioning) header. @@ -40,7 +40,8 @@ List every member's effective monthly spend limit and period-to-date spend: ```bash cURL curl "https://api.anthropic.com/v1/organizations/spend_limits/effective?limit=20" \ - --header "x-api-key: $ANTHROPIC_ADMIN_KEY" + --header "x-api-key: $ANTHROPIC_ADMIN_KEY" \ + --header "anthropic-version: 2023-06-01" ``` ## Key concepts @@ -81,6 +82,10 @@ Approving with `POST /v1/organizations/spend_limit_increase_requests/{id}/approv By default, Anthropic emails the member when their request is approved or denied. Pass `suppress_notification: true` on approve or deny to suppress that email (for example, when your own system notifies the member). +## Versioning + +Send the `anthropic-version` header on every request; see [API versions](https://platform.claude.com/docs/en/api/versioning) for the available versions. + ## Rate limiting All eight endpoints share a single per-organization limit of **60 requests per minute**. Requests over the limit return **429 Too Many Requests**. @@ -113,7 +118,8 @@ For complete parameter details and response schemas, see [List effective spend l ```bash cURL curl "https://api.anthropic.com/v1/organizations/spend_limits/effective?limit=20" \ - --header "x-api-key: $ANTHROPIC_ADMIN_KEY" + --header "x-api-key: $ANTHROPIC_ADMIN_KEY" \ + --header "anthropic-version: 2023-06-01" ``` ```json @@ -148,7 +154,8 @@ For complete parameter details and response schemas, see [Retrieve a spend limit ```bash cURL curl "https://api.anthropic.com/v1/organizations/spend_limits/spl_01AbCdEfGhIjKlMnOpQrSt" \ - --header "x-api-key: $ANTHROPIC_ADMIN_KEY" + --header "x-api-key: $ANTHROPIC_ADMIN_KEY" \ + --header "anthropic-version: 2023-06-01" ``` ### Set a per-user override @@ -161,6 +168,7 @@ For complete parameter details and response schemas, see [Create a spend limit]( curl --request POST "https://api.anthropic.com/v1/organizations/spend_limits" \ --header "content-type: application/json" \ --header "x-api-key: $ANTHROPIC_ADMIN_KEY" \ + --header "anthropic-version: 2023-06-01" \ --data '{"scope": {"type": "user", "user_id": "user_01AbCdEfGh"}, "amount": "75000"}' ``` @@ -185,7 +193,8 @@ For complete parameter details and response schemas, see [Delete a spend limit]( ```bash cURL curl --request DELETE "https://api.anthropic.com/v1/organizations/spend_limits/spl_01RsTuVwXyZaBcDeFgHiJk" \ - --header "x-api-key: $ANTHROPIC_ADMIN_KEY" + --header "x-api-key: $ANTHROPIC_ADMIN_KEY" \ + --header "anthropic-version: 2023-06-01" ``` ## Spend limit increase requests @@ -198,7 +207,8 @@ For complete parameter details and response schemas, see [List spend limit incre ```bash cURL curl --globoff "https://api.anthropic.com/v1/organizations/spend_limit_increase_requests?status[]=pending&limit=50" \ - --header "x-api-key: $ANTHROPIC_ADMIN_KEY" + --header "x-api-key: $ANTHROPIC_ADMIN_KEY" \ + --header "anthropic-version: 2023-06-01" ``` Each pending request carries a live `spend_summary` showing the requester's current effective spend limit and period-to-date spend, enough to decide without a separate lookup. @@ -211,7 +221,8 @@ For complete parameter details and response schemas, see [Retrieve a spend limit ```bash cURL curl "https://api.anthropic.com/v1/organizations/spend_limit_increase_requests/slir_01AbCdEfGhIjKlMnOpQrSt" \ - --header "x-api-key: $ANTHROPIC_ADMIN_KEY" + --header "x-api-key: $ANTHROPIC_ADMIN_KEY" \ + --header "anthropic-version: 2023-06-01" ``` ### Approve an increase request @@ -224,6 +235,7 @@ For complete parameter details and response schemas, see [Approve a spend limit curl --request POST "https://api.anthropic.com/v1/organizations/spend_limit_increase_requests/slir_01AbCdEfGhIjKlMnOpQrSt/approve" \ --header "content-type: application/json" \ --header "x-api-key: $ANTHROPIC_ADMIN_KEY" \ + --header "anthropic-version: 2023-06-01" \ --data '{"amount": "75000", "suppress_notification": true}' ``` @@ -237,6 +249,7 @@ For complete parameter details and response schemas, see [Deny a spend limit inc curl --request POST "https://api.anthropic.com/v1/organizations/spend_limit_increase_requests/slir_01AbCdEfGhIjKlMnOpQrSt/deny" \ --header "content-type: application/json" \ --header "x-api-key: $ANTHROPIC_ADMIN_KEY" \ + --header "anthropic-version: 2023-06-01" \ --data '{"suppress_notification": true}' ``` @@ -254,7 +267,8 @@ Run a scheduled job that fetches pending requests, applies your organization's a ```bash cURL curl --globoff "https://api.anthropic.com/v1/organizations/spend_limit_increase_requests?status[]=pending&limit=100" \ - --header "x-api-key: $ANTHROPIC_ADMIN_KEY" + --header "x-api-key: $ANTHROPIC_ADMIN_KEY" \ + --header "anthropic-version: 2023-06-01" ``` Each request carries the requester's `actor.user_id` and a live `spend_summary` with their current effective `amount` and `period_to_date_spend`, enough to decide without a separate lookup. @@ -267,6 +281,7 @@ Run a scheduled job that fetches pending requests, applies your organization's a curl --request POST "https://api.anthropic.com/v1/organizations/spend_limit_increase_requests/{id}/approve" \ --header "content-type: application/json" \ --header "x-api-key: $ANTHROPIC_ADMIN_KEY" \ + --header "anthropic-version: 2023-06-01" \ --data '{"amount": "75000", "suppress_notification": true}' ``` @@ -280,7 +295,8 @@ Find members approaching their cap so you can raise it before they're blocked. ```bash cURL curl "https://api.anthropic.com/v1/organizations/analytics/user_cost_report?starting_at=2026-06-01T00:00:00Z&limit=1000" \ - --header "x-api-key: $ANALYTICS_API_KEY" + --header "x-api-key: $ANALYTICS_API_KEY" \ + --header "anthropic-version: 2023-06-01" ``` Each row carries `actor.user_id`, `actor.email`, and `amount` (the member's spend in cents). Page through `next_page` to cover the whole organization. @@ -289,7 +305,8 @@ Find members approaching their cap so you can raise it before they're blocked. ```bash cURL curl --globoff "https://api.anthropic.com/v1/organizations/spend_limits/effective?user_ids[]=user_01Ab...&user_ids[]=user_01Cd...&limit=100" \ - --header "x-api-key: $ANTHROPIC_ADMIN_KEY" + --header "x-api-key: $ANTHROPIC_ADMIN_KEY" \ + --header "anthropic-version: 2023-06-01" ``` Each row returns the cap as `amount` (`null` = unlimited, `"0"` = included usage only) alongside `period_to_date_spend`. @@ -306,7 +323,8 @@ Surface members whose spend has jumped week over week. ```bash cURL curl "https://api.anthropic.com/v1/organizations/analytics/user_cost_report?starting_at=2026-06-09T00:00:00Z&ending_at=2026-06-23T00:00:00Z&bucket_width=1d&limit=1000" \ - --header "x-api-key: $ANALYTICS_API_KEY" + --header "x-api-key: $ANALYTICS_API_KEY" \ + --header "anthropic-version: 2023-06-01" ``` With `bucket_width` set, each member spans one row per day with usage; page through `next_page` to collect every member's full series. @@ -323,7 +341,8 @@ Give an incident responder room to work while an incident is open: raise their s ```bash cURL curl --globoff "https://api.anthropic.com/v1/organizations/spend_limits/effective?user_ids[]=user_01AbCdEfGh&period[]=monthly" \ - --header "x-api-key: $ANTHROPIC_ADMIN_KEY" + --header "x-api-key: $ANTHROPIC_ADMIN_KEY" \ + --header "anthropic-version: 2023-06-01" ``` 2. Raise the cap: @@ -332,6 +351,7 @@ Give an incident responder room to work while an incident is open: raise their s curl --request POST "https://api.anthropic.com/v1/organizations/spend_limits" \ --header "content-type: application/json" \ --header "x-api-key: $ANTHROPIC_ADMIN_KEY" \ + --header "anthropic-version: 2023-06-01" \ --data '{"scope": {"type": "user", "user_id": "user_01AbCdEfGh"}, "amount": "500000", "period": "monthly"}' ``` @@ -341,6 +361,7 @@ Give an incident responder room to work while an incident is open: raise their s curl --request POST "https://api.anthropic.com/v1/organizations/rbac_groups/rbac_group_01UvWxYzAbCdEfGhIjKlMn/members" \ --header "content-type: application/json" \ --header "x-api-key: $ANTHROPIC_ADMIN_KEY" \ + --header "anthropic-version: 2023-06-01" \ --data '{"user_id": "user_01AbCdEfGh"}' ``` diff --git a/content/en/manage-claude/user-management.md b/content/en/manage-claude/user-management.md index 4f8490a016..c0259db349 100644 --- a/content/en/manage-claude/user-management.md +++ b/content/en/manage-claude/user-management.md @@ -27,7 +27,7 @@ Members and invites are the same endpoints for both organization types; this pag **Scoped Admin API key required** - These endpoints require an Admin API key with the `read:members` scope (member and invite `GET` endpoints, and all custom-role endpoints; there is no separate role scope), the `write:members` scope (member and invite `POST` and `DELETE` endpoints), the `read:rbac_groups` scope (group `GET` endpoints), or the `write:rbac_groups` scope (group `POST` and `DELETE` endpoints). A key carrying the `read:org_audit` scope (a read-only scope for security-audit integrations) can also call every `GET` endpoint on this page and the [Compliance API](https://platform.claude.com/docs/en/manage-claude/compliance-api) read endpoints. See [Create an Admin API key](https://platform.claude.com/docs/en/manage-claude/admin-api-keys#create-a-key-for-a-claude-enterprise-organization) for where your primary owner creates one and which scopes to select. Pass the key in the `x-api-key` header on every request. Member and invite requests also require the `anthropic-version: 2023-06-01` header, as shown in the examples; group and custom-role requests do not. + These endpoints require an Admin API key with the `read:members` scope (member and invite `GET` endpoints, and all custom-role endpoints; there is no separate role scope), the `write:members` scope (member and invite `POST` and `DELETE` endpoints), the `read:rbac_groups` scope (group `GET` endpoints), or the `write:rbac_groups` scope (group `POST` and `DELETE` endpoints). A key carrying the `read:org_audit` scope (a read-only scope for security-audit integrations) can also call every `GET` endpoint on this page and the [Compliance API](https://platform.claude.com/docs/en/manage-claude/compliance-api) read endpoints. See [Create an Admin API key](https://platform.claude.com/docs/en/manage-claude/admin-api-keys#create-a-key-for-a-claude-enterprise-organization) for where your primary owner creates one and which scopes to select. Pass the key in the `x-api-key` header on every request, together with the [`anthropic-version`](https://platform.claude.com/docs/en/api/versioning) header. ## Overview @@ -98,6 +98,10 @@ If your organization's plan draws members from a finite pool of purchased seats, Groups connect members to custom roles (role-based access control, the `rbac` in the endpoint paths and scope names). Groups are owned by your enterprise as a whole (the parent organization together with every organization under it) rather than by a single organization, so the group scopes (`read:rbac_groups` and `write:rbac_groups`) require a key created for all linked organizations. Each group carries a `source_type`: `direct` for groups created in claude.ai, `scim` for groups provisioned by your identity provider. A group's `roles` field lists the IDs of the custom roles attached to it; resolve them to names and permissions with the [custom role endpoints](https://platform.claude.com/docs/en/manage-claude/user-management#custom-roles), noting that the role catalog is per-organization while groups are enterprise-wide, so fetching a role that belongs to a different organization of your enterprise returns 404 for your key. The field is `null` (rather than `[]`) when role data was temporarily unavailable, so retry to distinguish a degraded read from a group with no roles. +## Versioning + +Send the `anthropic-version` header on every request; see [API versions](https://platform.claude.com/docs/en/api/versioning) for the available versions. + ## Rate limits Admin API endpoints share a per-organization limit of **100 requests per minute**; invite creation has its own limit of **1,200 requests per hour** instead. Requests over a limit return **429 Too Many Requests**. @@ -245,7 +249,7 @@ curl -X DELETE "https://api.anthropic.com/v1/organizations/invites/invite_01QrSt ## Groups -Groups your enterprise creates directly, in [claude.ai organization settings](https://claude.ai/admin-settings) or through this API (`source_type: "direct"`), support every endpoint in this section. Groups provisioned by your identity provider (`source_type: "scim"`) can be read but not modified: renaming or deleting a SCIM group, or changing its membership, returns 400, because your identity provider owns it. Unlike member and invite requests, group requests do not require the `anthropic-version` header. +Groups your enterprise creates directly, in [claude.ai organization settings](https://claude.ai/admin-settings) or through this API (`source_type: "direct"`), support every endpoint in this section. Groups provisioned by your identity provider (`source_type: "scim"`) can be read but not modified: renaming or deleting a SCIM group, or changing its membership, returns 400, because your identity provider owns it. ### List groups @@ -255,7 +259,8 @@ For complete parameter details and response schemas, see [List groups](https://p ```bash cURL curl "https://api.anthropic.com/v1/organizations/rbac_groups?limit=20" \ - -H "x-api-key: $ANTHROPIC_ADMIN_KEY" + -H "x-api-key: $ANTHROPIC_ADMIN_KEY" \ + -H "anthropic-version: 2023-06-01" ``` ```json @@ -284,7 +289,8 @@ For complete parameter details and response schemas, see [Get group](https://pla ```bash cURL curl "https://api.anthropic.com/v1/organizations/rbac_groups/rbac_group_01UvWxYzAbCdEfGhIjKlMn" \ - -H "x-api-key: $ANTHROPIC_ADMIN_KEY" + -H "x-api-key: $ANTHROPIC_ADMIN_KEY" \ + -H "anthropic-version: 2023-06-01" ``` ### Create a group @@ -297,6 +303,7 @@ For complete parameter details and response schemas, see [Create group](https:// curl -X POST "https://api.anthropic.com/v1/organizations/rbac_groups" \ -H "content-type: application/json" \ -H "x-api-key: $ANTHROPIC_ADMIN_KEY" \ + -H "anthropic-version: 2023-06-01" \ -d '{"name": "Engineering"}' ``` @@ -322,6 +329,7 @@ For complete parameter details and response schemas, see [Update group](https:// curl -X POST "https://api.anthropic.com/v1/organizations/rbac_groups/rbac_group_01UvWxYzAbCdEfGhIjKlMn" \ -H "content-type: application/json" \ -H "x-api-key: $ANTHROPIC_ADMIN_KEY" \ + -H "anthropic-version: 2023-06-01" \ -d '{"name": "Platform Engineering"}' ``` @@ -333,7 +341,8 @@ For complete parameter details and response schemas, see [Delete group](https:// ```bash cURL curl -X DELETE "https://api.anthropic.com/v1/organizations/rbac_groups/rbac_group_01UvWxYzAbCdEfGhIjKlMn" \ - -H "x-api-key: $ANTHROPIC_ADMIN_KEY" + -H "x-api-key: $ANTHROPIC_ADMIN_KEY" \ + -H "anthropic-version: 2023-06-01" ``` ```json @@ -351,7 +360,8 @@ For complete parameter details and response schemas, see [List group members](ht ```bash cURL curl "https://api.anthropic.com/v1/organizations/rbac_groups/rbac_group_01UvWxYzAbCdEfGhIjKlMn/members?limit=100" \ - -H "x-api-key: $ANTHROPIC_ADMIN_KEY" + -H "x-api-key: $ANTHROPIC_ADMIN_KEY" \ + -H "anthropic-version: 2023-06-01" ``` ```json @@ -380,6 +390,7 @@ For complete parameter details and response schemas, see [Add group member](http curl -X POST "https://api.anthropic.com/v1/organizations/rbac_groups/rbac_group_01UvWxYzAbCdEfGhIjKlMn/members" \ -H "content-type: application/json" \ -H "x-api-key: $ANTHROPIC_ADMIN_KEY" \ + -H "anthropic-version: 2023-06-01" \ -d '{"user_id": "user_01AbCdEfGhIjKlMnOpQrSt"}' ``` @@ -401,7 +412,8 @@ For complete parameter details and response schemas, see [Remove group member](h ```bash cURL curl -X DELETE "https://api.anthropic.com/v1/organizations/rbac_groups/rbac_group_01UvWxYzAbCdEfGhIjKlMn/members/user_01AbCdEfGhIjKlMnOpQrSt" \ - -H "x-api-key: $ANTHROPIC_ADMIN_KEY" + -H "x-api-key: $ANTHROPIC_ADMIN_KEY" \ + -H "anthropic-version: 2023-06-01" ``` ```json @@ -424,7 +436,8 @@ For complete parameter details and response schemas, see [List roles](https://pl ```bash cURL curl "https://api.anthropic.com/v1/organizations/rbac_roles?limit=20" \ - -H "x-api-key: $ANTHROPIC_ADMIN_KEY" + -H "x-api-key: $ANTHROPIC_ADMIN_KEY" \ + -H "anthropic-version: 2023-06-01" ``` ```json @@ -451,7 +464,8 @@ For complete parameter details and response schemas, see [Get role](https://plat ```bash cURL curl "https://api.anthropic.com/v1/organizations/rbac_roles/rbac_role_01CdEfGhIjKlMnOpQrStUv" \ - -H "x-api-key: $ANTHROPIC_ADMIN_KEY" + -H "x-api-key: $ANTHROPIC_ADMIN_KEY" \ + -H "anthropic-version: 2023-06-01" ``` ### List a role's permissions @@ -464,7 +478,8 @@ For complete parameter details and response schemas, see [List role permissions] ```bash cURL curl "https://api.anthropic.com/v1/organizations/rbac_roles/rbac_role_01CdEfGhIjKlMnOpQrStUv/permissions?limit=20" \ - -H "x-api-key: $ANTHROPIC_ADMIN_KEY" + -H "x-api-key: $ANTHROPIC_ADMIN_KEY" \ + -H "anthropic-version: 2023-06-01" ``` ```json diff --git a/content/en/managed-agents/quickstart.md b/content/en/managed-agents/quickstart.md index 42d34949c8..e6a8e708eb 100644 --- a/content/en/managed-agents/quickstart.md +++ b/content/en/managed-agents/quickstart.md @@ -37,7 +37,7 @@ This guide walks you through creating an agent, setting up an environment, start For Linux environments, download the release binary directly. ```bash - VERSION=1.27.0 + VERSION=1.29.0 OS=$(uname -s | tr '[:upper:]' '[:lower:]') case $(uname -m) in x86_64) ARCH=amd64 ;; @@ -88,7 +88,7 @@ ant --version ```groovy Gradle - implementation("com.anthropic:anthropic-java:2.58.0") + implementation("com.anthropic:anthropic-java:2.60.0") ``` diff --git a/content/en/managed-agents/self-hosted-sandboxes.md b/content/en/managed-agents/self-hosted-sandboxes.md index 7f55a66cb1..17e2cff4d1 100644 --- a/content/en/managed-agents/self-hosted-sandboxes.md +++ b/content/en/managed-agents/self-hosted-sandboxes.md @@ -214,7 +214,7 @@ Choose **always-on** for the simplest setup: a long-running process polls the qu For Linux environments, download the release binary directly. ```bash - VERSION=1.27.0 + VERSION=1.29.0 OS=$(uname -s | tr '[:upper:]' '[:lower:]') case $(uname -m) in x86_64) ARCH=amd64 ;; @@ -252,7 +252,7 @@ Choose **always-on** for the simplest setup: a long-running process polls the qu ```text FROM your-base-image - ARG ANT_VERSION=1.27.0 + ARG ANT_VERSION=1.29.0 ARG TARGETARCH RUN ARCH=$([ "$TARGETARCH" = "arm64" ] && echo arm64 || echo amd64) && \ curl -fsSL "https://github.com/anthropics/anthropic-cli/releases/download/v${ANT_VERSION}/ant_${ANT_VERSION}_linux_${ARCH}.tar.gz" \ diff --git a/content/en/models/fable-5-1/overview.md b/content/en/models/fable-5-1/overview.md index e85dc428e0..94c0849ff5 100644 --- a/content/en/models/fable-5-1/overview.md +++ b/content/en/models/fable-5-1/overview.md @@ -37,7 +37,7 @@ If you already call Claude Fable 5, three changes are breaking: [forced tool use * **Context:** 1M tokens is roughly 555k words or 2.5M Unicode characters on the current tokenizer (introduced with Claude Opus 4.7); models before it fit about 750k words in 1M tokens. 200k tokens is roughly 150k words. * **Max output:** Synchronous Messages API limit. On the Message Batches API, Claude Opus 5, Claude Sonnet 5, Claude Opus 4.8, Claude Opus 4.7, Claude Opus 4.6, and Claude Sonnet 4.6 support up to 300k output tokens with the output-300k-2026-03-24 beta header. -* **Price / MTok:** Input / output, base price per million tokens. Batch API requests are 50% off; prompt caching reads cost 10% of the base input price. See Pricing for the full list. +* **Price / MTok:** Input / output, base price per million tokens. Batch API requests are 50% off; prompt caching reads cost 10% of the base input price (2.5% on Claude Fable 5.1 and Claude Mythos 5.1). See Pricing for the full list. * **Latency:** Comparative latency, relative to the current lineup, as published in the models overview. Actual latency depends on prompt length, output length, and thinking effort. * **Thinking:** Adaptive thinking lets the model decide how much to think, steered by effort. Extended thinking is the manual budget\_tokens mode on earlier models. * **Default effort:** The effort parameter’s default on the Claude API. Models without a value don’t support the parameter. diff --git a/content/en/models/fable-5-1/whats-new-fable-5-1.md b/content/en/models/fable-5-1/whats-new-fable-5-1.md index 5be58a8ae7..8634687998 100644 --- a/content/en/models/fable-5-1/whats-new-fable-5-1.md +++ b/content/en/models/fable-5-1/whats-new-fable-5-1.md @@ -354,7 +354,7 @@ Like Claude Fable 5, Claude Fable 5.1 writes short progress updates between tool ### Content provenance -Text generated by Claude Fable 5.1 and Claude Mythos 5.1 carries Anthropic's statistical text watermark on every platform where the model is available. Supported image and video files Claude produces (through the [code execution tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool), for example) carry signed [C2PA](https://c2pa.org/) Content Credentials when you retrieve them through the [Files API](https://platform.claude.com/docs/en/build-with-claude/files) on the Claude API. +Text generated by Claude Fable 5.1 and Claude Mythos 5.1 carries Anthropic's statistical text watermark on every platform where the model is available. Supported image, video, and audio files Claude produces (through the [code execution tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool), for example) carry signed [C2PA](https://c2pa.org/) Content Credentials when you retrieve them through the [Files API](https://platform.claude.com/docs/en/build-with-claude/files) on the Claude API. The watermark doesn't change the meaning, quality, or readability of the output. It adds no tokens or hidden characters, carries no information about you or your organization, and needs no changes to your requests or responses. For background, see [How Claude marks AI-generated content](https://support.claude.com/en/articles/16266773-how-claude-marks-ai-generated-content) and [How Claude's text watermark works](https://www.anthropic.com/news/claude-text-watermark). diff --git a/content/en/models/fable-5/overview.md b/content/en/models/fable-5/overview.md index e829702c69..4f364f25a8 100644 --- a/content/en/models/fable-5/overview.md +++ b/content/en/models/fable-5/overview.md @@ -30,7 +30,7 @@ Context window: 1M tokens · Max output: 128K tokens · Input pricing: $10 / MTo * **Context:** 1M tokens is roughly 555k words or 2.5M Unicode characters on the current tokenizer (introduced with Claude Opus 4.7); models before it fit about 750k words in 1M tokens. 200k tokens is roughly 150k words. * **Max output:** Synchronous Messages API limit. On the Message Batches API, Claude Opus 5, Claude Sonnet 5, Claude Opus 4.8, Claude Opus 4.7, Claude Opus 4.6, and Claude Sonnet 4.6 support up to 300k output tokens with the output-300k-2026-03-24 beta header. -* **Price / MTok:** Input / output, base price per million tokens. Batch API requests are 50% off; prompt caching reads cost 10% of the base input price. See Pricing for the full list. +* **Price / MTok:** Input / output, base price per million tokens. Batch API requests are 50% off; prompt caching reads cost 10% of the base input price (2.5% on Claude Fable 5.1 and Claude Mythos 5.1). See Pricing for the full list. * **Thinking:** Adaptive thinking lets the model decide how much to think, steered by effort. Extended thinking is the manual budget\_tokens mode on earlier models. * **Default effort:** The effort parameter’s default on the Claude API. Models without a value don’t support the parameter. * **Knowledge cutoff:** Reliable knowledge cutoff: the date through which the model’s knowledge is most extensive and reliable. diff --git a/content/en/models/haiku-4-5/overview.md b/content/en/models/haiku-4-5/overview.md index 88145bef28..c9167b3fd1 100644 --- a/content/en/models/haiku-4-5/overview.md +++ b/content/en/models/haiku-4-5/overview.md @@ -25,7 +25,7 @@ Context window: 200K tokens · Max output: 64K tokens · Input pricing: $1 / MTo * **Context:** 1M tokens is roughly 555k words or 2.5M Unicode characters on the current tokenizer (introduced with Claude Opus 4.7); models before it fit about 750k words in 1M tokens. 200k tokens is roughly 150k words. * **Max output:** Synchronous Messages API limit. On the Message Batches API, Claude Opus 5, Claude Sonnet 5, Claude Opus 4.8, Claude Opus 4.7, Claude Opus 4.6, and Claude Sonnet 4.6 support up to 300k output tokens with the output-300k-2026-03-24 beta header. -* **Price / MTok:** Input / output, base price per million tokens. Batch API requests are 50% off; prompt caching reads cost 10% of the base input price. See Pricing for the full list. +* **Price / MTok:** Input / output, base price per million tokens. Batch API requests are 50% off; prompt caching reads cost 10% of the base input price (2.5% on Claude Fable 5.1 and Claude Mythos 5.1). See Pricing for the full list. * **Latency:** Comparative latency, relative to the current lineup, as published in the models overview. Actual latency depends on prompt length, output length, and thinking effort. * **Thinking:** Adaptive thinking lets the model decide how much to think, steered by effort. Extended thinking is the manual budget\_tokens mode on earlier models. * **Default effort:** The effort parameter’s default on the Claude API. Models without a value don’t support the parameter. diff --git a/content/en/models/mythos-5-1/overview.md b/content/en/models/mythos-5-1/overview.md index 77455243e1..d0e0a38b9b 100644 --- a/content/en/models/mythos-5-1/overview.md +++ b/content/en/models/mythos-5-1/overview.md @@ -28,7 +28,7 @@ Claude Mythos 5.1 is offered separately, by invitation only, as part of Project * **Context:** 1M tokens is roughly 555k words or 2.5M Unicode characters on the current tokenizer (introduced with Claude Opus 4.7); models before it fit about 750k words in 1M tokens. 200k tokens is roughly 150k words. * **Max output:** Synchronous Messages API limit. On the Message Batches API, Claude Opus 5, Claude Sonnet 5, Claude Opus 4.8, Claude Opus 4.7, Claude Opus 4.6, and Claude Sonnet 4.6 support up to 300k output tokens with the output-300k-2026-03-24 beta header. -* **Price / MTok:** Input / output, base price per million tokens. Batch API requests are 50% off; prompt caching reads cost 10% of the base input price. See Pricing for the full list. +* **Price / MTok:** Input / output, base price per million tokens. Batch API requests are 50% off; prompt caching reads cost 10% of the base input price (2.5% on Claude Fable 5.1 and Claude Mythos 5.1). See Pricing for the full list. * **Latency:** Comparative latency, relative to the current lineup, as published in the models overview. Actual latency depends on prompt length, output length, and thinking effort. * **Thinking:** Adaptive thinking lets the model decide how much to think, steered by effort. Extended thinking is the manual budget\_tokens mode on earlier models. * **Default effort:** The effort parameter’s default on the Claude API. Models without a value don’t support the parameter. diff --git a/content/en/models/mythos-5/overview.md b/content/en/models/mythos-5/overview.md index a92b3e5ce9..98055d85fb 100644 --- a/content/en/models/mythos-5/overview.md +++ b/content/en/models/mythos-5/overview.md @@ -28,7 +28,7 @@ Claude Mythos 5 is offered separately, by invitation only, as part of Project Gl * **Context:** 1M tokens is roughly 555k words or 2.5M Unicode characters on the current tokenizer (introduced with Claude Opus 4.7); models before it fit about 750k words in 1M tokens. 200k tokens is roughly 150k words. * **Max output:** Synchronous Messages API limit. On the Message Batches API, Claude Opus 5, Claude Sonnet 5, Claude Opus 4.8, Claude Opus 4.7, Claude Opus 4.6, and Claude Sonnet 4.6 support up to 300k output tokens with the output-300k-2026-03-24 beta header. -* **Price / MTok:** Input / output, base price per million tokens. Batch API requests are 50% off; prompt caching reads cost 10% of the base input price. See Pricing for the full list. +* **Price / MTok:** Input / output, base price per million tokens. Batch API requests are 50% off; prompt caching reads cost 10% of the base input price (2.5% on Claude Fable 5.1 and Claude Mythos 5.1). See Pricing for the full list. * **Thinking:** Adaptive thinking lets the model decide how much to think, steered by effort. Extended thinking is the manual budget\_tokens mode on earlier models. * **Default effort:** The effort parameter’s default on the Claude API. Models without a value don’t support the parameter. * **Knowledge cutoff:** Reliable knowledge cutoff: the date through which the model’s knowledge is most extensive and reliable. diff --git a/content/en/models/opus-4-5/overview.md b/content/en/models/opus-4-5/overview.md index 245f19b7d0..a2b23ae126 100644 --- a/content/en/models/opus-4-5/overview.md +++ b/content/en/models/opus-4-5/overview.md @@ -26,7 +26,7 @@ Context window: 200K tokens · Max output: 64K tokens · Input pricing: $5 / MTo * **Context:** 1M tokens is roughly 555k words or 2.5M Unicode characters on the current tokenizer (introduced with Claude Opus 4.7); models before it fit about 750k words in 1M tokens. 200k tokens is roughly 150k words. * **Max output:** Synchronous Messages API limit. On the Message Batches API, Claude Opus 5, Claude Sonnet 5, Claude Opus 4.8, Claude Opus 4.7, Claude Opus 4.6, and Claude Sonnet 4.6 support up to 300k output tokens with the output-300k-2026-03-24 beta header. -* **Price / MTok:** Input / output, base price per million tokens. Batch API requests are 50% off; prompt caching reads cost 10% of the base input price. See Pricing for the full list. +* **Price / MTok:** Input / output, base price per million tokens. Batch API requests are 50% off; prompt caching reads cost 10% of the base input price (2.5% on Claude Fable 5.1 and Claude Mythos 5.1). See Pricing for the full list. * **Thinking:** Adaptive thinking lets the model decide how much to think, steered by effort. Extended thinking is the manual budget\_tokens mode on earlier models. * **Default effort:** The effort parameter’s default on the Claude API. Models without a value don’t support the parameter. * **Knowledge cutoff:** Reliable knowledge cutoff: the date through which the model’s knowledge is most extensive and reliable. diff --git a/content/en/models/opus-4-6/overview.md b/content/en/models/opus-4-6/overview.md index efaf7f216f..c573bf810b 100644 --- a/content/en/models/opus-4-6/overview.md +++ b/content/en/models/opus-4-6/overview.md @@ -26,7 +26,7 @@ Context window: 1M tokens · Max output: 128K tokens · Input pricing: $5 / MTok * **Context:** 1M tokens is roughly 555k words or 2.5M Unicode characters on the current tokenizer (introduced with Claude Opus 4.7); models before it fit about 750k words in 1M tokens. 200k tokens is roughly 150k words. * **Max output:** Synchronous Messages API limit. On the Message Batches API, Claude Opus 5, Claude Sonnet 5, Claude Opus 4.8, Claude Opus 4.7, Claude Opus 4.6, and Claude Sonnet 4.6 support up to 300k output tokens with the output-300k-2026-03-24 beta header. -* **Price / MTok:** Input / output, base price per million tokens. Batch API requests are 50% off; prompt caching reads cost 10% of the base input price. See Pricing for the full list. +* **Price / MTok:** Input / output, base price per million tokens. Batch API requests are 50% off; prompt caching reads cost 10% of the base input price (2.5% on Claude Fable 5.1 and Claude Mythos 5.1). See Pricing for the full list. * **Thinking:** Adaptive thinking lets the model decide how much to think, steered by effort. Extended thinking is the manual budget\_tokens mode on earlier models. * **Default effort:** The effort parameter’s default on the Claude API. Models without a value don’t support the parameter. * **Knowledge cutoff:** Reliable knowledge cutoff: the date through which the model’s knowledge is most extensive and reliable. diff --git a/content/en/models/opus-4-7/overview.md b/content/en/models/opus-4-7/overview.md index dd3719337b..d960d80091 100644 --- a/content/en/models/opus-4-7/overview.md +++ b/content/en/models/opus-4-7/overview.md @@ -26,7 +26,7 @@ Context window: 1M tokens · Max output: 128K tokens · Input pricing: $5 / MTok * **Context:** 1M tokens is roughly 555k words or 2.5M Unicode characters on the current tokenizer (introduced with Claude Opus 4.7); models before it fit about 750k words in 1M tokens. 200k tokens is roughly 150k words. * **Max output:** Synchronous Messages API limit. On the Message Batches API, Claude Opus 5, Claude Sonnet 5, Claude Opus 4.8, Claude Opus 4.7, Claude Opus 4.6, and Claude Sonnet 4.6 support up to 300k output tokens with the output-300k-2026-03-24 beta header. -* **Price / MTok:** Input / output, base price per million tokens. Batch API requests are 50% off; prompt caching reads cost 10% of the base input price. See Pricing for the full list. +* **Price / MTok:** Input / output, base price per million tokens. Batch API requests are 50% off; prompt caching reads cost 10% of the base input price (2.5% on Claude Fable 5.1 and Claude Mythos 5.1). See Pricing for the full list. * **Thinking:** Adaptive thinking lets the model decide how much to think, steered by effort. Extended thinking is the manual budget\_tokens mode on earlier models. * **Default effort:** The effort parameter’s default on the Claude API. Models without a value don’t support the parameter. * **Knowledge cutoff:** Reliable knowledge cutoff: the date through which the model’s knowledge is most extensive and reliable. diff --git a/content/en/models/opus-4-8/overview.md b/content/en/models/opus-4-8/overview.md index 8ec1879819..680471bd4a 100644 --- a/content/en/models/opus-4-8/overview.md +++ b/content/en/models/opus-4-8/overview.md @@ -24,7 +24,7 @@ Context window: 1M tokens · Max output: 128K tokens · Input pricing: $5 / MTok * **Context:** 1M tokens is roughly 555k words or 2.5M Unicode characters on the current tokenizer (introduced with Claude Opus 4.7); models before it fit about 750k words in 1M tokens. 200k tokens is roughly 150k words. * **Max output:** Synchronous Messages API limit. On the Message Batches API, Claude Opus 5, Claude Sonnet 5, Claude Opus 4.8, Claude Opus 4.7, Claude Opus 4.6, and Claude Sonnet 4.6 support up to 300k output tokens with the output-300k-2026-03-24 beta header. -* **Price / MTok:** Input / output, base price per million tokens. Batch API requests are 50% off; prompt caching reads cost 10% of the base input price. See Pricing for the full list. +* **Price / MTok:** Input / output, base price per million tokens. Batch API requests are 50% off; prompt caching reads cost 10% of the base input price (2.5% on Claude Fable 5.1 and Claude Mythos 5.1). See Pricing for the full list. * **Thinking:** Adaptive thinking lets the model decide how much to think, steered by effort. Extended thinking is the manual budget\_tokens mode on earlier models. * **Default effort:** The effort parameter’s default on the Claude API. Models without a value don’t support the parameter. * **Knowledge cutoff:** Reliable knowledge cutoff: the date through which the model’s knowledge is most extensive and reliable. diff --git a/content/en/models/opus-5/overview.md b/content/en/models/opus-5/overview.md index 9c988a6014..1fd95ba551 100644 --- a/content/en/models/opus-5/overview.md +++ b/content/en/models/opus-5/overview.md @@ -31,7 +31,7 @@ Claude Opus 5 is a step-change improvement over Claude Opus 4.8, with the larges * **Context:** 1M tokens is roughly 555k words or 2.5M Unicode characters on the current tokenizer (introduced with Claude Opus 4.7); models before it fit about 750k words in 1M tokens. 200k tokens is roughly 150k words. * **Max output:** Synchronous Messages API limit. On the Message Batches API, Claude Opus 5, Claude Sonnet 5, Claude Opus 4.8, Claude Opus 4.7, Claude Opus 4.6, and Claude Sonnet 4.6 support up to 300k output tokens with the output-300k-2026-03-24 beta header. -* **Price / MTok:** Input / output, base price per million tokens. Batch API requests are 50% off; prompt caching reads cost 10% of the base input price. See Pricing for the full list. +* **Price / MTok:** Input / output, base price per million tokens. Batch API requests are 50% off; prompt caching reads cost 10% of the base input price (2.5% on Claude Fable 5.1 and Claude Mythos 5.1). See Pricing for the full list. * **Latency:** Comparative latency, relative to the current lineup, as published in the models overview. Actual latency depends on prompt length, output length, and thinking effort. * **Thinking:** Adaptive thinking lets the model decide how much to think, steered by effort. Extended thinking is the manual budget\_tokens mode on earlier models. * **Default effort:** The effort parameter’s default on the Claude API. Models without a value don’t support the parameter. diff --git a/content/en/models/overview.md b/content/en/models/overview.md index d695357adc..eb44b1b1a5 100644 --- a/content/en/models/overview.md +++ b/content/en/models/overview.md @@ -45,7 +45,7 @@ If you're unsure which model to use, start with [Claude Opus 5](https://platform | [Claude Platform on AWS ID](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws) | `claude-fable-5-1` | — | `claude-sonnet-5` | `claude-haiku-4-5` | * **Comparative latency:** Relative to the current lineup. Actual latency depends on prompt length, output length, and thinking effort. -* **Pricing:** Base price per million tokens. Batch API requests are 50% off; prompt cache reads cost 10% of the base input price. See Pricing for cache writes, long-context, and per-platform pricing. +* **Pricing:** Base price per million tokens. Batch API requests are 50% off; prompt cache reads cost 10% of the base input price (2.5% on Claude Fable 5.1 and Claude Mythos 5.1). See Pricing for cache writes, long-context, and per-platform pricing. * **Claude API ID:** Every Claude model ID is a pinned snapshot, including the dateless IDs used from the 4.6 generation on. * **Thinking:** Adaptive thinking lets the model decide how much to think, steered by effort. Extended thinking is the manual thinking.type “enabled” + budget\_tokens mode on earlier models; it is deprecated on Claude Opus 4.6 and Claude Sonnet 4.6 and not accepted on later models. * **Default effort:** The effort parameter’s default on the Claude API. Set effort explicitly to use a different level. diff --git a/content/en/models/sonnet-4-5/overview.md b/content/en/models/sonnet-4-5/overview.md index efcdbbbcec..fb64639585 100644 --- a/content/en/models/sonnet-4-5/overview.md +++ b/content/en/models/sonnet-4-5/overview.md @@ -26,7 +26,7 @@ Context window: 200K tokens · Max output: 64K tokens · Input pricing: $3 / MTo * **Context:** 1M tokens is roughly 555k words or 2.5M Unicode characters on the current tokenizer (introduced with Claude Opus 4.7); models before it fit about 750k words in 1M tokens. 200k tokens is roughly 150k words. * **Max output:** Synchronous Messages API limit. On the Message Batches API, Claude Opus 5, Claude Sonnet 5, Claude Opus 4.8, Claude Opus 4.7, Claude Opus 4.6, and Claude Sonnet 4.6 support up to 300k output tokens with the output-300k-2026-03-24 beta header. -* **Price / MTok:** Input / output, base price per million tokens. Batch API requests are 50% off; prompt caching reads cost 10% of the base input price. See Pricing for the full list. +* **Price / MTok:** Input / output, base price per million tokens. Batch API requests are 50% off; prompt caching reads cost 10% of the base input price (2.5% on Claude Fable 5.1 and Claude Mythos 5.1). See Pricing for the full list. * **Thinking:** Adaptive thinking lets the model decide how much to think, steered by effort. Extended thinking is the manual budget\_tokens mode on earlier models. * **Default effort:** The effort parameter’s default on the Claude API. Models without a value don’t support the parameter. * **Knowledge cutoff:** Reliable knowledge cutoff: the date through which the model’s knowledge is most extensive and reliable. diff --git a/content/en/models/sonnet-4-6/overview.md b/content/en/models/sonnet-4-6/overview.md index 312867004b..5f07a01b88 100644 --- a/content/en/models/sonnet-4-6/overview.md +++ b/content/en/models/sonnet-4-6/overview.md @@ -26,7 +26,7 @@ Context window: 1M tokens · Max output: 128K tokens · Input pricing: $3 / MTok * **Context:** 1M tokens is roughly 555k words or 2.5M Unicode characters on the current tokenizer (introduced with Claude Opus 4.7); models before it fit about 750k words in 1M tokens. 200k tokens is roughly 150k words. * **Max output:** Synchronous Messages API limit. On the Message Batches API, Claude Opus 5, Claude Sonnet 5, Claude Opus 4.8, Claude Opus 4.7, Claude Opus 4.6, and Claude Sonnet 4.6 support up to 300k output tokens with the output-300k-2026-03-24 beta header. -* **Price / MTok:** Input / output, base price per million tokens. Batch API requests are 50% off; prompt caching reads cost 10% of the base input price. See Pricing for the full list. +* **Price / MTok:** Input / output, base price per million tokens. Batch API requests are 50% off; prompt caching reads cost 10% of the base input price (2.5% on Claude Fable 5.1 and Claude Mythos 5.1). See Pricing for the full list. * **Thinking:** Adaptive thinking lets the model decide how much to think, steered by effort. Extended thinking is the manual budget\_tokens mode on earlier models. * **Default effort:** The effort parameter’s default on the Claude API. Models without a value don’t support the parameter. * **Knowledge cutoff:** Reliable knowledge cutoff: the date through which the model’s knowledge is most extensive and reliable. diff --git a/content/en/models/sonnet-5/overview.md b/content/en/models/sonnet-5/overview.md index 873e041950..917504be77 100644 --- a/content/en/models/sonnet-5/overview.md +++ b/content/en/models/sonnet-5/overview.md @@ -31,7 +31,7 @@ Claude Sonnet 5 is the next generation of Anthropic's Sonnet model family. It is * **Context:** 1M tokens is roughly 555k words or 2.5M Unicode characters on the current tokenizer (introduced with Claude Opus 4.7); models before it fit about 750k words in 1M tokens. 200k tokens is roughly 150k words. * **Max output:** Synchronous Messages API limit. On the Message Batches API, Claude Opus 5, Claude Sonnet 5, Claude Opus 4.8, Claude Opus 4.7, Claude Opus 4.6, and Claude Sonnet 4.6 support up to 300k output tokens with the output-300k-2026-03-24 beta header. -* **Price / MTok:** Input / output, base price per million tokens. Batch API requests are 50% off; prompt caching reads cost 10% of the base input price. See Pricing for the full list. +* **Price / MTok:** Input / output, base price per million tokens. Batch API requests are 50% off; prompt caching reads cost 10% of the base input price (2.5% on Claude Fable 5.1 and Claude Mythos 5.1). See Pricing for the full list. * **Latency:** Comparative latency, relative to the current lineup, as published in the models overview. Actual latency depends on prompt length, output length, and thinking effort. * **Thinking:** Adaptive thinking lets the model decide how much to think, steered by effort. Extended thinking is the manual budget\_tokens mode on earlier models. * **Default effort:** The effort parameter’s default on the Claude API. Models without a value don’t support the parameter. diff --git a/content/en/release-notes/overview.md b/content/en/release-notes/overview.md index 31904655e7..8567ff29ac 100644 --- a/content/en/release-notes/overview.md +++ b/content/en/release-notes/overview.md @@ -21,8 +21,9 @@ The Claude Platform release notes list changes to the Claude API, the client SDK * Per-message effort changes are in beta on Claude Fable 5.1, Claude Mythos 5.1, and Claude Opus 5 on the Claude API. Add a `role: "system"` message with `output_config.effort` inside `messages` to change effort for later turns while preserving the prompt cache. Include the `mid-conversation-output-config-2026-07-01` beta header in your requests. See [Per-message effort](https://platform.claude.com/docs/en/build-with-claude/effort#change-effort-mid-conversation-beta). * [Turn-scoped system messages](https://platform.claude.com/docs/en/build-with-claude/mid-conversation-system-messages#turn-scoped-system-messages) are in beta (`mid-conversation-system-clear-at-2026-08-21` header). Set `clear_at: "next_user_message"` on a mid-conversation `role: "system"` message and it renders for the current turn only, then stays in the history at no token cost. Per-turn reminders don't accumulate and don't invalidate the prompt cache or later thinking blocks. * `thinking.display` accepts a third value, `"updates"`, in beta (`thinking-display-updates-2026-08-18` header). Reasoning comes back with an empty `thinking` field, as under `"omitted"`, and the short progress updates that Claude Fable 5.1, Claude Mythos 5.1, and Claude Fable 5 write between tool calls come back as text, at most one `thinking` block before a tool call. See [Progress updates between tool calls](https://platform.claude.com/docs/en/build-with-claude/thinking#progress-updates). -* Text generated by Claude Fable 5.1 and Claude Mythos 5.1 carries Anthropic's text watermark, and supported image and video files that Claude produces through the [code execution tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool) carry C2PA Content Credentials when you retrieve them through the [Files API](https://platform.claude.com/docs/en/build-with-claude/files) on the Claude API. Marking requires no changes to your requests or response handling. +* Text generated by Claude Fable 5.1 and Claude Mythos 5.1 carries Anthropic's text watermark, and supported image, video, and audio files that Claude produces through the [code execution tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool) carry C2PA Content Credentials when you retrieve them through the [Files API](https://platform.claude.com/docs/en/build-with-claude/files) on the Claude API. Marking requires no changes to your requests or response handling. * Like Claude Fable 5, both models require 30-day data retention and aren't available under zero data retention unless expressly authorized by Anthropic. See [Model-specific data retention requirements](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#model-specific-data-retention-requirements). +* The guides for the Claude Enterprise endpoints of the [Admin API](https://platform.claude.com/docs/en/api/admin) ([user management](https://platform.claude.com/docs/en/manage-claude/user-management) and [spend limits](https://platform.claude.com/docs/en/manage-claude/spend-limits-api)), the [Claude Enterprise Analytics API](https://platform.claude.com/docs/en/manage-claude/analytics-api), and the [Compliance API](https://platform.claude.com/docs/en/manage-claude/compliance-api) now show the `anthropic-version` header; send it on every request to these endpoints, as in the rest of the Claude API. See [API versions](https://platform.claude.com/docs/en/api/versioning). ### August 27, 2026 diff --git a/content/mcp/extensions/apps/overview.md b/content/mcp/extensions/apps/overview.md index a3134dbcd6..99749125df 100644 --- a/content/mcp/extensions/apps/overview.md +++ b/content/mcp/extensions/apps/overview.md @@ -14,6 +14,10 @@ Text responses can only go so far. Sometimes users need to interact with data, n just read about it. MCP Apps let servers return interactive HTML interfaces (data visualizations, forms, dashboards) that render directly in the chat. + + An Excalidraw MCP App drawing a sequence diagram inside a Claude conversation + + ## Why not just build a web app? You could build a standalone web app and send users a link. However, MCP Apps diff --git a/content/support/10167454-use-the-github-integration.md b/content/support/10167454-use-the-github-integration.md index 10389baf9f..e0ae186c81 100644 --- a/content/support/10167454-use-the-github-integration.md +++ b/content/support/10167454-use-the-github-integration.md @@ -74,7 +74,7 @@ When Claude detects this state, the repository picker shows a banner prompting y **Important:** Disconnecting and reconnecting GitHub in your Claude settings won't fix this. A fresh connection doesn't automatically authorize organizations that require SSO, so you'll need to complete the authorization steps above. -If your organization uses GitHub Enterprise Cloud with Enterprise Managed Users (EMU), the Claude app must also be approved at the enterprise level. Learn more in **[Set up Code Review for Claude Code](https://support.claude.com/en/articles/14233555-set-up-code-review-for-claude-code#h_49cea7a027)**. +If your organization uses GitHub Enterprise Cloud with Enterprise Managed Users (EMU), connect GitHub while you're signed in with your managed account and have an active SSO session. An organization owner can check the Claude app under Settings > Third-party Access > GitHub Apps in your GitHub organization, and confirm that it has access to the repositories you need and has no pending permission requests. --- diff --git a/content/support/10310342-how-do-i-log-out-of-all-active-sessions.md b/content/support/10310342-how-do-i-log-out-of-all-active-sessions.md index 624b1d5aae..6885d91825 100644 --- a/content/support/10310342-how-do-i-log-out-of-all-active-sessions.md +++ b/content/support/10310342-how-do-i-log-out-of-all-active-sessions.md @@ -38,7 +38,7 @@ To regain access to your account on any device, you'll need to authenticate agai If you used your Claude account to authenticate into Claude Code, you can manage your authorization tokens by navigating to **[Settings > Claude Code](https://claude.ai/settings/claude-code)**. To remove a token and log out of Claude Code, click the trash can icon. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1608263923/b4fa7d6f6f08f2adffb4ea63bc58/image+%287%29.png?expires=1788362100&signature=86386ebae01b28303251d365d204a6bfad279460355dba0c423308f0bde98f15&req=dSYnHst4nohdWvMW1HO4zVuHihT%2B0GW6AQofdwM8qVcNEQ7tWFgx1lqzEzWD%0Ae%2Fw%2FOEx78zAk9o3VJoQ%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1608263923/b4fa7d6f6f08f2adffb4ea63bc58/image+%287%29.png?expires=1788414300&signature=8f818e13406c886f0dac1775e379e5d00b596bc96c97b1fc8a2e427fac03193f&req=dSYnHst4nohdWvMW1HO4zVuHihT512O4AQofdwM8qVcDCOo4IxiuiaiAEn7k%0ADXE1C1Ea95Y2QEIKP1s%3D%0A) ## Unable to access your account? diff --git a/content/support/10366376-how-can-i-delete-my-claude-console-account.md b/content/support/10366376-how-can-i-delete-my-claude-console-account.md index b73f8f5316..1f67fa21db 100644 --- a/content/support/10366376-how-can-i-delete-my-claude-console-account.md +++ b/content/support/10366376-how-can-i-delete-my-claude-console-account.md @@ -36,7 +36,7 @@ If you followed the steps above to delete your Console organization but want to If you have an outstanding balance, you will see a message during the deletion flow that prompts you to pay the balance first by routing you to [Settings > Billing](https://platform.claude.com/settings/billing). -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1973957766/5c2dd87c0818a0400099a833c9b3/4cc3130a-f696-4967-9fe3-e5623c6f02bd?expires=1788362100&signature=d3107afc61e0ff50659db8831f23ac25abe23c18c9465aa9b75eac25b749254e&req=dSkgFcB7moZZX%2FMW1HO4zbYXUB9hWuYaFZRyvJPpBZ%2FZSMnI8oLBTfz%2B%2BVcJ%0AR8CazlaPr5oadSmRDlQ%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1973957766/5c2dd87c0818a0400099a833c9b3/4cc3130a-f696-4967-9fe3-e5623c6f02bd?expires=1788414300&signature=933ad2046d4697f06d15215620436bc53cced6dbfe75a34228c777981eca83f4&req=dSkgFcB7moZZX%2FMW1HO4zbYXUB9mXeAYFZRyvJPpBZ%2BQwMZR4AeH9VvM3OuE%0AZ9FTUNNKHQj3Z3p09ic%3D%0A) You must pay this outstanding balance before you’re able to move forward with the deletion process. @@ -44,6 +44,6 @@ You must pay this outstanding balance before you’re able to move forward with There are some scenarios where you will need to contact our team to delete your account. If this is the case, it will be noted when you try to delete your organization: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1973957765/19dda72a40db95d78c00c27a1a1c/6ce89be6-93ce-409c-bbea-d34be09db348?expires=1788362100&signature=d674d0f6da6fefdf5ede85333754f2268f2e5ed8a795f94f258a9d07ee7b822a&req=dSkgFcB7moZZXPMW1HO4zRW12%2B3Ofqb4ZxDZGlqR6GiZrh5DHCx2eRbIUvSs%0Aw0yprg8vs3GZt6vLTpg%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1973957765/19dda72a40db95d78c00c27a1a1c/6ce89be6-93ce-409c-bbea-d34be09db348?expires=1788414300&signature=64968aab3fc2ce44009284c867981edfad3d5e80767f3a138efa0ab706f977e5&req=dSkgFcB7moZZXPMW1HO4zRW12%2B3JeaD6ZxDZGlqR6GiS1LvQ%2BPGBPq8vkZii%0AdP8reNnFZubsU4Yv4kA%3D%0A) If you are seeing this message, this indicates that your Console organization cannot be deleted via the self-service pathway. \ No newline at end of file diff --git a/content/support/10504844-manage-user-feedback-settings-on-team-and-enterprise-plans.md b/content/support/10504844-manage-user-feedback-settings-on-team-and-enterprise-plans.md index e12984d2f5..632fc99a5f 100644 --- a/content/support/10504844-manage-user-feedback-settings-on-team-and-enterprise-plans.md +++ b/content/support/10504844-manage-user-feedback-settings-on-team-and-enterprise-plans.md @@ -6,6 +6,6 @@ As a Primary Owner or Owner of a Team or Enterprise plan, you can manage the abi 2. Use the toggle to change the **Rate chats** setting for your organization: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2058292603/75752add0bed6a9f3ab217f01708/CleanShot%2B2026-02-12%2Bat%2B08_55_14-402x.png?expires=1788362100&signature=44c878699063c827b2ff8ee01569bb1e1fbb6f212ea11e3e633915de7dd9b7a8&req=diAiHst3n4dfWvMW1HO4zYGm8i8fFqrN085gFtEpvcQtve8e6H2fvWou8mMz%0AQxp5r6u1j27hMAto8jM%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2058292603/75752add0bed6a9f3ab217f01708/CleanShot%2B2026-02-12%2Bat%2B08_55_14-402x.png?expires=1788414300&signature=35c9e45107bcbafa06e883d6e5824bc6c24a19a178f95e7de54ca3092386afb9&req=diAiHst3n4dfWvMW1HO4zYGm8i8YEazP085gFtEpvcQquZeg2I7kuiU1yxem%0AjWhJza0ZSN7mMeVt7CI%3D%0A) More information on how Anthropic collects, uses, and stores feedback data can be found in our Privacy Center: **[How long do you store my organization’s data?](https://privacy.claude.com/en/articles/7996866-how-long-do-you-store-my-organization-s-data)** \ No newline at end of file diff --git a/content/support/10504853-manage-user-feedback-settings-on-claude-console.md b/content/support/10504853-manage-user-feedback-settings-on-claude-console.md index 68cdea726c..1910c118f2 100644 --- a/content/support/10504853-manage-user-feedback-settings-on-claude-console.md +++ b/content/support/10504853-manage-user-feedback-settings-on-claude-console.md @@ -8,6 +8,6 @@ To manage feedback for your Console organization: 2. Toggle the feedback switch on or off. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1729186182/ebf4032a12a8c56959ca927726ce/Screenshot+2025-09-16+at+12_32_31%E2%80%AFPM.png?expires=1788362100&signature=578f6a4e477d0412c4139ff88dbcdfed68cd01784770ce63a70b4e5ca091c223&req=dSclH8h2m4BXW%2FMW1HO4zVpN5H8eX2pEJ%2FadMup7FQfStmGm9aFDn9%2Bt9Tls%0A%2BAacwkJ%2B4G5c5wbukRU%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1729186182/ebf4032a12a8c56959ca927726ce/Screenshot+2025-09-16+at+12_32_31%E2%80%AFPM.png?expires=1788414300&signature=a1c69d09da448091447ae59b820a21ea01fa65ee1fb3376d5cf0df728faccda4&req=dSclH8h2m4BXW%2FMW1HO4zVpN5H8ZWGxGJ%2FadMup7FQfzBAAwGNBw70b2ryZ7%0Abttaj4oGEN0qEXVq95M%3D%0A) More information on how Anthropic collects, uses, and stores feedback data can be found in our Privacy Center: [How long do you store my organization’s data?](https://privacy.claude.com/en/articles/7996866-how-long-do-you-store-my-organization-s-data) \ No newline at end of file diff --git a/content/support/10593882-share-and-unshare-chats.md b/content/support/10593882-share-and-unshare-chats.md index 4624133e88..4785cc54a1 100644 --- a/content/support/10593882-share-and-unshare-chats.md +++ b/content/support/10593882-share-and-unshare-chats.md @@ -38,12 +38,12 @@ To unshare a chat: Users on free, Pro, or Max plans can review a log of shared chats by navigating to **[Settings > Privacy](https://claude.ai/settings/data-privacy-controls)**. Find the **Privacy settings** section and click “Manage” next to **Shared chats:** -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1921669913/7cc7be48cfc7a18f9f469d6cd83c/CleanShot+2026-01-08+at+10_20_43%402x.png?expires=1788362100&signature=8622425ee177053bb4ab06d3f243c2a961f6e0fb4c7d949d24fcd89ae7c35370&req=dSklF894lIheWvMW1HO4zWn5HzseZEdqc9cNIYuX0GE8P6ddjw%2BGoAEvlgef%0AYpADV72lRk2bgBVLbts%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1921669913/7cc7be48cfc7a18f9f469d6cd83c/CleanShot+2026-01-08+at+10_20_43%402x.png?expires=1788414300&signature=e8b94cf0345527908662e404b9d3e69a058792f83200ea525f030c4775ea992c&req=dSklF894lIheWvMW1HO4zWn5HzsZY0Foc9cNIYuX0GGari%2BnGTV%2FXzrofojw%0ASaOsJ%2BuiCd9kxtYAeJ4%3D%0A) This will open a **Shared chats** modal listing the title, date shared, and link to each chat, allowing you to easily review and access all your previously-shared content. From here, you also have the option to click “Unshare” next to each listed chat to revoke access to the last snapshot you shared: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1624243810/e6fe1d262597446c7fe21dff9f10/AD_4nXdW-GhByF8uKV7fCq9lTbkVB91FglSL6TSyXAOUk_MLcTV9YsEMBMkm9rgm1oXqv0k3sJh1JhlzZP6tHVkKbDJJ71pDRRtM3aVNG64MDuKDIzgmknh-XDZdNa7biTsTdwGoPr5GRg?expires=1788362100&signature=0261cb679c836bd9db12ed6103622c991e615dc63897e046fdf494c8d239793a&req=dSYlEst6noleWfMW1HO4ze44eC9ikhA%2FguvTv9woD7b8tPM0qqvjyODlMDqd%0AP%2B%2BsX7ikeKuNNOykYmE%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1624243810/e6fe1d262597446c7fe21dff9f10/AD_4nXdW-GhByF8uKV7fCq9lTbkVB91FglSL6TSyXAOUk_MLcTV9YsEMBMkm9rgm1oXqv0k3sJh1JhlzZP6tHVkKbDJJ71pDRRtM3aVNG64MDuKDIzgmknh-XDZdNa7biTsTdwGoPr5GRg?expires=1788414300&signature=dac88ecadf6af9a065e22514655b97fe82458c968608ad822caeb76e203729fd&req=dSYlEst6noleWfMW1HO4ze44eC9llRY9guvTv9woD7YetBH0j2jzgoLPJh1C%0AWSbEwnhCM7T5f%2FJgLYY%3D%0A) If you don’t have any shared chat snapshots, the **Shared chats** modal will show “No shared content found”: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1624243808/b025db8e598f0c88fb16d83d48d5/AD_4nXeUwCKnmFzzrjMHhfr5By4zk5pJlkEn3wbJ8-aNfu13Yl99IjBywpqPx9G07QRzpH1EwRY7uG7Q9m9fib98Gql1cIV7XwUCTzEgBNu79Ey8tCOS5CEVmwveIcEOxJ4fonBhe3g9MA?expires=1788362100&signature=35b6314bb86ca3a70e2b154fa75ee7481f9ec63bc20f5ed7a8374cd9596657cc&req=dSYlEst6nolfUfMW1HO4zdaFnc13h4uwDeZsm0Gz1HsIYy6N98rSQfgKsOCk%0Ad1D1%2BDMLFVLVzUHwPg4%3D%0A) \ No newline at end of file +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1624243808/b025db8e598f0c88fb16d83d48d5/AD_4nXeUwCKnmFzzrjMHhfr5By4zk5pJlkEn3wbJ8-aNfu13Yl99IjBywpqPx9G07QRzpH1EwRY7uG7Q9m9fib98Gql1cIV7XwUCTzEgBNu79Ey8tCOS5CEVmwveIcEOxJ4fonBhe3g9MA?expires=1788414300&signature=f1d7fe1dcdb2d3fc7728185c472f46bee16c3c143ccc8572e6003e24216acd41&req=dSYlEst6nolfUfMW1HO4zdaFnc1wgI2yDeZsm0Gz1Ht0JEiTgxARgiRpcBxS%0AB%2Bu%2FN0uo1YW0ceyt1bg%3D%0A) \ No newline at end of file diff --git a/content/support/10949351-getting-started-with-local-mcp-servers-on-claude-desktop.md b/content/support/10949351-getting-started-with-local-mcp-servers-on-claude-desktop.md index 3cee2d5135..dabb8bec0b 100644 --- a/content/support/10949351-getting-started-with-local-mcp-servers-on-claude-desktop.md +++ b/content/support/10949351-getting-started-with-local-mcp-servers-on-claude-desktop.md @@ -48,7 +48,7 @@ for specific instructions. Custom desktop extensions uploads allow Team and Enterprise plans to leverage organization-specific workflows that aren’t available in the public directory. After creating a custom desktop extension, Owners and Primary Owners can navigate to Settings > Extensions within Claude Desktop and click “Advanced settings” to access the **Extension Developer** section: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1681607607/ba6e379d2769d190f0970a0adaed/AD_4nXd4aZkqjJFpiXMPF28Pih7HmSJ9pPsnoWAfVgiLdFRFiTkO92YtXteIjvDHaPl7T0tjfpRTBOlyrMbQ_aciCNDgfIuEvV3szmKvt72x5O51DMSClXOYWk1JIRIzylwkj3joXqZcLw?expires=1788362100&signature=a999764e13d1651c3902f6672c4523460e07c8ba40e0ea8b304f339b7a43247f&req=dSYvF89%2BmodfXvMW1HO4zWbPxEh8MT8zHn9K2IaIG2LKFC7cYK5qDthX39Xz%0AhmGFHELg9XgAdyMl1g4%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1681607607/ba6e379d2769d190f0970a0adaed/AD_4nXd4aZkqjJFpiXMPF28Pih7HmSJ9pPsnoWAfVgiLdFRFiTkO92YtXteIjvDHaPl7T0tjfpRTBOlyrMbQ_aciCNDgfIuEvV3szmKvt72x5O51DMSClXOYWk1JIRIzylwkj3joXqZcLw?expires=1788414300&signature=7b4ab320e3191198e9fbd810e2632f70b07dbbd17fb85423acfbc3681fcaedb5&req=dSYvF89%2BmodfXvMW1HO4zWbPxEh7NjkxHn9K2IaIG2LfwJsdktBkm3XyFtP7%0ABYom2IjlPf7ZQg0tB7U%3D%0A) Click “Install Extension…” and select the .mcpb file. Follow the prompts to install and configure your custom desktop extension. For more in-depth information, please refer to our [desktop extension developer documentation](https://github.com/anthropics/mcpb). diff --git a/content/support/11101966-use-voice-mode.md b/content/support/11101966-use-voice-mode.md index c22eb69809..17ab2f8444 100644 --- a/content/support/11101966-use-voice-mode.md +++ b/content/support/11101966-use-voice-mode.md @@ -24,7 +24,7 @@ Voice mode transforms how you interact with Claude by: 2. Tap the sound wave symbol in the lower right corner of the chat window to activate voice mode: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2042358620/1bf2311353615c1c494da1312a17/124b93a8-0a9b-4c84-9d1f-ede6ca3498dd?expires=1788362100&signature=ab71700d398b0184590358fe39cb3b1c1ede3499fdc20163b529762f6debd325&req=diAjFMp7lYddWfMW1HO4zZyGrsZxvVURF6uXnTLMvvDeVcekcyV9a%2B%2BBGziC%0AfbYL%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2042358620/1bf2311353615c1c494da1312a17/124b93a8-0a9b-4c84-9d1f-ede6ca3498dd?expires=1788414300&signature=9b08210bdf4f2bc3f5dae2b63a8805c6821a50cacf1645b675af6e2812ed985e&req=diAjFMp7lYddWfMW1HO4zZyGrsZ2ulMTF6uXnTLMvvCpDL6VTta58J7RPe3s%0ABPdx%0A) 3. Start talking and see your prompt automatically populate in the chat input. @@ -32,7 +32,7 @@ Voice mode transforms how you interact with Claude by: 5. Claude will remain in voice mode until you click the “Stop” button in the lower right corner of the chat window: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2042352060/162f9e61f7fbeb689201dfc1cac1/6a7fafb2-31df-43be-a43f-0059d735e3c4?expires=1788362100&signature=0a7d684a9042091d63c2090fc7af21f641c2e83dd06a08499c78b0fb712d710a&req=diAjFMp7n4FZWfMW1HO4zU6VRfXJTr5oxNdRzYWrfF79bQWgfLYX1ToXKGPX%0AxfuBzg%2FNiXDHq2yV2Oo%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2042352060/162f9e61f7fbeb689201dfc1cac1/6a7fafb2-31df-43be-a43f-0059d735e3c4?expires=1788414300&signature=60a580441be0972ce6b044dd0b21b8ce8ae4c33c01b44a59a8199b68b0f96352&req=diAjFMp7n4FZWfMW1HO4zU6VRfXOSbhqxNdRzYWrfF6%2Bc100b1rsdohj3noU%0A6gmEg22lhqbpxzQmzWw%3D%0A) ### On mobile (iOS and Android) @@ -40,7 +40,7 @@ Voice mode transforms how you interact with Claude by: 2. Tap the voice mode icon (sound wave symbol next to the microphone icon) in the text input field: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2042359690/68879db64559ecf87991f73ce058/671ff972-9e08-4686-bc04-955dab4b2de3?expires=1788362100&signature=ea310c160dd1316d00eacd88b0e9234b39d203a7665a596a1393d5d4f1b38b51&req=diAjFMp7lIdWWfMW1HO4zQTUIfx5ltpPD%2FRXAPlQ7LbaLBNUv617IilgploT%0Apv6S%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2042359690/68879db64559ecf87991f73ce058/671ff972-9e08-4686-bc04-955dab4b2de3?expires=1788414300&signature=e13811725c2b4ad9593449b7b3c6e062a64ed69c83a4de5cc81f882f5652c3e1&req=diAjFMp7lIdWWfMW1HO4zQTUIfx%2BkdxND%2FRXAPlQ7LZRgZUKUo8ZLMVBEepc%0A6lw8%0A) 3. Choose a voice to personalize your experience. @@ -78,7 +78,7 @@ To change the voice later: - **On mobile:** Click the settings button in the bottom left corner while chatting with Claude in voice mode, then tap your preferred voice and pace: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2042352063/25eca25bcfd573ecab30dd53158c/074454a6-fa5a-4c49-8b19-02d434b4ca50?expires=1788362100&signature=4df3805a5a2b87a8edaffdaaf4020c30efc80a369d7b3ceb2b6b7c8c0668a834&req=diAjFMp7n4FZWvMW1HO4zZ3%2FGGKWZlILy8OQfYsvK3x4kBWQl4wgnRWt%2BfEK%0ADoZvjNFiLpjj31KR7hg%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2042352063/25eca25bcfd573ecab30dd53158c/074454a6-fa5a-4c49-8b19-02d434b4ca50?expires=1788414300&signature=a5ccb86a023bcf74b429f9ad926b857d91697ea9baf00d1376907b65f04f380d&req=diAjFMp7n4FZWvMW1HO4zZ3%2FGGKRYVQJy8OQfYsvK3wKXLYR2i6aZiz2ICVm%0A3dHPutAP8TXnvc%2BFXdI%3D%0A) ## Choose a model diff --git a/content/support/11725453-set-up-the-claude-lti-in-canvas-by-instructure.md b/content/support/11725453-set-up-the-claude-lti-in-canvas-by-instructure.md index e5dce4dbca..732545d3a8 100644 --- a/content/support/11725453-set-up-the-claude-lti-in-canvas-by-instructure.md +++ b/content/support/11725453-set-up-the-claude-lti-in-canvas-by-instructure.md @@ -44,7 +44,7 @@ This article provides information on how to enable the Claude LTI integration in 5. Click "Install" and refresh the course page. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1611422430/c8e0875feac1f2c7cb033be74fc9/AD_4nXfLU_bui3EXcCjQ0qm70HD97neqjGayKeDer_t76utlci8gZSUjYRhw6ZSOlDdqSEcwXBzd_shAh7pQEJ-8OoE0O21DM5coOgxmO_WD5hlwiuwtS2iYXcTavhIRyQT5zKFWvfn3NA?expires=1788362100&signature=5c65dcfc6cb472c96404c6dbe4858cd3de9d211bcc598ef817059ccb73e50fb3&req=dSYmF818n4VcWfMW1HO4zTEDauMdnfGAEv2ojHLMylb4fNNXPNd0iaW2ICqY%0AgdYhmaIUFGaD7wljPsQ%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1611422430/c8e0875feac1f2c7cb033be74fc9/AD_4nXfLU_bui3EXcCjQ0qm70HD97neqjGayKeDer_t76utlci8gZSUjYRhw6ZSOlDdqSEcwXBzd_shAh7pQEJ-8OoE0O21DM5coOgxmO_WD5hlwiuwtS2iYXcTavhIRyQT5zKFWvfn3NA?expires=1788414300&signature=ae023238055c484cf950f22ef08a5000e50aaf98de37a3a83e6e076aca7e0f71&req=dSYmF818n4VcWfMW1HO4zTEDauMamveCEv2ojHLMylaNNbCsPe88uvCgqIuB%0AVXLiy8LJelBsgJgGkTE%3D%0A) ## Turn on the Claude LTI Integration in Claude for Education organization settings diff --git a/content/support/11817273-use-claude-s-chat-search-and-memory-to-build-on-previous-context.md b/content/support/11817273-use-claude-s-chat-search-and-memory-to-build-on-previous-context.md index 175181f2e4..58a9af8356 100644 --- a/content/support/11817273-use-claude-s-chat-search-and-memory-to-build-on-previous-context.md +++ b/content/support/11817273-use-claude-s-chat-search-and-memory-to-build-on-previous-context.md @@ -40,7 +40,7 @@ When Claude searches your previous chats, you will see this reflected in your cu Yes, navigate to **[Settings > Memory](https://claude.ai/new#settings/customize-memory)** and switch the toggle next to "Search and reference chats" off: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2533482439/4dee2d7b267f865205feefc8f4f3/cb60c334-d1e2-4828-a01d-dfb36bbaa7eb?expires=1788362100&signature=87e681fdbf5c90747f63be5b0ef9aaf3c9e19834168b4183c043fcb2a7f325cf&req=diUkFc12n4VcUPMW1HO4zY9IRAJvU9N2YNcz5nFaZkHXP%2BYQ7aAWDM6gp9Cu%0AsVnAozRRMGRa4%2BCLhMA%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2533482439/4dee2d7b267f865205feefc8f4f3/cb60c334-d1e2-4828-a01d-dfb36bbaa7eb?expires=1788544800&signature=8e06cb5495489923d624eed97f19292c9d013417e33177d991dde5675e3a9af1&req=diUkFc12n4VcUPMW3nq%2Bgc%2FqKU4POUhsWFke7sLh5cxI8Jt1lw7g3fRhdtlR%0AqjS%2B1IMDHfgsJ7GrSMPQpN9vnUs%3D%0A) ## Can I exclude a specific past chat from searches? @@ -80,11 +80,11 @@ What Claude remembers from your chats is available when you hand it a task in Co ## Turn memory on or off -**Note:** Members of Enterprise plans can only enable this feature individually when it’s enabled by an owner for their organization. For more information, see **[Controls for Enterprise plan owners](https://support.claude.com/en/articles/11817273-use-claude-s-chat-search-and-memory-to-build-on-previous-context#h_18b0f4a7ce)**. +**Note:** Members of Enterprise plans can only enable this feature individually when it’s enabled by an owner for their organization. For more information, see **[Controls for Enterprise plan owners](#h_18b0f4a7ce)**. You can toggle Claude’s memory on by navigating to **[Settings > Memory](https://claude.ai/new#settings/customize-memory)** and turning on **Generate memory from chats**: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2533482441/b5c806a8e3f68bf34c4a70724d38/d30be013-d099-4c93-99d1-23d404792f08?expires=1788362100&signature=3b4c43fcc4fee6c4ebe23797c87792e2b7c0703575fa60af84b003c23a8acac4&req=diUkFc12n4VbWPMW1HO4zRlYrpNu5FItNshWSMEMw9dh4F5VnR3zVItrVyS6%0AbwkkwXUMYlEN%2B9z1jvI%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2533482441/b5c806a8e3f68bf34c4a70724d38/d30be013-d099-4c93-99d1-23d404792f08?expires=1788544800&signature=52a46da540c992dbe774406bee45d44e030f051c617fcd4b400844bde3074cac&req=diUkFc12n4VbWPMW3nq%2BgUSsLm4kYUuSEzdz1G74VAEjIRfJMuwQnpiwk5GT%0AL%2B9Ng2AqOVexEgm%2Fn7cqcGkUG3U%3D%0A) If you want to disable Claude’s memory, click the toggle and you'll see two options: @@ -207,7 +207,7 @@ Memory isn't available to organizations with HIPAA, public-sector, or custom dat ## Information for legacy memory users -**Important:** We are gradually introducing an improved experience for memory from chats. The sections below only apply to people who have the legacy memory experience and see **Memory** in **[Settings > Capabilities](https://claude.ai/settings/capabilities)**. If you see **[Settings > Memory](https://claude.ai/new#settings/customize-memory)**, you’re using the new memory experience and the sections above apply to you. +**Important:** We've introduced an improved experience for memory from chats. If you see **[Settings > Memory](https://claude.ai/new#settings/customize-memory)**, you’re using the new memory experience and the sections above apply to you. The sections below only apply to people who have the legacy memory experience and see **Memory** in **[Settings > Capabilities](https://claude.ai/settings/capabilities)**. ### Search past chats with Claude @@ -239,7 +239,7 @@ When Claude searches your previous chats, you will see this reflected in your cu Yes, navigate to **[Settings > Capabilities](https://claude.ai/settings/capabilities)** and find the **Preferences** section. Switch the toggle next to “Search and reference chats” off: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1719730889/3fafbf5ecaa0ae31d7d84a66229b/c25536c1-7433-4b94-a5e9-cd5acf97a4fd?expires=1788362100&signature=8ee038f4483e8f455c1d412f0afb0ccc3250626ca27a2f598a29547e59acf545&req=dScmH859nYlXUPMW1HO4zRzXH1czJTPDJG68qZhl782xGnXODw3GJtj7hhY2%0AV9XyU1VUoOKRdVK%2FhEQ%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1719730889/3fafbf5ecaa0ae31d7d84a66229b/c25536c1-7433-4b94-a5e9-cd5acf97a4fd?expires=1788544800&signature=187f846bf845b35861ce062754b88c0b9e46826899910fd9e16e15cc3c7ed7da&req=dScmH859nYlXUPMW3nq%2BgZWAenTww3q4QxiiEHajSESlgIjLbWFCGQmmA36N%0ALQLteaK1xtQX51UGDYQOLfLRceQ%3D%0A) ### Can I exclude a specific past chat from searches? @@ -247,7 +247,7 @@ Incognito chats are available to all Claude users (free, Pro, Max, Team, and Ent When starting a new chat with Claude outside of a project, you'll see a ghost icon in the upper right corner of your screen: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1719730893/9549b21954e0070ceb6b85231fd5/88e59234-6fc2-4229-84fe-733b33efff26?expires=1788362100&signature=f6d5f88c220b36240fea04af26f208e29924b4af0836aafa1409af12f3808070&req=dScmH859nYlWWvMW1HO4za54sKtvOoS6XDpzhlKsgjOddxafRyC8owxM0DaT%0AyP%2FqLpAhr7R3pVQO4cs%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1719730893/9549b21954e0070ceb6b85231fd5/88e59234-6fc2-4229-84fe-733b33efff26?expires=1788544800&signature=30c1173c9f4c7550ace757bf3ba8c0b832d18a1aabc382ec6a84b483d46442da&req=dScmH859nYlWWvMW3nq%2Bgf44pcp9ouj2MGV1mzkyUm3UvOttH1Z0ikckOx1j%0Ap0%2FVh%2FjE0cSJvZJFrGHNloeyDqM%3D%0A) Clicking the ghost icon will open an incognito chat, creating a temporary conversation that isn’t saved to your chat history. Claude won’t pull information from incognito chats when searching previous conversations. @@ -257,7 +257,7 @@ Clicking the ghost icon will open an incognito chat, creating a temporary conver ### What is Claude's memory? -The legacy memory from chats experience is available for Enterprise plans. Memory applies to chats on the web, Claude Desktop, and Claude Mobile, and is not currently available for Cowork. +A small number of Team and Enterprise organizations still use the legacy memory from chats experience. Memory applies to chats on the web, Claude Desktop, and Claude Mobile, and is not currently available for Cowork. Claude can now generate memory based on your chat history. With the addition of memory, Claude transforms from a stateless chat interface into a knowledgeable collaborator that builds understanding over time. @@ -275,11 +275,11 @@ Each project has its own separate memory space and dedicated project summary, so ### Enable Claude’s memory -**Note:** Members of Enterprise plans can only enable this feature individually when it’s enabled by an Owner for their organization. See **[Controls for Enterprise plan Owners](https://support.claude.com/en/articles/11817273-use-claude-s-chat-search-and-memory-to-build-on-previous-context#h_f7d6b307e2)** for more information. +**Note:** Members of Enterprise plans can only enable this feature individually when it’s enabled by an Owner for their organization. See **[Controls for Enterprise plan Owners](#h_f7d6b307e2)** for more information. You can toggle Claude’s memory on by navigating to **[Settings > Capabilities](https://claude.ai/settings/capabilities)**: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1719730892/62f9f2b68d675a8e33393f06024f/89198978-192f-4c52-915d-5294b16f3fe1?expires=1788362100&signature=49666cc91e8104821fe5a0621944a340acdedd8185335956497c84a8e38dd9b6&req=dScmH859nYlWW%2FMW1HO4zTD5MMnlceZEBq9N9dRTKYdFTMjUMBuS2syJgjj6%0AgLEVipPzaTvcKr9Agls%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1719730892/62f9f2b68d675a8e33393f06024f/89198978-192f-4c52-915d-5294b16f3fe1?expires=1788544800&signature=bdbfc956ae5f757683de9eb2d23978dfa7cff953d18a047fcc5feb85dcce7e1a&req=dScmH859nYlWW%2FMW3nq%2BgRexfslS3Hc8UmfBdWCMNKMDe8BivrXW%2FwaZp0Be%0Aw9SndqHElc8GXG1%2BGwGi%2FCvUMxo%3D%0A) If you want to disable Claude’s memory, click the toggle to see two options: diff --git a/content/support/11818288-why-am-i-being-asked-to-verify-my-payment-method.md b/content/support/11818288-why-am-i-being-asked-to-verify-my-payment-method.md index 53e76e7fb6..3c40b7b5db 100644 --- a/content/support/11818288-why-am-i-being-asked-to-verify-my-payment-method.md +++ b/content/support/11818288-why-am-i-being-asked-to-verify-my-payment-method.md @@ -2,7 +2,7 @@ If you see the following pop-up when you log in to your Claude account, you’ll need to click the “Verify now” button to verify your payment method: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1631413861/42c3b13d7fc44a11a88ec2b9cd03/AD_4nXeMx8QXpeZZCkfAnVSwx8KZ9n4Vr2rvPdQddyE6ZNxch__F6ZqFs1G4ZmU52Wvb7gRlwRqquTLdw8IQv-gICDyP-MXqiQK_Oe7gX3SKsCKKt2IEpMx4qDeMeeZufMaJfv16XgOH5g?expires=1788362100&signature=7ab6ada8facfb96824c1e9606bbba8baa6fb5b31a0d858305313680c54b6061d&req=dSYkF81%2FnolZWPMW1HO4zf7%2BjEzt7oLzn6MrEicvimD8gKIgAUzn2ALv9jlS%0A60vvFOQC9OKg0IlaxIk%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1631413861/42c3b13d7fc44a11a88ec2b9cd03/AD_4nXeMx8QXpeZZCkfAnVSwx8KZ9n4Vr2rvPdQddyE6ZNxch__F6ZqFs1G4ZmU52Wvb7gRlwRqquTLdw8IQv-gICDyP-MXqiQK_Oe7gX3SKsCKKt2IEpMx4qDeMeeZufMaJfv16XgOH5g?expires=1788414300&signature=8bf183127bf22da6e028079d1c4890813438e7ceaa1179cf5ccf2b04bcff7ac5&req=dSYkF81%2FnolZWPMW1HO4zf7%2BjEzq6YTxn6MrEicvimAhMWy4spxXLqTUKgiK%0AXYNlDyLn4kZrb4a8RiY%3D%0A) ## What happens if I click “Remind me later?” diff --git a/content/support/11869629-use-claude-with-android-apps.md b/content/support/11869629-use-claude-with-android-apps.md index c5df411b23..c028c4b361 100644 --- a/content/support/11869629-use-claude-with-android-apps.md +++ b/content/support/11869629-use-claude-with-android-apps.md @@ -222,7 +222,7 @@ Permission requirements vary by feature: For features requiring permissions (like location or calendar access), Claude will request permission contextually with clear explanations of why the access is needed. You’ll be prompted to approve the action with three options: Allow once, Always allow, or Don't allow. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1707351614/ccb910e4b87b1e96ad9a11bbd835/b57b2130-d8d6-4499-89f6-6c12de236fd4?expires=1788362100&signature=d00c3805a2d310fe8353609109d02d00f59de3f409322f9ae86c104004f710ed&req=dScnEcp7nIdeXfMW1HO4zQe5GleM3Sf1S5x65TIld%2FC1ZniBGezvEhYL8KeJ%0A17tdgQDDCQaIMMfbKOs%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1707351614/ccb910e4b87b1e96ad9a11bbd835/b57b2130-d8d6-4499-89f6-6c12de236fd4?expires=1788414300&signature=9d11a2837f0a709913ce90b39686dd0c63cb02851b58e7fb47f32797f568013b&req=dScnEcp7nIdeXfMW1HO4zQe5GleL2iH3S5x65TIld%2FB4i3e59iUsCbZHE7Aw%0A0Jv8i8oWKP%2BPqvI0NlU%3D%0A) These permissions can be managed at any time in your device settings by going to Settings > Apps > Claude > Permissions. Click into each permission listed under **Allowed** and **Not allowed** to make changes. You can toggle between “Allow only while using the app” or “Ask every time” to change Claude’s access, or remove permissions by choosing “Don’t allow.” Claude will only request permissions if needed for specific features, and you can always choose to decline while still using other capabilities. diff --git a/content/support/12004354-purchase-and-manage-seats-on-team-plans.md b/content/support/12004354-purchase-and-manage-seats-on-team-plans.md index baa59e88a5..fc4f625fba 100644 --- a/content/support/12004354-purchase-and-manage-seats-on-team-plans.md +++ b/content/support/12004354-purchase-and-manage-seats-on-team-plans.md @@ -69,6 +69,8 @@ You can reduce the total number of seats on your Team plan: 8. Check the confirmation box and click "Confirm & purchase" to complete the change. +Reducing your organization's seat count takes effect at your next renewal (on the annual renewal date for annual plans). There is no prorated refund at the time you submit this change. + --- ## Assign and reassign seat types @@ -87,6 +89,12 @@ To reassign a user's seat type: Members moved from Premium to Standard will have lower usage limits, and vice versa. +To move several members from Premium to Standard, do not use the per-member **Tier** dropdown. Instead, open **Organization and access**, click "Manage" under **Total seats**, then "Add or change seats," and set the Premium and Standard totals in one submission. You can set Premium below the number of members currently assigned to it: those members are moved onto Standard seats automatically at renewal. The Standard total cannot be lower than your current billable members. + +Only one scheduled seat change can be pending at a time. Submitting a new one, adding seats, or accepting a new invite replaces the pending change. + +Moving a member from Premium to Standard takes effect at your next renewal (on the annual renewal date for annual plans). There is no prorated refund at the time you submit this change. + --- ## Upgrade a Standard seat to Premium @@ -125,7 +133,7 @@ Selecting **No seat assigned** lets you temporarily remove a user from a seat wi 4. Find User A and change their seat tier to "Standard." -**Note:** Unassigned users remain members of your organization but cannot use Claude until they're assigned to a seat. +**Note:** Members with no seat assigned remain part of your organization but can't use Claude until you reassign them a seat. They do not count toward your organization's seat limit. Pending invitations do count. If "Add member" is unavailable even though seats show as available, revoke pending invitations that won't be accepted, or purchase additional seats. --- diff --git a/content/support/12005970-manage-usage-credits-for-team-and-seat-based-enterprise-plans.md b/content/support/12005970-manage-usage-credits-for-team-and-seat-based-enterprise-plans.md index 6d2af82df1..3ab6be3c94 100644 --- a/content/support/12005970-manage-usage-credits-for-team-and-seat-based-enterprise-plans.md +++ b/content/support/12005970-manage-usage-credits-for-team-and-seat-based-enterprise-plans.md @@ -70,7 +70,7 @@ After navigating to **[Organization settings > Usage](https://claude.ai/admin-se The **Usage and spend limits** section will show the current limit (if any) or **Unlimited**. Clicking on "Adjust limit" opens a modal where you can either input an amount and click "Set spend limit," or click "Set to unlimited" to remove the organization-wide monthly spend limit. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2149347604/936ac4eb025d3ef1f00c3b8a26b0/image.png?expires=1788362100&signature=26a4e96fcac38efb7a75f96b6cb6e5f73128375f66168314a11a3df635919d75&req=diEjH8p6modfXfMW1HO4zQHwg6nUkCyn6DwhVVpk1mClnzpLx6c7INw3L3TZ%0AXgJf5I37Ig9Jh3uB240%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2149347604/936ac4eb025d3ef1f00c3b8a26b0/image.png?expires=1788414300&signature=cc6d6992d182bf2ff20139208955965a94acde3b2570d48ddec0f78237dd9959&req=diEjH8p6modfXfMW1HO4zQHwg6nTlyql6DwhVVpk1mDMZwODwpFmUCC6pdgW%0A0M4Q54S9JnXsjBlYmno%3D%0A) Changes to your organization’s overall spend limit go into effect immediately. @@ -78,11 +78,11 @@ Changes to your organization’s overall spend limit go into effect immediately. Owners and Primary Owners on **seat-based Enterprise plans only** can set spend limits that apply to all users within a specific seat tier. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2149351600/c5b979c366ac2738f60ea84e85b3/CleanShot+2026-03-10+at+15_37_41%402x.png?expires=1788362100&signature=94fbc097146c1f7885a0c3c8464afe8cdcdab91df4572570f4882059e7cdab86&req=diEjH8p7nIdfWfMW1HO4zYnqMI2XJXKI0wfO62ivdG9lSEs9RU0dmwW23Uda%0AzUlw6R4C7NS%2BTTUiYlY%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2149351600/c5b979c366ac2738f60ea84e85b3/CleanShot+2026-03-10+at+15_37_41%402x.png?expires=1788414300&signature=8ac964e4552c04440d18dc428f52c3308d7dc31b2a12a5615f0b998028726178&req=diEjH8p7nIdfWfMW1HO4zYnqMI2QInSK0wfO62ivdG8yqlwpi5tgEGyThQGm%0ArlFDfENNhYdxa5vu9vc%3D%0A) Select the "By group" tab to see **Standard seats** and **Premium seats** groups. Click the "..." icon next to the current limit, then "Edit limit." This opens a modal where you can either select "Set dollar amount" and input an amount, or click "Unlimited" to remove the limit for that seat type. Click "Set limit" to save your changes. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2149362056/44993661ca2db771fe924d0346f6/image.png?expires=1788362100&signature=3f3d682a9273e226dfe45ba20d58ffc2d9f42b479ffd4478072586b488ca07dd&req=diEjH8p4n4FaX%2FMW1HO4zRzvvI0Idk9Hq7nEDCGq9G5SRkL2e7vx%2FBxfJkJW%0ARZb2TUYD2cIsGOjeAA0%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2149362056/44993661ca2db771fe924d0346f6/image.png?expires=1788414300&signature=9f5ce1a51bb030dcfbb4587dc9cf410d7844035aad462098bbdf0ff468518a90&req=diEjH8p4n4FaX%2FMW1HO4zRzvvI0PcUlFq7nEDCGq9G58e5psC7XNQoYYj%2BA%2F%0AjGkZNj%2Fpd1lByiA%2F%2F%2Fg%3D%0A) --- @@ -90,11 +90,11 @@ Select the "By group" tab to see **Standard seats** and **Premium seats** groups Owners and Primary Owners can also set individual monthly spend limits for each member by finding **Spend limits by user** and clicking the "..." button next to the user, then "Edit limit." -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2149370853/db66f5cd03683b9cc119d0dcd6b8/image.png?expires=1788362100&signature=88cb2ff8ae755651868149728196f0756455d1581485683c7dc651ce5640c9bc&req=diEjH8p5nYlaWvMW1HO4zaPdGQ9UUy1He9HwvwG7ubjpfpMqF8nVpWK4zmm9%0AThdkSpnQjw55eAMAYLI%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2149370853/db66f5cd03683b9cc119d0dcd6b8/image.png?expires=1788414300&signature=4dd5c8408f61bde942f708dc72a6bb9760b10c767edbddaf595ea98dc3fdf841&req=diEjH8p5nYlaWvMW1HO4zaPdGQ9TVCtFe9HwvwG7ubg9OY9i0FFR%2B0yMrwhv%0ALXajkc8EHbIlrg7gZDw%3D%0A) Enter the amount and click "Set limit." Alternatively, selecting "Set to unlimited" will remove that member's monthly spend limit (they will still be subject to any organization or seat-level spend limits). -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2149374028/97813fe3b515c2e839d8d92abd79/image.png?expires=1788362100&signature=df36ded503bdafb6560f3636b22a25a130ab960df11f28b324145a65f15a5447&req=diEjH8p5mYFdUfMW1HO4zevsAv%2BJNemLw6z2wGSwkbsA6Kuqn6Kk8B3cKZ4j%0ATZtGQM1T%2BP6Y7Dvk4rI%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2149374028/97813fe3b515c2e839d8d92abd79/image.png?expires=1788414300&signature=dc693264d2ab6b99d5f682123c8b078e7d35c0004d6e9d5dc401cfa0d6a7303a&req=diEjH8p5mYFdUfMW1HO4zevsAv%2BOMu%2BJw6z2wGSwkbuaJtK7wY8rDVMmuZnf%0A2W%2B7qZUdIojjIALllMs%3D%0A) This allows owners fine control over usage credits, so you can set limits for different members based on their roles or individual needs. Once a user reaches their defined spend limit, this will automatically pause their usage credits until the end of the month. They will need to wait for their usage limits to reset before using Claude again. diff --git a/content/support/12012173-get-started-with-claude-in-chrome.md b/content/support/12012173-get-started-with-claude-in-chrome.md index 0d1a009ab7..7fcaaa2bad 100644 --- a/content/support/12012173-get-started-with-claude-in-chrome.md +++ b/content/support/12012173-get-started-with-claude-in-chrome.md @@ -38,7 +38,7 @@ Follow these steps to connect Claude in Chrome in your desktop app: 4. Toggle the connector on, then download and install the extension if you haven’t already. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2604933811/ae37c41fc808dbdf48d135338334/6cc9ba4b-9d31-43a2-ab80-8048b5f9d791?expires=1788362100&signature=2426e07b4fc12f159614af66bffa81f06d84b18b92fab055e473200864d01c6b&req=diYnEsB9noleWPMW1HO4zUOPbPTFkOCMnt%2F2nPMwUPjxbZ%2FN5xFS1KHvtlpo%0A6p9MBEO283onzrYJqsg%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2604933811/ae37c41fc808dbdf48d135338334/6cc9ba4b-9d31-43a2-ab80-8048b5f9d791?expires=1788414300&signature=76af9e3717c4b93239dfff3143895d6382d4568b1a3a327d48f9f652142ed4f4&req=diYnEsB9noleWPMW1HO4zUOPbPTCl%2BaOnt%2F2nPMwUPj2GuxS7B6FuQdnDkbt%0AfVRAzc%2B1ijRUOJsfDU8%3D%0A) Completing these steps will add Claude in Chrome to the “Connectors” drop-down on your chats with Claude. This is disabled by default, so you’ll need to enable it manually for each conversation. diff --git a/content/support/12083917-change-your-team-plan-from-monthly-to-annual-billing.md b/content/support/12083917-change-your-team-plan-from-monthly-to-annual-billing.md index c808decb40..e1ac147ee8 100644 --- a/content/support/12083917-change-your-team-plan-from-monthly-to-annual-billing.md +++ b/content/support/12083917-change-your-team-plan-from-monthly-to-annual-billing.md @@ -8,11 +8,11 @@ Owners and Primary Owners of Team plans with monthly subscriptions can switch fr 3. Or from /upgrade, click the “Switch to Annual plan” button: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1690325734/d47f714680d78408d6022d06b8d1/image.png?expires=1788480000&signature=367fc67f22ec3fc3036896ddf00502ff846da2275feedd67689bb1d58c388a71&req=dSYuFsp8mIZcXfMW3Hu4gZzas%2FXtsTtanWrRiVwqPzbCEuPMOZwZK2yscMg%2F%0AGg%3D%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1690325734/d47f714680d78408d6022d06b8d1/image.png?expires=1788534000&signature=f3b4dd42c485d24a64a2b24a27b583d1f6478f87c7cf3d888de6613ec2aa8955&req=dSYuFsp8mIZcXfMW3Hu4gZzas%2FXtsTpRmWrRiVwqPzYZg4MJMAUJz7EuhIEc%0ACA%3D%3D%0A) 4. The confirmation screen will display the total cost for your upgrade from monthly to annual billing: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1690326039/3a91cdc5fff57d188a18ecc6273f/image.png?expires=1788480000&signature=7ff7b45644174343da8fa008d378b1b33d170ca930e5ae78e6227f6904d10566&req=dSYuFsp8m4FcUPMW3Hu4gbNj%2Bk78VAnpi%2B5vzcg6znWV2%2FjkXjoWsxq2t8pI%0A%2BA%3D%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1690326039/3a91cdc5fff57d188a18ecc6273f/image.png?expires=1788534000&signature=f6622b2be8a68ab2217af32a9340650b2ea18afbac7b6a00057eeaa69a7ab0fc&req=dSYuFsp8m4FcUPMW3Hu4gbNj%2Bk78VAjij%2B5vzcg6znVhmIQ6I1AJywvwmGvc%0A9w%3D%3D%0A) 5. Click “Confirm subscription.” diff --git a/content/support/12111783-create-and-edit-files-with-claude.md b/content/support/12111783-create-and-edit-files-with-claude.md index 0610c807d1..e3dc66ff3f 100644 --- a/content/support/12111783-create-and-edit-files-with-claude.md +++ b/content/support/12111783-create-and-edit-files-with-claude.md @@ -48,7 +48,7 @@ These capabilities make it easy to produce professional documents by simply chat To give Claude access to external data sources, toggle **Allow network egress** on: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2054774005/25bcfffba6c249cd128d6c3f6d52/CleanShot+2026-02-11+at+16_34_47%402x.png?expires=1788362100&signature=761f31cfbfe488a7cd5140c39fe523450815ca4cdc556dde8a392c5478916041&req=diAiEs55mYFfXPMW1HO4zYFJywVGCpvPPQVowIiib2nnxS51ngzsUtwHe8TT%0A%2Bvsap2YIINdGvjpAyQQ%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2054774005/25bcfffba6c249cd128d6c3f6d52/CleanShot+2026-02-11+at+16_34_47%402x.png?expires=1788414300&signature=fc6ec901da2efbe74746ee7ca1462cd45f6546ae4e416f9985f73272dcfb96aa&req=diAiEs55mYFfXPMW1HO4zYFJywVBDZ3NPQVowIiib2lGV29TK8s1Wvq8214r%0AvDJSm%2BdHYIWrHXb1xlE%3D%0A) ### Enabling on Claude Mobile @@ -66,11 +66,11 @@ Team and Enterprise organization owners can control network access settings in * - **Allow network egress to package managers and specific domains:** Claude can access package managers plus additional domains you specify. Add domains individually to whitelist specific resources your organization needs: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1789945362/ad72504d5429960f369b8b91b43c/86f06c0e-6eaa-4574-a4cb-2c38b273613a?expires=1788362100&signature=e23e94a2dc7f9baf2a005f5ffb35d4d5652314191f222f2dbf3cf8dd48fbad2e&req=dScvH8B6mIJZW%2FMW1HO4zXJcBmVAkytKpMW6Iph6YZcfzpVm4OnIPFz8ITa9%0AQ3GtWt4AAYQjUn123ZI%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1789945362/ad72504d5429960f369b8b91b43c/86f06c0e-6eaa-4574-a4cb-2c38b273613a?expires=1788414300&signature=d84dd8b1174ca439c73ff32b318be3c37d632499cd8a94828f250da35715a51e&req=dScvH8B6mIJZW%2FMW1HO4zXJcBmVHlC1IpMW6Iph6YZeU08cN8rEFu%2FxwZj3n%0ANbj7P%2BQpBqgWJKFjvLE%3D%0A) **All domains:** Claude has full internet access except for domains on Anthropic's legal blocklist. While this provides maximum flexibility for file creation and analysis tasks, it’s also the riskiest option. Please review the **[security considerations below](#h_0ee9d698a1)** before enabling “All domains”: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1789945361/e3188cb8edb9ca7c303615da6378/f1c99a7d-5956-48d5-9ec7-b7ae6c8c3d28?expires=1788362100&signature=0299ec71c72b75a38f025abb08cf9df964052ac0e47ae6bf3df91a6062ac3716&req=dScvH8B6mIJZWPMW1HO4zdnseByR6D2jqgKIA6CM1toBVx9BqzG%2FlKIUsfpC%0AZ1s7LvH2iA%2FX6pYPWPc%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1789945361/e3188cb8edb9ca7c303615da6378/f1c99a7d-5956-48d5-9ec7-b7ae6c8c3d28?expires=1788414300&signature=3147f12eee73f0e7e0d6d5df6563de59a81331f0e19563fa063c17b1f517970c&req=dScvH8B6mIJZWPMW1HO4zdnseByW7zuhqgKIA6CM1trj3OpFDPJmvzLyzawH%0AxOvJCGtFmZdDTLe%2FN7Y%3D%0A) --- diff --git a/content/support/12123587-import-and-export-your-memory-from-claude.md b/content/support/12123587-import-and-export-your-memory-from-claude.md index 8a9a4dadcd..61c223c3d9 100644 --- a/content/support/12123587-import-and-export-your-memory-from-claude.md +++ b/content/support/12123587-import-and-export-your-memory-from-claude.md @@ -4,7 +4,7 @@ Memory imports are available for Free, Pro, Max, and Team plans on the web and C You can transfer your memory between Claude and other AI providers. This lets you import memories from other AI providers into Claude, or export your Claude memory for backup or migration. -**Important:** We are gradually introducing an improved experience for memory from chats. The new experience will be the default for new users, and users on free, Pro and Max plans will be migrated to the new experience. Team and Enterprise plan admins will receive more information about a rollout in the coming weeks. In the interim, users on Team and Enterprise plans will stay on the legacy experience. +**Important:** We've introduced an improved experience for memory from chats. The new experience is available on all plans (free, Pro, Max, Team, and Enterprise). A small number of Team and Enterprise organizations still use the legacy experience. - If you see **[Settings > Memory](https://claude.ai/new#settings/customize-memory)**, you’re using the new memory experience, and the main sections that follow apply to you. @@ -48,7 +48,7 @@ To view your memory exactly how Claude sees it, go to **[Settings > Capabilities ## Information for legacy memory users -**Important:** We are gradually introducing an improved experience for memory from chats. The sections below only apply to people who have the legacy memory experience and see **Memory** in **[Settings > Capabilities](https://claude.ai/settings/capabilities)**. If you see **[Settings > Memory](https://claude.ai/new#settings/customize-memory)**, you’re using the new memory experience and the sections above apply to you. +**Important:** We've introduced an improved experience for memory from chats. If you see **[Settings > Memory](https://claude.ai/new#settings/customize-memory)**, you’re using the new memory experience and the sections above apply to you. The sections below only apply to people who have the legacy memory experience and see **Memory** in **[Settings > Capabilities](https://claude.ai/settings/capabilities)**. ### Import memory into Claude diff --git a/content/support/12157520-claude-code-usage-analytics.md b/content/support/12157520-claude-code-usage-analytics.md index 0c31d4f472..98efb603e5 100644 --- a/content/support/12157520-claude-code-usage-analytics.md +++ b/content/support/12157520-claude-code-usage-analytics.md @@ -50,7 +50,7 @@ The **Usage** tab displays the following metrics for your organization. Data on - **Top commands**: The Claude Code commands used most often across your organization. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1717579277/46c512f4b3ed05c359cecd78ed5c/e0ce2c19-39e2-411f-9a1f-cb1d46439a42?expires=1788362100&signature=7f9031add78b019a2650230a85a4ee4114a860a5fde30820246cdd01c6e361cf&req=dScmEcx5lINYXvMW1HO4zfiEP65TiXvPCX9h5MbdDjNS5O1okJUfrssJn3nf%0AEAqIQ9HLMtxtDxPDj5M%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1717579277/46c512f4b3ed05c359cecd78ed5c/e0ce2c19-39e2-411f-9a1f-cb1d46439a42?expires=1788414300&signature=8767c89326d5617e611edc22e165c06b9e62e4eb68e7148e880b2fe058e0ffe0&req=dScmEcx5lINYXvMW1HO4zfiEP65Ujn3NCX9h5MbdDjMQRj%2F5mo9fCdKOIepo%0AsPZwNb3r1t4Wvmek0cE%3D%0A) ### User-level metrics diff --git a/content/support/12260368-use-incognito-chats.md b/content/support/12260368-use-incognito-chats.md index fe90dc1d39..4326a8ec87 100644 --- a/content/support/12260368-use-incognito-chats.md +++ b/content/support/12260368-use-incognito-chats.md @@ -30,7 +30,7 @@ Incognito chats are temporary conversations that aren't saved to your chat histo When starting a new chat with Claude outside of a project, you'll see a ghost icon in the upper right corner of your screen: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1719768744/c7a2fa56cf284e48472f3b9c4dbf/030563f8-9f97-4891-a749-9ae95968a063?expires=1788362100&signature=7dc7f9c6142534c80db658f910a133db47b2397b7ceaab5eb6f14aae12979f13&req=dScmH854lYZbXfMW1HO4zeUcuwq%2BaOeKDCAt3Cx%2FSO26eaZt2utI9VOHpfEG%0AaCOjxWhyw8RZyG8JK9g%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1719768744/c7a2fa56cf284e48472f3b9c4dbf/030563f8-9f97-4891-a749-9ae95968a063?expires=1788414300&signature=05f41595645831e01fce6bcad8f220c0165097ed55f0b103d0eb38fdd804e2d0&req=dScmH854lYZbXfMW1HO4zeUcuwq5b%2BGIDCAt3Cx%2FSO01kkEJk5pgyPfyCAzM%0AN5%2Bx6M9yHWDBM1uBiTc%3D%0A) 1. Click the ghost icon to enable incognito mode. diff --git a/content/support/12293051-use-claude-in-xcode.md b/content/support/12293051-use-claude-in-xcode.md index bb26ea5783..8ab226855b 100644 --- a/content/support/12293051-use-claude-in-xcode.md +++ b/content/support/12293051-use-claude-in-xcode.md @@ -34,7 +34,7 @@ To start using Claude in Xcode: 3. Log in with your Claude account. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1727371585/b18ca03a6357c52d12d10386f28e/dab2dcb2-f670-4173-b77d-38767a34cec1?expires=1788362100&signature=34ba5000ea8a363a4c017e04fd3acdd961b46b39ef58eee7ec3b54512efc1094&req=dSclEcp5nIRXXPMW1HO4zUAXI8QBVKrVFalhp3bugHKb6S5TcdN7fW%2FyGRWR%0AK9Nn3tJhAHashIj6XaM%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1727371585/b18ca03a6357c52d12d10386f28e/dab2dcb2-f670-4173-b77d-38767a34cec1?expires=1788414300&signature=421a21f63e5293e2d2aa8de283cacdad2c5e5c4ab9a1c9b069a22592a1def89d&req=dSclEcp5nIRXXPMW1HO4zUAXI8QGU6zXFalhp3bugHIXjlAH7PIuHq%2FneN9d%0A%2BO0JQIMU0J5l2C99fwo%3D%0A) ## Usage limits diff --git a/content/support/12429409-manage-usage-credits-for-paid-claude-plans.md b/content/support/12429409-manage-usage-credits-for-paid-claude-plans.md index 02f055a03d..120006b62d 100644 --- a/content/support/12429409-manage-usage-credits-for-paid-claude-plans.md +++ b/content/support/12429409-manage-usage-credits-for-paid-claude-plans.md @@ -46,7 +46,7 @@ To enable usage credits on your paid Claude plan: 8. You can also enable auto-reload to automatically make a purchase when your balance falls below a threshold you set: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1805819785/5e203c38e6ba3f76bfd1dab0d5ce/fe062e7c-18cb-48cc-a7e2-754ac6e6c4be?expires=1788362100&signature=5fbc750b9c1f8bffa0fa45fbc54c1e8d87ea820b96ab4f4a160a74215663716a&req=dSgnE8F%2FlIZXXPMW1HO4zYj2ARqao%2FI5opE7m38YdfcCDP4yXjBFfzwPlFzM%0AK7OYCBiRXn%2Bcg12fk5M%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1805819785/5e203c38e6ba3f76bfd1dab0d5ce/fe062e7c-18cb-48cc-a7e2-754ac6e6c4be?expires=1788414300&signature=e4e9465f404961a933a31fad73705a8037cdc7a84ae61619ddd05e8b118e7d08&req=dSgnE8F%2FlIZXXPMW1HO4zYj2ARqdpPQ7opE7m38Ydfe1xeVmJUY8AoYzUeNZ%0AgOgdu%2FEcMdpmtg3H3Q4%3D%0A) **Note:** There is a daily redemption limit of $2000. diff --git a/content/support/12466728-troubleshoot-claude-error-messages.md b/content/support/12466728-troubleshoot-claude-error-messages.md index 950eb59393..744b3ac39e 100644 --- a/content/support/12466728-troubleshoot-claude-error-messages.md +++ b/content/support/12466728-troubleshoot-claude-error-messages.md @@ -58,4 +58,4 @@ Capacity issues will not appear on our status page because they represent normal Service incidents are disruptions where Claude is unavailable or significantly degraded for all or most users. These represent actual technical problems with our systems. To check for confirmed incidents, visit status.claude.com, where you'll find real-time updates on scope, impact, and resolution progress for any active incidents. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1753796247/e6a8c6ef8653b229c5758e881242/c2fc6fc0-d163-4119-93e0-394104d86bc9?expires=1788362100&signature=b84a1a53b5cf89ac4cf73d497ef00c28645923b5a54bf9e99074b6bf24ee6a9d&req=dSciFc53m4NbXvMW1HO4za4BXqcg1LDF7y68oYp%2BYg%2BFByzXzdervJdnIriB%0AOxiOur0kuoFN7JmWgvc%3D%0A) \ No newline at end of file +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1753796247/e6a8c6ef8653b229c5758e881242/c2fc6fc0-d163-4119-93e0-394104d86bc9?expires=1788414300&signature=cd4963e7b8e2fb24939fbb2ce9af55607cddf1f745f04972bc3086b9d41e0b7d&req=dSciFc53m4NbXvMW1HO4za4BXqcn07bH7y68oYp%2BYg9sjgOXv%2Bos02paMmM5%0AbzufZC3AhdsNrANjLxA%3D%0A) \ No newline at end of file diff --git a/content/support/12512180-use-skills-in-claude.md b/content/support/12512180-use-skills-in-claude.md index 0937990c4a..7ebe495f14 100644 --- a/content/support/12512180-use-skills-in-claude.md +++ b/content/support/12512180-use-skills-in-claude.md @@ -166,7 +166,7 @@ To remove a custom skill you've uploaded: 4. To delete the custom skill entirely, click the "..." button next to the toggle, then select "Delete": - ![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2105391273/8359cbf8be20dce0f1cd3fd40e6f/CleanShot-2B2026-02-25-2Bat-2B15_50_16.png?expires=1788362100&signature=6daa7a0fe1c83a6351564473c3589a56b8b1bac262862d64db9ac94663d0d209&req=diEnE8p3nINYWvMW1HO4zSOgDyMrxOSsH%2BdCnFXB0uixzlAMZAAKyjV7lttt%0AL%2BGQ%0A) + ![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2105391273/8359cbf8be20dce0f1cd3fd40e6f/CleanShot-2B2026-02-25-2Bat-2B15_50_16.png?expires=1788414300&signature=25c282a3ceac5ce1e3b3e3b0fdd2b1e72e90f42200c99bd342626d340c40981e&req=diEnE8p3nINYWvMW1HO4zSOgDyMsw%2BKuH%2BdCnFXB0ug0q%2FrcCpiUaRccM2Is%0ANWVB%0A) 5. Click "Delete" in the confirmation prompt. diff --git a/content/support/12592343-enabling-and-using-the-desktop-extension-allowlist.md b/content/support/12592343-enabling-and-using-the-desktop-extension-allowlist.md index d1d1ab6ad5..d5ca578cf6 100644 --- a/content/support/12592343-enabling-and-using-the-desktop-extension-allowlist.md +++ b/content/support/12592343-enabling-and-using-the-desktop-extension-allowlist.md @@ -20,11 +20,11 @@ The desktop extension allowlist is disabled by default, so an organization Owner 4. Switch to the "Desktop" tab: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1781755172/63c92550571842577ad435860ec5/6f5cc4e1-ff7d-48de-863a-c4e6184d4605?expires=1788362100&signature=869d4db310514c34b599cca64412477c8aaad5737215904508d6b656a4ee12ed&req=dScvF857mIBYW%2FMW1HO4zQ9pXUIJ%2BXLa0ugSQm1MFW8AgF3ho5fIv4Tk679b%0AMchc%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1781755172/63c92550571842577ad435860ec5/6f5cc4e1-ff7d-48de-863a-c4e6184d4605?expires=1788414300&signature=b8bf3dec6ae0f9ad0961ab8d308f4dfa28928670d37f52b1aefdded8a32cab7d&req=dScvF857mIBYW%2FMW1HO4zQ9pXUIO%2FnTY0ugSQm1MFW%2BqIltiadJ6QWsdO8H2%0A9XiA%0A) 5. Toggle **Allowlist** on: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1781755578/a6bafff5f084dc86ae463703fd3d/6cf0ee18-4e71-4129-98e8-cc08174e3c3a?expires=1788362100&signature=eae56d31b55f8ebfd6d6e4b1de1b3f70d8747d41ebf5a0ebcf2385421d2d90db&req=dScvF857mIRYUfMW1HO4zaj0BHkoT6UFTAorLxpdoc9W0XoJ7cCl7zs3ZWdO%0AbLVZ%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1781755578/a6bafff5f084dc86ae463703fd3d/6cf0ee18-4e71-4129-98e8-cc08174e3c3a?expires=1788414300&signature=8328c7e9ba20fc8a1d397186838998761a941708105383193657dd0d0ad20515&req=dScvF857mIRYUfMW1HO4zaj0BHkvSKMHTAorLxpdoc9MIZwOA2hy0XfdW9JE%0ApLsD%0A) ## What happens after enabling the allowlist? @@ -42,7 +42,7 @@ Consider completing the allowlist setup during off-hours to minimize disruption **Important:** The allowlist requires Claude Desktop version 0.13.91 or higher, so users should update the desktop app by clicking “Claude”, then either “Check for updates” or “Restart to update to Claude 0.13.91”: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1781756960/ad18af50c83d35f2673656c23e00/a7ee450f-0c7d-42d6-a75f-fb1bc088cb52?expires=1788362100&signature=b9d98015fd3c2d696ba0f2644a48b8bad5b6a27e332542b6b7e2f705bbef6ecd&req=dScvF857m4hZWfMW1HO4zYUJqYupDDDqCEDZ5AdBjIaZTo4MRetSG9gI5C4B%0AP5BZi8wAtvO34XZ89bM%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1781756960/ad18af50c83d35f2673656c23e00/a7ee450f-0c7d-42d6-a75f-fb1bc088cb52?expires=1788414300&signature=3f06bded826ddaf44b8d27a4d6ac29c9493ee9c3031c984e638792e640e15b5b&req=dScvF857m4hZWfMW1HO4zYUJqYuuCzboCEDZ5AdBjIYOzRXPbBwPRK8RSdBP%0ABZVnQYDjVs0WJIQMTvo%3D%0A) ## Managing allowed extensions @@ -60,7 +60,7 @@ After enabling the allowlist, you can choose which extensions to allow: If you want to remove an extension from the allowlist, click the “...” button and “Remove from allowlist.” -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1781751250/6558c0f59aea7976bd44b0213d76/e750f02b-cd0d-437e-a83f-9ac362cdf456?expires=1788362100&signature=04aa0ce2bb0fbc1805a4df0390d24c7ea168ace2c6d6cec02c5766af926d5750&req=dScvF857nINaWfMW1HO4zTrxBaAq%2BVWUqXridZhfx1KsbQVNqCr0DzP%2FxDJh%0AkukkmDC7IrpS8ZQ8ZbE%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1781751250/6558c0f59aea7976bd44b0213d76/e750f02b-cd0d-437e-a83f-9ac362cdf456?expires=1788414300&signature=50bc2dfc88122a019c1b4da321dc125250a2e89b88ecfdea6e810d088e7932b3&req=dScvF857nINaWfMW1HO4zTrxBaAt%2FlOWqXridZhfx1I3NoxTt7PmL2pJa1BX%0ALfGYBzQkX51wJLyySP8%3D%0A) ## Uploading custom extensions diff --git a/content/support/12618689-claude-code-on-the-web.md b/content/support/12618689-claude-code-on-the-web.md index 165f3bc72c..e09dce90a0 100644 --- a/content/support/12618689-claude-code-on-the-web.md +++ b/content/support/12618689-claude-code-on-the-web.md @@ -10,7 +10,7 @@ This feature works with repositories you may not have on your local machine. You Claude Code for web enables asynchronous development workflows. With Claude Code in your terminal or editor, you typically work synchronously: you make a request, wait for Claude to respond, review the changes, then make another request. Synchronous work like this gives you fine-grained control but requires your attention throughout the process. Claude Code on the web handles this differently: you can assign a larger task, let Claude work independently, and return later to review the completed work. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1786446157/07ec74cd46317f8278083a317841/6448f3ee-c6df-4417-8a13-90d8c2ca3d55?expires=1788362100&signature=25bb37f58687f401b3806a8dd6fc96203ab1f4e437ea3bb500c838cc8a497dd1&req=dScvEM16m4BaXvMW1HO4zR8%2BAFuDRJ937XrRA1YwWGtBusM3zvj%2BNYVUZ%2F2Y%0AKG3%2BS5E34Nkn9AQ8%2BlI%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1786446157/07ec74cd46317f8278083a317841/6448f3ee-c6df-4417-8a13-90d8c2ca3d55?expires=1788414300&signature=ba24822c5104053186ccdcbcc2ec8f40d34c72bd2f82d6101b5244690c8753b9&req=dScvEM16m4BaXvMW1HO4zR8%2BAFuEQ5l17XrRA1YwWGsvf3q7tJMhCx7O%2FnHa%0A0nHkNPdIAG17A55dHs8%3D%0A) You can also run multiple tasks in parallel. Since each task runs in its own isolated environment, you can have Claude working on several different issues or repositories simultaneously. Each task proceeds independently and creates its own pull request when complete. More than one task can work on the same repository at the same time. @@ -18,13 +18,13 @@ You can also run multiple tasks in parallel. Since each task runs in its own iso When you start a task, Claude Code on the web creates an isolated virtual machine for your work. Your GitHub repository is cloned into this environment, which comes pre-configured with common development tools and language ecosystems. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1786446158/c092f1383826cb871493f74169d4/97b7cb98-5da2-438e-a920-e170b8b9790e?expires=1788362100&signature=66b53fb36e231dac20d40f1ed9d7c774e912599336df38c5ef4857a578e03313&req=dScvEM16m4BaUfMW1HO4zcR0rZ43ievB7DtpMiX%2FBYkOG1alacno4me1kVxc%0ACDBX7JY%2FFEOdhx6Y%2FSw%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1786446158/c092f1383826cb871493f74169d4/97b7cb98-5da2-438e-a920-e170b8b9790e?expires=1788414300&signature=d73cba2b43c43bd2aacf627275cfeec82196daf0875b7c320391b16b9ca3857a&req=dScvEM16m4BaUfMW1HO4zcR0rZ4wju3D7DtpMiX%2FBYm0SMnNhFAkKIGgkOrp%0A5p1pP5mKKlKtXvT38BM%3D%0A) Claude prepares the environment by running any setup commands you've defined in your repository's configuration. This includes installing dependencies, setting up databases, or running other initialization steps your project needs. If your task requires network access, maybe to install packages or fetch data, you can configure the level of internet access the environment has. Once the environment is ready, Claude begins working on your task. Claude reads your code, makes changes, writes tests, and runs commands to verify the work. You can monitor progress and provide guidance through the web interface if needed. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1786446156/83ecf0a5b98eddc9ffc9694c50f7/353589ce-b678-441d-8909-71b45fa2d065?expires=1788362100&signature=606a50966a2bae64fe7c77f1c94f8c6ac3b910dd2938f2242c978da24630b35a&req=dScvEM16m4BaX%2FMW1HO4zVbcTGuA5cbPUQl3YqgIJdZZRVOf8VTIw6k7i0MJ%0AXgvlNio3sFsG8r7Q37Q%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1786446156/83ecf0a5b98eddc9ffc9694c50f7/353589ce-b678-441d-8909-71b45fa2d065?expires=1788414300&signature=6ee43145ef78e772e53d2eeb19d2e0428a3ca20c8e4905865fd068dddaa30250&req=dScvEM16m4BaX%2FMW1HO4zVbcTGuH4sDNUQl3YqgIJdadQoOlFJ%2FcbGYkaEaJ%0A8oBuhohfxi%2Bpcijav6E%3D%0A) When Claude completes the task, it pushes the changes to a new branch in your GitHub repository. You receive a notification and can review the changes, then create a pull request directly from the interface. The pull request includes all of Claude's work, ready for your review and any additional changes you want to make. diff --git a/content/support/12622667-enterprise-configuration-for-claude-desktop.md b/content/support/12622667-enterprise-configuration-for-claude-desktop.md index 2469850569..e47133723b 100644 --- a/content/support/12622667-enterprise-configuration-for-claude-desktop.md +++ b/content/support/12622667-enterprise-configuration-for-claude-desktop.md @@ -41,15 +41,15 @@ Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Claude" -Name "isClaudeCodeForDe ## Enterprise policy options -| **Key** | **Type** | **Default** | **Description** | -| ------------------------------------ | --------------- | ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `allowedWorkspaceFolders` | string[] (JSON) | Unrestricted | Filepath or filepaths the user can mount to Cowork | -| `autoUpdaterEnforcementHours` | Integer (1-72) | 72 | Hours before forcefully restarting Claude to apply a prepared update | -| `disableAutoUpdates` | Boolean | false | Disable automatic updates. Set this when your MDM manages Claude Desktop versions; leave unset to let the app self-update after a one-time provisioned install. See **[Deploy Claude Desktop for Windows](https://support.claude.com/en/articles/12622703-deploy-claude-desktop-for-windows)**. | -| `effortLevel` | string | null | Sets the default effort level (`low`, `medium`, `high`, `xhigh`, or `max`) for Claude Code sessions in Claude Desktop. The managed value applies fresh at the start of every session, even if someone changed the effort level from the picker in an earlier session. Requires Claude Desktop version 1.25927.0 or later. Doesn't apply to Cowork sessions in Claude Desktop, which don't read Claude Code managed settings.
| -| `forceLoginOrgUUID` | string / array | null | Require login to belong to a specific organization. Accepts a single UUID string, which also pre-selects that organization during login, or an array of UUIDs where any listed organization is accepted without pre-selection. Login fails if the authenticated account does not belong to a listed organization. | -| `isClaudeCodeForDesktopEnabled` | Boolean | true | Enable Claude code access in desktop | -| `isDesktopExtensionEnabled` | Boolean | true | Enable/disable extensions | -| `isDesktopExtensionDirectoryEnabled` | Boolean | true | Enable extension directory access | -| `isLocalDevMcpEnabled` | Boolean | true | Enable local MCP servers | -| `secureVmFeaturesEnabled` | Boolean | true | Enable **[Cowork](https://support.claude.com/en/articles/13345190-getting-started-with-cowork)** access in desktop | \ No newline at end of file +| **Key** | **Type** | **Default** | **Description** | +| ------------------------------------ | --------------- | ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `allowedWorkspaceFolders` | string[] (JSON) | Unrestricted | Filepath or filepaths the user can mount to Cowork | +| `autoUpdaterEnforcementHours` | Integer (1-72) | 72 | Hours before forcefully restarting Claude to apply a prepared update | +| `disableAutoUpdates` | Boolean | false | Disable automatic updates. Set this when your MDM manages Claude Desktop versions; leave unset to let the app self-update after a one-time provisioned install. See **[Deploy Claude Desktop for Windows](https://support.claude.com/en/articles/12622703-deploy-claude-desktop-for-windows)**. | +| `effortLevel` | string | null | Sets the default effort level (`low`, `medium`, `high`, `xhigh`, or `max`) for Claude Code sessions in Claude Desktop. The managed value applies fresh at the start of every session, even if someone changed the effort level from the picker in an earlier session. Requires Claude Desktop version 1.25927.0 or later. Doesn't apply to Cowork sessions in Claude Desktop. | +| `forceLoginOrgUUID` | string / array | null | Require login to belong to a specific organization. Accepts a single UUID string, which also pre-selects that organization during login, or an array of UUIDs where any listed organization is accepted without pre-selection. Login fails if the authenticated account does not belong to a listed organization. | +| `isClaudeCodeForDesktopEnabled` | Boolean | true | Enable Claude code access in desktop | +| `isDesktopExtensionEnabled` | Boolean | true | Enable/disable extensions | +| `isDesktopExtensionDirectoryEnabled` | Boolean | true | Enable extension directory access | +| `isLocalDevMcpEnabled` | Boolean | true | Enable local MCP servers | +| `secureVmFeaturesEnabled` | Boolean | true | Enable **[Cowork](https://support.claude.com/en/articles/13345190-getting-started-with-cowork)** access in desktop | \ No newline at end of file diff --git a/content/support/12626668-use-quick-entry-with-claude-desktop-on-mac.md b/content/support/12626668-use-quick-entry-with-claude-desktop-on-mac.md index cf4fdb6e96..3031f70679 100644 --- a/content/support/12626668-use-quick-entry-with-claude-desktop-on-mac.md +++ b/content/support/12626668-use-quick-entry-with-claude-desktop-on-mac.md @@ -40,7 +40,7 @@ When you first open the updated version of Claude Desktop, you'll see a prompt t Once enabled, double-tapping Option will open a text box where you can type your message and start a new chat. You can also click "New chat" to see your five most recent conversations. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1893088365/2ca4b782dda90abea1fe5f4150af/CleanShot+2025-12-18+at+13_14_30%402x.png?expires=1788362100&signature=a8f278571b98f05918ec4d0ea7823f96ebcd1f86ca5ea1cd041fe050a82d2324&req=dSguFcl2lYJZXPMW1HO4zWggD9ZSoJ6bRC8c%2FcM5c2JcHt7oqojAJ5svlrRF%0A1cOtpcuAYT47djXHEKo%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1893088365/2ca4b782dda90abea1fe5f4150af/CleanShot+2025-12-18+at+13_14_30%402x.png?expires=1788414300&signature=17c85f69032f1ed6981c72fc301301720d07a17f35f56594878035ab0f55f082&req=dSguFcl2lYJZXPMW1HO4zWggD9ZVp5iZRC8c%2FcM5c2LmoP7fdGsFGVLCMWyY%0A4RgLTHnJIAsCufWIgss%3D%0A) ### Enable the voice shortcut (optional) diff --git a/content/support/12883420-view-usage-analytics-for-team-and-enterprise-plans.md b/content/support/12883420-view-usage-analytics-for-team-and-enterprise-plans.md index 6afc00f413..728d7eded0 100644 --- a/content/support/12883420-view-usage-analytics-for-team-and-enterprise-plans.md +++ b/content/support/12883420-view-usage-analytics-for-team-and-enterprise-plans.md @@ -6,7 +6,7 @@ Usage analytics are available to Team plan Owners and Primary Owners, and Enterp Usage analytics help you track team activity, feature adoption, and spend directly from your admin dashboard. You can monitor how your organization uses Claude and export detailed reports for your own analysis. -Primary Owners and Owners can access analytics via dedicated Analytics settings by clicking your initials in the lower left corner and selecting **[Analytics](https://claude.ai/analytics/activity)** from the menu. Additionally, the Chat, Claude Code, Claude Design, and Cowork options offer product-specific analytics. +Primary Owners and Owners can access analytics via dedicated Analytics settings by clicking your initials in the lower left corner and selecting **[Analytics](https://claude.ai/analytics/overview)** from the menu. Additionally, the Chat, Claude Code, Claude Design, and Cowork options offer product-specific analytics, and the Surveys option lets you ask users directly about their experience. --- @@ -22,7 +22,7 @@ This page includes the following analytics: - Sessions in Cowork -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2515895966/9f231a620f47d49e0ee648152189/848c1787-4eaa-4809-8fd2-1dbe2722560f?expires=1788362100&signature=2e6dba9248017d5e84254dc020456d460d0719640ac2e66c8b65078a29b981a6&req=diUmE8F3mIhZX%2FMW1HO4zZL6wa5xnYdwExEG4dCAGDaJtvBdeCZ0O9pLzda4%0ALa5LaYBWCIIoaq3Nk1g%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2515895966/9f231a620f47d49e0ee648152189/848c1787-4eaa-4809-8fd2-1dbe2722560f?expires=1788480000&signature=9932c3fedbef8964406f456b1b9d18fdade3dd9511fac8cfce087d44ff288a0d&req=diUmE8F3mIhZX%2FMW3nq%2BgYho1jMf8zv1%2FpLnbutdudCANEzO%2B%2BndYh3NOXgE%0AxZfokHUZD%2Flui%2BGen%2FrX%2Fdexmho%3D%0A) ### Who’s using Claude? @@ -34,7 +34,7 @@ This page includes the following analytics: Use the dropdown on the **Active members and assigned seats** chart to filter by product, including Claude Design. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2515896351/4d955858e6662c37489cc1470871/457cf159-8c2a-4403-ba22-cb92cb47e459?expires=1788362100&signature=06fdda7b7a6e81628f19c30ea3e151135c8dbd6231248bb1e6c2ed51496ab04f&req=diUmE8F3m4JaWPMW1HO4zYEqej%2BqRJKuYqPRsgaNdTzPVH%2BH66iIi3SGSniM%0AY%2F404%2FLeZGB55v3joHg%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2515896351/4d955858e6662c37489cc1470871/457cf159-8c2a-4403-ba22-cb92cb47e459?expires=1788480000&signature=24adbd8ba797cc2b3e2d353aca7c0db62ee776a9849d4018eb5d2f9e4ae8cbf2&req=diUmE8F3m4JaWPMW3nq%2BgToBDesemFKfV4lFst5AIfYJdvDQOkfQHPwy2CEZ%0AJ2uNZkZrJNMRrVOhO6hwBrpaOxc%3D%0A) ### How are they using Claude? @@ -48,9 +48,9 @@ Use the dropdown on the **Active members and assigned seats** chart to filter by - How agentic is their work? (beta) -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2583875713/e3cb3c329f3b643cb9a3809876b3/image.png?expires=1788362100&signature=73ba88db9ecb826e6cb2bc3c9249807f4211ec1c786e6591ab358cf98b266a12&req=diUvFcF5mIZeWvMW1HO4zciS3aDqnLxqDFD6TO7tG4iLjxXYp%2FPWdXOzo1rV%0AnYsDpbzSKuc5Vxc7V%2Fg%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2583875713/e3cb3c329f3b643cb9a3809876b3/image.png?expires=1788480000&signature=747783117a333d96eaf140361efa997b7e95200676be8db0140ee3fb11137c7f&req=diUvFcF5mIZeWvMW3nq%2BgUj34YQjVUMPo%2B6oYKeXb6XfZNlzYO%2BHmXeoPvMK%0AKAKVP%2F8drV57WT1pidi4eF6UAcg%3D%0A) -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2515896563/abf008596ce5501297a609696362/fce5423c-4769-4b73-9a0a-c50f6407ebea?expires=1788362100&signature=1f6b4b2b09b16d3c00b53ad9ed5ea532565a02d105132ca78d391d93fbcb5ac8&req=diUmE8F3m4RZWvMW1HO4zR%2BIDo9tu%2FX2LS3kobW3ZgQOX8akDFpw1pW76Zf7%0AglrVxo2JiK2ikj3tQ%2BE%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2515896563/abf008596ce5501297a609696362/fce5423c-4769-4b73-9a0a-c50f6407ebea?expires=1788480000&signature=e5cf006fd273974682318f580187c5ac5b81f96207eac0037d7d970b718ef1fe&req=diUmE8F3m4RZWvMW3nq%2BgWrhFYLyzi2jvoLuqx267Go0CBnMiVY2IoI6wvVZ%0AFGjBUDMxMkAAogk4MOYFsBFCpb0%3D%0A) ### What are the results? @@ -66,7 +66,7 @@ Use the dropdown on the **Active members and assigned seats** chart to filter by - Estimated time saved -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2515896943/dd415f03afe56ca38308ef987f86/189e8ebc-5594-4f4b-bd84-e3c11c824d5b?expires=1788362100&signature=1096dbd134990317bbc999143a82c27f183cade05ad4fb2c4900ad1a7246a55c&req=diUmE8F3m4hbWvMW1HO4zfJThCw8r95HiovaLYNN7Rk%2BGiZ%2BnELap1mMINyl%0A2N3IJGpIgaRf99Dae6c%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2515896943/dd415f03afe56ca38308ef987f86/189e8ebc-5594-4f4b-bd84-e3c11c824d5b?expires=1788480000&signature=c0bcbf243c11280115367c3f91e68a751c233bea557d1644b70a6f02d5cb3a6a&req=diUmE8F3m4hbWvMW3nq%2BgfcSmmwqGt%2BCETzTEwVFkR0u8ZaSsLHcxvM%2FN%2BBG%0A57Cs%2BtnZESKu1cUOQw%2BhxjqacZU%3D%0A) ### How much is Claude costing? @@ -82,9 +82,9 @@ This section includes the following analytics: - Spend by model (month-to-date, quarter-to-date, year-to-date, 1 year) -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2515896942/b403f2d216fc40b5195911020b8e/446b99f1-3187-4b79-b2be-9f17b1632ff8?expires=1788362100&signature=80b9c43b1de88a4470fd28ab1b5f16296dfe8f6c3b567e1100a192fbf4f30fed&req=diUmE8F3m4hbW%2FMW1HO4zYE%2BQ9YB6jPcWbBLGZ4vBJXVpgWUsKItfFzNiZ2P%0AYYKWC1xBWQ7NJjkFq%2FQ%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2515896942/b403f2d216fc40b5195911020b8e/446b99f1-3187-4b79-b2be-9f17b1632ff8?expires=1788480000&signature=03ba1d4f1a6ee2ad4c4eeb76c2f540e1b40d97cc238f715719446d0fa40c348b&req=diUmE8F3m4hbW%2FMW3nq%2Bga0140lO9Uokcgo43WZywL7QOOccvDMZbMKew1%2BS%0A569bIP5yEfPJJ5TbteP%2F838MyuA%3D%0A) -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2515896941/2239ce38639df339b24d5af1cb50/f829bc2a-ee52-4135-9b13-09ef1b7d66d6?expires=1788362100&signature=cf562049a4d0522e7247b5e38f37233a6606a5b4502aa06860b37867927a4cc8&req=diUmE8F3m4hbWPMW1HO4zTz0NuIBIctRC%2BtvTPa1I7EYi1S3KzuMRqRdmFzs%0A%2BiNZgtF9Ujp1hKzX6e4%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2515896941/2239ce38639df339b24d5af1cb50/f829bc2a-ee52-4135-9b13-09ef1b7d66d6?expires=1788480000&signature=203ae1a0c8c52c7226273316e7ab47089230e33c5a3f0f442f696456f35022cc&req=diUmE8F3m4hbWPMW3nq%2BgfMNhzwMl%2B9NXUT%2FklfB9rTQW%2FxsKUjki2uSDzVM%0AOyyOPVvuqnJ7pAkAwBT19gBQI7k%3D%0A) ## Export a spend report @@ -160,7 +160,7 @@ Navigate to **[Analytics > Claude Chat](https://claude.ai/analytics/usage)** to - Top members by chats -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2515898793/405db0c492da11886c28a2b82731/71a55afc-1cef-4c50-b7e1-86775cb9a168?expires=1788362100&signature=4df9296ddbc577516fbec678ab74b1734ad8f86b299fc22cda8490dfff89d905&req=diUmE8F3lYZWWvMW1HO4zbhc8fWfZ%2BYgTcfMEUwBBiXSVeF9eR9CHwrLzfWK%0A5Dwezcn6%2FQWplb4%2FXxk%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2515898793/405db0c492da11886c28a2b82731/71a55afc-1cef-4c50-b7e1-86775cb9a168?expires=1788480000&signature=905bd02548c01baac95e93ca8986a5ee412b471037dd9200084850cb2778c66a&req=diUmE8F3lYZWWvMW3nq%2BgZr%2BWvpZ6UpKnfTb5Z6xndOJ17cq4c5UjrWv5PNm%0AYEhhJJu%2FLDCPESw%2Fm4471yCdBkc%3D%0A) ### Projects @@ -172,7 +172,7 @@ Navigate to **[Analytics > Claude Chat](https://claude.ai/analytics/usage)** to - Top members by project usage -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2515899610/91d93108f0767e795fb9e488e882/71607d6d-dff1-4a13-a445-aa1d79850eed?expires=1788362100&signature=6764bc392315c216b11ca3d339befd92aaaac1638ba7778fe0775dadfc922d22&req=diUmE8F3lIdeWfMW1HO4zWhGoTSanSGjExu5cYiHHN83VUNQAWPEASrixhMM%0A%2B4GEmwRl3ggXLIlt74I%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2515899610/91d93108f0767e795fb9e488e882/71607d6d-dff1-4a13-a445-aa1d79850eed?expires=1788480000&signature=36843feb5148e5a91388574313f7a867f9ec7be7ace0274d7899a9bf7d15b777&req=diUmE8F3lIdeWfMW3nq%2BgWz8JhV0qOg%2B4LtOboH84xTTUg7%2BGuWuQMINzsMe%0AZuHDvWLvADstzPDsW0%2Fv29rslcw%3D%0A) ### Artifacts @@ -182,7 +182,7 @@ Navigate to **[Analytics > Claude Chat](https://claude.ai/analytics/usage)** to - Top 10 users by artifacts generated (month-to-date, quarter-to-date, year-to-date, 1 year) -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2515899838/33d737f2357d6e485704669962ae/43faadc3-47da-4a93-bbb7-47a7983e7441?expires=1788362100&signature=35121895ee2f782fc1a467997675b171207f2b320d7ae172e938818763d58142&req=diUmE8F3lIlcUfMW1HO4zcSk4rLReOzBjHDogqK0V%2BxSPWXPrkbsKs3xdCbk%0AyXhbhTzI911uf3BEqro%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2515899838/33d737f2357d6e485704669962ae/43faadc3-47da-4a93-bbb7-47a7983e7441?expires=1788480000&signature=70ceb6cc5fe6f73f15231573a13cf5615b7c68bdd7d1bdd4419e346bd0b2fe9d&req=diUmE8F3lIlcUfMW3nq%2BgaSH1QP%2F5T5eDA85Sacc1obWRmCGchfqLCBrYDQY%0AivUshL11h4WobSc8dG6KhpTV1uI%3D%0A) --- @@ -278,23 +278,29 @@ Navigate to **[Analytics > Cowork](https://claude.ai/analytics/cowork)** to view - Daily, weekly, and monthly active Cowork users -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2515901489/8005693d55b7fefbfe9233258d39/106c22a0-3f47-47a6-abbd-4788dd70f218?expires=1788362100&signature=541ad0e2a2f0d037e531dfaaa9772553426eb4eaf13ef245ef6d5cb3348fe149&req=diUmE8B%2BnIVXUPMW1HO4zX7WEoCyW0OpFSi1Z3SzLLuRunuJwm2SlQEodvwZ%0AyLkbWFwLeggo1SgZLqE%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2515901489/8005693d55b7fefbfe9233258d39/106c22a0-3f47-47a6-abbd-4788dd70f218?expires=1788480000&signature=61a1475bcede4952e8155ea6b50d801e0967a61030d26d266de925e0bcf4fa51&req=diUmE8B%2BnIVXUPMW3nq%2BgeleUtIxssUblQeAMRfy5uPG5mFD01e%2FPOMqNQw%2B%0AHqGKocmdDhP%2FHiX7Ohv8gU30wVs%3D%0A) **Note:** Cowork analytics are available alongside Chat and Claude Code data in the **[Analytics API](https://platform.claude.com/docs/en/manage-claude/analytics-api)**. --- +## Surveys + +Navigate to **[Analytics > Surveys](https://claude.ai/analytics/surveys)** to ask users short, in-product questions about what they're getting out of Claude and review the aggregated answers. Surveys appear to users as a small card in Cowork or chat, and results include response rates, a breakdown by surface and group, and a CSV export per survey. Learn more about **[creating surveys for your organization](https://support.claude.com/en/articles/16764057)**. + +--- + ## View your own usage as a member -When your admin turns on individual usage analytics, any member of the organization can see their own usage broken down by product, model, and skill, along with where they stand against any spend limits set for them. Individual usage analytics are available in **[Settings > Usage](https://claude.ai/settings/usage)**. +On Enterprise plans with usage-based billing, when your admin turns on individual usage analytics, any member of the organization can see their own usage broken down by product, model, and skill, along with where they stand against any spend limits set for them. Individual usage analytics are available in **[Settings > Usage](https://claude.ai/settings/usage)**. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2533906328/1f5cd0a57def40676410f8f379b4/member-usage-30d-model.png?expires=1788362100&signature=70b6172dbb5efa15adbb2e4501abf862e955015f3dfab303884aaf2ca4b4c5f4&req=diUkFcB%2Bm4JdUfMW1HO4zfveB6fGeunbWGUKUw6QS49WDaCJffIe8wJpfeUi%0A2MaK96CrpjfLXqXUakw%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2533906328/1f5cd0a57def40676410f8f379b4/member-usage-30d-model.png?expires=1788480000&signature=2207850761abd6005e7e96064d3a313b6ae1cb8a41dfa20563a1cfecd1d102bf&req=diUkFcB%2Bm4JdUfMW3nq%2BgURMIYRQh8jpneOI8fgLcTqFXAHNlt4cxFb0s04D%0AxxHSpGOz9DfSh3Vr%2FSa88B42OCI%3D%0A) --- ## Turn individual usage analytics on or off -**Note:** Individual usage analytics is off by default, but will be on by default starting on July 11, 2026. If you want to keep member-level visibility off, change the setting on or after July 11. +**Note:** Individual usage analytics is available to Enterprise organizations on usage-based billing. The **Member analytics** toggle does not appear for Team plan organizations or for seat-based Enterprise organizations. Owners and Primary Owners control whether members can see this view. The setting applies to the whole organization. @@ -304,6 +310,8 @@ Owners and Primary Owners control whether members can see this view. The setting 3. Switch it on or off. +**Note:** Individual usage analytics is default on since July 11, 2026. If you want to keep member-level visibility off, change the setting. + --- ## Access your analytics data programmatically diff --git a/content/support/12902446-claude-in-chrome-permissions-guide.md b/content/support/12902446-claude-in-chrome-permissions-guide.md index 44761d4884..bf0bb37443 100644 --- a/content/support/12902446-claude-in-chrome-permissions-guide.md +++ b/content/support/12902446-claude-in-chrome-permissions-guide.md @@ -28,7 +28,7 @@ In "Manually approve," Claude checks with you before it acts. What that looks li Claude creates a plan from your prompt, which you can approve before Claude starts. The plan specifies which websites you're allowing Claude to access, as well as the approach it will follow: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1843320727/8d1c859ae9b8e0cdb536d024bf40/9bc3d239-8eb6-4bae-a032-a236f88ee606?expires=1788362100&signature=363cf01ef423fb388908f1df912b3761c14c969d731ded0126924269fd4d7175&req=dSgjFcp8nYZdXvMW1HO4zYqyZcpO%2BoC2gN0ADj5oqFCqGEsq0H8WPgUDUaVr%0ANVlC0F6SFgdbvGGp2Ek%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1843320727/8d1c859ae9b8e0cdb536d024bf40/9bc3d239-8eb6-4bae-a032-a236f88ee606?expires=1788414300&signature=ba0de2a275d6d9caa7ee82da898a5e3ccdc08d36b815e04bdd64fcf6fef30233&req=dSgjFcp8nYZdXvMW1HO4zYqyZcpJ%2FYa0gN0ADj5oqFAE2xsuhIDC35waxalM%0A6ow%2BBWl0x6wMZ2SrdSw%3D%0A) Note that Claude will only use the websites listed in the plan, so you’ll need to manually approve any additional access requests. @@ -62,7 +62,7 @@ When you choose "Skip all approvals," Claude doesn't pause to ask, and nothing c There are some websites on which Claude requires approval for every action. If you navigate to one of these sites, a **New permissions required** prompt will appear in the extension side panel, Claude Cowork, or Claude Code where Claude will ask for permission before accessing the page or taking any action. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2604970825/d7b961271be69e7541b406df1efd/d845324e-6b4a-4f54-83b9-0bea86ec09c6?expires=1788362100&signature=23ebad79a2df3d707a70e2d3c5e1d9db85bf09255ec4101552ee16c886b2aee9&req=diYnEsB5nYldXPMW1HO4zZ3Nqm5zji7t7A4lHPBihAU2ZyjLjxndVsY3E8IB%0AFARauOrlr973RxP9KPQ%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2604970825/d7b961271be69e7541b406df1efd/d845324e-6b4a-4f54-83b9-0bea86ec09c6?expires=1788414300&signature=11df342398bca6c3b8f5106b0bc094a16d0fefde41c171a87541be2b1b4377bd&req=diYnEsB5nYldXPMW1HO4zZ3Nqm50iSjv7A4lHPBihAXN1FrOMYMwLz3xIl3C%0A05YAz4XcJ%2FC02LST4mk%3D%0A) ### Permission options diff --git a/content/support/12997503-team-plan-billing-faqs.md b/content/support/12997503-team-plan-billing-faqs.md index 64b67a7aad..c7949507b1 100644 --- a/content/support/12997503-team-plan-billing-faqs.md +++ b/content/support/12997503-team-plan-billing-faqs.md @@ -18,7 +18,7 @@ Your organization's billing address determines where your invoices are sent. You If you want to use a name other than the one tied to your payment method, an organization Owner should check the "Use a different name on invoices" box when adding or updating your payment method in **[Organization settings > Billing](https://claude.ai/admin-settings/billing)**: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1922145253/f2e3d4e0fe43a2ea07e89244764c/image.png?expires=1788362100&signature=94208d86875203b5bc32552805731b2e4e4e8d1183a420cfd8614a3764f8514a&req=dSklFMh6mINaWvMW1HO4zRZTxFLCvcnSKAqLF4ERnlUO0ilsU1jJN%2Fzntfso%0Ae%2BaYbmCfB5dkCVE1RYg%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1922145253/f2e3d4e0fe43a2ea07e89244764c/image.png?expires=1788414300&signature=7c9b4d364e6b05e2f9075106b5b8b2ceeda245068df86f7adce3f8a0788e2478&req=dSklFMh6mINaWvMW1HO4zRZTxFLFus%2FQKAqLF4ERnlXqltNRqpJFdfnKRsvt%0A0u7BknVDUu1xs0xoHPM%3D%0A) ## When will I be billed? diff --git a/content/support/13132885-set-up-single-sign-on-sso.md b/content/support/13132885-set-up-single-sign-on-sso.md index c9f73bd6a2..feddf32bb8 100644 --- a/content/support/13132885-set-up-single-sign-on-sso.md +++ b/content/support/13132885-set-up-single-sign-on-sso.md @@ -42,7 +42,7 @@ You can verify multiple domains for a single organization, but all domains must 3. Enter the domain(s) you want to verify in the **Update organization email domains** modal and click the “+” button: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2498843282/561d5ceb1c3a5df75bdfee8bfc3f/d2491145-362d-490b-bdcf-66a0a7656ddc?expires=1788362100&signature=ea2761c78f16de1faa394b9187434765fcb1d8d3d8a2c8674086f5817edfa952&req=diQuHsF6noNXW%2FMW1HO4zSdmHnQ6%2FMaNe3H0OpmIzWEgX3YKivpZSaiT10qv%0AOcM4%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2498843282/561d5ceb1c3a5df75bdfee8bfc3f/d2491145-362d-490b-bdcf-66a0a7656ddc?expires=1788480000&signature=ad441e0ab23063fe2457530f2b1571b0f9a861cdedfd24e4a8d6f7b4f15b7f7e&req=diQuHsF6noNXW%2FMW3nq%2BgVKY2TIwxu3b%2BVk2K%2BjeP1%2BPAhtGWZh9tRrEjK50%0Aml1lmV80v5xUw3y8Q3vQM%2Floto0%3D%0A) 4. Click “Save” when you’re finished adding domains. @@ -50,9 +50,9 @@ You can verify multiple domains for a single organization, but all domains must 6. Enter your domain in the text box and click “Continue”: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2047042630/0617a562cd28a7ff0e607d66a30b/6bd08e1d-2b65-40ab-bc79-a257153854c1?expires=1788362100&signature=03500e0cca56805b4da2564df21a11d130ae3f083ce0ec270f88e64508cbc22e&req=diAjEcl6n4dcWfMW1HO4zWHctRWUkdOryoyXAW0OlXptPiU9LObSYis%2FAMSE%0AinwA%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2047042630/0617a562cd28a7ff0e607d66a30b/6bd08e1d-2b65-40ab-bc79-a257153854c1?expires=1788480000&signature=5faaed2c3557b60631ed10747ac177cb2b0714cad96d484323d9625c943dfdb4&req=diAjEcl6n4dcWfMW3nq%2BgU1ga4PjwWlMNE4J2wlNvc2EzZNM%2BaGS7rAovJal%0A%2FoWrfUlZ1MrFn329rlXwua%2BxC%2B0%3D%0A) -7. The setup screen displays a TXT record. **Copy the full Value using the copy button**—it begins with `anthropic-domain-verification-` and is longer than what's visible in the box. In your DNS provider, add a TXT record with **Host/Name** set to `@` (the root of your domain) and **Value** set to the copied string. Add it alongside any existing TXT records; don't replace them. The value is case-sensitive, so paste it exactly. +7. The setup screen displays a TXT record. **Copy the full Value using the copy button**—it begins with `anthropic-domain-verification-` and is longer than what's visible in the box. In your DNS provider, add a TXT record to your domain and **Value** set to the copied string. The domain must match exactly what you entered in the previous step, including any subdomains. Add it alongside any existing TXT records; don't replace them. The value is case-sensitive, so paste it exactly. Please refer to your DNS provider's documentation on this topic. 1. **Important:** Save the TXT value before leaving the setup screen. Once the domain shows as Pending, the admin console doesn't display the value again. If you lose it, you'll need to remove and re-add the domain, which generates a new value. @@ -76,7 +76,7 @@ Clicking "Refresh" re-checks your DNS; it won't show Verified until the publishe If the record is correct and propagated but the status still shows Pending, contact Support. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2047044496/b8df54a0331784cc9ae8f00112aa/bf9609c1-dc93-4665-a066-4cae2fe4b002?expires=1788362100&signature=30b724d1c5e84df424c5602b97acc47f7793adefd1e23184bb473d0057c69c4d&req=diAjEcl6mYVWX%2FMW1HO4zVjmWSEDaXa4PM2D8Zcdgrg7UCGw%2B5Ay1cOzxcPs%0ACk0EJd0HEPvm7ItNhcE%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2047044496/b8df54a0331784cc9ae8f00112aa/bf9609c1-dc93-4665-a066-4cae2fe4b002?expires=1788480000&signature=b2460cda98b25a739e17d3eda15c2cdf2c80165fd942d9c0d5b891274910b4ea&req=diAjEcl6mYVWX%2FMW3nq%2BgRz1alCPJGJr%2Bq%2F4XWURBt6FF3AoGcHmXZf8BJK%2B%0A3zZgCFoieNePjvlkTULQJgm3aGs%3D%0A) **Note:** Once your domain is verified, you'll see a **Restrict organization creation** toggle under **Security** on the Organization and access organization settings page. Enable this if you want to prevent users from creating new Claude or Console organizations—including personal accounts—using your verified domains. @@ -116,7 +116,7 @@ For IdP-specific setup instructions, see: You can now choose to toggle on **Require SSO for Console** and/or **Require SSO for Claude,** on the **Organization and access** page, under the **Authentication** section: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2312690200/bd2403586d4f6651ccd79e2a45af/b9f8d7ce-0def-49d9-bfb2-3a14352d7214?expires=1788362100&signature=dfe3be5576a4052d93b21da07534abe1ce1cf6ac3c6b941c4990fd022295932a&req=diMmFM93nYNfWfMW1HO4zdAICweiBH4LItXtKivx6ZG768KfXp5P6M20Kd4n%0A8ZRxz7YZNejk3GjRrcg%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2312690200/bd2403586d4f6651ccd79e2a45af/b9f8d7ce-0def-49d9-bfb2-3a14352d7214?expires=1788480000&signature=00abf6fa439b79e884fe3cabec3edcecedda20474e375aa1af8ed930e80851fd&req=diMmFM93nYNfWfMW3nq%2BgRYH5xpArJDq%2BajEdawRDaxj1uRxwGCG0tx9za%2BO%0A7UFHzbzWiudv5At9EdkvDVf8Cac%3D%0A) When SSO is required, users must use the “Continue with SSO” option to log in to their Claude/Console accounts. When SSO is not required, they will have the option to choose “Continue with SSO” or “Continue with email.” @@ -164,10 +164,16 @@ When your Identity Provider's X.509 signing certificate expires or is rotated, y 5. Click "Test sign-in" on the same page to confirm everything is working. +**Important:** If **Require SSO** is turned on and your certificate has already expired, no one in your organization can sign in to update it, because every sign-in option routes through SSO. **[Contact Support](https://support.claude.com/en/articles/9015913)** from an Owner’s or Primary Owner’s email address and we’ll help you regain access so an Owner can update the certificate. To avoid this, note your certificate’s expiry date in your Identity Provider and rotate it ahead of time. + --- ## Turning off SSO You can toggle **Require SSO for Claude** or **Require SSO for Console** off at any time. This will make SSO optional for all users. -To fully disconnect SSO, click “Manage SSO” then “Reset connection.” This will end all users’ sessions and require them to sign back in via email login link. \ No newline at end of file +To fully disconnect SSO, click “Manage SSO” then “Reset connection.” This will end all users’ sessions and require them to sign back in via email login link. + +## Locked out of admin access? + +If none of your Owners or Admins can sign in (for example, after a certificate expiry, an Identity Provider change, or a group mapping that removed your administrators), contact Support from an Owner’s or Primary Owner’s email address. We’ll verify your ownership of the organization and help you regain access so you can correct the configuration. \ No newline at end of file diff --git a/content/support/13133195-set-up-jit-or-scim-provisioning.md b/content/support/13133195-set-up-jit-or-scim-provisioning.md index 9125291eb1..20971b7e73 100644 --- a/content/support/13133195-set-up-jit-or-scim-provisioning.md +++ b/content/support/13133195-set-up-jit-or-scim-provisioning.md @@ -36,7 +36,7 @@ Use this table to help decide which provisioning mode is right for your organiza Both JIT and SCIM can be combined with **Enable group mappings** to control role or seat tier assignment based on IdP group membership. If you select either of these options for your provisioning mode, **Enable group mappings** will appear within the **User provisioning** section: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2312706099/35d5d3ec149880a96bb7acec59f6/a4cfce55-86bf-40b0-b455-c8f412d48e9e?expires=1788362100&signature=4c6e31c331bc6c9f8bda379524ef1b8460bdf162b09236ede451bf6f94a1e15a&req=diMmFM5%2Bm4FWUPMW1HO4zXBDQ6NXC1h3xFMG%2BIEvQScWh1Osp%2BpJkQoq21Wm%0AFEaFH%2BhHUkvF7zMGFgA%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2312706099/35d5d3ec149880a96bb7acec59f6/a4cfce55-86bf-40b0-b455-c8f412d48e9e?expires=1788480000&signature=ebb3f1c4f6f3f6737284d2795fcdbcb07bc2c69a14d2db94287d3c1948d1d5ba&req=diMmFM5%2Bm4FWUPMW3nq%2BgfvyY15K%2BQ1Njbg49Ml26XT59hHxzYjLOuj3qabZ%0AX0ndnwDG64CMLTwSuN0MJ%2ByZyt8%3D%0A) **Important:** Group mappings set a user’s role type and seat tier only. Users with the Custom role get their permissions from groups in Claude, and those groups sync from your IdP only when your provisioning mode is SCIM directory sync. With JIT, you need to create groups and add users to them manually in **[Organization settings > Groups](https://claude.ai/admin-settings/groups)**. If you map an IdP group to the Custom role under JIT without doing this, those users have no permissions when they log in. Learn more about **[managing groups on Enterprise plans](https://support.claude.com/en/articles/13799932)**. @@ -122,7 +122,7 @@ Once your IdP is connected, continue to Step 3. 4. Toggle **Enable group mappings** on (if it’s not already): - ![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2312714635/b57870b51e6511c8293637bceee2/da1ceabc-b6bc-451b-9cda-24ff6aa90d02?expires=1788362100&signature=ae83d34b660156a618c6e442cfd7c75d3d01e756aedbc9de2b51fa353e281777&req=diMmFM5%2FmYdcXPMW1HO4zeBEbs3bkfhJyb72rapuHpMM8PfUI1K%2BCl49tDMa%0ADeEc%0A) + ![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2312714635/b57870b51e6511c8293637bceee2/da1ceabc-b6bc-451b-9cda-24ff6aa90d02?expires=1788480000&signature=781a4ac676b44f774e2675020bd19d072cf5e8118587eb5138f4686a09207b89&req=diMmFM5%2FmYdcXPMW3nq%2BgQ152WYnMk%2F6ZT8gm2WmwAIMJ4vxFYXPAVnqZv85%0A2wPzk9N%2Bpt6mP%2FSnegV6QMekbpM%3D%0A) 5. In the **Enable group mappings** section, click “Add” next to each role and select the corresponding group from your IdP in the dropdown. @@ -130,7 +130,7 @@ Once your IdP is connected, continue to Step 3. 2. You can map an IdP group to the “Custom” role. Users assigned this role have no default permissions; their access is determined entirely by the custom roles assigned to their groups in Claude. If you use JIT, add these users to groups manually in **[Organization settings > Groups](https://claude.ai/admin-settings/groups)** before they log in, since JIT doesn't sync group memberships from your IdP. -6. **For all plans except single-seat Enterprise:** In the **Assign seat tiers to IdP groups** section (optional), click "Add" next to each seat type and select the corresponding group from your IdP. If a user isn't assigned to a seat type group, they will be assigned to the highest available type by default. +6. **For all plans except single-seat Enterprise:** In the **Assign seat tiers to IdP groups** section (optional), click "Add" next to each seat type and select the corresponding group from your IdP. Users who aren’t in any seat tier group aren’t removed. Existing users keep their current seat type. New users receive the highest seat type that still has an unassigned purchased seat (for example, Premium while unassigned Premium seats remain, then Standard), and are added with no seat if none is available. 1. **For single-seat Enterprise:** Seat type mapping does not apply. All provisioned users are automatically assigned an Enterprise seat, provided one is available in your organization. @@ -174,7 +174,7 @@ Verify you have enough seats purchased and available to add members to your org. 4. **For SCIM:** Click "Sync" to prompt an immediate sync, or wait for the automatic sync cycle: - ![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2312717421/c97fce49ad17d4660880a05fbaaf/59fbfa2a-1072-4662-8ca5-102970d5a795?expires=1788362100&signature=4170ea42c7084dca193db6f90bee593d45ced2f71d02341040c823d462a7c6f8&req=diMmFM5%2FmoVdWPMW1HO4zZ9La1WuH8jD5hujYvMis4fmlCfTFnaLYcduFBqB%0AT3OJ%0A) + ![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2312717421/c97fce49ad17d4660880a05fbaaf/59fbfa2a-1072-4662-8ca5-102970d5a795?expires=1788480000&signature=31e36c5d51b21092dced14d3fdaedddd2ad39cd1876a82d3798f1786e10cb407&req=diMmFM5%2FmoVdWPMW3nq%2BgREJfJk7pCEuKkq7lv2I5ocyyxrBgzaOybRGdrEO%0AcvMDuFxlw8kJgPM9ml8IN1LdcCU%3D%0A) ### Users mapped to the Custom role can't access anything after logging in diff --git a/content/support/13163631-configuring-session-security-settings.md b/content/support/13163631-configuring-session-security-settings.md index 5a364abd15..6c80b39961 100644 --- a/content/support/13163631-configuring-session-security-settings.md +++ b/content/support/13163631-configuring-session-security-settings.md @@ -18,7 +18,7 @@ Session duration controls allow Enterprise and Console Admins to set a maximum s 5. Confirm your selection by clicking “Enable.” -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1888469436/1725e63ea1a2615948faecf4ec73/9bd276a1-7329-414d-87a1-d04dac93fff7?expires=1788362100&signature=15936d39dcb56ba21cdd535d1f5b1d7818ead00f40ef75a912d01e283dc18bbc&req=dSgvHs14lIVcX%2FMW1HO4zQNx6%2BokRVhRg%2F6XaftFnjwxb9HN%2B35IxO3Fv5%2B9%0AUp8eV3tCa%2B9c7ElHuYA%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1888469436/1725e63ea1a2615948faecf4ec73/9bd276a1-7329-414d-87a1-d04dac93fff7?expires=1788414300&signature=32c604abda722cae7a6f31365d66f76c8c1c535a04ac18e9157735a28105b5e6&req=dSgvHs14lIVcX%2FMW1HO4zQNx6%2BojQl5Tg%2F6XaftFnjyfCne%2BMUtGis7bIeqz%0AlB0vhoHsJS6OqXkh%2B%2BM%3D%0A) ### For Console Admins @@ -32,7 +32,7 @@ Session duration controls allow Enterprise and Console Admins to set a maximum s 5. Confirm your selection by clicking “Enable.” -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1888469435/7a766bbe02e61c7d8f05deb5b8f0/b0bda400-47c6-43dd-9907-131ebe180b36?expires=1788362100&signature=66e59b68421af2e5094b2c80db25521f1904e3d243ec81db120391031be273f0&req=dSgvHs14lIVcXPMW1HO4zWzx2LE1IX0gXZ5D7eVpMtcWHL8on4S%2F4ja4mAFY%0A1u5cnymi2WIixBkT6lA%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1888469435/7a766bbe02e61c7d8f05deb5b8f0/b0bda400-47c6-43dd-9907-131ebe180b36?expires=1788414300&signature=44cd6a948f660fdc9bf619b0ac116069e4daf885e72781aef43024716d038ae3&req=dSgvHs14lIVcXPMW1HO4zWzx2LEyJnsiXZ5D7eVpMteUPnZrYhR58eFgAxZp%0AnGV%2F8KkGCNTwh5SCRRg%3D%0A) ### What happens after enabling shortened session length? @@ -50,7 +50,7 @@ You can change the session duration at any time by selecting a new value from th - Sessions scheduled to expire beyond the new duration will have their expiration shortened accordingly. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1888469437/46ac5bc55484ca01556d87a5ade7/b01a7651-ad65-4b32-93ff-16dbc9ca97c0?expires=1788362100&signature=aa5e56621ddb4646fbed679a199a3ef555261574ca5f136a7d9ed4cfd581bca6&req=dSgvHs14lIVcXvMW1HO4zZ7mWsCY4TuiA00cbyPOLDXnaQc3ZyHnFKEdR0tf%0AMAo%2Bt06HOtDeF9c9HQ4%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1888469437/46ac5bc55484ca01556d87a5ade7/b01a7651-ad65-4b32-93ff-16dbc9ca97c0?expires=1788414300&signature=c9f29f267ec8f2dbc2fdf6503b140f3723c2202597e5f2baf41cc4c24e8e668b&req=dSgvHs14lIVcXvMW1HO4zZ7mWsCf5j2gA00cbyPOLDVrVUjB1PJIUFI8arxy%0AIOWwMrhqmQhJEjwa47Q%3D%0A) ## Disabling session length settings diff --git a/content/support/13189465-log-in-to-your-claude-account.md b/content/support/13189465-log-in-to-your-claude-account.md index d816168115..92beeac1d2 100644 --- a/content/support/13189465-log-in-to-your-claude-account.md +++ b/content/support/13189465-log-in-to-your-claude-account.md @@ -2,7 +2,7 @@ When you open Claude on a web browser ([claude.ai](http://claude.ai)), the desktop app, or a mobile app, you will see two different options for logging in to your Claude account. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1893216804/f2209c3ec6cf4fc2e803d13bbc9d/40520c9e-ff82-4a7c-adca-5a064fe18d8c?expires=1788362100&signature=1279d57a20f82720f09aef29ae0ee7049c056c1e410d575ee77c271d7e8f9d62&req=dSguFct%2Fm4lfXfMW1HO4zXg5BoqP5RC1zWhrqpWiTMlC%2FVxnwRSRVfU0m8j1%0ANxzX3V7y%2BOxvujQhnbI%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1893216804/f2209c3ec6cf4fc2e803d13bbc9d/40520c9e-ff82-4a7c-adca-5a064fe18d8c?expires=1788414300&signature=f3a26a596f9c3e61d54471e08bad0f890c16903cb33a845f7b836b223cdc298b&req=dSguFct%2Fm4lfXfMW1HO4zXg5BoqI4ha3zWhrqpWiTMmA9pwFJqD7TAVyZjj%2B%0AOee0PBu2PcuhDRjZ8qY%3D%0A) ## Continue with Google diff --git a/content/support/13325567-account-management-faqs.md b/content/support/13325567-account-management-faqs.md index 34beaa72fd..391dd76f53 100644 --- a/content/support/13325567-account-management-faqs.md +++ b/content/support/13325567-account-management-faqs.md @@ -44,6 +44,6 @@ The email domain that was used to create your Team or Enterprise plan organizati Owners can remove domains by opening up the same modal and clicking the trash can icon to the right of the domain: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2053873852/1cbccea3b7067e03205f2ff8546b/CleanShot+2026-02-11+at+11_16_07%402x.png?expires=1788362100&signature=dc9c0c71d6eec28de7a489a4fefe72966367486eba1038c056e08c9fed68745c&req=diAiFcF5nolaW%2FMW1HO4zUrhFuObbwobkeFUnrkrQZh0UKx5ZB%2BxjKBUGqxQ%0At%2BdI5cj%2FWE%2FnBpo%2Bc7A%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2053873852/1cbccea3b7067e03205f2ff8546b/CleanShot+2026-02-11+at+11_16_07%402x.png?expires=1788414300&signature=e4a4a62a25f402cf3612acc0196732ec6b8cba662f3eadba9ed8b521946f8add&req=diAiFcF5nolaW%2FMW1HO4zUrhFuOcaAwZkeFUnrkrQZhEY2DskG7%2BAF0oXRht%0AkoXbVr8r%2FpTvlO%2FAgPo%3D%0A) While the account creator must use a business email address, you can add public domains like @gmail.com, @yahoo.com, and @hotmail.com as allowed domains for other members of your organization. \ No newline at end of file diff --git a/content/support/13345190-get-started-with-claude-cowork.md b/content/support/13345190-get-started-with-claude-cowork.md index dc90cf5009..c0316c3bc7 100644 --- a/content/support/13345190-get-started-with-claude-cowork.md +++ b/content/support/13345190-get-started-with-claude-cowork.md @@ -178,7 +178,7 @@ To set global instructions: 3. Type your instructions in the text box and click "Save": -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2525926874/15324ac4155d7802272e8bdef04b/ec66cd09-a4db-4f1d-8f30-226c9d126333?expires=1788362100&signature=2d8932d551e04278f625340e207b046460b597ba6fd1c28934dda68cab924e42&req=diUlE8B8m4lYXfMW1HO4zcDl6tDvMFOx8iWjaktE940NwEhKjouFcjjVyKD6%0Aee4cboMxsi1JziN%2B%2BgY%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2525926874/15324ac4155d7802272e8bdef04b/ec66cd09-a4db-4f1d-8f30-226c9d126333?expires=1788544800&signature=f26d0d070a7842559b307b6319c8256dd0abf3340299c1c5c1af1dc26ecfc6e5&req=diUlE8B8m4lYXfMW3nq%2BgcqgxG%2BD1LPYb1mMqW%2FkK1eJsZ5KLabs9WMufnnj%0Ak9pgAMc9IlwDCaXhc%2BjEIHiF3Gs%3D%0A) ### Folder instructions @@ -282,9 +282,9 @@ For more detailed examples, see our **[use cases](https://claude.com/resources/u Some Cowork capabilities are not yet available: -- **No session sharing:** Sessions can't be shared with others. On Team and Enterprise plans, you can share live artifacts within your organization. Learn more about **[using live artifacts in Claude Cowork](https://support.claude.com/en/articles/14729249)**. +- **No session sharing:** Sessions can't be shared with others, but you can share individual artifacts you create during a session. Learn more about **[using artifacts in Claude Cowork](https://support.claude.com/en/articles/14729249)**. -- **Some features are desktop-only:** Live artifacts and plugins that include local MCP servers work through the desktop app only. +- **Some features are desktop-only:** Live artifacts created before August 19, 2026 and plugins that include local MCP servers work through the desktop app only. We're iterating on Cowork based on feedback. To share feedback on Free, Pro, and Max plans, use the feedback button in the app. If you're on a Team or Enterprise plan, you won't see a feedback button in the app, so you should contact your organization admin or your Anthropic Contact if you have suggestions. diff --git a/content/support/13346458-customizing-your-console-appearance-settings.md b/content/support/13346458-customizing-your-console-appearance-settings.md index 45a17f817d..4e84ffd819 100644 --- a/content/support/13346458-customizing-your-console-appearance-settings.md +++ b/content/support/13346458-customizing-your-console-appearance-settings.md @@ -8,4 +8,4 @@ 3. Select from Light, System, or Dark under **Color mode**. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1922579101/ede30d38dca693c59f9c15d79e69/CleanShot+2026-01-08+at+15_45_20%402x.png?expires=1788362100&signature=52572c77efac0e59ea3315d1157a00c9563adeb58d9179c5435c9207f588f494&req=dSklFMx5lIBfWPMW1HO4zRpFC8AHSxB3O9Kw38RlAYLcT1Ey%2BVfy2SvUtjHQ%0A7psMXMEgY2EeHuACdWs%3D%0A) \ No newline at end of file +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1922579101/ede30d38dca693c59f9c15d79e69/CleanShot+2026-01-08+at+15_45_20%402x.png?expires=1788414300&signature=8ce8bcce79a4082294dd6d3e317543413173270482fb492a02a5f9d583a5cd7f&req=dSklFMx5lIBfWPMW1HO4zRpFC8AATBZ1O9Kw38RlAYIqy7DJzQYrwyqqMOVW%0AbgDDPJvCgfb3YA3SIes%3D%0A) \ No newline at end of file diff --git a/content/support/13371040-log-in-to-your-console-account.md b/content/support/13371040-log-in-to-your-console-account.md index 43255e333f..ae8b252d56 100644 --- a/content/support/13371040-log-in-to-your-console-account.md +++ b/content/support/13371040-log-in-to-your-console-account.md @@ -2,7 +2,7 @@ When you navigate to the **[Claude Console](https://platform.claude.com)**, you will see two different options for logging in to your Console account. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1935026646/d90d1613a3dbe763fef5abb96e3c/image.png?expires=1788362100&signature=3cee4ae65f231c6bac84314a0845a6714f955924b8d906822f094f94f1a125ad&req=dSkkE8l8m4dbX%2FMW1HO4zcrI54HvpoIM8vUNcPt4%2B70goOm%2BtCo4uVBPXkad%0AYT6NQbW4toUDCvxrb%2FE%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1935026646/d90d1613a3dbe763fef5abb96e3c/image.png?expires=1788414300&signature=4f215d90456a39215d5cd5851c49df40cc611a91dec4a1d5f41f5315b4063c7a&req=dSkkE8l8m4dbX%2FMW1HO4zcrI54HooYQO8vUNcPt4%2B73xen2MW3W%2BqmM63k0z%0AvyO8nU%2FiaO4Ah95sW70%3D%0A) ## Continue with Google diff --git a/content/support/13393991-purchase-and-manage-seats-on-enterprise-plans.md b/content/support/13393991-purchase-and-manage-seats-on-enterprise-plans.md index 0069708537..9c7fd7a6a9 100644 --- a/content/support/13393991-purchase-and-manage-seats-on-enterprise-plans.md +++ b/content/support/13393991-purchase-and-manage-seats-on-enterprise-plans.md @@ -76,7 +76,7 @@ To unassign a member: To restore their access, repeat the process and select “Enterprise seat.” -**Note:** Members with no seat assigned remain part of your organization but can't use Claude until you reassign them a seat. +**Note:** Members with no seat assigned remain part of your organization but can't use Claude until you reassign them a seat. They do not count toward your organization's seat limit. Pending invitations do count. If "Add member" is unavailable even though seats show as available, revoke pending invitations that won't be accepted, or purchase additional seats. --- diff --git a/content/support/13641943-visual-and-interactive-content.md b/content/support/13641943-visual-and-interactive-content.md index 8bb0d824f3..3afda83ff3 100644 --- a/content/support/13641943-visual-and-interactive-content.md +++ b/content/support/13641943-visual-and-interactive-content.md @@ -18,7 +18,7 @@ Claude can show current weather conditions and forecasts when you ask about the Claude automatically displays temperatures in Fahrenheit for US locations and Celsius for everywhere else. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2040544927/3a9c695b24df387ecdd766ad308c/8be9f393-dcb0-4ff8-89e8-5fa47bedaa38?expires=1788362100&signature=8aaab58bd37df87b51df003d8570fbda01a157502e66def1fdadf00d1df44008&req=diAjFsx6mYhdXvMW1HO4zXlB7Ta50xqJdgndksVD5R1kcFejzl%2BcYoVdrfMj%0AenEclBSLZaRhQOx3N88%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2040544927/3a9c695b24df387ecdd766ad308c/8be9f393-dcb0-4ff8-89e8-5fa47bedaa38?expires=1788414300&signature=592f433f032f41c1ef3ee71a0cea3c25fffa730ca272761491575137adf494ec&req=diAjFsx6mYhdXvMW1HO4zXlB7Ta%2B1ByLdgndksVD5R3PU%2B7Q8FZYjblqV62M%0A9Y8qySciuA%2FVaqPggrU%3D%0A) Weather is powered by Google Maps (). @@ -28,7 +28,7 @@ When you ask about recipes, Claude can display formatted recipe cards that are e **Note:** Visual recipe cards are available on web and desktop only. On mobile, Claude provides recipe information as text in the conversation. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2040544929/12f4c51eda7779d65d3ea2c7ab16/d0f4a314-cff8-421a-b401-10c2bf50374e?expires=1788362100&signature=b9bb4c80e8333c0fdac4c4d2762e8a1b5976bb6d5b9b8e7d11ae750b0c001b57&req=diAjFsx6mYhdUPMW1HO4zUQpe7gW1FaWrIPm%2FImZVg0xEu2AirXOyakyopmw%0AZv1toG6f2JS%2BopZUNcU%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2040544929/12f4c51eda7779d65d3ea2c7ab16/d0f4a314-cff8-421a-b401-10c2bf50374e?expires=1788414300&signature=f6cff9c62c94ab62ce1856fbc208443cec50f2645c005ba7bf549f330009a318&req=diAjFsx6mYhdUPMW1HO4zUQpe7gR01CUrIPm%2FImZVg0Wca%2BqEsCyU9ufkykS%0A9Br2qI6t4RUQlcAKbAE%3D%0A) ### Custom visuals @@ -76,7 +76,7 @@ For example, if you ask Claude to help you plan a trip, it might ask you to: This content appears at the bottom of the chat. You can still type a response if you prefer. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2040544930/9ad066e137d11e4b559b0217e12d/9bf30d2d-1715-42b3-9da5-2a9298f41f08?expires=1788362100&signature=e4fda3028437f6d35b90da40515b96f773bff83d8d7e23d4dc125b1b2b75c57c&req=diAjFsx6mYhcWfMW1HO4zWmF5%2F29bxyjx4wz0C7CTAKJvU%2FO0ryU3YVJoDlT%0AyVVtG542jFBkH7GWpgg%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2040544930/9ad066e137d11e4b559b0217e12d/9bf30d2d-1715-42b3-9da5-2a9298f41f08?expires=1788414300&signature=4dbc9bf7358c2b159cdf0084e2b3777f761372eef3122fe27f54f9740e892923&req=diAjFsx6mYhcWfMW1HO4zWmF5%2F26aBqhx4wz0C7CTAJqvYU94p3EJ2AGgJok%0Az3907rpPqUctG2lrGUM%3D%0A) --- diff --git a/content/support/13756069-public-sector-faqs.md b/content/support/13756069-public-sector-faqs.md index 28d78db8de..bb4b6d3cd6 100644 --- a/content/support/13756069-public-sector-faqs.md +++ b/content/support/13756069-public-sector-faqs.md @@ -6,7 +6,7 @@ Select your product based on both your technical/functional requirements, and also your compliance/security/deployment environment requirements. Here is a list of options: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2197717161/79965a24090029e9e58c727c3c24/pubsec-product-matrix_png+%281%29.jpg?expires=1788362100&signature=11878fbec32d910a3079245af082dc4cb1bcb645fa7f030ef7d3882f0fe929be&req=diEuEc5%2FmoBZWPMW1HO4zU94LlEmG98x2WxtU42UVC14za7ZBP4x3TCyV8R6%0A8zNPxp1OTKmp98St%2FFo%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2197717161/79965a24090029e9e58c727c3c24/pubsec-product-matrix_png+%281%29.jpg?expires=1788414300&signature=3c42ac98e1110ccca5894926bda1313c689dc140dac94858c2581a6c1b5b00e9&req=diEuEc5%2FmoBZWPMW1HO4zU94LlEhHNkz2WxtU42UVC1l%2F8Z29HuVPM%2BA0aer%0AVsCfUfdMAAfD3jRwiGw%3D%0A) ### What is Claude for Government (C4G)? diff --git a/content/support/13799932-manage-groups-and-group-spend-limits-on-enterprise-plans.md b/content/support/13799932-manage-groups-and-group-spend-limits-on-enterprise-plans.md index 0bd56680a5..2b889006a1 100644 --- a/content/support/13799932-manage-groups-and-group-spend-limits-on-enterprise-plans.md +++ b/content/support/13799932-manage-groups-and-group-spend-limits-on-enterprise-plans.md @@ -114,6 +114,10 @@ You can control individual members' feature access entirely through groups and c Owners, Primary Owners, and custom roles with the **User Management** permission set to "Can manage" can change member roles. You can also assign “Custom” at scale by mapping an IdP group using **[group mappings](https://support.claude.com/en/articles/13133195-set-up-jit-or-scim-provisioning)**. +**Important:** If your provisioning mode is SCIM directory sync and group mappings are enabled, each member’s role is set by your IdP group-to-role mapping and managed by the sync, not by the **Members** page. A role that was set to “Custom” before you enabled group mappings (or set another way) is recalculated on the next full sync and reverts to the mapped role. It works until that sync runs, and the reversion isn’t recorded in the audit log, so it can look like custom role permissions stopped applying for no reason. + +To keep a member on “Custom,” add them to an IdP group that’s mapped to the “Custom” role in **[Organization settings > Organization and access](https://claude.ai/admin-settings/organization)**, then run a sync. See **[Set up JIT or SCIM provisioning](https://support.claude.com/en/articles/13133195-set-up-jit-or-scim-provisioning)** and **[How SCIM sync works for Enterprise organizations](https://support.claude.com/en/articles/14499648-how-scim-sync-works-for-enterprise-organizations)**. + ### Recommended setup 1. Create custom roles with the desired permissions in **[Organization settings > Roles](https://claude.ai/admin-settings/roles)**. For details, see **[Manage custom roles on Enterprise plans](https://support.claude.com/en/articles/13930452)**. diff --git a/content/support/13837433-manage-plugins-for-your-organization.md b/content/support/13837433-manage-plugins-for-your-organization.md index a1a44eaca8..a87bef53db 100644 --- a/content/support/13837433-manage-plugins-for-your-organization.md +++ b/content/support/13837433-manage-plugins-for-your-organization.md @@ -110,7 +110,7 @@ Your personal GitHub token is verified to confirm you have access, then Cowork u An initial sync runs automatically when you connect a repository. After that, organization owners can opt-in to continued automatic updates per marketplace by going to **[Organization settings > Plugins](https://claude.ai/admin-settings/plugins)**, clicking the menu button in the upper right corner of the marketplace, then toggling "Sync automatically" on: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2193200015/a239033a9ab19fbd39f1a0d9edce/CleanShot+2026-03-23+at+11_41_31%402x.png?expires=1788362100&signature=a4d6b336fb403891d9a18d2092387147da84a12fd920f2f584191bc2e66fa82d&req=diEuFct%2BnYFeXPMW1HO4zUYv5tX6x30VRDH%2FtUo5ov5OXnH1T8V1d6GW3%2F10%0AqCrOWAfN66ELJjC3ot8%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2193200015/a239033a9ab19fbd39f1a0d9edce/CleanShot+2026-03-23+at+11_41_31%402x.png?expires=1788414300&signature=efbd91cda7a78405beb930915f4d761a01edc49f67e3a1a7606aaab38087857a&req=diEuFct%2BnYFeXPMW1HO4zUYv5tX9wHsXRDH%2FtUo5ov74rX6O5CyY0IKofnLe%0AAizoSlRHdnUbx1O%2BXtU%3D%0A) Enabling automatic sync creates a webhook on the connected repository. The person turning the toggle on must have admin-level access to that repository on GitHub. This is checked through their personal GitHub connection, which is separate from the Claude GitHub App installation. Without admin access, the page shows "Cannot access repository. Ensure the repository exists and the Claude GitHub App is installed," even when the App is installed correctly and manual updates work. diff --git a/content/support/13837440-use-plugins-in-claude.md b/content/support/13837440-use-plugins-in-claude.md index eb01a1e070..99dd0cd6f0 100644 --- a/content/support/13837440-use-plugins-in-claude.md +++ b/content/support/13837440-use-plugins-in-claude.md @@ -40,7 +40,7 @@ In Cowork, open the "Cowork" tab first, then open **Customize**. You can also upload a custom plugin file if you built one yourself or received one from a colleague. On Claude Desktop and in Cowork, plugins you add yourself are saved locally to your computer. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2100409211/fc01614dde1a616fa31ffaa9cb04/47bacf5b-a810-45b5-a468-9769f1a58ef8?expires=1788362100&signature=7c5c64313022f3481285d58d518fe81203676451b70b067d2359c30c77c9279a&req=diEnFs1%2BlINeWPMW1HO4zZF3Ih3eNfdUxakFVfq5Wwz5r2mSk2uHZfaiTHri%0A1RPwDpc3HKK5%2FSeQ%2Fkc%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2100409211/fc01614dde1a616fa31ffaa9cb04/47bacf5b-a810-45b5-a468-9769f1a58ef8?expires=1788414300&signature=6de55e122ff02d24e6ff7c8b21c744710c6412fb050e8ea53c6efcd1e8d54ecd&req=diEnFs1%2BlINeWPMW1HO4zZF3Ih3ZMvFWxakFVfq5WwzV8tXiZ%2Fngz1cf%2FpaA%0AdunzE95YPP5RN58arMs%3D%0A) If you're on the Enterprise plan and your organization has skill scanning turned on, plugins are checked for malicious content when they're installed or updated. A plugin with malicious content is blocked, and one that may carry risk shows a caution banner. Learn more about **[skill and plugin scanning](https://support.claude.com/en/articles/15927065)**. @@ -50,7 +50,7 @@ If you're on the Enterprise plan and your organization has skill scanning turned Each plugin you install adds skills you can use while working with Claude. Type "/" or click the "+" button to see the available skills from your installed plugins, in chat and in Cowork. Click any skill to see its details. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2157396844/4a790e10f5b88df770783df1d7e9/image.png?expires=1788362100&signature=062683887544d69468c17854453fa216f35d7dee85d733f032d298adc3fffb26&req=diEiEcp3m4lbXfMW1HO4zf4NBP7%2FhUKVmKUxugP2BQvAPM2wvZeIGMovGZ6J%0AzSe3Fm0T%2Bp7eBtmLzyA%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2157396844/4a790e10f5b88df770783df1d7e9/image.png?expires=1788414300&signature=2b3c11b5499a8dbd92f4c9d239273ec98f223025fcc2b8119493890f2a1eb8a2&req=diEiEcp3m4lbXfMW1HO4zf4NBP74gkSXmKUxugP2BQv%2FXf1JChr%2Bs%2BkRa5vG%0Au0Bki3KJnEveiAAqiWA%3D%0A) --- diff --git a/content/support/13854387-schedule-recurring-tasks-in-claude-cowork.md b/content/support/13854387-schedule-recurring-tasks-in-claude-cowork.md index 90a28f334b..29a5f1bd2f 100644 --- a/content/support/13854387-schedule-recurring-tasks-in-claude-cowork.md +++ b/content/support/13854387-schedule-recurring-tasks-in-claude-cowork.md @@ -52,7 +52,7 @@ There are two ways to create a scheduled task: 6. You can explicitly confirm you want to schedule the task when prompted by Claude by clicking “Schedule": -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2104085399/4dda7e6f76026fd827db0b9323a9/f20635bf-15e7-4978-a213-5b9f67e9fb9a?expires=1788362100&signature=bb36a1aeed78917154495ee2439f1129bfb815715508d21c059748e69b1c741a&req=diEnEsl2mIJWUPMW1HO4zeLJBk3n%2BeiGPx%2FSrZI7l8xhP%2BZ9WJmO21grwncl%0ADZOS%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2104085399/4dda7e6f76026fd827db0b9323a9/f20635bf-15e7-4978-a213-5b9f67e9fb9a?expires=1788414300&signature=c0f6671821c7ed6c84dcf5aa709c5e0ca68f8c41233a2f15fefdf3a1265dc4ab&req=diEnEsl2mIJWUPMW1HO4zeLJBk3g%2Fu6EPx%2FSrZI7l8wyYduRLrwCKB73cZpB%0Aci7Y%0A) 7. Claude will create and schedule your task, and it will be added to the **Scheduled tasks** page. diff --git a/content/support/13917894-okta-sso-setup.md b/content/support/13917894-okta-sso-setup.md index cb6f2d066b..2ae0baae19 100644 --- a/content/support/13917894-okta-sso-setup.md +++ b/content/support/13917894-okta-sso-setup.md @@ -38,6 +38,8 @@ Start the SSO setup flow there and keep it open alongside the Okta Admin console 2. Under **Attribute Statements**, add an attribute named email with value user.email. + 1. If you use group mappings (JIT or SCIM provisioning with **Enable group mappings** turned on), also add a Group Attribute Statement named "groups" with a filter that includes every Okta group you map to a Claude role or seat type. Without it, sign-ins arrive with no group information: users can’t be assigned a mapped role, and under JIT with group mappings, a user whose sign-in includes no mapped group is removed from the organization at their next login. See **[Set up JIT or SCIM provisioning](https://support.claude.com/en/articles/13133195-set-up-jit-or-scim-provisioning)**. + 3. Download the **Identity Provider metadata** XML and upload it in the WorkOS setup flow when prompted. ## Step 3 — Enable SCIM provisioning diff --git a/content/support/13930452-manage-custom-roles-on-enterprise-plans.md b/content/support/13930452-manage-custom-roles-on-enterprise-plans.md index fd93a80a78..d24042086c 100644 --- a/content/support/13930452-manage-custom-roles-on-enterprise-plans.md +++ b/content/support/13930452-manage-custom-roles-on-enterprise-plans.md @@ -10,6 +10,8 @@ Custom roles work alongside groups. The typical workflow is: create custom roles **Note:** Custom roles only affect members whose role is set to “Custom.” Members with the User, Admin, or Owner roles get their permissions from those roles directly, not from custom roles. +**Note:** With SCIM directory sync and group mappings enabled, each member’s role is owned by the sync. A member whose role was set to “Custom” before group mappings were enabled reverts to their mapped role on the next full sync unless they’re in an IdP group mapped to “Custom.” See **[Manage groups and group spend limits on Enterprise plans](https://support.claude.com/en/articles/13799932-manage-groups-and-group-spend-limits-on-enterprise-plans#h_05cb172230)**. + --- ## How feature access works @@ -192,7 +194,7 @@ There are seven admin permission areas: | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | | Identity & Access | SSO and SAML configuration, verified domains, domain memberships, IP allowlist, session settings, group definitions, role definitions, and provisioning settings | Edit SSO, manage domains, edit the IP allowlist, edit session settings, create and edit groups and roles, and configure provisioning | | Billing | Plan details, seat counts, invoices, billing addresses, and usage spend | Change seats, update payment methods, edit billing addresses, and configure spend limits and extra usage | -| Analytics | Usage analytics, Claude Code analytics, and feature adoption metrics | Not available | +| Analytics | Usage analytics, Claude Code analytics, feature adoption metrics, and surveys (create and view) | Not available | | Privacy | Data retention settings, export configuration, sharing settings, geolocation settings, US-only inference setting, and encryption-key status | Edit retention periods, run data exports, change sharing settings, and configure geolocation, US-only inference, and encryption | | User Management | Not available | Invite members, change member roles, remove members, and manage pending invitations | | Libraries | Not available | Add, edit, and remove organization-shared skills, plugins, and connectors. Also includes directory management. | diff --git a/content/support/13947068-assign-tasks-from-anywhere-in-claude-cowork.md b/content/support/13947068-assign-tasks-from-anywhere-in-claude-cowork.md index 4671ec796e..8b0405a90e 100644 --- a/content/support/13947068-assign-tasks-from-anywhere-in-claude-cowork.md +++ b/content/support/13947068-assign-tasks-from-anywhere-in-claude-cowork.md @@ -48,11 +48,11 @@ Follow these steps to get started: 5. You’ll land on a page describing the functionality. Click “Get started”: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2169954086/419674f781edb2977b93cce062b4/93b1893c-d79a-4eb6-b2f1-2fe3e043bd90?expires=1788362100&signature=6c7c85973404f735e6999ee2eb9d8f13ce4cded4aaac69b9cc6702f2eaa3aba2&req=diEhH8B7mYFXX%2FMW1HO4zSZP0pqIEwz%2BB32drIe5EDk0XkZlLlTf%2Bhy2G9uq%0A3SYO%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2169954086/419674f781edb2977b93cce062b4/93b1893c-d79a-4eb6-b2f1-2fe3e043bd90?expires=1788414300&signature=1eca451b7f7ff064bb6eac0a42df09973a19ec16699789162d998c2d3e5d9297&req=diEhH8B7mYFXX%2FMW1HO4zSZP0pqPFAr8B32drIe5EDm%2F1j9QpAr7qcYOud%2Ff%0A%2FwVt%0A) 6. On the next screen, you can give Claude access to your files and keep your computer awake by toggling those on: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2169955082/de4053ee0eab8fcb9263584bb171/d39b77da-1a69-4682-9fdb-7ed488f236b0?expires=1788362100&signature=6ac90f05d573a6499a60e46c4a0bf08061bdabf1accf8013efb87c0d44575390&req=diEhH8B7mIFXW%2FMW1HO4zaZWs9KbWwMfepuGRb1rD3LxMHiNAJQ0pBJ92uvO%0AT%2BA3%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2169955082/de4053ee0eab8fcb9263584bb171/d39b77da-1a69-4682-9fdb-7ed488f236b0?expires=1788414300&signature=1f667afcada8c746678af212c77b26380458a60cba29046e073ebdc1c49d129f&req=diEhH8B7mIFXW%2FMW1HO4zaZWs9KcXAUdepuGRb1rD3IT%2B%2BIsfNUGMFjl02Y1%0A8BVC%0A) 7. Click “Finish setup.” diff --git a/content/support/14116274-organize-your-tasks-with-projects-in-claude-cowork.md b/content/support/14116274-organize-your-tasks-with-projects-in-claude-cowork.md index 22003f3c3b..75621fcfe6 100644 --- a/content/support/14116274-organize-your-tasks-with-projects-in-claude-cowork.md +++ b/content/support/14116274-organize-your-tasks-with-projects-in-claude-cowork.md @@ -22,23 +22,23 @@ Cowork is available for paid plans (Pro, Max, Team, Enterprise) on: Find **Projects** in the left navigation panel and click the “+” button to see the three different ways to create a project: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2183720240/6f6ef438913391703598d86d606c/CleanShot+2026-03-20+at+09_11_43.png?expires=1788362100&signature=946e19ff79b14bc17a4b3fe8938939413945694ccfedced53cdd8631e5363417&req=diEvFc58nYNbWfMW1HO4zcOgiw251yp0ZwSvwegvtgxsJcyjeOBHi9l3mmHj%0AoxaxxFATw2q5%2FpmJQgg%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2183720240/6f6ef438913391703598d86d606c/CleanShot+2026-03-20+at+09_11_43.png?expires=1788414300&signature=53a0e28affbee31bda91a9380aa9adb5f06b924f7f97ce5aeb2aee9ba90058a7&req=diEvFc58nYNbWfMW1HO4zcOgiw2%2B0Cx2ZwSvwegvtgzEgZf%2BMZhV7K%2BIvAIN%0ArpVuJziROP0HdviKMCw%3D%0A) ### Start from scratch Selecting “Start from scratch” allows you to set up a new folder with instructions and files: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2177090014/07832b50003cf7fd3b4e9c7c448b/3385d9b8-c3e7-42b9-ae3f-4d213baa53a7?expires=1788362100&signature=68a70ea1d5f372eca65be88b335194842dce529677e32b1a46d3c19e1b9e2fbf&req=diEgEcl3nYFeXfMW1HO4zZCoQ4VGSHeXvb0suCMAnj1CJ7Aunj2Odkutl%2Bhh%0AKoMnT%2FCQ0U3t9nr%2FSl8%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2177090014/07832b50003cf7fd3b4e9c7c448b/3385d9b8-c3e7-42b9-ae3f-4d213baa53a7?expires=1788414300&signature=a6aa778f034c6001efbe272d1ef9f62ebef3931a810e7066d38363aa4dd2ff1f&req=diEgEcl3nYFeXfMW1HO4zZCoQ4VBT3GVvb0suCMAnj0gBbL4uF%2FmxOg3RylJ%0AT35nmCBe8TiGZtGwRx0%3D%0A) ### Import from a Claude project After selecting “Import from project,” you’ll see a “Search projects in Chat…” field: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2183717962/acdc11bcc825ae76a13f508365bc/CleanShot+2026-03-20+at+09_12_08.png?expires=1788362100&signature=0e06e08f3613e9e6a639819f2a68b7d4430ea5bd04672779ed1a74bb96b6607d&req=diEvFc5%2FmohZW%2FMW1HO4zQQ7UGtezJoejggUT7FIJz84fzCin6q89qGeh2WT%0A46CgpK5WgUkBID%2Fvxpo%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2183717962/acdc11bcc825ae76a13f508365bc/CleanShot+2026-03-20+at+09_12_08.png?expires=1788414300&signature=3a33c9a3796f09668916559c37d41ec64590842ab14e6005e946a8c20e274bf7&req=diEvFc5%2FmohZW%2FMW1HO4zQQ7UGtZy5wcjggUT7FIJz9ZIcWXxIDP7KoPWDiI%0A%2FptmEj6EvITMzFf4M4U%3D%0A) Clicking into the field will display a drop-down showing your recent projects, but you can also use it to search all your projects. After you select a chat project (bulk upload is not supported), you can name the new Cowork project and choose where to save it on your computer: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2183727973/7a25430123d9e13e7c3cdd411f70/CleanShot+2026-03-20+at+09_13_41.png?expires=1788362100&signature=76b85d8b392402ffac11e7f665e51fb924701f49201a27d173435f171b97b005&req=diEvFc58mohYWvMW1HO4zU%2FKAitF%2BiHNI7f%2FdY0VL6gWj0gSEcPZ4sYPV8%2FH%0AEJ%2BOZiZy70Ai5Ogvupg%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2183727973/7a25430123d9e13e7c3cdd411f70/CleanShot+2026-03-20+at+09_13_41.png?expires=1788414300&signature=c60db94e843014bace313411a58bf6b90f49ce25b79845f3e52d90e9610f0125&req=diEvFc58mohYWvMW1HO4zU%2FKAitC%2FSfPI7f%2FdY0VL6gJB82M1bw910U5M0cy%0ApU9d%2Bu8FcYqTUHK%2BNGQ%3D%0A) Clicking “Create” will transfer the files and instructions from your existing Claude project and create a new Cowork project. @@ -46,11 +46,11 @@ Clicking “Create” will transfer the files and instructions from your existin If you select “Use an existing folder,” you’ll be prompted to pick a file to use as context for the new Cowork project: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2177087935/2f0052dae601d0b7fecdc029e1c3/2e3ca9e7-23b1-436e-bbdb-edcd31c41f15?expires=1788362100&signature=1f9875a413c7b0bf9362f62d9c55a1fdba9cb227dfb03bd170f9018adb295f09&req=diEgEcl2mohcXPMW1HO4zejrnz7VEyFeuv8e2Xj2xOVm6EJJOMgqSiLVQ8Wu%0A5P9nKr%2B2ASu5SqCUkSY%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2177087935/2f0052dae601d0b7fecdc029e1c3/2e3ca9e7-23b1-436e-bbdb-edcd31c41f15?expires=1788414300&signature=e75e79138d6b5d8cc42a6bd462febe0f4146dfe9c7d0753603ab7c93a2e26806&req=diEgEcl2mohcXPMW1HO4zejrnz7SFCdcuv8e2Xj2xOWcLfyeqfflJky%2Bg1XW%0AD24Zrzd2jIcuyODb7zs%3D%0A) After selecting a folder, you can name the new Cowork project, choose where to save it on your computer, add instructions, and attach any additional files. Click “Create” to start using your new project: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2177087937/f59dbe3fc28448a9597ea097cb4d/96a59acb-4054-4b4b-a208-751f9711f535?expires=1788362100&signature=82e2b82931e4224f95697136a9232f38b995c01f54299a9f1beb7c2033da9588&req=diEgEcl2mohcXvMW1HO4zUq4V%2Bu3haA7MfnqHouW6MLkD7UG7Zuty8Mvsywc%0AwWGz9TlS2LIFPWBpEH4%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2177087937/f59dbe3fc28448a9597ea097cb4d/96a59acb-4054-4b4b-a208-751f9711f535?expires=1788414300&signature=42f3a36d59b470e41eedda1622fca5befc7ff75055ba5749786a7cfd5b28f6b1&req=diEgEcl2mohcXvMW1HO4zUq4V%2BuwgqY5MfnqHouW6MLtJvh%2FcdhffBmhYKU9%0AcMR77S2vMoX4g2Rj69s%3D%0A) --- diff --git a/content/support/14128542-let-claude-use-your-computer-in-cowork.md b/content/support/14128542-let-claude-use-your-computer-in-cowork.md index 5e3c918c3f..5f7790ff26 100644 --- a/content/support/14128542-let-claude-use-your-computer-in-cowork.md +++ b/content/support/14128542-let-claude-use-your-computer-in-cowork.md @@ -1,8 +1,8 @@ # Let Claude use your computer in Cowork -Claude can now use your computer to complete tasks in Cowork and Claude Code (refer to our **[Claude Code Docs](https://code.claude.com/docs/en/desktop#let-claude-use-your-computer)** for more information about this). When Claude doesn't have a connector or tool for what you need, it navigates your screen directly—clicking, typing, and opening apps just like you would. It can work in your browser, open files, and run your dev tools automatically, with no setup required. +Claude can now use your computer to complete tasks in Claude Cowork and Claude Code (refer to our **[Claude Code Docs](https://code.claude.com/docs/en/desktop#let-claude-use-your-computer)** for more information about this). When computer use is enabled and Claude doesn't have a connector or tool for what you need, it may navigate to your screen directly—clicking, typing, and opening apps just like you would. It can work in your browser, open files, and run your dev tools automatically, with no setup required other than enablement. -Computer use is in research preview for Pro and Max plans. It’s available in Cowork and Claude Code in the Claude Desktop application for both macOS and Windows. This early research preview comes with risks—review **[Use Cowork safely](https://support.claude.com/en/articles/13364135-use-cowork-safely)** before using this capability. +Computer use is in beta for Pro and Max plans. It’s available in Cowork and Claude Code in the Claude Desktop application for both macOS and Windows. This capability comes with risks—review **[Use Claude Cowork safely](https://support.claude.com/en/articles/13364135-use-cowork-safely)** before using it. --- @@ -10,13 +10,13 @@ Computer use is in research preview for Pro and Max plans. It’s available in C In Cowork, Claude uses the most precise tool first. When you assign a task, Claude follows this order: -1. **Connectors.** If a connector is available—like Gmail, Google Drive, or Slack—Claude uses it. This is the fastest and most reliable path. +1. **Connectors.** If a connector is available—like Gmail, Google Drive, Microsoft 365, or Slack—Claude uses it. This is the fastest and most reliable path. -2. **Browser.** When there isn't a connector for the tool you need, Claude works on your task in the browser built into the Claude Desktop app, or in your own Chrome browser through Claude in Chrome if that's your preferred browser. Learn more in **[Use the built-in browser in Claude Cowork](https://support.claude.com/en/articles/16607400)**. +2. **Browser.** When there isn't a connector for the tool you need, Claude may work on your task in the browser built into the Claude Desktop app, or in your own Chrome browser through Claude in Chrome if that's your preferred browser. Learn more in **[Use the built-in browser in Claude Cowork](https://support.claude.com/en/articles/16607400)**. 3. **Screen interaction.** Claude uses computer use to interact directly with your screen: clicking, typing, and navigating your desktop apps. -Claude prioritizes the fastest method. For example, pulling messages through your Slack connection takes seconds, but navigating Slack through your screen takes much longer and is more error-prone. +Claude typically prioritizes the fastest method. For example, pulling messages through your Slack connection takes seconds, but navigating Slack through your screen takes much longer and is more error-prone. --- @@ -28,20 +28,20 @@ Computer use lets Claude work with the apps and files on your machine. For examp - Open your phone simulator, interact with the app you developed, and find UX issues. -- Fill in a spreadsheet with data from multiple sources, format it, and save it to a shared folder. - - Navigate apps that don’t have connectors—like an internal dashboard or a specialized tool your team uses. If your work involves a physical machine, Claude keeps working while you step away. Your computer just needs to be on. +On macOS (version 15 or later), Claude works in background windows, so you can keep using your computer while it runs. Claude doesn't take over your pointer or keyboard, and it generally waits if you're in the middle of typing. Claude asks for your permission the first time a task needs the full screen in each session before taking over. + +**Note:** Working in the background is the default on macOS 15 or later. If you’d rather have Claude take over the screen while it works, go to **Settings > General** (under **Desktop app**) and set **When Claude requests access to an app** to “Full control.” + --- ## Permissions and access Claude asks for your permission before accessing each application. You’ll see a prompt and must approve before Claude can interact with that app. Some apps are off-limits by default. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2193297849/243cf7bd2386d92a253c2cec7d32/46cb6fcb-c0ee-4d1c-9974-9c1c1058c81c?expires=1788362100&signature=88aed8192b4a9e3f49466224e197196d584bbc15e75b9cd64de39058e760801a&req=diEuFct3molbUPMW1HO4za8%2BRnSBRSKdOFMEfKzd96qS5gtEHmCm6ThilKUY%0AMkuLdFyUTNKoiyJKkkI%3D%0A) - Claude is trained to avoid risky operations—like transferring funds, modifying or deleting files, or handling sensitive data—and to flag signs of prompt injection. However, these safeguards aren't perfect, and Claude may occasionally act outside these boundaries. --- @@ -106,7 +106,7 @@ For detailed safety guidance, see **[Use Cowork safely](https://support.claude.c ## Current limitations -This is a research preview. Keep the following in mind: +Computer use is in beta. Keep the following in mind: - Your desktop must be active. Your computer needs to be awake and the Claude Desktop app needs to be open for computer use to work. @@ -114,7 +114,7 @@ This is a research preview. Keep the following in mind: - Screen interaction is slower than connectors. When Claude works through your screen instead of a direct integration, tasks take longer. Where possible, connect the tools you use most. -- Available on Pro and Max plans only. Team and Enterprise plans don’t have access to computer use at this time. +- Available for Pro and Max plans only. Team and Enterprise plans don’t have access to computer use at this time. --- @@ -126,9 +126,7 @@ To start using computer use: 2. Open the desktop app and go to **Settings > General** (under **Desktop app**). -3. Find the **Computer use** toggle and turn it on: - - ![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2193911341/630e6df3b08b27d1c7b4f1ca6a1f/image.png?expires=1788362100&signature=e0b3358dee79109b174ec49fe3a087c7e35ff8bbcb1af5976d66199cde9185b4&req=diEuFcB%2FnIJbWPMW1HO4zR8GoUx%2FQ0gxjdPXX%2BaSOrFY3TIXsFpj478ryAz5%0Adj0V%0A) +3. Find the **Enable computer use** toggle and turn it on. 4. Open Cowork or Claude Code in the desktop app and start a session. diff --git a/content/support/14233555-set-up-code-review-for-claude-code.md b/content/support/14233555-set-up-code-review-for-claude-code.md index 53e8e10085..46fb314967 100644 --- a/content/support/14233555-set-up-code-review-for-claude-code.md +++ b/content/support/14233555-set-up-code-review-for-claude-code.md @@ -152,7 +152,7 @@ If you’ve installed the Claude GitHub App but your repositories don’t appear 1. Confirm the Claude GitHub App has access to the repositories you expect. Go to your GitHub organization’s settings, find the Claude GitHub App under **Installed GitHub Apps**, and check whether it has access to all repositories or only selected ones. -2. If your organization uses GitHub Enterprise Cloud with Enterprise Managed Users (EMU), make sure the Claude GitHub OAuth App is authorized at the enterprise level. EMU enterprises can restrict which OAuth apps are approved, and the Claude app must be explicitly allowed. +2. If your organization uses GitHub Enterprise Cloud with Enterprise Managed Users (EMU), authorize Claude while you're signed in with your managed account and have an active SSO session. There's no separate enterprise-level approval step. 3. Try disconnecting and reconnecting your GitHub account in Claude. Go to **[Customize > Connectors](https://claude.ai/customize/connectors)**, disconnect GitHub, and connect it again. Which repositories the App can access is managed on GitHub's side, covered in step 1. diff --git a/content/support/14499648-how-scim-sync-works-for-enterprise-organizations.md b/content/support/14499648-how-scim-sync-works-for-enterprise-organizations.md index 05abe4d779..e0d23d526c 100644 --- a/content/support/14499648-how-scim-sync-works-for-enterprise-organizations.md +++ b/content/support/14499648-how-scim-sync-works-for-enterprise-organizations.md @@ -50,7 +50,7 @@ You can trigger a manual sync from two places in your admin settings. 2. Click "Check for updates" under **SCIM sync**: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2312613548/44cd5970ee3c3b2c7f8dcd592d71/image+%2824%29.png?expires=1788362100&signature=df8e090e1a95cd9e10f3cc64c60c991243a34ddce0d8fd733c685482f5121203&req=diMmFM9%2FnoRbUfMW1HO4zW4gbD2uM8%2B1rgfl7PnOiun4AmQzfphDYGO6Xs5A%0AZeai%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2312613548/44cd5970ee3c3b2c7f8dcd592d71/image+%2824%29.png?expires=1788480000&signature=336a90538df8d7169d4491b8ef02a8fe0fd773451f94c486ee498a62fb0246cd&req=diMmFM9%2FnoRbUfMW3nq%2Bgagh6LSURafFbvb4knc3ZiQ%2BbW3p5SXrt%2BKA03Tg%0ANxyCVWZS08HDIk08JNw8anOYwMc%3D%0A) 3. Select whether to sync members, groups, or both. @@ -62,7 +62,7 @@ You can trigger a manual sync from two places in your admin settings. 3. Select whether to sync members, groups, or both: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2312608119/e4b0ef4f309f3c4eac8311a6ef47/image.png?expires=1788362100&signature=4ac55a48db468ef4fe6389159aa6ba1f5688803b54563289b25c44793aaf97b4&req=diMmFM9%2BlYBeUPMW1HO4zX%2F4frLzzTke43OpyTHzM9ScBoRvu%2BAnTisnZcU9%0AeV2v%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2312608119/e4b0ef4f309f3c4eac8311a6ef47/image.png?expires=1788480000&signature=ba20594ec660087e34d5c26115016d3c129a6d8c92f790a209730e61a9e4677c&req=diMmFM9%2BlYBeUPMW3nq%2BgVEwMWRqbCV%2B13%2FyLxrNCaT01kqQzq%2BvjDbmMZRa%0Abo3KsrZyatCUnzBsTmsRkIqfvQw%3D%0A) **Note:** If you trigger a manual sync while background changes are processing, your organization takes the most recent change for each member or group. If multiple changes are queued for the same member or group, you may need to resync again to make sure everything applies correctly. @@ -104,4 +104,4 @@ Before you trigger a manual resync, keep these in mind: - **Resyncing cascades to child organizations.** If you have multiple organizations with SCIM provisioning under the same **parent organization**, resyncing one triggers resyncing in the others. This includes sandbox organizations sharing the same parent. -- **Incomplete group mappings remove members from the organization.** When enabling group mapping for SCIM, finish assigning all groups before saving. Any member not included in a role group mapping is removed from the organization. If you enable seat tier mapping, any member not in a seat tier group mapping is also removed. \ No newline at end of file +- **Incomplete role mappings remove members from the organization.** When enabling group mapping for SCIM, finish assigning all groups before saving. Any member not included in a role group mapping is removed from the organization. Seat tier mappings work differently: a member who isn’t in any seat tier group isn’t removed. Existing members keep their current seat type, and newly provisioned members receive the highest seat type that still has an unassigned purchased seat, then the next seat type down, and are added with no seat if none is available. \ No newline at end of file diff --git a/content/support/14503613-sso-login.md b/content/support/14503613-sso-login.md index 8c6e5fe385..33afec68bf 100644 --- a/content/support/14503613-sso-login.md +++ b/content/support/14503613-sso-login.md @@ -47,9 +47,9 @@ Before configuring your Identity Provider (IdP), you must verify ownership of yo 3. Wait for the DNS propagation. Once the platform detects the record, the domain status will update to “**Verified**.” -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2256015862/476131c3139aec4db01b96127544/10c7a165-8b26-4443-b064-9d659659c65e?expires=1788362100&signature=447cfa115d2c82f25c13d2c53b6d47671fefedced920a669034429b7541535ca&req=diIiEMl%2FmIlZW%2FMW1HO4zdpfuCKLHFGO006zz1SmF9WlnuY%2FXa0Bm73iGezE%0AwO8EOxPBqkTuGtsQPDM%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2256015862/476131c3139aec4db01b96127544/10c7a165-8b26-4443-b064-9d659659c65e?expires=1788414300&signature=401534580c6aaace3f0d2799686085fa544b2cd5439545401e710a63f0fd5465&req=diIiEMl%2FmIlZW%2FMW1HO4zdpfuCKMG1eM006zz1SmF9VdmM%2BqTR%2BODE3J%2F3Xm%0A9t%2FPddwLQ5T7c64FcrA%3D%0A) -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2256025910/a82e2de9382824fa9db7666f67c4/CleanShot%2B2026-04-09%2Bat%2B16_25_20-402x.png?expires=1788362100&signature=12dbeb2ce34debc435ed1b30d2dc0b2fde20f6041b21bbcf7e687e3b9e96b2a1&req=diIiEMl8mIheWfMW1HO4zV%2BGnRE8Rb1Gx57dwYq5DdIP2dyoa1V2M%2BHoVr0J%0AllK3ahmOnKV8%2Fhj9W8o%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2256025910/a82e2de9382824fa9db7666f67c4/CleanShot%2B2026-04-09%2Bat%2B16_25_20-402x.png?expires=1788414300&signature=411ad7a65b96631c991362bf97e3fad0c75a689c67612449f21562ef09b3b62e&req=diIiEMl8mIheWfMW1HO4zV%2BGnRE7QrtEx57dwYq5DdJqXAncCXoKB1JaBamD%0AuJptFGxzujTz%2Bp3fErI%3D%0A) **Important:** Each domain can only have one identity provider. If multiple organizations share a single login domain, IT administrators from both organizations will be able to modify login settings. Contact **[Anthropic Support](https://claude.fedstart.com/support)** for assistance with multi-organization setups. For more details about multi-organization setups, see our **[SCIM provisioning guide](https://support.claude.com/en/articles/14503643-set-up-scim-in-claude-for-government)**. @@ -77,7 +77,7 @@ Once your SAML application is set up in your IdP, provide Anthropic with the det - Claims Information — Attribute mappings for user name and email. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2256004522/a97b91092b393e93b2d7779f63e6/2db86a6d-1582-419e-925e-cbc914468fa1?expires=1788362100&signature=44762a2e24b4cdeabb2c3758f26d6bb5511983708499c9c36e29c63566397687&req=diIiEMl%2BmYRdW%2FMW1HO4zQE9Jr%2B1%2FBb6bfNHh%2Fvd8OG4OUx0cgrtmwp8Bol5%0ASkblpznp9vwQpqKMJMA%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2256004522/a97b91092b393e93b2d7779f63e6/2db86a6d-1582-419e-925e-cbc914468fa1?expires=1788414300&signature=6fabd25a14acee29bb35257059f6b4a526329acf675c2d8862177ac4c5632403&req=diIiEMl%2BmYRdW%2FMW1HO4zQE9Jr%2By%2BxD4bfNHh%2Fvd8OGABgYoMytX7SZ%2F1vw%2F%0Aj9tiGq2ePwZiwYod4bc%3D%0A) **Tip:** Using a metadata XML file: Most IdPs let you download a metadata.xml file. Upload it on the identity settings page to auto-fill the Signing Certificate, IdP Entity ID, and SSO URL. Some IdPs (like Entra ID) also include claims information in the metadata file; if present, the system will suggest field mappings automatically. diff --git a/content/support/14503643-set-up-scim-in-claude-for-government.md b/content/support/14503643-set-up-scim-in-claude-for-government.md index 8425a51a16..9d4d9b6b9e 100644 --- a/content/support/14503643-set-up-scim-in-claude-for-government.md +++ b/content/support/14503643-set-up-scim-in-claude-for-government.md @@ -41,7 +41,7 @@ With SCIM, login and provisioning are separate. Your IdP tells Anthropic who sho **Important**: Store this key securely. It cannot be retrieved after you leave the page. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2256040196/c3b045028c4c2edef9172b6fb424/9a71258e-ae73-41e3-83a2-d24a240ac0ae?expires=1788362100&signature=3d8453ce9be23f278567ee78c7b4001c08bf5bd78bf487a65142688c0a63c886&req=diIiEMl6nYBWX%2FMW1HO4zSrRlaQcbzQVyIvvU1hav7N3U9%2B9XWBSDfjb6Mu%2B%0AHQ0GexLTwnTCU7%2Bor4k%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2256040196/c3b045028c4c2edef9172b6fb424/9a71258e-ae73-41e3-83a2-d24a240ac0ae?expires=1788414300&signature=2255fed0a15cf6d474b2d088f405dba459acb35fe9c5c88f8962130bf326835e&req=diIiEMl6nYBWX%2FMW1HO4zSrRlaQbaDIXyIvvU1hav7OMH%2BaYh%2FnXSJIpwlR8%0ApfyxvxmziVygj8H00KY%3D%0A) ### Step 2: Configure SCIM in your Identity Provider @@ -67,7 +67,7 @@ After enabling the integration in your IdP: **Warning**: When you fully enable SCIM provisioning, any users who were **not** synced via SCIM will be removed from the organization. Confirm that all expected users appear in the sync before proceeding. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2256040198/da9188b8b968d5f900cc08e9ceb2/3814ab37-c3fa-4256-8d16-49c1e1b4c654?expires=1788362100&signature=553649473a71447896f2dd435f3a22567159afda97abc18b7a9fd14cd220f1ee&req=diIiEMl6nYBWUfMW1HO4zeLvMlBsTE77oWupW8zJgMoS70b6JiJtDM6ejqKX%0AvRTekmhbHKGLicXYEoQ%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2256040198/da9188b8b968d5f900cc08e9ceb2/3814ab37-c3fa-4256-8d16-49c1e1b4c654?expires=1788414300&signature=4ffe7be14631b041b861cd96c39b0f519bf87a8124cf69889ada77ebc6e0e04c&req=diIiEMl6nYBWUfMW1HO4zeLvMlBrS0j5oWupW8zJgMpTlZxaQDIG5fjgIboU%0A%2F0EusSkGmmwkdySSV1M%3D%0A) ### Step 4: Map groups to roles and seat tiers @@ -83,7 +83,7 @@ SCIM provisioning uses IdP groups to assign roles and seat tiers within Claude f 3. Save your mappings. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2256056441/f7eb09bba549e9861fc81b961cc7/2760fa5b-87bb-491f-9354-ca3cd2bc4475?expires=1788362100&signature=6b8633cdcd7927c413b6027ca48c28608bf68ca4acd11b92f089d37901491ff2&req=diIiEMl7m4VbWPMW1HO4zaWhsXshtEUah340B79BYGaEEcm1Fgo6OHGRLetj%0AmCXcn%2FOHuPLPnxEqIT4%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2256056441/f7eb09bba549e9861fc81b961cc7/2760fa5b-87bb-491f-9354-ca3cd2bc4475?expires=1788414300&signature=23a8d97b67dfe6a1ade74a82cbdb859ea8f306671cc25dc14efbcfd63baa7703&req=diIiEMl7m4VbWPMW1HO4zaWhsXsms0MYh340B79BYGZBXa%2Bed0BvMxr%2FL5NP%0AFNCGmAk%2BG5XZ%2B%2BXyeig%3D%0A) If you manage multiple organizations under a single parent (see below), each organization maintains its own role and seat tier mappings. Switch between organizations using the organization selector in the bottom-left corner of the page. diff --git a/content/support/14503775-mcp-web-search.md b/content/support/14503775-mcp-web-search.md index 0276f256c9..279c10a5c0 100644 --- a/content/support/14503775-mcp-web-search.md +++ b/content/support/14503775-mcp-web-search.md @@ -4,7 +4,7 @@ The Web Search connector gives Claude the ability to search the public internet For questions about web search in commercial Claude, see **[Enabling and using web search](https://support.claude.com/en/articles/10684626-enabling-and-using-web-search)**. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2256120763/7652c6c669446113eae75f3c5977/9c74d57e-aaa2-4f1c-bfe4-2b9b87fd41ab?expires=1788362100&signature=76520eeae2f3015125e1b10ab702cec9512b369e45b35f8af5b38215949c78ca&req=diIiEMh8nYZZWvMW1HO4zQvFLLpQi8b5M%2Fw5SJgC29G2Dh6JRlBJWYle%2B%2FkJ%0Ax4vh5fOurFBgCXRhyxo%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2256120763/7652c6c669446113eae75f3c5977/9c74d57e-aaa2-4f1c-bfe4-2b9b87fd41ab?expires=1788414300&signature=fef8b9bcba561cdbec76a73aed6ab1ed5ff515903e8ceceb30daf4b9942839f5&req=diIiEMh8nYZZWvMW1HO4zQvFLLpXjMD7M%2Fw5SJgC29HMNhmHsvvNNH48vEXj%0Alb3IC1jBB4GwX6hjXx0%3D%0A) ## How Web Search differs for Claude for Government diff --git a/content/support/14604397-set-up-your-design-system-in-claude-design.md b/content/support/14604397-set-up-your-design-system-in-claude-design.md index 7903e34040..d3c0005a7d 100644 --- a/content/support/14604397-set-up-your-design-system-in-claude-design.md +++ b/content/support/14604397-set-up-your-design-system-in-claude-design.md @@ -72,7 +72,7 @@ To validate your design system, create a test project and see if the output matc Once you’re satisfied with the design system quality, make sure the “Published” toggle is switched on. After publishing, any projects created from the Claude Design homescreen while in your organization will use your design system instead of the default. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2287527007/b1c46cb8dba4cd7e8bbea85fb0c3/2819c6cf-9ce1-4df5-84c8-feae0164bf2e?expires=1788362100&signature=c607e0682448326f47b7a808f4c6d6f2d2877c9ec5478613f8b530e353b38e6a&req=diIvEcx8moFfXvMW1HO4zWNHF%2FqICDkWIQKNMXlu0T9NPHURROfnqyZ9i22M%0Ap9GVzE%2BPjHafc44UkFE%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2287527007/b1c46cb8dba4cd7e8bbea85fb0c3/2819c6cf-9ce1-4df5-84c8-feae0164bf2e?expires=1788414300&signature=46426b34cc740c39a2db8ed7d135a2af38bc081d99d57a52e75525b604362e3e&req=diIvEcx8moFfXvMW1HO4zWNHF%2FqPDz8UIQKNMXlu0T%2FrYce3v3wV2KuP84nV%0AUSW54DnH969T8GDrr9g%3D%0A) --- diff --git a/content/support/14604406-claude-design-admin-guide-for-team-and-enterprise-plans.md b/content/support/14604406-claude-design-admin-guide-for-team-and-enterprise-plans.md index 568e72620a..f8369e0abb 100644 --- a/content/support/14604406-claude-design-admin-guide-for-team-and-enterprise-plans.md +++ b/content/support/14604406-claude-design-admin-guide-for-team-and-enterprise-plans.md @@ -18,7 +18,7 @@ Team and Enterprise plan admins can enable this organization-wide by following t 2. Find the **Claude Design** toggle under **Anthropic Labs** and switch it on. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2289240025/8a528b6cccc3ea1001c25953cb14/image.png?expires=1788362100&signature=9dc6ecb82b23225b9704f535dfc83456f0bad68ef367be2d59eb7a79625549b5&req=diIvH8t6nYFdXPMW1HO4zahp3eoLH%2BQkDIPtKBLQ9H%2Bvv6lOXRDl4ulhRhFM%0AqVXBLH9hZbwxo9vpMa8%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2289240025/8a528b6cccc3ea1001c25953cb14/image.png?expires=1788414300&signature=fb6b455d34d6e5208a37533eaec11f549862e1a4afe1be5ca0de8dbe98fd9d40&req=diIvH8t6nYFdXPMW1HO4zahp3eoMGOImDIPtKBLQ9H%2BSUzEfHy4wRUr%2FQgu%2F%0A3vG37MDv87329szbm3k%3D%0A) --- diff --git a/content/support/14604416-get-started-with-claude-design.md b/content/support/14604416-get-started-with-claude-design.md index 3cb85b4ed2..dc05ad0b0b 100644 --- a/content/support/14604416-get-started-with-claude-design.md +++ b/content/support/14604416-get-started-with-claude-design.md @@ -153,7 +153,7 @@ Use the “Export” button in the upper right corner when viewing your project - Send to Claude Code Web -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2287510952/553a03eec5cea7b9eff53b473552/6dc33363-38b1-444e-96bb-f8218b588173?expires=1788362100&signature=7e8d9911c5e167868ea3a68c7d12922d59972bf2c855ff5bae95b33b5fdb716e&req=diIvEcx%2FnYhaW%2FMW1HO4zQFD4SRZnW91nfz9ljnuyXQDKgH8ur1Vx%2Bw4P3jN%0AqgFutqO1lPyNw%2FJoW2U%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2287510952/553a03eec5cea7b9eff53b473552/6dc33363-38b1-444e-96bb-f8218b588173?expires=1788414300&signature=eee4953eb7000c8b461368b033dac32a2e5d9d375f6162da1982066fcc99660d&req=diIvEcx%2FnYhaW%2FMW1HO4zQFD4SRemml3nfz9ljnuyXRwkUtRZsmy%2BNsY6csD%0AmTXl3wqo838lPkvAP04%3D%0A) You can also share projects within your organization using a shareable link. Sharing options include view-only, comment, and edit access. diff --git a/content/support/14625619-claim-and-migrate-accounts-on-your-domain.md b/content/support/14625619-claim-and-migrate-accounts-on-your-domain.md index f3e77e9e33..d0116dbae0 100644 --- a/content/support/14625619-claim-and-migrate-accounts-on-your-domain.md +++ b/content/support/14625619-claim-and-migrate-accounts-on-your-domain.md @@ -52,7 +52,7 @@ Once confirmed, all affected accounts receive notification immediately—both by ### The 30-day migration window -The migration deadline is a single org-wide date, not a rolling per-user timer. All affected accounts share the same deadline. +The migration deadline is a single date for the claim, not a rolling per-user timer. Every account covered by the claim shares that deadline. If you claim an additional domain later, that claim gets its own 30-day window (see **[Add a domain after you've started a claim](#h_d7ccebb0ac)** below). During this window, each person on the domain can sign in and choose how to migrate: @@ -72,6 +72,20 @@ During this window, each person on the domain can sign in and choose how to migr New accounts created on the domain after domain capture is enabled go directly through SSO and your Enterprise workspace—no personal account is created. +### Add a domain after you've started a claim + +Each claim covers the domains that were verified on your organization at the moment you initiated it. A domain you verify after starting a claim won't be added to the claim in progress, and accounts associated with that domain aren't notified or migrated as part of it. + +To migrate accounts on a domain you verified later: + +1. Wait for the current claim's 30-day window to end. Only one claim can be in progress at a time. + +2. Verify the new domain if you haven't already. See **[Set up single sign-on (SSO)](https://support.claude.com/en/articles/13132885-set-up-single-sign-on-sso)**. + +3. Review the accounts on the new domain, then initiate a new claim. This claim has its own 30-day window, and the accounts on the new domain receive the same email and in-product notifications. + +**Note:** If you're onboarding several domains in phases, verify all of them before you initiate a claim when possible. That way, one claim and one deadline cover every account. Otherwise, each phase needs its own claim, and each claim has to finish its 30-day window before the next one can start. + ## What’s not supported - Migrating data into organizations with HIPAA readiness or customer-managed encryption keys (CMEK) turned on. You can still claim your domain, and people on it are notified as usual, but they can only join fresh. Nothing from their personal accounts moves over. Learn more about **[HIPAA-ready Enterprise plans](https://support.claude.com/en/articles/13296973)** and **[customer-managed encryption keys](https://support.claude.com/en/articles/15505325)**. diff --git a/content/support/14782391-claude-enterprise-consumption-guide.md b/content/support/14782391-claude-enterprise-consumption-guide.md index 07f81f6b23..f4f9f2c663 100644 --- a/content/support/14782391-claude-enterprise-consumption-guide.md +++ b/content/support/14782391-claude-enterprise-consumption-guide.md @@ -239,6 +239,10 @@ For organizations managing limits across many groups, the **[Admin API](https:// Spend-threshold alerts notify admins at 75% and 90% of an org-level spend limit, giving you time to raise the cap before anyone is blocked mid-task. +### In-product surveys + +The analytics above tell you how much your team uses Claude; surveys tell you what they're doing with it and what's getting in their way. From **[Analytics > Surveys](https://claude.ai/analytics/surveys)**, admins can send users a short survey that appears in Cowork or chat at a natural break in their work. Pick the audience by group, set a window, and review aggregated results in the console, including response rate, a breakdown by surface and group, and a feed of written answers, with a CSV export per survey. Learn more about **[creating surveys for your organization](https://support.claude.com/en/articles/16764057)**. + --- ## End user education diff --git a/content/support/15363606-why-claude-switched-models-in-your-conversation-with-fable-5-or-fable-5-1.md b/content/support/15363606-why-claude-switched-models-in-your-conversation-with-fable-5-or-fable-5-1.md new file mode 100644 index 0000000000..de72c53057 --- /dev/null +++ b/content/support/15363606-why-claude-switched-models-in-your-conversation-with-fable-5-or-fable-5-1.md @@ -0,0 +1,103 @@ +# Why Claude switched models in your conversation with Fable 5 or Fable 5.1 + +This article explains why a request might be blocked on Claude Fable 5 or Fable 5.1, what happens when your conversation switches to a different Claude model, and how to manage automatic switching. + +## Why some requests get blocked + +Claude Fable 5 and Fable 5.1's capabilities far exceed those of every model we've previously made generally available. It is state-of-the-art on nearly all tested benchmarks of AI capability, showing exceptional performance in software engineering, knowledge work, vision, and many other areas. + +Releasing a model this capable comes with risks. Without strong safeguards, Claude Fable 5 and Fable 5.1's advanced capabilities in areas like cybersecurity and biology could be misused by users to create large-scale cyberattacks or bioweapons that could result in catastrophic damage. These capabilities are the reason we’ve previously only released Mythos-class models (like Mythos Preview) to a small number of selected and vetted partners. + +Recognizing these risks, to allow general users to access the vast majority of Fable 5 and Fable 5.1's capabilities, we've launched the model with safeguards that redirect or block its responses in some specific areas in line with our **[Terms of Service](https://www.anthropic.com/legal/commercial-terms)** and **[Usage Policy](https://www.anthropic.com/legal/aup)**. We’ve also **[been iterating](https://www.anthropic.com/news/redeploying-fable-5)** on safeguards since our first launch of Claude Fable 5. + +Most user queries blocked by these safeguards on Fable 5 or Fable 5.1 may instead receive a response from our next-most-capable model (i.e., "fallback"). We're working on making these safeguards more precise to help block only genuinely risky requests, with fewer false positives than there are today. + +## What requests may fallback + +**Claude Fable 5 and Fable 5.1 runs automated safety checks, or classifiers, on every user request. These checks are intended to visibly fallback from Fable 5 and Fable 5.1 to Opus models when users submit requests in:** + +- Offensive cybersecurity techniques, such as building exploits, malware, or attack tooling. Claude Fable 5 and Fable 5.1 can assist with routine cybersecurity tasks, but users should expect high fallback rates. The safeguards are designed to block access to Mythos-level capabilities. + +- A large fraction of queries we consider dual-use in biology, such as virology, toxicology, drug design, and molecular design—so Fable 5 and Fable 5.1 are not recommended for professional biology research and drug development at this time. (**[Classifier updated](https://www.anthropic.com/news/improving-fable-5-s-biology-safeguards)**: August 6, 2026 on Claude, Claude apps, and Claude Platform, with Amazon Bedrock, Claude Platform on AWS, Google Cloud Vertex AI, and Microsoft Foundry to follow.) + +- Distillation attacks on Fable 5 and Fable 5.1, including attempts to extract the model’s **[summarized thinking](https://platform.claude.com/docs/en/build-with-claude/extended-thinking#summarized-thinking).** + +- A narrow set of frontier LLM development tasks, such as distributed training infrastructure, ML accelerator design, and kernel development for certain non-standard chips. + +These blocking safeguards are intentionally broad, and we work to continuously improve the safeguards to reduce their user-experience impact. When requests are blocked, they may fallback to a non-Mythos model, currently Opus 5 for biology, chemistry, and life sciences requests, and Opus 4.8 for offensive cybersecurity technique requests. + +The checks also review everything the model reads, not just your latest message—including memory, content from connectors, web search results, and files, so a block can be triggered by content you didn't type. + +## What happens after a fallback + +Automatic model switching is active by default. When your request falls back, Claude re-runs your blocked Claude Fable 5 or Fable 5.1 request on an Opus model in the same conversation. You’ll see a notice explaining that the model switched, and the response will be labeled with the model that answered. Opus is a highly capable model with strong safeguards of its own, and for most otherwise legitimate requests blocked on Fable 5 or Fable 5.1, Opus should give you a helpful answer. + +After the switch, the model picker stays on Opus for the rest of the conversation. You can switch back to Claude Fable 5 or Fable 5.1 anytime from the model picker. + +**Note:** If you switch back to Claude Fable 5 or Fable 5.1 after an automatic model switch, the same Fable 5 or Fable 5.1 safeguards may cause Claude to fallback again if your original request is still part of the conversation. Editing your previous message before retrying often helps. + +## If the fallback request is also blocked + +Opus has its own safety systems. To learn about fallbacks in Claude Opus 5, see **[Why Claude switched models in your conversation with Opus 5](https://support.claude.com/en/articles/16049681)**. + +If your request is also blocked on the less capable model, you can edit your message and retry. For cybersecurity specifically, if your use case has a legitimate defensive purpose and is being affected by these safeguards, you can apply for the Cyber Verification Program (CVP) for Opus. Learn more about **[real-time cyber safeguards on Claude Opus and Sonnet](https://support.claude.com/en/articles/14604842-real-time-cyber-safeguards-on-claude)**. + +## Manage automatic model switching + +Automatic switching is enabled by default the first time you select Claude Fable 5 or Fable 5.1. It stays on by default, and you can turn it off anytime: + +1. Go to **[Settings > Capabilities](https://claude.ai/settings/capabilities)** (or **Config > MODEL & OUTPUT** in Claude Code). + +2. Toggle **Switch models when a message is flagged** off. + +With automatic model switching off, a blocked request pauses the conversation instead of switching models. You can then: + +- Edit your message and retry on Claude Fable 5 or Fable 5.1 + +- Send the same message to a less capable model manually +​ + +## Usage and billing + +Blocked requests are billed differently depending on when the block happens: + +- **Blocked on input:** If a request is blocked before Claude Fable 5 or Fable 5.1 produces any output, the conversation switches to Opus immediately. You're charged only at Opus rates, and the Opus response counts toward your usage limit or consumption. + +- **Blocked midstream:** If a request is blocked midstream, the input and the tokens streamed before the block are charged at Claude Fable 5 or Fable 5.1 rates. The rest of the response is charged at Opus rates. +​ + +## Give feedback + +If your blocked request seems unrelated to security or biology topics, or if your legitimate work in these areas keeps getting blocked, let us know. Use "Send feedback" to report it. Reports of incorrectly blocked requests help us narrow and improve these safeguards. + +## Stay tuned for updates + +Moving forward, we plan to consider ways to open up allocations for dual-use cyberdefense and biology research. As our safety systems mature, we aim to support legitimate biology and defensive cybersecurity work while keeping strong protections against misuse in place. + +We'll share more details about the program, including eligibility and how to apply, as they become available. Watch this Help Center for updates, or **[sign up for notifications here](https://claude.com/form/mythos-access-interest)**. + +## Where automatic model switching applies + +Automatic model switching works the same way everywhere you can use Claude Fable 5 and Fable 5.1: + +- Claude on the web + +- Claude Mobile + +- Claude Desktop + +- Claude Cowork + +- Claude Code + +- Claude Design + +- Claude for Microsoft 365 + +- Claude Tag + +**Important:** If you're using the Claude API, model switching works differently. Automatic switching isn't active by default, and API customers must opt into and configure fallbacks. Until fallbacks are configured, the model will return a 200 response with a stop reason on the API. See the **[developer documentation](https://platform.claude.com/docs/en/build-with-claude/refusals-and-fallback)** for details. + +Read our blog to learn more about **[Claude Fable 5 and Claude Mythos 5](https://www.anthropic.com/news/claude-fable-5-mythos-5)**. + +Our safeguards are built to match the capabilities of a model. For how safeguards work on Claude Opus 5, see **[Why Claude switched models in your conversation with Opus 5](https://support.claude.com/en/articles/16049681)**. \ No newline at end of file diff --git a/content/support/15424964-claude-fable-models-on-your-plan.md b/content/support/15424964-claude-fable-models-on-your-plan.md new file mode 100644 index 0000000000..c6a097ff92 --- /dev/null +++ b/content/support/15424964-claude-fable-models-on-your-plan.md @@ -0,0 +1,77 @@ +# Claude Fable models on your plan + +We previously ran a promotion that allowed you to use up to 50% of your weekly subscription limit on Claude Fable 5 at no extra cost. That promotion ended on July 19, 2026 at 11:59:59 PM PT, and it applied to Fable 5 only. Claude Fable 5.1 was never part of it. + +Fable 5 and Fable 5.1 work the same way on your plan. On Max plans, premium seats on Team plans, and premium seats on legacy seat-based Enterprise plans, both are a standard part of your plan. On Pro plans, standard seats on Team plans, and standard seats on legacy seat-based Enterprise plans, both models run on pay-as-you-go usage credits. This article explains how they work on each plan, how to access them, and what happens when you reach your usage limits. + +Claude Fable 5 and Claude Fable 5.1 are available on all paid plans (Pro, Max, Team, and Enterprise). + +## How Fable models work on each plan + +- **Max plans, premium seats on Team plans, and premium seats on seat-based Enterprise plans:** Fable 5 and Fable 5.1 are included as a standard part of your plan. You can use up to 50% of your weekly usage limits on Fable models at no extra cost. They draw from your plan's regular weekly usage limits and use them faster than other Claude models. When you reach your Fable limit, you can keep using Fable models with usage credits, or switch to another model to stay within your plan's usage limits. + +- **Pro plans and standard seats on Team plans:** Fable 5 and Fable 5.1 aren’t included in your plan's usage limits. You can use them with usage credits, which let you pay for usage beyond what your plan includes. Eligible Pro and Team standard seats qualified for a one-time credit when Fable 5 moved to usage credits in July 2026. That credit applied to the Fable 5 change only, and there's no equivalent credit for Fable 5.1. Learn more about the **[Claude Fable 5 one-time free credits promotion](https://support.claude.com/en/articles/15862783)**. + +- **Standard seats on seat-based Enterprise plans:** Fable 5 and Fable 5.1 aren’t included in your plan's usage limits. You can use them if your organization has enabled usage credits, which let you pay for usage beyond what your plan includes. Standard seats on seat-based Enterprise plans don't qualify for the one-time promotional credit. + +- **Usage-based Enterprise plans:** Access to Fable 5 and Fable 5.1 is billed at standard API rates. For current per-model pricing, see our **[API pricing page](https://www.anthropic.com/pricing#api)**. + +- **Claude API:** Access to Fable 5 and Fable 5.1 is billed at standard API rates. For current per-model pricing, see our **[API pricing page](https://www.anthropic.com/pricing#api)**. + +## How to access Claude Fable models + +You can access Claude Fable 5 and Fable 5.1 on: + +- Claude on the web + +- Claude Mobile + +- Claude Desktop + +- Claude Cowork + +- Claude Code + +- Claude Design + +- Claude for Microsoft 365 + +- Claude Tag + +In Claude on the web, Claude Desktop, and Claude Mobile, select "Fable 5" or “Fable 5.1” from the model picker. In Claude Code, Fable 5 requires version 2.1.170 or later and Fable 5.1 requires version 2.1.255 or later. To use Fable models in Claude Cowork, you need to be on the latest version of Claude Desktop. + +## When you reach your Fable usage limit + +On Max plans, premium seats on Team plans, and premium seats on seat-based Enterprise plans, once you use up to 50% of your weekly usage limits on Fable models, you can continue in one of two ways: keep using Fable models with usage credits, or switch to another Claude model to keep working within your plan's usage limits. + +On Pro plans, standard seats on Team plans, and standard seats on seat-based Enterprise plans, Fable models run on pay-as-you-go usage credits from the start, since they aren’t included in your plan's usage limits. + +This works the same way across Claude on the web, Claude Mobile, Claude Desktop, Claude Cowork, and Claude Code. Learn more about **[usage credits](https://support.claude.com/en/articles/12429409)**. + +## Frequently asked questions + +### Why can’t I see Claude Fable 5 or Fable 5.1? + +Check the following: + +- You’re on a paid Claude plan. Fable 5 isn’t available on the Free plan. + +- If you’re using Claude Code, you’re on version 2.1.170 or later for Fable 5, or 2.1.255 or later for Fable 5.1. + +- If you’re using Cowork, you’re on the latest version of Claude Desktop. + +- Your organization hasn't enabled Fable models. + +### Will this use my regular usage limits? + +It depends on your plan. On the Max plan, premium seats on the Team plan, and premium seats on the seat-based Enterprise plan, Fable models count toward your plan's usage limits, and you can use up to 50% of your weekly usage limits on Fable models at no extra cost. On the Pro plan, standard seats on the Team plan, and standard seats on the seat-based Enterprise plan, Fable models run on usage credits rather than your plan's usage limits. + +### Will I get 50% more for my weekly limit for Fable models if I’m on the Max plan, Team plan with premium seats, or a seat-based Enterprise plan with premium seats? + +No. You can use up to 50% of your weekly limit on Fable models, but your use of other models draws from the same usage limits and you can never use more than your weekly limit. You can track both in your usage settings. + +### I'm on the Pro or Team plan. Why is Fable 5 no longer included? + +The earlier promotion that included Fable 5 in your plan's weekly usage limits ended on July 19, 2026 at 11:59:59 PM PT. On the Pro plan and standard seats on the Team plan, you can keep using Fable 5 with usage credits or by upgrading to the Max plan. You may also be eligible for a one-time credit. Learn more about the **[Claude Fable 5 one-time free credits promotion](https://support.claude.com/en/articles/15862783)**. + +Fable 5.1 works the same way on these plans: it isn't included in your plan's usage limits, and it wasn't part of the earlier promotion. \ No newline at end of file diff --git a/content/support/15520349-use-claude-cowork-on-web-desktop-and-mobile.md b/content/support/15520349-use-claude-cowork-on-web-desktop-and-mobile.md index b1590741bd..e18901a873 100644 --- a/content/support/15520349-use-claude-cowork-on-web-desktop-and-mobile.md +++ b/content/support/15520349-use-claude-cowork-on-web-desktop-and-mobile.md @@ -42,19 +42,20 @@ For details on how cloud and local sessions are isolated and what each can acces Cowork in the cloud is in beta, and some features aren’t available yet. Here's what you can use on each surface today: -| **Feature** | **Desktop** | **Web** | **Mobile** | -| ------------------------------------------- | ----------- | ------- | ---------- | -| Start, steer, and review tasks | ✅ | ✅ | ✅ | -| Resume a session started on another surface | ✅ | ✅ | ✅ | -| Connectors | ✅ | ✅ | ✅ | -| Skills and plugins | ✅ | ✅ | ✅ | -| Preview files Claude creates | ✅ | ✅ | ✅ | -| Scheduled tasks | ✅ | ✅ | ✅ | -| Projects | ✅ | ✅ | ✅ | -| Live artifacts | ✅ | | | -| Local file access | ✅ | ✅\* | ✅\* | -| Browser use | ✅ | ✅\* | ✅\* | -| Computer use | ✅ | ✅\* | ✅\* | +| **Feature** | **Desktop** | **Web** | **Mobile** | +| ----------------------------------------------- | ----------- | ------- | ---------- | +| Start, steer, and review tasks | ✅ | ✅ | ✅ | +| Resume a session started on another surface | ✅ | ✅ | ✅ | +| Connectors | ✅ | ✅ | ✅ | +| Skills and plugins | ✅ | ✅ | ✅ | +| Preview files Claude creates | ✅ | ✅ | ✅ | +| Scheduled tasks | ✅ | ✅ | ✅ | +| Projects | ✅ | ✅ | ✅ | +| Live artifacts (created before August 19, 2026) | ✅ | | | +| Artifacts (created August 19, 2026 or later) | ✅ | ✅ | | +| Local file access | ✅ | ✅\* | ✅\* | +| Browser use | ✅ | ✅\* | ✅\* | +| Computer use | ✅ | ✅\* | ✅\* | A few notes on the table: @@ -62,13 +63,13 @@ A few notes on the table: - Projects are available on every surface. From a project you can start a chat or a Cowork session, and Claude uses the project's knowledge as context. Projects tied to a local folder support Cowork sessions on desktop only, and Cowork won't change a project's contents, so add anything you want to keep to the project yourself. For more information, see **[Organize your tasks with projects in Claude Cowork](https://support.claude.com/en/articles/14116274)** and **[Use live artifacts in Claude Cowork](https://support.claude.com/en/articles/14729249)**. -- Live artifacts are available on the desktop app only. For more information, see **[Use live artifacts in Claude Cowork](https://support.claude.com/en/articles/14729249)**. +- Artifacts created on or after August 19, 2026 are available on the desktop app and web. Live artifacts created before that date are available on the desktop app only. For more information, see **[Use artifacts in Claude Cowork](https://support.claude.com/en/articles/14729249)**. - Local connectors and plugins that include local MCP servers work through the desktop app only. - Scheduled tasks run in the cloud, so they no longer need your computer to be awake. For more information, see **[Schedule recurring tasks in Claude Cowork](https://support.claude.com/en/articles/13854387)**. -- Computer use is a research preview for Pro and Max plans. For more information, see **[Let Claude use your computer in Cowork](https://support.claude.com/en/articles/14128542)**. +- Computer use is in beta for Pro and Max plans. For more information, see **[Let Claude use your computer in Cowork](https://support.claude.com/en/articles/14128542)**. ## What requires the desktop app diff --git a/content/support/15936181-get-started-with-1password-for-claude.md b/content/support/15936181-get-started-with-1password-for-claude.md index c72a3cb1b4..0688fd8de0 100644 --- a/content/support/15936181-get-started-with-1password-for-claude.md +++ b/content/support/15936181-get-started-with-1password-for-claude.md @@ -52,7 +52,7 @@ Once the requirements are in place, you can set up 1Password from a few places i 4. Toggle on **Password managers**: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2546126596/ba71ca47e2df21cec62c243831f8/5b1c67e1-607d-4c73-8f61-d1ceb081082a?expires=1788362100&signature=0f5c1c36e23578493d13decb0a84e6eaa75551b644219afa5b3aef4cc8f9cc30&req=diUjEMh8m4RWX%2FMW1HO4zU5lnmNtq8diGkiu4hEpcPUab8A9REVvvYp48PZa%0AY3l9%2F%2FkWTunKUtaLtGs%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2546126596/ba71ca47e2df21cec62c243831f8/5b1c67e1-607d-4c73-8f61-d1ceb081082a?expires=1788414300&signature=1536203e56944528a08cc687393c65411b185287ed7ce336cad98f62ab149d24&req=diUjEMh8m4RWX%2FMW1HO4zU5lnmNqrMFgGkiu4hEpcPXrp%2FPljodGOmxAHa4f%0AOyyoQseGVhDp%2B4aBriM%3D%0A) Once enabled, eligible users will see the discovery options above. Users still need to install and set up the required apps and extensions themselves. diff --git a/content/support/16607638-understanding-your-pro-or-max-plan-invoices.md b/content/support/16607638-understanding-your-pro-or-max-plan-invoices.md index 4c9906f6a4..8a750aa2a0 100644 --- a/content/support/16607638-understanding-your-pro-or-max-plan-invoices.md +++ b/content/support/16607638-understanding-your-pro-or-max-plan-invoices.md @@ -40,7 +40,7 @@ You can also open any invoice from your account: **Amount due.** The invoice total minus any applied balance. This is what your payment method was charged. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2629072970/c514f489b65072ccad08e803864f/e8c7a7de-905f-4a40-815f-c9c66edcdbf6?expires=1788362100&signature=22bec6c383235d2d6b81a9360e5af82050c54be20f36c0f50a00bd477764c522&req=diYlH8l5n4hYWfMW1HO4zdWraBk86FYfPZYKVlMiWEUsjjnxVNXxhQMwDsUu%0Ab5QcAZnRZOryo190zeQ%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2629072970/c514f489b65072ccad08e803864f/e8c7a7de-905f-4a40-815f-c9c66edcdbf6?expires=1788414300&signature=1e91279391c25b1c5cae6e28ea76fe61709909e54020aa1db3b4c3ee1cb30028&req=diYlH8l5n4hYWfMW1HO4zdWraBk771AdPZYKVlMiWEXEp7kAJihedNq2EisN%0ATpAAIUe%2Fx%2Fj%2FLcXGkf8%3D%0A) ## Billing details on your invoice diff --git a/content/support/16761192-preserved-thinking-changing-how-the-messages-api-handles-thinking-blocks-to-protect-against-distillation.md b/content/support/16761192-preserved-thinking-changing-how-the-messages-api-handles-thinking-blocks-to-protect-against-distillation.md new file mode 100644 index 0000000000..214619b362 --- /dev/null +++ b/content/support/16761192-preserved-thinking-changing-how-the-messages-api-handles-thinking-blocks-to-protect-against-distillation.md @@ -0,0 +1,49 @@ +# Preserved thinking: changing how the Messages API handles thinking blocks to protect against distillation + +With Claude Fable 5.1, we're changing how the Messages API handles thinking blocks to protect against distillation. A thinking block is a record of the reasoning Claude may produce while working on a response. New API accounts for Fable 5.1 will no longer be able to edit the context around a thinking block, such as the messages, tools, or system prompt, during a multi-turn conversation. + +Modifying this prior context has legitimate applications, which we continue to support using the adjustments outlined below. However, such modifications are also a common and **[publicly documented technique](https://arxiv.org/abs/2608.09867)** for industrial-scale illicit distillation, which is prohibited by our **[Usage Policy](https://www.anthropic.com/legal/aup)** and Terms of Service. + +Here's what changes: the API will now verify that a thinking block is sent back with the same system prompt, tools, and messages that produced it, and will return an error if they don't match. In order for modified requests to succeed, developers may opt-in to instead have the thinking blocks *removed* from such requests; the model will respond without seeing the thinking block. For Fable 5.1, preserved thinking applies to new API accounts only, although this update will apply to all accounts in future model releases. + +In this article, we share details on why we're doing this and the adjustments you can make to minimize disruption. + +## What are thinking blocks? + +Claude produces reasoning steps before providing its final answer. On the API, these are returned to the user as "thinking blocks." In a multi-turn conversation, API users send these blocks back with each exchange (along with the system prompt, tools, and earlier messages), so that Claude has full conversational context. + +## What’s changing? + +For impacted accounts (see below) on Fable 5.1, the API will return an error if the system prompt, tools, or messages preceding a prior thinking block have been modified. + +To avoid an error message, you may opt into "non-strict" mode. In this mode, the request will go through, but the affected thinking blocks will be dropped from what the model sees. This allows you to continue your conversation or task uninterrupted despite the prior turns’ thinking not being shown to the model. When this happens, the API response will tell you which blocks were dropped. + +## Why are we making this change? + +Altering the earlier turns of a conversation is a **[common technique](https://arxiv.org/abs/2608.09867)** used in illicit distillation campaigns, which aim to extract the capabilities of advanced models—especially thinking—to train another model, without authorization. Distillation is often employed on an industrial scale, using thousands of fake accounts. We encrypt Claude's thinking blocks to prevent this, but by editing the conversation before a thinking block, a user could get Claude to decrypt and print its reasoning. Systems trained this way can inherit capabilities they wouldn’t otherwise have, *without* inheriting the safeguards that we've built to prevent a broad range of misuse like cyberattacks and weapons development. + +This change aims to make distillation campaigns more difficult to execute. It builds on existing anti-distillation measures like **[enhanced distillation classifiers](https://www.anthropic.com/research/next-generation-constitutional-classifiers)** and restrictions on transferring sessions or reasoning from more advanced models to less capable models with weaker safeguards. + +## What does this mean for API integrations? + +Certain integrations—particularly those that involve rewriting earlier turns mid-conversation, like context compaction and injected system reminders—may need adjustment. + +Here are the resources to help guide you through this update: + +- The **[preserved thinking documentation](https://platform.claude.com/docs/en/build-with-claude/preserved-thinking)** covers where the change does and does not apply. + +- The **[Fable 5.1 migration guide](https://platform.claude.com/docs/en/models/fable-5-1/migration-guide)** has a full checklist for the necessary updates. + +- The **[Fable 5.1 prompt guide](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-fable-5-1)** covers behavioral differences and prompting patterns that help you draw on Fable 5.1's full capabilities. + +If the guidance above doesn't cover your use case, please **[reach out to our support team](https://support.claude.com/en/articles/9015913)**. If you work with an account team, you can also reach out to them for support with updating more complex integrations. + +There are additional benefits to keeping thinking blocks consistent: it means that the API can reuse cached prompts more often, which reduces costs and response time. + +## Who will this impact? + +On Fable 5.1, this update applies to new API accounts created after August 31, 2026 12:00:00 AM UTC. Specifically, it affects new Claude Platform organizations, Amazon Bedrock accounts, Google Cloud Vertex AI projects, and Microsoft Azure Foundry projects created on or after August 31, 2026. + +We're taking a phased approach to enforcement, starting with new accounts, where we see the highest concentration of distillation-related abuse. Existing accounts won't be affected for Fable 5.1, which gives developers time to make their harnesses and integrations compatible with this update. Preserved thinking will apply to all users for future models. + +Users of Claude Code, Claude Cowork, Claude.ai, or Claude through a third-party product are **not** affected, nor is use of models other than Fable 5.1. \ No newline at end of file diff --git a/content/support/16764810-assign-a-program-to-workspaces-in-claude-console.md b/content/support/16764810-assign-a-program-to-workspaces-in-claude-console.md index 5437ecab04..6aea359e19 100644 --- a/content/support/16764810-assign-a-program-to-workspaces-in-claude-console.md +++ b/content/support/16764810-assign-a-program-to-workspaces-in-claude-console.md @@ -20,27 +20,27 @@ In the Console, programs are issued to your organization and apply to workspaces 1. **[Sign in to the Console](https://platform.claude.com/)** as an organization Admin. Go to **[Organization settings > Programs](https://platform.claude.com/settings/organization/programs)**. The program card shows whether it applies automatically or needs workspaces assigned. - ![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2642744587/d4584e035604f3b7c08afa53a1c6/ee1183ff-e591-4484-a989-1f754245d39c?expires=1788362100&signature=044c93039ae78b8bed2095d959e5f967d4e655bb09b91c97199718417d3216fc&req=diYjFM56mYRXXvMW1HO4zT%2FymEGEEgumktHcEoeKC4d139xawVUn02rCJvSI%0AEA8A%0A) + ![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2642744587/d4584e035604f3b7c08afa53a1c6/ee1183ff-e591-4484-a989-1f754245d39c?expires=1788414300&signature=789df92b33a155e9f01a6881f76155766a01d7827e296a0006d1d188c375bc7d&req=diYjFM56mYRXXvMW1HO4zT%2FymEGDFQ2kktHcEoeKC4esF2nM4qN%2FM5soXzGf%0ArqwT%0A) 2. Select the program to open its page. The **Workspaces** table shows each workspace's status. A workspace marked with an issue does not meet a requirement yet. - ![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2642745562/253e55a3292b35f728fb5dc89fb2/0878a8a9-dce5-4df2-9826-3796605b52a0?expires=1788362100&signature=775211bf80c90f021c604ee4140bcee1c802e584532b47d107a432b6f29084ee&req=diYjFM56mIRZW%2FMW1HO4zc116gZrRlKwMCr%2B42fbmkbWC2zdEX98hizBm6a6%0Anu76%0A) + ![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2642745562/253e55a3292b35f728fb5dc89fb2/0878a8a9-dce5-4df2-9826-3796605b52a0?expires=1788414300&signature=7724abb3f894bfef278810c432026b299a75c2606f0c1cee1ab0091613aa1a1d&req=diYjFM56mIRZW%2FMW1HO4zc116gZsQVSyMCr%2B42fbmkYeQ9MsEHqC9OyZsFEh%0ARBmZ%0A) Hover over the issue to see which requirement is not met. - ![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2642746466/c49291119729e99f4dba8ec924e4/3f802c0e-7fbc-4e80-935a-05da58f65bde?expires=1788362100&signature=6f194ce1b1565fd06a197750285a7ea41343802ea2ca1debc2e98dd781417dff&req=diYjFM56m4VZX%2FMW1HO4zaveae5hkH%2FBVPpeIJbmktTF9ig%2BC%2BTjC%2Bfv36WJ%0AWtFh%0A) + ![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2642746466/c49291119729e99f4dba8ec924e4/3f802c0e-7fbc-4e80-935a-05da58f65bde?expires=1788414300&signature=e2cbff20f57d50fca50c9e7adaddbe7950a2d0ff8bc39e08d83bd4fd133300bc&req=diYjFM56m4VZX%2FMW1HO4zaveae5ml3nDVPpeIJbmktRSUgrrfFxs01M6LV1L%0A3GYV%0A) 3. To give a workspace access, make it meet the requirements. Open the workspace, select "Manage," then "Programs," and check the **Qualifications** panel. - ![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2642768117/1304e6b1350fc9bd88c4238a00e3/db606eb5-39d5-4309-a5a9-ee33847fc233?expires=1788362100&signature=d52e380ba61e0bb5582689243627586de39737c997ebc9e447c0f86c6e64ef42&req=diYjFM54lYBeXvMW1HO4zTU0lNOTLURG9BWcjfiNKI3ujUKdLzZGh%2FhEAY40%0Azjop%0A) + ![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2642768117/1304e6b1350fc9bd88c4238a00e3/db606eb5-39d5-4309-a5a9-ee33847fc233?expires=1788414300&signature=4a066b8cd050fbb856a97aafcac34afba5344bd535b9b920f7f70f3210cd1f0a&req=diYjFM54lYBeXvMW1HO4zTU0lNOUKkJE9BWcjfiNKI1z27cq1J%2FDNWDlZ8J0%0A7ow5%0A) 4. Fix the requirement. For the Cyber Verification Program, turn on data retention under Manage, then Privacy controls. Then select "Rerun." - ![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2642746995/87151a11687a9c631b7a9d681390/d40a6c12-283d-4b3b-b6d6-9f631a73e7c0?expires=1788362100&signature=7cec1620d446865a510049f8a6db7f87ababa4cc7a03cd422a05babca5112e06&req=diYjFM56m4hWXPMW1HO4zQfcHTOt6Xwq9apHi%2BiM8oizT2bGreMoax8NWgk4%0Ayx1I%0A) + ![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2642746995/87151a11687a9c631b7a9d681390/d40a6c12-283d-4b3b-b6d6-9f631a73e7c0?expires=1788414300&signature=efddfdfc7f51087ea172d45c4cb9f0131cb6d0167111ceacdfc983ba9d7abd89&req=diYjFM56m4hWXPMW1HO4zQfcHTOq7noo9apHi%2BiM8ohQ70oa6gtArMt2Zj2W%0A67UR%0A) 5. The program shows **Active** for the workspace. - ![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2642747200/a18bdccde474c9f4eba371cf6050/b0e9d5e3-1e5f-4f27-b682-5684084f92e8?expires=1788362100&signature=a71b45434614964a673155c30f6acb621f4f2f76a44c8f7372352f9133bf1f90&req=diYjFM56moNfWfMW1HO4zaUR8q5k8Pw5fTukdAE3MWv3FNWxx%2BFDbV2zfFZZ%0AKg8F%0A) + ![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2642747200/a18bdccde474c9f4eba371cf6050/b0e9d5e3-1e5f-4f27-b682-5684084f92e8?expires=1788414300&signature=0e94cc13a3f8868eec1b481a1bac5bafbfeb014cd99ad87a5dfc77bac008ceb2&req=diYjFM56moNfWfMW1HO4zaUR8q5j9%2Fo7fTukdAE3MWu7hFSH1o%2F7elAB%2Fwy2%0A0%2F%2Fb%0A) ## Troubleshooting diff --git a/content/support/8114491-get-started-with-claude.md b/content/support/8114491-get-started-with-claude.md index a731813b46..b48a6b7396 100644 --- a/content/support/8114491-get-started-with-claude.md +++ b/content/support/8114491-get-started-with-claude.md @@ -36,7 +36,7 @@ You use **prompts** to communicate with Claude. The best approach is to speak to Type your prompt into the chat interface and click the submit button to start a conversation with Claude. You can click the "+" button in the lower left or type "/" to view additional options and commands: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1916208578/2cf2ea52f1f884084b57983a8805/image.png?expires=1788362100&signature=0e4eeaab55251530a3599f508ce603ade777ee539145f25cfbf6055e3fe94aba&req=dSkmEMt%2BlYRYUfMW1HO4zV2J7SfJsoWA9crMELaMZPxG%2FDx2Ci7snx4OfQAS%0AHfuJ8UZEXkawVHu7goc%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1916208578/2cf2ea52f1f884084b57983a8805/image.png?expires=1788414300&signature=766605ea47ae279c5f3810e7a513369227ca1900fc7b5dd945dde8162d2a49bb&req=dSkmEMt%2BlYRYUfMW1HO4zV2J7SfOtYOC9crMELaMZPxPIq44NNQr2oFdHE1E%0ApOcJlolQzlfd0UroDu4%3D%0A) --- diff --git a/content/support/8230524-delete-or-rename-a-conversation.md b/content/support/8230524-delete-or-rename-a-conversation.md index 77c366bc59..3c0bc7c533 100644 --- a/content/support/8230524-delete-or-rename-a-conversation.md +++ b/content/support/8230524-delete-or-rename-a-conversation.md @@ -44,15 +44,15 @@ These steps apply to Claude for iOS, listed on the App Store as Claude by Anthro 4. If deleting, tap "Delete" again in the confirmation prompt. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2599501318/75c28edc693efbe8befd21e4da64/d18a921a-df4b-4788-833c-12c966a32527?expires=1788362100&signature=7dc44592deb498372d7f7743b898948b05e1ceed3ea54dc53e00c75c3c294335&req=diUuH8x%2BnIJeUfMW1HO4zSc12aZZjmKq1DBI29QsIlGFdfZSxO5JU649VRgy%0AxmafIW9MeeraGQlvIdQ%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2599501318/75c28edc693efbe8befd21e4da64/d18a921a-df4b-4788-833c-12c966a32527?expires=1788414300&signature=a77866a9b2ec6e1debe3406ec1931c95d386c40cac7951ea976067e20555f808&req=diUuH8x%2BnIJeUfMW1HO4zSc12aZeiWSo1DBI29QsIlHfPSX90Mgit6ub4qna%0ASuksxSjozvllqNEz%2FAw%3D%0A) -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2599493852/2e58b92d18f307bb79ae30650f26/1bbe52f3-202b-4d5d-9f9a-eeda4d6952c3?expires=1788362100&signature=ed7824e5d895451f471a745247113a10ada5b8d7945e03bbca7696fe8f91c9cc&req=diUuH813nolaW%2FMW1HO4zTjXMu%2BPKMLkj7blKEDtUI2Zz9ZI7Ybz%2Fp0g6eq0%0A6u%2FV%2BoCpZnbFVr02UFw%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2599493852/2e58b92d18f307bb79ae30650f26/1bbe52f3-202b-4d5d-9f9a-eeda4d6952c3?expires=1788414300&signature=8c9e7d3180d7c8be86ea53beac21c7e46b96ac54b9abf2e6b96f2bc83cc6e53e&req=diUuH813nolaW%2FMW1HO4zTjXMu%2BIL8Tmj7blKEDtUI2iqfArCd9wvrlQkwhW%0AvwRs9TPMvVfDnDTMr84%3D%0A) You can also delete the conversation you have open: tap the "⋯" button in the top right corner, tap "Delete," then confirm. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2599493848/997184c386d0e6fb0bd2d7c1f2b6/5d2bc394-25fc-4814-8c2a-2f54d004f83f?expires=1788362100&signature=8f453eca7aa27932012d2b20175b4ad0082d9627ae0aa01970928dae572faef2&req=diUuH813nolbUfMW1HO4zVCIqpLMzd5HzQl%2BKgU984yhZJwjPFrj9ztQOJ3i%0Akw%2FGCYSPUT7MDasRabk%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2599493848/997184c386d0e6fb0bd2d7c1f2b6/5d2bc394-25fc-4814-8c2a-2f54d004f83f?expires=1788414300&signature=fd5283526e601450dfdb1bffa7dbcd0e0bbcfda27690e7dbfb6a96871c4dfac0&req=diUuH813nolbUfMW1HO4zVCIqpLLythFzQl%2BKgU984ytGhravA5AsF9dyeCT%0AB6QyWaxsGXSTVQ8737w%3D%0A) -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2599493856/799041da9fa918e90068c5ebf5bd/2e8d5cee-c45a-41d7-a14b-486e50a37f88?expires=1788362100&signature=aad7049d401915870d9094b5916d07cf72679450a876b601ee9b6571641d97db&req=diUuH813nolaX%2FMW1HO4zVCl4ADx12dMEDIU8RT6jk3MeN%2Bzte7Ke5V6wviZ%0ArVvx0%2FmwLNA95CZDuFw%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2599493856/799041da9fa918e90068c5ebf5bd/2e8d5cee-c45a-41d7-a14b-486e50a37f88?expires=1788414300&signature=b4e65e1c92ee7c2232076ff9271695f74352ee278f31bfa151097a97a6d244fc&req=diUuH813nolaX%2FMW1HO4zVCl4AD20GFOEDIU8RT6jk1RsE7%2FKnKbM0paEsRy%0AYDBYymGz4oLUpy8497E%3D%0A) ## Delete or rename a conversation on Claude for Android @@ -66,9 +66,9 @@ These steps apply to the Claude for Android, listed on Google Play as Claude by 3. If deleting, tap "Delete" again in the confirmation prompt. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2599493850/a64e6561222d535f2f5bd03e71f0/5de429c2-d8ed-4e8a-89e8-a13ccaa49767?expires=1788362100&signature=ce951ce816f00e3f496d03ceca6272e4c538f9ca35ad7c49e5b57300fc0c0f9c&req=diUuH813nolaWfMW1HO4zVTdd9ovxFJ0rqtc0YNNUtIXP1j6d%2FkYS%2FRuuDNi%0AhTT58he0vn%2BDbdpk1jA%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2599493850/a64e6561222d535f2f5bd03e71f0/5de429c2-d8ed-4e8a-89e8-a13ccaa49767?expires=1788414300&signature=a128e286bd2a79b1e6a7b1dc9960379d279f3caabc2605d756c2be5fc583c3a5&req=diUuH813nolaWfMW1HO4zVTdd9oow1R2rqtc0YNNUtKZvU82DngOfcyN8kbG%0AYiCot%2FdxSS3SttUrcwo%3D%0A) -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2599493851/f21b39c60e88050d4b0745325f0d/0a8c0d08-dc53-4ef1-8d9f-2b995242c1f9?expires=1788362100&signature=5c35a684d6fb5f49929c687c85019003b111bff3a043b8b7e44ae699b028b541&req=diUuH813nolaWPMW1HO4zUYvw10IpDxd%2FjekULCQNzUZ7CPQgEq%2BKZwuTSqK%0AJi%2FcyMVszLimVrwG1TY%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2599493851/f21b39c60e88050d4b0745325f0d/0a8c0d08-dc53-4ef1-8d9f-2b995242c1f9?expires=1788414300&signature=8feb8414de6e210e29609ce032396c7e157afe341243577b4b62e76e337c737b&req=diUuH813nolaWPMW1HO4zUYvw10Pozpf%2FjekULCQNzXpTFTNk8zO%2B0g7K25I%0AVP7%2BO0%2BHqcUt1YYRtRk%3D%0A) **To delete multiple conversations at once:** @@ -78,9 +78,9 @@ These steps apply to the Claude for Android, listed on Google Play as Claude by 3. Tap the trash icon, then tap "Delete" in the confirmation prompt. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2599493849/3013a0ab921337b4544f7ffeffa6/e828ec14-fb52-4205-a840-707b6f2a848d?expires=1788362100&signature=b552968776e83dc1d097acb2125b10450c1d7d37afa3715399c23bcbf5606b9e&req=diUuH813nolbUPMW1HO4zWGamM93fI%2Fe4AqhTnZa84VeFHl1hPv5G%2BLvP48r%0Ah50%2B7jJ01YnC87jLZnQ%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2599493849/3013a0ab921337b4544f7ffeffa6/e828ec14-fb52-4205-a840-707b6f2a848d?expires=1788414300&signature=0418eb2d81f558606b3bed8bdfe83e4e078afbb4c39525eb1d45483f01d7177f&req=diUuH813nolbUPMW1HO4zWGamM9we4nc4AqhTnZa84WrQ7%2F82hQU8ZULQlnQ%0A17pR%2B0zJ6lS7jCSQkyk%3D%0A) -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2599493853/e2507f53cce8a26776a22a457b1a/bd79bb8a-b078-420f-a4e1-75590367aa80?expires=1788362100&signature=55e5ba1c3da5992a939b80164727389b0a5cbf4290e0fb4c69f3ca010d209813&req=diUuH813nolaWvMW1HO4zQTtEx3ywkI5SBGfF3I2bRgBEhWMxonoCojEUrix%0AzyEaCdUfhxI6XtYRyD0%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2599493853/e2507f53cce8a26776a22a457b1a/bd79bb8a-b078-420f-a4e1-75590367aa80?expires=1788414300&signature=45dcda172b82a734be7f206c4ba8ae219904c98f30e1f694927016003c97e5d9&req=diUuH813nolaWvMW1HO4zQTtEx31xUQ7SBGfF3I2bRizW8C%2Bg1%2Fq9XIM4cd7%0AkAJZAi9xsrcfuXnlD6g%3D%0A) ## What happens when you delete a conversation diff --git a/content/support/8325618-paid-plan-billing-faqs.md b/content/support/8325618-paid-plan-billing-faqs.md index c46c9f4943..a4d29b6bbf 100644 --- a/content/support/8325618-paid-plan-billing-faqs.md +++ b/content/support/8325618-paid-plan-billing-faqs.md @@ -50,7 +50,7 @@ There's no separate option to remove a card, and updating to a new card replaces If you want to use a name other than the one tied to your payment method, check the "Use a different name on invoices" box when adding or updating your payment method in **[Settings > Billing](https://claude.ai/settings/billing)**. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1922141785/666191101c11030b05f03a668a74/image.png?expires=1788362100&signature=99c2ccbf941b60e6eb587276fe9be6f929c150c3c97ddddacec1b9daf344a217&req=dSklFMh6nIZXXPMW1HO4zVXW8GWobTHNQoNvNFTb5ccM9fw2ZJdPH%2BWQ32a3%0A0K3TYrBP%2FlzPNOMdyrg%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1922141785/666191101c11030b05f03a668a74/image.png?expires=1788414300&signature=b8377641e9f71ee653c0d8c7c0f03f6bc587c328faf13942f94a2cca962ef0cf&req=dSklFMh6nIZXXPMW1HO4zVXW8GWvajfPQoNvNFTb5ccXNvqjG8YknQt14Ss1%0Ab8cvfB98NtZOYquUSMg%3D%0A) ## How can I edit a paid invoice? diff --git a/content/support/8887527-customizing-your-appearance-settings.md b/content/support/8887527-customizing-your-appearance-settings.md index ebc6ebc711..eba6231765 100644 --- a/content/support/8887527-customizing-your-appearance-settings.md +++ b/content/support/8887527-customizing-your-appearance-settings.md @@ -8,7 +8,7 @@ 3. Select from Light, Match System, and Dark under **Color mode**. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1648260417/d478c757c7115ad58a12026d4caf/AD_4nXc__Qop4X9hknWGfGj_y_DCpLutLruhxIclJIfir0ilsgNMg7X8ksIVnqk1Oce5FKlGIOYu9CKbVsu8DqD7iIY2aC0ZfXMyFTeAdNq-Cao2mXcj_WUpNF0kM2HoYR_dEx6N_cuJow?expires=1788362100&signature=8f8ace9a0fce77e89b6513d3c20953707c6dabc4c9fa1c9557f727cc8c0853f3&req=dSYjHst4nYVeXvMW1HO4zc2jJ6o%2BhonlSBkgeTglJrroSmoFEMcZaCch9ead%0AfMtI%2FN7D8xB6YrgkYPg%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1648260417/d478c757c7115ad58a12026d4caf/AD_4nXc__Qop4X9hknWGfGj_y_DCpLutLruhxIclJIfir0ilsgNMg7X8ksIVnqk1Oce5FKlGIOYu9CKbVsu8DqD7iIY2aC0ZfXMyFTeAdNq-Cao2mXcj_WUpNF0kM2HoYR_dEx6N_cuJow?expires=1788414300&signature=485604d56c4d088826e2775fe212613e07da960c0082eecff54a74a71adf9eb8&req=dSYjHst4nYVeXvMW1HO4zc2jJ6o5gY%2FnSBkgeTglJroSUELUHtRr5XN8CzfE%0A59Qblqd22UZnVdtrTJg%3D%0A) ## How to change your font @@ -16,10 +16,10 @@ 2. Select from Default, Match System, and Dyslexic Friendly. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1648260416/7fc0803d44d8de40f8e6636b2eb6/AD_4nXf0UEDa1i2QmqlQtoB5BgpQ-FfZVzss_7wMVQdvkmEDSfoTxixnG0GSxC6qrOs21HdkXH-I2Yn_GHDAf8yjd6FJtoh9FadALozvIErFp9r8LychDGLPb7OpN1CN4PRcgVAYNCre?expires=1788362100&signature=3c11245274c476f44cfa03d5969ef709b2749851b4ca3e2b0f65e9bb9ffc0caf&req=dSYjHst4nYVeX%2FMW1HO4zc8962jmW3M9QtNFlF5%2FHEdadG09jmfp5ZqV6EHv%0ALHVUOl8zWYVpVKEDtr4%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1648260416/7fc0803d44d8de40f8e6636b2eb6/AD_4nXf0UEDa1i2QmqlQtoB5BgpQ-FfZVzss_7wMVQdvkmEDSfoTxixnG0GSxC6qrOs21HdkXH-I2Yn_GHDAf8yjd6FJtoh9FadALozvIErFp9r8LychDGLPb7OpN1CN4PRcgVAYNCre?expires=1788414300&signature=39621dd389b0f543ee8ae88d20457ff33f07cd940e9b8812700c63d9d342e539&req=dSYjHst4nYVeX%2FMW1HO4zc8962jhXHU%2FQtNFlF5%2FHEdJicCSXVS2rrHhB2Wy%0AjHxVdnyljAP2Dbukb2k%3D%0A) ## Can I disable the sidebar? It's not currently possible to completely disable the sidebar. You can click the button on the top right of the sidebar to open or close it. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1941108004/5217903737ddd9bb62fe5d7a904c/CleanShot+2026-01-14+at+09_12_58.png?expires=1788362100&signature=54f5b5b3f550ed5b58ee2aaa27ee4302f37e3740177a625f500d5ba9a1ee5b30&req=dSkjF8h%2BlYFfXfMW1HO4zUS%2BB1f1X3nuylfYa7uDb9kukxQnU4d4BOl3mU%2FQ%0AWtiBfButzLu8pMe7uqU%3D%0A) \ No newline at end of file +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1941108004/5217903737ddd9bb62fe5d7a904c/CleanShot+2026-01-14+at+09_12_58.png?expires=1788414300&signature=0b3630a719d703ae9681e8e21f29674b92358cb75fb0a5d0c400c8ace441437c&req=dSkjF8h%2BlYFfXfMW1HO4zUS%2BB1fyWH%2FsylfYa7uDb9n9DXMdt5ZITPujxAxr%0As1MWMOYRn9aQFHTXjoA%3D%0A) \ No newline at end of file diff --git a/content/support/9267400-move-your-personal-claude-account-to-a-team-or-enterprise-organization.md b/content/support/9267400-move-your-personal-claude-account-to-a-team-or-enterprise-organization.md index d8c2cd5c80..e334ac90fd 100644 --- a/content/support/9267400-move-your-personal-claude-account-to-a-team-or-enterprise-organization.md +++ b/content/support/9267400-move-your-personal-claude-account-to-a-team-or-enterprise-organization.md @@ -60,6 +60,8 @@ Both paths move the same content for each person. 4. Make a note of the apps you've connected so you can reconnect them. +**Note:** After a migration, your chat list can take a little while to fill in. Searching by chat title works right away. The first time Claude searches your past chats in your new organization, it rebuilds its search index, so Claude might not find everything at first. If chats still seem to be missing, sign out, sign back in, and search again. + --- ## Voluntary migration @@ -124,7 +126,7 @@ For the full walkthrough of your options, deadlines, and what happens to your su You may have both a personal account and an organization account tied to the same email address. You can switch between them by clicking your initials or name in the lower left corner of the screen. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2312193347/712f763fc290b2488c103849f20c/0c135a6f-3442-4ee1-9ab7-98673f03ef6e?expires=1788362100&signature=fe2ca85b5ef91b41a568d43473f5e1f5abcfd0cd3211ea6107f9401e085b5d4d&req=diMmFMh3noJbXvMW1HO4zXhPndg1zh1gufhmlOXMdYbfQGmZgZUHOSbskQZI%0A9h9fCD8jec3IpVssDv8%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2312193347/712f763fc290b2488c103849f20c/0c135a6f-3442-4ee1-9ab7-98673f03ef6e?expires=1788544800&signature=56bb0926846a2a8c2109d12948481bcb57a2a4c05fef1bdca762c61ce59ecf15&req=diMmFMh3noJbXvMW3nq%2BgXydQ01U5EIKB%2BRl6PawEbkJlv5UPBmyjmrD53h%2B%0Az72QPdkEG8kzrHbZaOPPZaAYYoU%3D%0A) A blue checkmark shows which account you're currently using. Click the other account to switch to it and access its separate conversations and projects. diff --git a/content/support/9487310-what-are-artifacts-and-how-do-i-use-them.md b/content/support/9487310-what-are-artifacts-and-how-do-i-use-them.md index 047fa88778..db842b8e6a 100644 --- a/content/support/9487310-what-are-artifacts-and-how-do-i-use-them.md +++ b/content/support/9487310-what-are-artifacts-and-how-do-i-use-them.md @@ -1,12 +1,12 @@ # What are artifacts and how do I use them? -Accessing artifacts in the sidebar and Claude-powered artifacts are supported on Free, Pro, Max, Team, and Enterprise plans. Artifacts are available in Claude Code on Team and Enterprise plans. +Accessing artifacts in the sidebar and Claude-powered artifacts are supported on Free, Pro, Max, Team, and Enterprise plans. Artifacts are available in Claude Code on Team and Enterprise plans, and in Claude Cowork on Pro, Max, Team, and Enterprise plans. Artifacts allow you to turn ideas into shareable apps, tools, or content—build tools, visualizations, and experiences by simply describing what you need. Claude can share substantial, standalone content with you in a dedicated window separate from the main conversation. This makes it easy to work with significant pieces of content that you may want to modify, build upon, or reference later. **Important:** We no longer support artifacts without **Code execution and file creation** enabled in **[Settings > Capabilities](https://claude.ai/settings/capabilities)** (Free, Pro, Max) or **[Organization settings > Capabilities](https://claude.ai/admin-settings/capabilities)** (Team, Enterprise). -Artifacts are available in Claude, Claude Desktop, and Claude Code. This article focuses on Claude and Claude Desktop. To learn how to create, update, and share artifacts in Claude Code, see the **[artifacts documentation on Claude Code Docs](https://code.claude.com/docs/en/artifacts)**. +Artifacts are available in Claude, Claude Desktop, Claude Cowork, and Claude Code. This article focuses on Claude and Claude Desktop. For artifacts you create in Cowork, see **[Use artifacts in Claude Cowork](https://support.claude.com/en/articles/14729249)**. To learn how to create, update, and share artifacts in Claude Code, see the **[artifacts documentation on Claude Code Docs](https://code.claude.com/docs/en/artifacts)**. --- diff --git a/content/support/9519177-how-can-i-create-and-manage-projects.md b/content/support/9519177-how-can-i-create-and-manage-projects.md index 284f5240ca..2b2224aad1 100644 --- a/content/support/9519177-how-can-i-create-and-manage-projects.md +++ b/content/support/9519177-how-can-i-create-and-manage-projects.md @@ -104,19 +104,19 @@ Starring a project allows for quick access from your projects and chats list, vi You can move a standalone chat into a project by clicking on the dropdown arrow next to the chat name, then “Add to project”: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1784190248/0f19c8de18b494a27be252fdfaff/d4e7a5c5-25f5-4623-862b-c593d2dc0b39?expires=1788362100&signature=9275562a855c377c2db076af0289eab356f5aa5833fdccb1ed24ff455c6127d8&req=dScvEsh3nYNbUfMW1HO4zQABaWlvTKIUBSXNVFXQ%2FVHkKNxme4Yt8l5E0L%2Fq%0Ad3grSIv%2B%2FVH1O2x4628%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1784190248/0f19c8de18b494a27be252fdfaff/d4e7a5c5-25f5-4623-862b-c593d2dc0b39?expires=1788414300&signature=5be19b708a7fc8de7c3aa29389fc5d488307075e56b665bd2866141303ce328c&req=dScvEsh3nYNbUfMW1HO4zQABaWloS6QWBSXNVFXQ%2FVEHQ0kJ4JubgmCsmE49%0A06zlwlYpjG2vqfRy0fk%3D%0A) Browse or search for the correct project in the **Move chat** modal that appears, then click on it to move the chat. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1784190951/34dc256ccd4c0cf74976f31062e6/55365cf2-059d-41b2-ac95-4b00c4389a76?expires=1788362100&signature=f74e7c28857eb26e5d5baca43a922ea99f160795f498b8aea0d73838a09ca535&req=dScvEsh3nYhaWPMW1HO4zSMECiizzQsAgYbpTjViBxBvf8tXkZkkKNhjEgYM%0A4OBZbthtWHJjs3PaXzg%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1784190951/34dc256ccd4c0cf74976f31062e6/55365cf2-059d-41b2-ac95-4b00c4389a76?expires=1788414300&signature=3a54d5d5208e3b4681627b31de7b234c526d8a95dd67e9c3005f065849912adb&req=dScvEsh3nYhaWPMW1HO4zSMECii0yg0CgYbpTjViBxAhylhXX7oaWismTeSp%0Aijvsg%2FAIXXc%2FK6da%2F5I%3D%0A) You can also remove chats from projects, or move them between projects, using the same dropdown menu within the chat: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1784185682/8625eac15b9fa452f148a6c47250/c53a1bc4-a991-4684-a789-5447ed789d35?expires=1788362100&signature=1347e48a87e20ba9ae5fd6066d074d8bc5f6c675759a4b509c1a5e3aa4bdadd4&req=dScvEsh2mIdXW%2FMW1HO4zb6DuP8vCEcLS2r1%2FGRlqOTVzFP8CyBDgWbMOMmD%0AQU40%2FgKAQWD8XgbGkh4%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1784185682/8625eac15b9fa452f148a6c47250/c53a1bc4-a991-4684-a789-5447ed789d35?expires=1788414300&signature=5f404f829cff85948d3876c7763d809d4d61e7a7963953a2b226a15335469200&req=dScvEsh2mIdXW%2FMW1HO4zb6DuP8oD0EJS2r1%2FGRlqORaQJZ9b1d1n4y1CxCz%0AfAZyysHnfCME0sSeq2I%3D%0A) You can move chats into projects in bulk from **[Your chat history page](https://claude.ai/recents)**: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1784185685/bb960063204592db277a4ba62d8d/ebbf5c69-da79-4e56-9d87-f2a97a22fe67?expires=1788362100&signature=63081e9d77d9e5f40ea912c6b023948a905fe61b31ca3bffdd7bc06239ceb003&req=dScvEsh2mIdXXPMW1HO4zbParURK7%2FiiuQSB0Ebsw9fE6DQR4FnV2f8g69C5%0Ao996wVc5UT%2F90nS1pI8%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1784185685/bb960063204592db277a4ba62d8d/ebbf5c69-da79-4e56-9d87-f2a97a22fe67?expires=1788414300&signature=3768be68194e98a6f9ff30cb5c8200ede826ad2ffeff78bde0a0dfd95ba1edbb&req=dScvEsh2mIdXXPMW1HO4zbParURN6P6guQSB0Ebsw9exVdDwQijBBtclyKGV%0Aodxm6v4TyYh3i%2Bqu2yE%3D%0A) Select the chats you want to move, then click the icon next to the number of selected chats to move them into your project. diff --git a/content/support/9519189-manage-project-visibility-and-sharing.md b/content/support/9519189-manage-project-visibility-and-sharing.md index 76c3d1f995..d342651744 100644 --- a/content/support/9519189-manage-project-visibility-and-sharing.md +++ b/content/support/9519189-manage-project-visibility-and-sharing.md @@ -12,7 +12,7 @@ When creating a project on a Team or Enterprise plan, you can choose between two - **Private:** Only invited members can view and use the project. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1740370991/2b6b16e5deff094e073a5b4bb0ea/63197103-24c0-41e5-aebd-9b8f431837bb?expires=1788362100&signature=bec27085d014436d30519c52736935884f116b10ed1d3d054af5cf3206181aa3&req=dScjFsp5nYhWWPMW1HO4zd3a2VQnIoymHK95%2FTFaPynoS4A1%2BJp0jwPKYw6U%0AUfJ6FdQ6TRel2Zv78xU%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1740370991/2b6b16e5deff094e073a5b4bb0ea/63197103-24c0-41e5-aebd-9b8f431837bb?expires=1788414300&signature=5cbfca2108a329f3ddfd187a8a1b9ceb3305cb79c932dd3293ae9bc91f302943&req=dScjFsp5nYhWWPMW1HO4zd3a2VQgJYqkHK95%2FTFaPylTa%2FOAlLux%2Ffataf3t%0AGcbZAJh2MIStn6AQEjI%3D%0A) ## What are public projects? @@ -22,11 +22,11 @@ If you choose to share a project with the rest of your organization upon creatio Yes, you can switch the visibility of a project you created as public to private at any time by opening the project and clicking the “Share” button to the right of the project name: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1740370987/5d5db997e6b42e627ffa62fddf75/4823906b-9535-4a19-b89e-a1003f1e6e68?expires=1788362100&signature=ab5d2c3e9f89600a92209b9a9f380e48f61c7d840e034bbc6455ed3c049e07cf&req=dScjFsp5nYhXXvMW1HO4zUiDoiH0hwQoE8Kp5wh0MSATqzm2wkvkQnncgaT3%0AsYUQcLHQNI2hL5irLUc%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1740370987/5d5db997e6b42e627ffa62fddf75/4823906b-9535-4a19-b89e-a1003f1e6e68?expires=1788414300&signature=f88cca8acf447a57fb2d98c3774e11229b172d91b217715bb6b897d000278cdb&req=dScjFsp5nYhXXvMW1HO4zUiDoiHzgAIqE8Kp5wh0MSC0tebv6kTyAs8uNEf9%0A3dzb00v%2Fq5b9HyPuvdA%3D%0A) Click “Everyone at [your organization]” under **General access** and select “Only people invited” to change the project from public to private: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1740370988/386407facbf3e73d2f5538623a18/69d8ffcd-e1ca-470f-a219-5b88704e41f2?expires=1788362100&signature=cfa858926b2bfac6b3e8d6b2664654f104f1248be4a40723123145d21d83ff53&req=dScjFsp5nYhXUfMW1HO4zckCIfphZCCll3XeGelDRW2tz3HiJFe7RkMLfbcm%0AwmKp92ha5BD0OKzRFkQ%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1740370988/386407facbf3e73d2f5538623a18/69d8ffcd-e1ca-470f-a219-5b88704e41f2?expires=1788414300&signature=555739b34c60a225772bf61a0b826ef50d2636cca1a2efe6a20b4295166b6974&req=dScjFsp5nYhXUfMW1HO4zckCIfpmYyanl3XeGelDRW0VjDveAlFj7NGS7SI8%0ArYDRTzXTDl9i1Qfgl%2BU%3D%0A) ## What are private projects? @@ -36,11 +36,11 @@ Choosing “Only people invited” keeps your project private so that you are th Yes, you can switch the visibility of a project you created as private to public at any time by opening the project and clicking the “Share” button to the right of the project name: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1740370989/f829dcd8bdd88e944322f678323f/9d25eff1-6df3-40be-82eb-ba7fe09187e8?expires=1788362100&signature=d75271aec2012ca83908fefd39ef20c74fbf89f940efa61d0c7160e560233321&req=dScjFsp5nYhXUPMW1HO4zaSEGlufTLoM2JrJefVtywnAXmpVn%2F7UuOm3jDMP%0ArDBTI2pKBSOsIUFP3Uo%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1740370989/f829dcd8bdd88e944322f678323f/9d25eff1-6df3-40be-82eb-ba7fe09187e8?expires=1788414300&signature=822682305f1fc7dd0e43101398ae88bb3219c2e112789bb607ba3815b96ce05d&req=dScjFsp5nYhXUPMW1HO4zaSEGluYS7wO2JrJefVtywmaoDcFCYvT4wD2kmwT%0AeqD4VJzemnueESgqzDU%3D%0A) Click “Only people invited” under General access and select “Everyone at [your organization]” to change the project from private to public: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1740370990/d173fbc6f030780d30c6d7b8e204/7e47b9d1-89fe-4607-8b5b-f7b06e7ad0d6?expires=1788362100&signature=a8bc9c4a0bac34c2f1028a659829b07bdbfa04ac436f9c44ff9ca45627a12c20&req=dScjFsp5nYhWWfMW1HO4zT7Q08C4uw4XAmYRPrgMBZlZaGgawXLFqVBxfXNS%0AuJEz%2F5vY824PNWdh9cc%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1740370990/d173fbc6f030780d30c6d7b8e204/7e47b9d1-89fe-4607-8b5b-f7b06e7ad0d6?expires=1788414300&signature=4f242b3bd1967192ccd879dfe8051d2502cf8551be25fd3e0a11a03de489b022&req=dScjFsp5nYhWWfMW1HO4zT7Q08C%2FvAgVAmYRPrgMBZnF8BOZcQpU7VC1bG%2Fl%0AFm2yluf6cXKZEok1sx0%3D%0A) ## Add and remove access to private projects diff --git a/content/support/9534590-cost-and-usage-reporting-in-the-claude-console.md b/content/support/9534590-cost-and-usage-reporting-in-the-claude-console.md index d7765ec137..216f9682d3 100644 --- a/content/support/9534590-cost-and-usage-reporting-in-the-claude-console.md +++ b/content/support/9534590-cost-and-usage-reporting-in-the-claude-console.md @@ -8,7 +8,7 @@ The Claude Console provides detailed cost and usage reporting to help you effect Users with access to these reports can click into them on the left navigation menu on the Console: -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1584654217/db0a977417e38e43639f060d96e0/image.png?expires=1788362100&signature=139afce7c528b30e6c99c43a93beed81163e19d94057c5dc6931f561b58e07f3&req=dSUvEs97mYNeXvMW1HO4zYCWiSwbh8SbuqqBX2puyxT0yxmSmKK32teLiGbj%0A1WiNN0XC7gr%2F%2B4MYGnI%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1584654217/db0a977417e38e43639f060d96e0/image.png?expires=1788414300&signature=3c64d6fd3a2702f4bbf638fd93d773eb6bc20c10000a0cc08faf9bd6b8172ea9&req=dSUvEs97mYNeXvMW1HO4zYCWiSwcgMKZuqqBX2puyxQWrRYcK6Jv6fft916C%0AfE5DAV24zbvfUbYWUdM%3D%0A) --- @@ -46,9 +46,9 @@ The [Usage page](https://platform.claude.com/usage) offers a detailed breakdown 6. Use the export button to download a CSV of the displayed data. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1584664321/59b50eba0b61e0789f7055fcf9f4/image+%285%29.png?expires=1788362100&signature=1abf508be48dadc72490c579272b8f38dc41a6170ac62cea3fbcb2e9974d9a28&req=dSUvEs94mYJdWPMW1HO4zQwER3spJ41nqMITUZbanFDdK%2B%2BrpKomJo2oc7lu%0A%2B8OqY%2F4dzttOuVkWJt4%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1584664321/59b50eba0b61e0789f7055fcf9f4/image+%285%29.png?expires=1788414300&signature=1ba43e6604a51af745493d7f4de7efdedf3bc4db6f72d7b9cbd7c0709e09ae05&req=dSUvEs94mYJdWPMW1HO4zQwER3suIItlqMITUZbanFBX2JI5gv%2FrlYvsGurL%0ANaJlccpArEHYBvnx5Ao%3D%0A) -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1584693386/aed472efe163abcbc14fa32f3699/rate+limited+requests.png?expires=1788362100&signature=bb116600164e223d668bef621e13abd5f22b9615a9211d81de492a5de6bb4627&req=dSUvEs93noJXX%2FMW1HO4zRxEwWNO4FNt21D6pckxWMZOgZrjq7bvY64NFred%0AHvJVSEvPbHazWWwcDPg%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1584693386/aed472efe163abcbc14fa32f3699/rate+limited+requests.png?expires=1788414300&signature=7d56ad7e3a2c4cde46a1285cc8366b6efdb751687789253cc2fb8a39ef164e5d&req=dSUvEs93noJXX%2FMW1HO4zRxEwWNJ51Vv21D6pckxWMZ2WzRmto6eXoMpelt4%0A8qi616H61qJVhWuR6hM%3D%0A) ### Rate Limit Use @@ -88,6 +88,6 @@ The [Cost page](https://platform.claude.com/cost) helps you understand your spen 5. Use the export button to download a CSV of the cost data. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1584679401/4d0bc8ed08625e1adee414e77030/CleanShot+2025-06-23+at+08_54_40%402x.png?expires=1788362100&signature=ff6e0e407dc0db9461fcd0a0ddf925e23e2c4bfcc29c56c56c59ef03a5dbb3e0&req=dSUvEs95lIVfWPMW1HO4zUR%2Bh5TAVdJgCyIF5nuUsbw6o9lpAKSINSJE5n4I%0AJ%2Bysk346vuTWXwqhmcE%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1584679401/4d0bc8ed08625e1adee414e77030/CleanShot+2025-06-23+at+08_54_40%402x.png?expires=1788414300&signature=4830c057d3490b386c06d5cd79849c6ef3356d129d361ac6228500d2486f2bf8&req=dSUvEs95lIVfWPMW1HO4zUR%2Bh5THUtRiCyIF5nuUsbxTmIssaZ%2FgVrfqC7CZ%0AaQGGhxmBPvJdJKwY8jc%3D%0A) **Note**: Currently, it's not possible to break down usage or cost by individual users. \ No newline at end of file diff --git a/content/support/9547008-publish-and-share-artifacts.md b/content/support/9547008-publish-and-share-artifacts.md index 4bb1f59452..a9492f09ed 100644 --- a/content/support/9547008-publish-and-share-artifacts.md +++ b/content/support/9547008-publish-and-share-artifacts.md @@ -14,7 +14,7 @@ Claude uses different terms depending on your plan: - **Sharing** (Team, Enterprise): Makes your artifact available within your organization only. Viewers must be logged into your Team or Enterprise account to access it. -**Note:** Live artifacts created in Claude Cowork follow different rules. They can be shared on Team and Enterprise plans only, within your organization, and can't be published publicly on any plan. Learn more about **[using live artifacts in Claude Cowork](https://support.claude.com/en/articles/14729249-use-live-artifacts-in-claude-cowork)**. +**Note:** Artifacts created in Claude Cowork follow different rules. Learn more about **[using artifacts in Claude Cowork](https://support.claude.com/en/articles/14729249-use-live-artifacts-in-claude-cowork)**. --- @@ -56,11 +56,11 @@ Publishing also adds the artifact to the **[Artifacts](https://claude.ai/artifac After publishing, you'll see a “Get embed code” button. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1951684960/0cd917c4455b31e86b70a97f8234/image.png?expires=1788362100&signature=eda6cedfd35cfd9f34f54dbf44ec3cb870a06d0c6dbde9eb8730018713aa22ed&req=dSkiF892mYhZWfMW1HO4zdcpD15R4wGAR8xgMH3ra8hs8%2ByBl9fOI9jucR%2B2%0Aww82v9yh7QDbtQh7n5E%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1951684960/0cd917c4455b31e86b70a97f8234/image.png?expires=1788544800&signature=160928415a220999dbdc3803bf1fd680590c0c993a918e2fd29f243caeb3b0c6&req=dSkiF892mYhZWfMW3nq%2BgQxRyjIgw79zS89x3jtA%2BiDFfDAY6AI7OBLBKuMF%0Ab%2FZU2JQ8oXyLIYSqzJ6Rg%2FWcFo8%3D%0A) Click it to open a modal with automatically generated code you can copy and paste to embed your artifact on another website. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1951685860/6bf1aa2c57d6ff95804797779e9c/image.png?expires=1788362100&signature=33a4ed738f3c503cbcc95aa16214ba8b129a03fad602d42ab9bfab8df60674f6&req=dSkiF892mIlZWfMW1HO4zcqH79GAz4Zsf3CUbx4Ru6VWWxc5KQTe6quzyR%2FK%0A%2B6TA3teYi1V%2BUbVBUiA%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1951685860/6bf1aa2c57d6ff95804797779e9c/image.png?expires=1788544800&signature=5c4c7e6f8844aece37e1d1e8eec2495069c35e6ee6355f2e58dfab4f3b002033&req=dSkiF892mIlZWfMW3nq%2BgdMIqXCHrPvWUMQVxhrsVKwOTpHcxF7Tjb3X2%2Fgt%0AIPN1Po%2B77syr5SsuT%2BXGvbpNuF8%3D%0A) You must specify which websites can embed your artifact by entering URLs in the **Allowed domains** field, separated by commas. @@ -116,7 +116,7 @@ Artifacts created on Team or Enterprise accounts can only be shared within your 4. Click “Share & copy link” to make this version shareable. -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1951680160/d5a38784df4c6d0cc55eda339279/Screenshot%2B2025-10-28%2Bat%2B2_00_15-E2-80-AFPM.png?expires=1788362100&signature=8b6e1b7fb4381ada4c3f8fec12093b6f08d6590d6762db9a508a33e73be5f435&req=dSkiF892nYBZWfMW1HO4zbvYOlnmK3uSK6hAzMpXfmMxzNELloPXoKqVbNn0%0AE5VUgwthXVrVpLSHWp8%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1951680160/d5a38784df4c6d0cc55eda339279/Screenshot%2B2025-10-28%2Bat%2B2_00_15-E2-80-AFPM.png?expires=1788544800&signature=4bcffbe517af201bb77dfc01e1caa9f9e553b03a4a1e95a9aed29326ccebaa95&req=dSkiF892nYBZWfMW3nq%2BgTxzBck2yfPxOe5ZKxojvplsUcie4E4r6ANIv562%0A5LekVLWuWvruemo3MP0tmKsmt0U%3D%0A) ### Who can access shared artifacts @@ -138,7 +138,7 @@ When you share an artifact, viewers also gain access to any attachments and file 2. In the **Artifact shared** modal, click “Unshare.” -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1951676927/c66153a2c075c6a64404306aefd0/Screenshot%2B2025-10-28%2Bat%2B1_58_24-E2-80-AFPM.png?expires=1788362100&signature=7b4b13c86ea13b5b804b5ba5b8cd9e31852de238f18248bdbad251f360fb7554&req=dSkiF895m4hdXvMW1HO4zW9EwgG%2B%2F3aygj8mTHivCKYEaPqymjrCfGsJwa4%2F%0AqavozZjR9QP%2FuFNwm8k%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/1951676927/c66153a2c075c6a64404306aefd0/Screenshot%2B2025-10-28%2Bat%2B1_58_24-E2-80-AFPM.png?expires=1788544800&signature=dce8b6d4435d8b79312f98e9236e417fb6ffaa6b4ebd461f20ddb071bb58302a&req=dSkiF895m4hdXvMW3nq%2BgYEYQxJAIrmnn0BxKTaHQUWXUynSs9B%2BAZEmz4V%2F%0Au%2Br2Rn0v58llMcx05xGy1ZolVXc%3D%0A) --- diff --git a/content/support/9927533-disable-public-projects-for-your-organization.md b/content/support/9927533-disable-public-projects-for-your-organization.md index 1dd95bedd4..45048fbf55 100644 --- a/content/support/9927533-disable-public-projects-for-your-organization.md +++ b/content/support/9927533-disable-public-projects-for-your-organization.md @@ -10,7 +10,7 @@ Follow these steps: 2. Find **Public projects** and toggle it off -![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2053902291/8c39d1a79dedc97411eed54dec5c/CleanShot+2026-02-11+at+11_25_34%402x.png?expires=1788362100&signature=b415d3cf969c3d772391e49007fc7e4b8a102727630e8c9530177932218ffd3c&req=diAiFcB%2Bn4NWWPMW1HO4zfGib2%2BnbQJeYabJlVJ9VPy03y%2FdP%2F64Dkov2HK%2F%0A21IGEtS6fYZd5ZZEMT8%3D%0A) +![](https://downloads.intercomcdn.com/i/o/lupk8zyo/2053902291/8c39d1a79dedc97411eed54dec5c/CleanShot+2026-02-11+at+11_25_34%402x.png?expires=1788414300&signature=0a34559cf308791764c9bf0387b5d0e499b64c7213750bdb42dd3f33025503f7&req=diAiFcB%2Bn4NWWPMW1HO4zfGib2%2BgagRcYabJlVJ9VPzlF7eKd%2B8rGgJ3mVK0%0AqzCTmPaNVqQNeXU%2FjA8%3D%0A) ## How does disabling public projects work? diff --git a/discovery.json b/discovery.json index dfb5b8f4df..3f3f25d79d 100644 --- a/discovery.json +++ b/discovery.json @@ -1,7 +1,7 @@ { "version": 1, "note": "What the last full run could see outside sources.json. Written by the fetcher so a new source arrives as a diff a human reviews, not as a line in an Actions log nobody reads. Stable facts only: a change here is always news. `review` is the actionable list \u2014 domains we could archive today and do not.", - "updated": "2026-09-02", + "updated": "2026-09-03", "domains": { "anthropic.com": { "status": "frozen", @@ -105,6 +105,7 @@ "anthropics/claude-tag-wif-gateway-sample", "anthropics/claudes-c-compiler", "anthropics/code-migration-kit-with-claude-code", + "anthropics/commerce-agents", "anthropics/cryptography-research-demo", "anthropics/defending-code-reference-harness", "anthropics/devcontainer-features", diff --git a/tombstones.json b/tombstones.json index 502bb2673c..c04938d880 100644 --- a/tombstones.json +++ b/tombstones.json @@ -1,7 +1,7 @@ { "version": 1, "note": "URLs confirmed gone upstream. Kept so a page that died once does not report as a fresh failure on every later run, which would bury the failure that is actually new. An entry clears itself if the URL answers again -- but only while something still probes it. Entries whose local file was removed are no longer fetched, so they stay as a record of the restructure rather than a live check.", - "updated": "2026-09-02", + "updated": "2026-09-03", "urls": { "https://claude.com/docs/claude-science/annotations": { "since": "2026-09-01", @@ -695,6 +695,10 @@ "since": "2026-08-25", "reason": "soft-404 (HTML shell)" }, + "https://support.claude.com/en/articles/14729249-use-live-artifacts-in-claude-cowork": { + "since": "2026-09-03", + "reason": "moved -> https://support.claude.com/en/articles/14729249-use-artifacts-in-claude-cowork" + }, "https://support.claude.com/en/articles/14855664-use-claude-for-outlook": { "since": "2026-08-25", "reason": "soft-404 (HTML shell)"