One change
create
api/beta/messages/batches/create
Nearest release: v2.1.238, published under an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
api/beta/messages/batches/create Changed · +884 / -128 lines
The two sides of this change are too far apart to line up, so this is the differ's own diff of it.
from line 21
- `string` - - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 30 more` + - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more` - `"message-batches-2024-09-24"`
from line 66
- `"output-300k-2026-03-24"` - `"user-profiles-2026-03-24"` + + - `"user-profiles-2026-08-18"` - `"advisor-tool-2026-03-01"`
from line 317
- `"search_result_location"` - - `BetaImageBlockParam object { source, type, cache_control }` + - `BetaImageBlockParam object { source, type, cache_control, transformations }` - `source: BetaBase64ImageSource or BetaURLImageSource or BetaFileImageSource`
from line 363
Create a cache control breakpoint at this content block. + - `transformations: optional BetaImageTransformationsParam or null` + + Configures the transformations the server applies to this image before the model observes it. Each key names a condition the server transforms images for; its value selects the transformation applied. Omitted keys keep their default behavior, and an empty object is equivalent to omitting the field. + + - `oversized_image: optional "downsize" or "error"` + + 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"` + + - `"error"` + - `BetaRequestDocumentBlock object { source, type, cache_control, 3 more }` - `source: BetaBase64PDFSource or BetaPlainTextSource or BetaContentBlockSource or 2 more`
from line 413
- `BetaTextBlockParam object { text, type, cache_control, citations }` - - `BetaImageBlockParam object { source, type, cache_control }` + - `BetaImageBlockParam object { source, type, cache_control, transformations }` - `type: "content"`
from line 505
- `"redacted_thinking"` - - `BetaToolUseBlockParam object { id, input, name, 3 more }` + - `BetaToolUseBlockParam object { id, input, name, 4 more }` - `id: string`
from line 551
- `"code_execution_20260120"` - - `BetaToolResultBlockParam object { tool_use_id, type, cache_control, 2 more }` + - `toolset_name: optional string or null` + + For a toolset member tool_use, the toolset family this member belongs to. + + - `BetaToolResultBlockParam object { tool_use_id, type, cache_control, 3 more }` - `tool_use_id: string`
from line 567
Create a cache control breakpoint at this content block. - - `content: optional string or array of BetaTextBlockParam or BetaImageBlockParam or BetaSearchResultBlockParam or 2 more` + - `content: optional string or array of BetaTextBlockParam or BetaImageBlockParam or BetaSearchResultBlockParam or 3 more` - `string` - - `array of BetaTextBlockParam or BetaImageBlockParam or BetaSearchResultBlockParam or 2 more` + - `array of BetaTextBlockParam or BetaImageBlockParam or BetaSearchResultBlockParam or 3 more` - `BetaTextBlockParam object { text, type, cache_control, citations }` - - `BetaImageBlockParam object { source, type, cache_control }` + - `BetaImageBlockParam object { source, type, cache_control, transformations }` - `BetaSearchResultBlockParam object { content, source, title, 3 more }`
from line 595
Create a cache control breakpoint at this content block. + - `BetaBrowserStateBlockParam object { tabs, type, cache_control, state_changes }` + + The caller's browser state after a browser toolset member call — + the full inventory of open tabs, which tab is active, and any side + effects (tabs opened, download state changes) the call produced. + + At most one per `tool_result`, only on a non-error result answering a + browser toolset member `tool_use`. The server renders the + model-visible text from it; the model never sees the raw fields. + + - `tabs: array of BetaBrowserStateTabEntry` + + All tabs open in the browser after this call — the full inventory, not a delta. May be empty. Whenever non-empty, exactly one entry carries `active: true`. + + - `tab_id: string` + + The caller-assigned identifier for this tab, unique within the inventory. + + - `title: string` + + The title of the page the tab is showing. May be empty. + + - `url: string` + + The URL of the page the tab is showing. May be empty. + + - `active: optional boolean` + + Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`. + + - `type: "browser_state"` + + - `"browser_state"` + + - `cache_control: optional BetaCacheControlEphemeral or null` + + Create a cache control breakpoint at this content block. + + - `state_changes: optional array of BetaBrowserStateChange or null` + + Tabs opened and download state changes during this call. "Nothing to report" is expressed by omitting the field, never by an empty list. + + - `BetaBrowserStateChangeTabOpened object { tab_id, type }` + + A tab this call's execution opened that remains open at its end — + the creation delta of the `tabs` inventory, not an event log. + + Carries only the `tab_id`; the tab's `title` and `url` live on its + `tabs` entry, which must include the same `tab_id`. A tab opened + during a failed call gets no deferred `tab_opened`; it simply appears + in the next result's `tabs` inventory. + + - `tab_id: string` + + The `tab_id` of the opened tab, present in `tabs`. + + - `type: "tab_opened"` + + - `"tab_opened"` + + - `BetaBrowserStateChangeDownloadStarted object { download_id, type, url }` + + A file download that started during this call. + + - `download_id: string` + + The caller-assigned identifier for this download, stable across the state changes reporting it. + + - `type: "download_started"` + + - `"download_started"` + + - `url: string` + + The final post-redirect URL the download was served from. + + - `BetaBrowserStateChangeDownloadCompleted object { download_id, type, url, 2 more }` + + A file download that finished during this call, reported with the + same `download_id` as its `download_started` — or without a prior + `download_started`, when the download finished during the call that + started it (at most one state change per `download_id` per result). + + - `download_id: string` + + The caller-assigned identifier for this download, stable across the state changes reporting it. + + - `type: "download_completed"` + + - `"download_completed"` + + - `url: string` + + The final post-redirect URL the download was served from. + + - `path: optional string or null` + + Where the executor saved the file, on the executor's filesystem. Only included when another tool in the same environment can read the file at that path. + + - `size_bytes: optional number or null` + + The completed download's size. + + - `BetaBrowserStateChangeDownloadFailed object { download_id, type, url, error }` + + A file download that failed — or was cancelled — during this call. + + - `download_id: string` + + The caller-assigned identifier for this download, stable across the state changes reporting it. + + - `type: "download_failed"` + + - `"download_failed"` + + - `url: string` + + The final post-redirect URL the download was served from. + + - `error: optional string or null` + + The failure or cancellation detail, when known. + - `is_error: optional boolean` + + - `toolset_name: optional string or null` + + For a toolset member tool_result, the toolset family of the paired tool_use. - `BetaServerToolUseBlockParam object { id, input, name, 3 more }`
from line 1302
- `encrypted_content: optional string or null` Opaque metadata from prior compaction, to be round-tripped verbatim - - - `BetaMidConversationSystemBlockParam object { content, type, cache_control }` - - System instructions that appear mid-conversation. - - Use this block to provide or update system-level instructions at a specific - point in the conversation, rather than only via the top-level `system` parameter. - - - `content: array of BetaTextBlockParam or BetaRequestToolAdditionBlock or BetaRequestToolRemovalBlock` - - System instruction text blocks. - - - `BetaTextBlockParam object { text, type, cache_control, citations }` - - - `BetaRequestToolAdditionBlock object { tool, type, cache_control }` - - Mid-conversation directive to surface a declared tool. - - `tool` references a tool (or MCP toolset) by name from the request's - `tools`; it is offered to the model from this point in the - conversation onward. - - - `tool: BetaToolChangeToolReference or BetaToolChangeMCPToolReference or BetaToolChangeMCPToolsetReference` - - Reference to a single tool the caller declared directly in - `tools[]`. Does not accept the composed `{server}_{name}` form the - server assigns to MCP-resolved tools — use `mcp_tool_reference` or - `mcp_toolset_reference` for those. - - - `BetaToolChangeToolReference object { name, type }` - - Reference to a single tool the caller declared directly in - `tools[]`. Does not accept the composed `{server}_{name}` form the - server assigns to MCP-resolved tools — use `mcp_tool_reference` or - `mcp_toolset_reference` for those. - - - `name: string` - - - `type: "tool_reference"` - - - `"tool_reference"` - - - `BetaToolChangeMCPToolReference object { name, server_name, type }` - - Reference to a single MCP tool by its server and remote name — the - same `server_name`/`name` pair `mcp_tool_use` carries. - - - `name: string` - - - `server_name: string` - - - `type: "mcp_tool_reference"` - - - `"mcp_tool_reference"` - - - `BetaToolChangeMCPToolsetReference object { server_name, type }` - - Reference to every tool in the named MCP server's toolset. - - - `server_name: string` - - - `type: "mcp_toolset_reference"` - - - `"mcp_toolset_reference"` - - - `type: "tool_addition"` - - - `"tool_addition"` - - - `cache_control: optional BetaCacheControlEphemeral or null` - - Create a cache control breakpoint at this content block. - - - `BetaRequestToolRemovalBlock object { tool, type, cache_control }` - - Mid-conversation directive to withdraw a tool. - - `tool` references a tool (or MCP toolset) by name from the request's - `tools`; it is no longer offered to the model from this point in the - conversation onward. - - - `tool: BetaToolChangeToolReference or BetaToolChangeMCPToolReference or BetaToolChangeMCPToolsetReference` - - Reference to a single tool the caller declared directly in - `tools[]`. Does not accept the composed `{server}_{name}` form the - server assigns to MCP-resolved tools — use `mcp_tool_reference` or - `mcp_toolset_reference` for those. - - - `BetaToolChangeToolReference object { name, type }` - - Reference to a single tool the caller declared directly in - `tools[]`. Does not accept the composed `{server}_{name}` form the - server assigns to MCP-resolved tools — use `mcp_tool_reference` or - `mcp_toolset_reference` for those. - - - `BetaToolChangeMCPToolReference object { name, server_name, type }` - - Reference to a single MCP tool by its server and remote name — the - same `server_name`/`name` pair `mcp_tool_use` carries. - - - `BetaToolChangeMCPToolsetReference object { server_name, type }` - - Reference to every tool in the named MCP server's toolset. - - - `type: "tool_removal"` - - - `"tool_removal"` - - - `cache_control: optional BetaCacheControlEphemeral or null` - - Create a cache control breakpoint at this content block. - - - `type: "mid_conv_system"` - - - `"mid_conv_system"` - - - `cache_control: optional BetaCacheControlEphemeral or null` - - Create a cache control breakpoint at this content block. - `BetaRequestToolAdditionBlock object { tool, type, cache_control }`
from line 1311
`tools`; it is offered to the model from this point in the conversation onward. + - `tool: BetaToolChangeToolReference or BetaToolChangeMCPToolReference or BetaToolChangeMCPToolsetReference` + + Reference to a single tool the caller declared directly in + `tools[]`. Does not accept the composed `{server}_{name}` form the + server assigns to MCP-resolved tools — use `mcp_tool_reference` or + `mcp_toolset_reference` for those. + + - `BetaToolChangeToolReference object { name, type }` + + Reference to a single tool the caller declared directly in + `tools[]`. Does not accept the composed `{server}_{name}` form the + server assigns to MCP-resolved tools — use `mcp_tool_reference` or + `mcp_toolset_reference` for those. + + - `name: string` + + - `type: "tool_reference"` + + - `"tool_reference"` + + - `BetaToolChangeMCPToolReference object { name, server_name, type }` + + Reference to a single MCP tool by its server and remote name — the + same `server_name`/`name` pair `mcp_tool_use` carries. + + - `name: string` + + - `server_name: string` + + - `type: "mcp_tool_reference"` + + - `"mcp_tool_reference"` + + - `BetaToolChangeMCPToolsetReference object { server_name, type }` + + Reference to every tool in the named MCP server's toolset. + + - `server_name: string` + + - `type: "mcp_toolset_reference"` + + - `"mcp_toolset_reference"` + + - `type: "tool_addition"` + + - `"tool_addition"` + + - `cache_control: optional BetaCacheControlEphemeral or null` + + Create a cache control breakpoint at this content block. + - `BetaRequestToolRemovalBlock object { tool, type, cache_control }` Mid-conversation directive to withdraw a tool.
from line 1369
`tool` references a tool (or MCP toolset) by name from the request's `tools`; it is no longer offered to the model from this point in the conversation onward. + + - `tool: BetaToolChangeToolReference or BetaToolChangeMCPToolReference or BetaToolChangeMCPToolsetReference` + + Reference to a single tool the caller declared directly in + `tools[]`. Does not accept the composed `{server}_{name}` form the + server assigns to MCP-resolved tools — use `mcp_tool_reference` or + `mcp_toolset_reference` for those. + + - `BetaToolChangeToolReference object { name, type }` + + Reference to a single tool the caller declared directly in + `tools[]`. Does not accept the composed `{server}_{name}` form the + server assigns to MCP-resolved tools — use `mcp_tool_reference` or + `mcp_toolset_reference` for those. + + - `BetaToolChangeMCPToolReference object { name, server_name, type }` + + Reference to a single MCP tool by its server and remote name — the + same `server_name`/`name` pair `mcp_tool_use` carries. + + - `BetaToolChangeMCPToolsetReference object { server_name, type }` + + Reference to every tool in the named MCP server's toolset. + + - `type: "tool_removal"` + + - `"tool_removal"` + + - `cache_control: optional BetaCacheControlEphemeral or null` + + Create a cache control breakpoint at this content block. - `BetaFallbackBlockParam object { from, to, type, trigger }`
from line 2371
When true, guarantees schema validation on tool names and inputs + - `BetaBrowserToolset20260801 object { type, allowed_callers, cache_control, configs }` + + The browser toolset: a single `tools[]` entry (carrying no + `name`) that declares the browser tool family. The model is served + the family's tool with any members disabled via `configs` removed + from its schema. + + - `type: "browser_toolset_20260801"` + + - `"browser_toolset_20260801"` + + - `allowed_callers: optional array of "direct" or "code_execution_20250825" or "code_execution_20260120" or "code_execution_20260521"` + + - `"direct"` + + - `"code_execution_20250825"` + + - `"code_execution_20260120"` + + - `"code_execution_20260521"` + + - `cache_control: optional BetaCacheControlEphemeral or null` + + Create a cache control breakpoint at this content block. + + - `configs: optional BetaBrowserToolsetConfigs or null` + + Per-member configuration for `browser_toolset_20260801`: one + optional field per member tool, keyed by the member name — the same + name the member's `tool_use` blocks carry. Every member is an + accepted key, and a member's defaults apply wherever its key is + absent. Unknown keys are rejected: the field set is this toolset + version's complete member set. + + - `close_tab: optional BetaBrowserCloseTabConfig or null` + + `close_tab`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `double_click: optional BetaBrowserDoubleClickConfig or null` + + `double_click`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `file_upload: optional BetaBrowserFileUploadConfig or null` + + `file_upload`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `find: optional BetaBrowserFindConfig or null` + + `find`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `form_input: optional BetaBrowserFormInputConfig or null` + + `form_input`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `get_page_text: optional BetaBrowserGetPageTextConfig or null` + + `get_page_text`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `hold_key: optional BetaBrowserHoldKeyConfig or null` + + `hold_key`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `hover: optional BetaBrowserHoverConfig or null` + + `hover`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `javascript_exec: optional BetaBrowserJavascriptExecConfig or null` + + `javascript_exec`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `key: optional BetaBrowserKeyConfig or null` + + `key`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `left_click: optional BetaBrowserLeftClickConfig or null` + + `left_click`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `left_click_drag: optional BetaBrowserLeftClickDragConfig or null` + + `left_click_drag`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `left_mouse_down: optional BetaBrowserLeftMouseDownConfig or null` + + `left_mouse_down`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `left_mouse_up: optional BetaBrowserLeftMouseUpConfig or null` + + `left_mouse_up`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `list_tabs: optional BetaBrowserListTabsConfig or null` + + `list_tabs`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `middle_click: optional BetaBrowserMiddleClickConfig or null` + + `middle_click`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `mouse_move: optional BetaBrowserMouseMoveConfig or null` + + `mouse_move`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `navigate: optional BetaBrowserNavigateConfig or null` + + `navigate`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `new_tab: optional BetaBrowserNewTabConfig or null` + + `new_tab`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `read_console: optional BetaBrowserReadConsoleConfig or null` + + `read_console`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `read_network: optional BetaBrowserReadNetworkConfig or null` + + `read_network`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `read_page: optional BetaBrowserReadPageConfig or null` + + `read_page`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `right_click: optional BetaBrowserRightClickConfig or null` + + `right_click`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `screenshot: optional BetaBrowserScreenshotConfig or null` + + `screenshot`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `scroll: optional BetaBrowserScrollConfig or null` + + `scroll`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `scroll_to: optional BetaBrowserScrollToConfig or null` + + `scroll_to`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `switch_tab: optional BetaBrowserSwitchTabConfig or null` + + `switch_tab`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `triple_click: optional BetaBrowserTripleClickConfig or null` + + `triple_click`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `type: optional BetaBrowserTypeConfig or null` + + `type`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `wait: optional BetaBrowserWaitConfig or null` + + `wait`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `zoom: optional BetaBrowserZoomConfig or null` + + `zoom`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + - `BetaToolComputerUse20241022 object { display_height_px, display_width_px, name, 7 more }` - `display_height_px: number`
from line 3006
- `strict: optional boolean` When true, guarantees schema validation on tool names and inputs + + - `BetaComputerToolset20260801 object { type, allowed_callers, cache_control, configs }` + + The computer toolset: a single `tools[]` entry (carrying no + `name`) that declares the computer tool family. The model is + served the family's tool with any members disabled via `configs` + removed from its schema. Every member is enabled by default, zoom + included. The single-tool options `display_number` and + `enable_zoom` are not fields of a toolset entry — it carries only + `type`, `configs`, and `cache_control`; zoom is controlled + via `configs.zoom.enabled`. + + - `type: "computer_toolset_20260801"` + + - `"computer_toolset_20260801"` + + - `allowed_callers: optional array of "direct" or "code_execution_20250825" or "code_execution_20260120" or "code_execution_20260521"` + + - `"direct"` + + - `"code_execution_20250825"` + + - `"code_execution_20260120"` + + - `"code_execution_20260521"` + + - `cache_control: optional BetaCacheControlEphemeral or null` + + Create a cache control breakpoint at this content block. + + - `configs: optional BetaComputerToolsetConfigs or null` + + Per-member configuration for `computer_toolset_20260801`: one + optional field per member tool, keyed by the member name — the same + name the member's `tool_use` blocks carry. Every member is an + accepted key, and a member's defaults apply wherever its key is + absent. Unknown keys are rejected: the field set is this toolset + version's complete member set. + + - `cursor_position: optional BetaComputerCursorPositionConfig or null` + + `cursor_position`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `double_click: optional BetaComputerDoubleClickConfig or null` + + `double_click`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `hold_key: optional BetaComputerHoldKeyConfig or null` + + `hold_key`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `key: optional BetaComputerKeyConfig or null` + + `key`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `left_click: optional BetaComputerLeftClickConfig or null` + + `left_click`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `left_click_drag: optional BetaComputerLeftClickDragConfig or null` + + `left_click_drag`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `left_mouse_down: optional BetaComputerLeftMouseDownConfig or null` + + `left_mouse_down`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `left_mouse_up: optional BetaComputerLeftMouseUpConfig or null` + + `left_mouse_up`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `middle_click: optional BetaComputerMiddleClickConfig or null` + + `middle_click`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `mouse_move: optional BetaComputerMouseMoveConfig or null` + + `mouse_move`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `right_click: optional BetaComputerRightClickConfig or null` + + `right_click`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `screenshot: optional BetaComputerScreenshotConfig or null` + + `screenshot`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `scroll: optional BetaComputerScrollConfig or null` + + `scroll`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `triple_click: optional BetaComputerTripleClickConfig or null` + + `triple_click`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `type: optional BetaComputerTypeConfig or null` + + `type`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `wait: optional BetaComputerWaitConfig or null` + + `wait`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. + + - `zoom: optional BetaComputerZoomConfig or null` + + `zoom`'s config overrides. + + - `defer_loading: optional boolean or null` + + Defer loading for this member. Must resolve to the same value on every enabled member of the toolset. + + - `enabled: optional boolean or null` + + 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. - `BetaToolTextEditor20250124 object { name, type, allowed_callers, 4 more }`
from line 4084
"role": "user" } ], - "model": "claude-opus-4-6" + "model": "claude-opus-5" } } ]