This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.
from line 9
99
1010### Anthropic Beta
1111
12- `AnthropicBeta = string or "message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 51 more`
12- `AnthropicBeta = string or "message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 52 more`
1313
14 Beta names you can send in the `anthropic-beta` header.
15
16 See [Beta headers](https://platform.claude.com/docs/en/api/beta-headers?sdk_languages=http) for how to send them and where to find the name a feature needs.
17
1418 - `string`
1519
1620 - `"message-batches-2024-09-24"`
from line 125
121125
122126 - `"analytics-usage-cost-2026-08-24"`
123127
128 - `"experimental-claude-tag-2026-10-21"`
129
124130### Beta API Error
125131
126132- `BetaAPIError object`
from line 611
605611
606612 - `"analytics-usage-cost-2026-08-24"`
607613
614 - `"experimental-claude-tag-2026-10-21"`
615
608616- `"anthropic-workspace-id": optional string`
609617
610618 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 1100
10921100
10931101 - `"analytics-usage-cost-2026-08-24"`
10941102
1103 - `"experimental-claude-tag-2026-10-21"`
1104
10951105- `"anthropic-workspace-id": optional string`
10961106
10971107 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 1568
15581568
15591569 - `"analytics-usage-cost-2026-08-24"`
15601570
1571 - `"experimental-claude-tag-2026-10-21"`
1572
15611573- `"anthropic-user-profile-id": optional string`
15621574
15631575 The user profile ID to attribute this request to. Use when acting on behalf of a party other than your organization.
from line 2469
24572469
24582470 - `BetaEncryptedCodeExecutionResultBlockParam object`
24592471
2460 Code execution result with encrypted stdout for PFC + web_search results.
2472 The output and exit code of Python code that Claude ran with the code execution tool, with standard output in encrypted form, sent back in a later request.
24612473
24622474 - `type: "encrypted_code_execution_result"`
24632475
from line 3005
29933005
29943006 - `BetaCodeExecutionTool20260120 object`
29953007
2996 Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint).
3008 A `tools` entry for the code execution tool, version `code_execution_20260120`. It adds REPL state persistence to version `code_execution_20250825`.
29973009
3010 REPL state persistence applies with programmatic tool calling. With it, the Python interpreter state, such as variable bindings, persists across requests that reuse the container.
3011
3012 See the [code execution tool guide](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool?sdk_languages=http#tool-versions) to learn what each tool version adds.
3013
29983014 - `type: "code_execution_20260120"`
29993015
30003016 - `name: "code_execution"`
from line 5657
56415657
56425658 - `BetaCodeExecutionTool20260120 object`
56435659
5644 Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint).
5660 A `tools` entry for the code execution tool, version `code_execution_20260120`. It adds REPL state persistence to version `code_execution_20250825`.
56455661
5662 REPL state persistence applies with programmatic tool calling. With it, the Python interpreter state, such as variable bindings, persists across requests that reuse the container.
5663
5664 See the [code execution tool guide](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool?sdk_languages=http#tool-versions) to learn what each tool version adds.
5665
56465666 - `BetaCodeExecutionTool20260521 object`
56475667
56485668 Code execution tool with REPL state persistence.
from line 6357
63376357
63386358 - `BetaEncryptedCodeExecutionResultBlock object`
63396359
6340 Code execution result with encrypted stdout for PFC + web_search results.
6360 The output and exit code of Python code that Claude ran with the code execution tool, with standard output in encrypted form.
63416361
6362 The API returns this block in place of `code_execution_result` when the code called the web search tool.
6363
6364 See the [programmatic tool calling guide](https://platform.claude.com/docs/en/agents-and-tools/tool-use/programmatic-tool-calling?sdk_languages=http) to learn more about programmatic tool calling.
6365
63426366 - `type: "encrypted_code_execution_result"`
63436367
63446368 default: encrypted_code_execution_result
from line 6923
68996923
69006924 - `BetaCodeExecutionTool20260120 object`
69016925
6902 Code execution tool with REPL state persistence (daemon mode + gVisor checkpoint).
6926 A `tools` entry for the code execution tool, version `code_execution_20260120`. It adds REPL state persistence to version `code_execution_20250825`.
69036927
6928 REPL state persistence applies with programmatic tool calling. With it, the Python interpreter state, such as variable bindings, persists across requests that reuse the container.
6929
6930 See the [code execution tool guide](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool?sdk_languages=http#tool-versions) to learn what each tool version adds.
6931
69046932 - `type: "code_execution_20260120"`
69056933
69066934 - `name: "code_execution"`
from line 7613
75857613 - `BetaComputerToolset20260801 object`
75867614
75877615 The computer toolset: a single `tools[]` entry (carrying no
7588 `name`) that declares the computer tool family. The model is
7589 served the family's tool with any members disabled via `configs`
7590 removed from its schema. Every member is enabled by default, zoom
7591 included. The single-tool options `display_number` and
7592 `enable_zoom` are not fields of a toolset entry — it carries only
7593 `type`, `configs`, and `cache_control`; zoom is controlled
7594 via `configs.zoom.enabled`.
7595
7596 - `type: "computer_toolset_20260801"`
7597
7598 - `cache_control: optional BetaCacheControlEphemeral or null`
7599
7600 Create a cache control breakpoint at this content block.
7601
7602 - `configs: optional BetaComputerToolsetConfigs or null`
7603
7604 Sparse per-member overrides, keyed by member name. Absent, null, and {} are equivalent; a member's defaults apply wherever its key is absent.
7605
7606 - `type: optional BetaComputerTypeConfig or null`
7607
7608 `type`'s config overrides.
7609
7610 - `defer_loading: optional boolean or null`
7611
7612 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
7613
7614 - `enabled: optional boolean or null`
7615
7616 Whether this member is offered to the model. Default is per member, per the toolset's documentation. A member whose enabled resolves false is withheld from the served schema.
7617
7618 - `cursor_position: optional BetaComputerCursorPositionConfig or null`
7619
7620 `cursor_position`'s config overrides.
7621
7622 - `defer_loading: optional boolean or null`
7623
7624 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
7625
7626 - `enabled: optional boolean or null`
7627
7628 Whether this member is offered to the model. Default is per member, per the toolset's documentation. A member whose enabled resolves false is withheld from the served schema.
7629
7630 - `double_click: optional BetaComputerDoubleClickConfig or null`
7631
7632 `double_click`'s config overrides.
7633
7634
7616 `name`) that declares the computer tool f
No line in this hunk matches that.