Batches changedapi/beta/messages/batches
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.
Recorded here
Lines+919added
Lines−137removed
From line
23
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits30to this page, all time
The whole hunk
from line 23, old and new numbered
/
This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.
The two sides of this change are more than 400 edits apart, too far apart to line up, so this is the differ's own diff of it and the words inside a line are not marked.
from line 23
2323
2424 - `string`
2525
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 30 more`
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
2727
2828 - `"message-batches-2024-09-24"`
2929
from line 68
6868 - `"output-300k-2026-03-24"`
6969
7070 - `"user-profiles-2026-03-24"`
71
72 - `"user-profiles-2026-08-18"`
7173
7274 - `"advisor-tool-2026-03-01"`
7375
from line 319
317319
318320 - `"search_result_location"`
319321
320 - `BetaImageBlockParam object { source, type, cache_control }`
322 - `BetaImageBlockParam object { source, type, cache_control, transformations }`
321323
322324 - `source: BetaBase64ImageSource or BetaURLImageSource or BetaFileImageSource`
323325
from line 365
363365
364366 Create a cache control breakpoint at this content block.
365367
368 - `transformations: optional BetaImageTransformationsParam or null`
369
370 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.
371
372 - `oversized_image: optional "downsize" or "error"`
373
374 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.
375
376 - `"downsize"`
377
378 - `"error"`
379
366380 - `BetaRequestDocumentBlock object { source, type, cache_control, 3 more }`
367381
368382 - `source: BetaBase64PDFSource or BetaPlainTextSource or BetaContentBlockSource or 2 more`
from line 415
401415
402416 - `BetaTextBlockParam object { text, type, cache_control, citations }`
403417
404 - `BetaImageBlockParam object { source, type, cache_control }`
418 - `BetaImageBlockParam object { source, type, cache_control, transformations }`
405419
406420 - `type: "content"`
407421
from line 507
493507
494508 - `"redacted_thinking"`
495509
496 - `BetaToolUseBlockParam object { id, input, name, 3 more }`
510 - `BetaToolUseBlockParam object { id, input, name, 4 more }`
497511
498512 - `id: string`
499513
from line 553
539553
540554 - `"code_execution_20260120"`
541555
542 - `BetaToolResultBlockParam object { tool_use_id, type, cache_control, 2 more }`
556 - `toolset_name: optional string or null`
557
558 For a toolset member tool_use, the toolset family this member belongs to.
559
560 - `BetaToolResultBlockParam object { tool_use_id, type, cache_control, 3 more }`
543561
544562 - `tool_use_id: string`
545563
from line 569
551569
552570 Create a cache control breakpoint at this content block.
553571
554 - `content: optional string or array of BetaTextBlockParam or BetaImageBlockParam or BetaSearchResultBlockParam or 2 more`
572 - `content: optional string or array of BetaTextBlockParam or BetaImageBlockParam or BetaSearchResultBlockParam or 3 more`
555573
556574 - `string`
557575
558 - `array of BetaTextBlockParam or BetaImageBlockParam or BetaSearchResultBlockParam or 2 more`
576 - `array of BetaTextBlockParam or BetaImageBlockParam or BetaSearchResultBlockParam or 3 more`
559577
560578 - `BetaTextBlockParam object { text, type, cache_control, citations }`
561579
562 - `BetaImageBlockParam object { source, type, cache_control }`
580 - `BetaImageBlockParam object { source, type, cache_control, transformations }`
563581
564582 - `BetaSearchResultBlockParam object { content, source, title, 3 more }`
565583
from line 597
579597
580598 Create a cache control breakpoint at this content block.
581599
600 - `BetaBrowserStateBlockParam object { tabs, type, cache_control, state_changes }`
601
602 The caller's browser state after a browser toolset member call —
603 the full inventory of open tabs, which tab is active, and any side
604 effects (tabs opened, download state changes) the call produced.
605
606 At most one per `tool_result`, only on a non-error result answering a
607 browser toolset member `tool_use`. The server renders the
608 model-visible text from it; the model never sees the raw fields.
609
610 - `tabs: array of BetaBrowserStateTabEntry`
611
612 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`.
613
614 - `tab_id: string`
615
616 The caller-assigned identifier for this tab, unique within the inventory.
617
618 - `title: string`
619
620 The title of the page the tab is showing. May be empty.
621
622 - `url: string`
623
624 The URL of the page the tab is showing. May be empty.
625
626 - `active: optional boolean`
627
628 Whether this tab is the active tab after this call. Whenever `tabs` is non-empty, exactly one entry is marked `active: true`.
629
630 - `type: "browser_state"`
631
632 - `"browser_state"`
633
634 - `cache_control: optional BetaCacheControlEphemeral or null`
635
636 Create a cache control breakpoint at this content block.
637
638 - `state_changes: optional array of BetaBrowserStateChange or null`
639
640 Tabs opened and download state changes during this call. "Nothing to report" is expressed by omitting the field, never by an empty list.
641
642 - `BetaBrowserStateChangeTabOpened object { tab_id, type }`
643
644 A tab this call's execution opened that remains open at its end —
645 the creation delta of the `tabs` inventory, not an event log.
646
647 Carries only the `tab_id`; the tab's `title` and `url` live on its
648 `tabs` entry, which must include the same `tab_id`. A tab opened
649 during a failed call gets no deferred `tab_opened`; it simply appears
650 in the next result's `tabs` inventory.
651
652 - `tab_id: string`
653
654 The `tab_id` of the opened tab, present in `tabs`.
655
656 - `type: "tab_opened"`
657
658 - `"tab_opened"`
659
660 - `BetaBrowserStateChangeDownloadStarted object { download_id, type, url }`
661
662 A file download that started during this call.
663
664 - `download_id: string`
665
666 The caller-assigned identifier for this download, stable across the state changes reporting it.
667
668 - `type: "download_started"`
669
670 - `"download_started"`
671
672 - `url: string`
673
674 The final post-redirect URL the download was served from.
675
676 - `BetaBrowserStateChangeDownloadCompleted object { download_id, type, url, 2 more }`
677
678 A file download that finished during this call, reported with the
679 same `download_id` as its `download_started` — or without a prior
680 `download_started`, when the download finished during the call that
681 started it (at most one state change per `download_id` per result).
682
683 - `download_id: string`
684
685 The caller-assigned identifier for this download, stable across the state changes reporting it.
686
687 - `type: "download_completed"`
688
689 - `"download_completed"`
690
691 - `url: string`
692
693 The final post-redirect URL the download was served from.
694
695 - `path: optional string or null`
696
697 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.
698
699 - `size_bytes: optional number or null`
700
701 The completed download's size.
702
703 - `BetaBrowserStateChangeDownloadFailed object { download_id, type, url, error }`
704
705 A file download that failed — or was cancelled — during this call.
706
707 - `download_id: string`
708
709 The caller-assigned identifier for this download, stable across the state changes reporting it.
710
711 - `type: "download_failed"`
712
713 - `"download_failed"`
714
715 - `url: string`
716
717 The final post-redirect URL the download was served from.
718
719 - `error: optional string or null`
720
721 The failure or cancellation detail, when known.
722
582723 - `is_error: optional boolean`
724
725 - `toolset_name: optional string or null`
726
727 For a toolset member tool_result, the toolset family of the paired tool_use.
583728
584729 - `BetaServerToolUseBlockParam object { id, input, name, 3 more }`
585730
from line 1304
11591304 - `encrypted_content: optional string or null`
11601305
11611306 Opaque metadata from prior compaction, to be round-tripped verbatim
1162
1163 - `BetaMidConversationSystemBlockParam object { content, type, cache_control }`
1164
1165 System instructions that appear mid-conversation.
1166
1167 Use this block to provide or update system-level instructions at a specific
1168 point in the conversation, rather than only via the top-level `system` parameter.
1169
1170 - `content: array of BetaTextBlockParam or BetaRequestToolAdditionBlock or BetaRequestToolRemovalBlock`
1171
1172 System instruction text blocks.
1173
1174 - `BetaTextBlockParam object { text, type, cache_control, citations }`
1175
1176 - `BetaRequestToolAdditionBlock object { tool, type, cache_control }`
1177
1178 Mid-conversation directive to surface a declared tool.
1179
1180 `tool` references a tool (or MCP toolset) by name from the request's
1181 `tools`; it is offered to the model from this point in the
1182 conversation onward.
1183
1184 - `tool: BetaToolChangeToolReference or BetaToolChangeMCPToolReference or BetaToolChangeMCPToolsetReference`
1185
1186 Reference to a single tool the caller declared directly in
1187 `tools[]`. Does not accept the composed `{server}_{name}` form the
1188 server assigns to MCP-resolved tools — use `mcp_tool_reference` or
1189 `mcp_toolset_reference` for those.
1190
1191 - `BetaToolChangeToolReference object { name, type }`
1192
1193 Reference to a single tool the caller declared directly in
1194 `tools[]`. Does not accept the composed `{server}_{name}` form the
1195 server assigns to MCP-resolved tools — use `mcp_tool_reference` or
1196 `mcp_toolset_reference` for those.
1197
1198 - `name: string`
1199
1200 - `type: "tool_reference"`
1201
1202 - `"tool_reference"`
1203
1204 - `BetaToolChangeMCPToolReference object { name, server_name, type }`
1205
1206 Reference to a single MCP tool by its server and remote name — the
1207 same `server_name`/`name` pair `mcp_tool_use` carries.
1208
1209 - `name: string`
1210
1211 - `server_name: string`
1212
1213 - `type: "mcp_tool_reference"`
1214
1215 - `"mcp_tool_reference"`
1216
1217 - `BetaToolChangeMCPToolsetReference object { server_name, type }`
1218
1219 Reference to every tool in the named MCP server's toolset.
1220
1221 - `server_name: string`
1222
1223 - `type: "mcp_toolset_reference"`
1224
1225 - `"mcp_toolset_reference"`
1226
1227 - `type: "tool_addition"`
1228
1229 - `"tool_addition"`
1230
1231 - `cache_control: optional BetaCacheControlEphemeral or null`
1232
1233 Create a cache control breakpoint at this content block.
1234
1235 - `BetaRequestToolRemovalBlock object { tool, type, cache_control }`
1236
1237 Mid-conversation directive to withdraw a tool.
1238
1239 `tool` references a tool (or MCP toolset) by name from the request's
1240 `tools`; it is no longer offered to the model from this point in the
1241 conversation onward.
1242
1243 - `tool: BetaToolChangeToolReference or BetaToolChangeMCPToolReference or BetaToolChangeMCPToolsetReference`
1244
1245 Reference to a single tool the caller declared directly in
1246 `tools[]`. Does not accept the composed `{server}_{name}` form the
1247 server assigns to MCP-resolved tools — use `mcp_tool_reference` or
1248 `mcp_toolset_reference` for those.
1249
1250 - `BetaToolChangeToolReference object { name, type }`
1251
1252 Reference to a single tool the caller declared directly in
1253 `tools[]`. Does not accept the composed `{server}_{name}` form the
1254 server assigns to MCP-resolved tools — use `mcp_tool_reference` or
1255 `mcp_toolset_reference` for those.
1256
1257 - `BetaToolChangeMCPToolReference object { name, server_name, type }`
1258
1259 Reference to a single MCP tool by its server and remote name — the
1260 same `server_name`/`name` pair `mcp_tool_use` carries.
1261
1262 - `BetaToolChangeMCPToolsetReference object { server_name, type }`
1263
1264 Reference to every tool in the named MCP server's toolset.
1265
1266 - `type: "tool_removal"`
1267
1268 - `"tool_removal"`
1269
1270 - `cache_control: optional BetaCacheControlEphemeral or null`
1271
1272 Create a cache control breakpoint at this content block.
1273
1274 - `type: "mid_conv_system"`
1275
1276 - `"mid_conv_system"`
1277
1278 - `cache_control: optional BetaCacheControlEphemeral or null`
1279
1280 Create a cache control breakpoint at this content block.
12811307
12821308 - `BetaRequestToolAdditionBlock object { tool, type, cache_control }`
12831309
from line 1313
12871313 `tools`; it is offered to the model from this point in the
12881314 conversation onward.
12891315
1316 - `tool: BetaToolChangeToolReference or BetaToolChangeMCPToolReference or BetaToolChangeMCPToolsetReference`
1317
1318 Reference to a single tool the caller declared directly in
1319 `tools[]`. Does not accept the composed `{server}_{name}` form the
1320 server assigns to MCP-resolved tools — use `mcp_tool_reference` or
1321 `mcp_toolset_reference` for those.
1322
1323 - `BetaToolChangeToolReference object { name, type }`
1324
1325 Reference to a single tool the caller declared directly in
1326 `tools[]`. Does not accept the composed `{server}_{name}` form the
1327 server assigns to MCP-resolved tools — use `mcp_tool_reference` or
1328 `mcp_toolset_reference` for those.
1329
1330 - `name: string`
1331
1332 - `type: "tool_reference"`
1333
1334 - `"tool_reference"`
1335
1336 - `BetaToolChangeMCPToolReference object { name, server_name, type }`
1337
1338 Reference to a single MCP tool by its server and remote name — the
1339 same `server_name`/`name` pair `mcp_tool_use` carries.
1340
1341 - `name: string`
1342
1343 - `server_name: string`
1344
1345 - `type: "mcp_tool_reference"`
1346
1347 - `"mcp_tool_reference"`
1348
1349 - `BetaToolChangeMCPToolsetReference object { server_name, type }`
1350
1351 Reference to every tool in the named MCP server's toolset.
1352
1353 - `server_name: string`
1354
1355 - `type: "mcp_toolset_reference"`
1356
1357 - `"mcp_toolset_reference"`
1358
1359 - `type: "tool_addition"`
1360
1361 - `"tool_addition"`
1362
1363 - `cache_control: optional BetaCacheControlEphemeral or null`
1364
1365 Create a cache control breakpoint at this content block.
1366
12901367 - `BetaRequestToolRemovalBlock object { tool, type, cache_control }`
12911368
12921369 Mid-conversation directive to withdraw a tool.
from line 1371
12941371 `tool` references a tool (or MCP toolset) by name from the request's
12951372 `tools`; it is no longer offered to the model from this point in the
12961373 conversation onward.
1374
1375 - `tool: BetaToolChangeToolReference or BetaToolChangeMCPToolReference or BetaToolChangeMCPToolsetReference`
1376
1377 Reference to a single tool the caller declared directly in
1378 `tools[]`. Does not accept the composed `{server}_{name}` form the
1379 server assigns to MCP-resolved tools — use `mcp_tool_reference` or
1380 `mcp_toolset_reference` for those.
1381
1382 - `BetaToolChangeToolReference object { name, type }`
1383
1384 Reference to a single tool the caller declared directly in
1385 `tools[]`. Does not accept the composed `{server}_{name}` form the
1386 server assigns to MCP-resolved tools — use `mcp_tool_reference` or
1387 `mcp_toolset_reference` for those.
1388
1389 - `BetaToolChangeMCPToolReference object { name, server_name, type }`
1390
1391 Reference to a single MCP tool by its server and remote name — the
1392 same `server_name`/`name` pair `mcp_tool_use` carries.
1393
1394 - `BetaToolChangeMCPToolsetReference object { server_name, type }`
1395
1396 Reference to every tool in the named MCP server's toolset.
1397
1398 - `type: "tool_removal"`
1399
1400 - `"tool_removal"`
1401
1402 - `cache_control: optional BetaCacheControlEphemeral or null`
1403
1404 Create a cache control breakpoint at this content block.
12971405
12981406 - `BetaFallbackBlockParam object { from, to, type, trigger }`
12991407
from line 2373
22652373
22662374 When true, guarantees schema validation on tool names and inputs
22672375
2376 - `BetaBrowserToolset20260801 object { type, allowed_callers, cache_control, configs }`
2377
2378 The browser toolset: a single `tools[]` entry (carrying no
2379 `name`) that declares the browser tool family. The model is served
2380 the family's tool with any members disabled via `configs` removed
2381 from its schema.
2382
2383 - `type: "browser_toolset_20260801"`
2384
2385 - `"browser_toolset_20260801"`
2386
2387 - `allowed_callers: optional array of "direct" or "code_execution_20250825" or "code_execution_20260120" or "code_execution_20260521"`
2388
2389 - `"direct"`
2390
2391 - `"code_execution_20250825"`
2392
2393 - `"code_execution_20260120"`
2394
2395 - `"code_execution_20260521"`
2396
2397 - `cache_control: optional BetaCacheControlEphemeral or null`
2398
2399 Create a cache control breakpoint at this content block.
2400
2401 - `configs: optional BetaBrowserToolsetConfigs or null`
2402
2403 Per-member configuration for `browser_toolset_20260801`: one
2404 optional field per member tool, keyed by the member name — the same
2405 name the member's `tool_use` blocks carry. Every member is an
2406 accepted key, and a member's defaults apply wherever its key is
2407 absent. Unknown keys are rejected: the field set is this toolset
2408 version's complete member set.
2409
2410 - `close_tab: optional BetaBrowserCloseTabConfig or null`
2411
2412 `close_tab`'s config overrides.
2413
2414 - `defer_loading: optional boolean or null`
2415
2416 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2417
2418 - `enabled: optional boolean or null`
2419
2420 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.
2421
2422 - `double_click: optional BetaBrowserDoubleClickConfig or null`
2423
2424 `double_click`'s config overrides.
2425
2426 - `defer_loading: optional boolean or null`
2427
2428 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2429
2430 - `enabled: optional boolean or null`
2431
2432 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.
2433
2434 - `file_upload: optional BetaBrowserFileUploadConfig or null`
2435
2436 `file_upload`'s config overrides.
2437
2438 - `defer_loading: optional boolean or null`
2439
2440 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2441
2442 - `enabled: optional boolean or null`
2443
2444 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.
2445
2446 - `find: optional BetaBrowserFindConfig or null`
2447
2448 `find`'s config overrides.
2449
2450 - `defer_loading: optional boolean or null`
2451
2452 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2453
2454 - `enabled: optional boolean or null`
2455
2456 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.
2457
2458 - `form_input: optional BetaBrowserFormInputConfig or null`
2459
2460 `form_input`'s config overrides.
2461
2462 - `defer_loading: optional boolean or null`
2463
2464 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2465
2466 - `enabled: optional boolean or null`
2467
2468 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.
2469
2470 - `get_page_text: optional BetaBrowserGetPageTextConfig or null`
2471
2472 `get_page_text`'s config overrides.
2473
2474 - `defer_loading: optional boolean or null`
2475
2476 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2477
2478 - `enabled: optional boolean or null`
2479
2480 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.
2481
2482 - `hold_key: optional BetaBrowserHoldKeyConfig or null`
2483
2484 `hold_key`'s config overrides.
2485
2486 - `defer_loading: optional boolean or null`
2487
2488 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2489
2490 - `enabled: optional boolean or null`
2491
2492 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.
2493
2494 - `hover: optional BetaBrowserHoverConfig or null`
2495
2496 `hover`'s config overrides.
2497
2498 - `defer_loading: optional boolean or null`
2499
2500 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2501
2502 - `enabled: optional boolean or null`
2503
2504 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.
2505
2506 - `javascript_exec: optional BetaBrowserJavascriptExecConfig or null`
2507
2508 `javascript_exec`'s config overrides.
2509
2510 - `defer_loading: optional boolean or null`
2511
2512 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2513
2514 - `enabled: optional boolean or null`
2515
2516 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.
2517
2518 - `key: optional BetaBrowserKeyConfig or null`
2519
2520 `key`'s config overrides.
2521
2522 - `defer_loading: optional boolean or null`
2523
2524 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2525
2526 - `enabled: optional boolean or null`
2527
2528 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.
2529
2530 - `left_click: optional BetaBrowserLeftClickConfig or null`
2531
2532 `left_click`'s config overrides.
2533
2534 - `defer_loading: optional boolean or null`
2535
2536 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2537
2538 - `enabled: optional boolean or null`
2539
2540 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.
2541
2542 - `left_click_drag: optional BetaBrowserLeftClickDragConfig or null`
2543
2544 `left_click_drag`'s config overrides.
2545
2546 - `defer_loading: optional boolean or null`
2547
2548 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2549
2550 - `enabled: optional boolean or null`
2551
2552 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.
2553
2554 - `left_mouse_down: optional BetaBrowserLeftMouseDownConfig or null`
2555
2556 `left_mouse_down`'s config overrides.
2557
2558 - `defer_loading: optional boolean or null`
2559
2560 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2561
2562 - `enabled: optional boolean or null`
2563
2564 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.
2565
2566 - `left_mouse_up: optional BetaBrowserLeftMouseUpConfig or null`
2567
2568 `left_mouse_up`'s config overrides.
2569
2570 - `defer_loading: optional boolean or null`
2571
2572 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2573
2574 - `enabled: optional boolean or null`
2575
2576 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.
2577
2578 - `list_tabs: optional BetaBrowserListTabsConfig or null`
2579
2580 `list_tabs`'s config overrides.
2581
2582 - `defer_loading: optional boolean or null`
2583
2584 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2585
2586 - `enabled: optional boolean or null`
2587
2588 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.
2589
2590 - `middle_click: optional BetaBrowserMiddleClickConfig or null`
2591
2592 `middle_click`'s config overrides.
2593
2594 - `defer_loading: optional boolean or null`
2595
2596 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2597
2598 - `enabled: optional boolean or null`
2599
2600 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.
2601
2602 - `mouse_move: optional BetaBrowserMouseMoveConfig or null`
2603
2604 `mouse_move`'s config overrides.
2605
2606 - `defer_loading: optional boolean or null`
2607
2608 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2609
2610 - `enabled: optional boolean or null`
2611
2612 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.
2613
2614 - `navigate: optional BetaBrowserNavigateConfig or null`
2615
2616 `navigate`'s config overrides.
2617
2618 - `defer_loading: optional boolean or null`
2619
2620 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2621
2622 - `enabled: optional boolean or null`
2623
2624 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.
2625
2626 - `new_tab: optional BetaBrowserNewTabConfig or null`
2627
2628 `new_tab`'s config overrides.
2629
2630 - `defer_loading: optional boolean or null`
2631
2632 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2633
2634 - `enabled: optional boolean or null`
2635
2636 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.
2637
2638 - `read_console: optional BetaBrowserReadConsoleConfig or null`
2639
2640 `read_console`'s config overrides.
2641
2642 - `defer_loading: optional boolean or null`
2643
2644 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2645
2646 - `enabled: optional boolean or null`
2647
2648 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.
2649
2650 - `read_network: optional BetaBrowserReadNetworkConfig or null`
2651
2652 `read_network`'s config overrides.
2653
2654 - `defer_loading: optional boolean or null`
2655
2656 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2657
2658 - `enabled: optional boolean or null`
2659
2660 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.
2661
2662 - `read_page: optional BetaBrowserReadPageConfig or null`
2663
2664 `read_page`'s config overrides.
2665
2666 - `defer_loading: optional boolean or null`
2667
2668 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2669
2670 - `enabled: optional boolean or null`
2671
2672 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.
2673
2674 - `right_click: optional BetaBrowserRightClickConfig or null`
2675
2676 `right_click`'s config overrides.
2677
2678 - `defer_loading: optional boolean or null`
2679
2680 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2681
2682 - `enabled: optional boolean or null`
2683
2684 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.
2685
2686 - `screenshot: optional BetaBrowserScreenshotConfig or null`
2687
2688 `screenshot`'s config overrides.
2689
2690 - `defer_loading: optional boolean or null`
2691
2692 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2693
2694 - `enabled: optional boolean or null`
2695
2696 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.
2697
2698 - `scroll: optional BetaBrowserScrollConfig or null`
2699
2700 `scroll`'s config overrides.
2701
2702 - `defer_loading: optional boolean or null`
2703
2704 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2705
2706 - `enabled: optional boolean or null`
2707
2708 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.
2709
2710 - `scroll_to: optional BetaBrowserScrollToConfig or null`
2711
2712 `scroll_to`'s config overrides.
2713
2714 - `defer_loading: optional boolean or null`
2715
2716 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2717
2718 - `enabled: optional boolean or null`
2719
2720 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.
2721
2722 - `switch_tab: optional BetaBrowserSwitchTabConfig or null`
2723
2724 `switch_tab`'s config overrides.
2725
2726 - `defer_loading: optional boolean or null`
2727
2728 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2729
2730 - `enabled: optional boolean or null`
2731
2732 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.
2733
2734 - `triple_click: optional BetaBrowserTripleClickConfig or null`
2735
2736 `triple_click`'s config overrides.
2737
2738 - `defer_loading: optional boolean or null`
2739
2740 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2741
2742 - `enabled: optional boolean or null`
2743
2744 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.
2745
2746 - `type: optional BetaBrowserTypeConfig or null`
2747
2748 `type`'s config overrides.
2749
2750 - `defer_loading: optional boolean or null`
2751
2752 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2753
2754 - `enabled: optional boolean or null`
2755
2756 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.
2757
2758 - `wait: optional BetaBrowserWaitConfig or null`
2759
2760 `wait`'s config overrides.
2761
2762 - `defer_loading: optional boolean or null`
2763
2764 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2765
2766 - `enabled: optional boolean or null`
2767
2768 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.
2769
2770 - `zoom: optional BetaBrowserZoomConfig or null`
2771
2772 `zoom`'s config overrides.
2773
2774 - `defer_loading: optional boolean or null`
2775
2776 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
2777
2778 - `enabled: optional boolean or null`
2779
2780 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.
2781
22682782 - `BetaToolComputerUse20241022 object { display_height_px, display_width_px, name, 7 more }`
22692783
22702784 - `display_height_px: number`
from line 3008
24943008 - `strict: optional boolean`
24953009
24963010 When true, guarantees schema validation on tool names and inputs
3011
3012 - `BetaComputerToolset20260801 object { type, allowed_callers, cache_control, configs }`
3013
3014 The computer toolset: a single `tools[]` entry (carrying no
3015 `name`) that declares the computer tool family. The model is
3016 served the family's tool with any members disabled via `configs`
3017 removed from its schema. Every member is enabled by default, zoom
3018 included. The single-tool options `display_number` and
3019 `enable_zoom` are not fields of a toolset entry — it carries only
3020 `type`, `configs`, and `cache_control`; zoom is controlled
3021 via `configs.zoom.enabled`.
3022
3023 - `type: "computer_toolset_20260801"`
3024
3025 - `"computer_toolset_20260801"`
3026
3027 - `allowed_callers: optional array of "direct" or "code_execution_20250825" or "code_execution_20260120" or "code_execution_20260521"`
3028
3029 - `"direct"`
3030
3031 - `"code_execution_20250825"`
3032
3033 - `"code_execution_20260120"`
3034
3035 - `"code_execution_20260521"`
3036
3037 - `cache_control: optional BetaCacheControlEphemeral or null`
3038
3039 Create a cache control breakpoint at this content block.
3040
3041 - `configs: optional BetaComputerToolsetConfigs or null`
3042
3043 Per-member configuration for `computer_toolset_20260801`: one
3044 optional field per member tool, keyed by the member name — the same
3045 name the member's `tool_use` blocks carry. Every member is an
3046 accepted key, and a member's defaults apply wherever its key is
3047 absent. Unknown keys are rejected: the field set is this toolset
3048 version's complete member set.
3049
3050 - `cursor_position: optional BetaComputerCursorPositionConfig or null`
3051
3052 `cursor_position`'s config overrides.
3053
3054 - `defer_loading: optional boolean or null`
3055
3056 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
3057
3058 - `enabled: optional boolean or null`
3059
3060 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.
3061
3062 - `double_click: optional BetaComputerDoubleClickConfig or null`
3063
3064 `double_click`'s config overrides.
3065
3066 - `defer_loading: optional boolean or null`
3067
3068 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
3069
3070 - `enabled: optional boolean or null`
3071
3072 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.
3073
3074 - `hold_key: optional BetaComputerHoldKeyConfig or null`
3075
3076 `hold_key`'s config overrides.
3077
3078 - `defer_loading: optional boolean or null`
3079
3080 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
3081
3082 - `enabled: optional boolean or null`
3083
3084 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.
3085
3086 - `key: optional BetaComputerKeyConfig or null`
3087
3088 `key`'s config overrides.
3089
3090 - `defer_loading: optional boolean or null`
3091
3092 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
3093
3094 - `enabled: optional boolean or null`
3095
3096 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.
3097
3098 - `left_click: optional BetaComputerLeftClickConfig or null`
3099
3100 `left_click`'s config overrides.
3101
3102 - `defer_loading: optional boolean or null`
3103
3104 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
3105
3106 - `enabled: optional boolean or null`
3107
3108 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.
3109
3110 - `left_click_drag: optional BetaComputerLeftClickDragConfig or null`
3111
3112 `left_click_drag`'s config overrides.
3113
3114 - `defer_loading: optional boolean or null`
3115
3116 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
3117
3118 - `enabled: optional boolean or null`
3119
3120 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.
3121
3122 - `left_mouse_down: optional BetaComputerLeftMouseDownConfig or null`
3123
3124 `left_mouse_down`'s config overrides.
3125
3126 - `defer_loading: optional boolean or null`
3127
3128 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
3129
3130 - `enabled: optional boolean or null`
3131
3132 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.
3133
3134 - `left_mouse_up: optional BetaComputerLeftMouseUpConfig or null`
3135
3136 `left_mouse_up`'s config overrides.
3137
3138 - `defer_loading: optional boolean or null`
3139
3140 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
3141
3142 - `enabled: optional boolean or null`
3143
3144 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.
3145
3146 - `middle_click: optional BetaComputerMiddleClickConfig or null`
3147
3148 `middle_click`'s config overrides.
3149
3150 - `defer_loading: optional boolean or null`
3151
3152 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
3153
3154 - `enabled: optional boolean or null`
3155
3156 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.
3157
3158 - `mouse_move: optional BetaComputerMouseMoveConfig or null`
3159
3160 `mouse_move`'s config overrides.
3161
3162 - `defer_loading: optional boolean or null`
3163
3164 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
3165
3166 - `enabled: optional boolean or null`
3167
3168 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.
3169
3170 - `right_click: optional BetaComputerRightClickConfig or null`
3171
3172 `right_click`'s config overrides.
3173
3174 - `defer_loading: optional boolean or null`
3175
3176 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
3177
3178 - `enabled: optional boolean or null`
3179
3180 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.
3181
3182 - `screenshot: optional BetaComputerScreenshotConfig or null`
3183
3184 `screenshot`'s config overrides.
3185
3186 - `defer_loading: optional boolean or null`
3187
3188 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
3189
3190 - `enabled: optional boolean or null`
3191
3192 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.
3193
3194 - `scroll: optional BetaComputerScrollConfig or null`
3195
3196 `scroll`'s config overrides.
3197
3198 - `defer_loading: optional boolean or null`
3199
3200 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
3201
3202 - `enabled: optional boolean or null`
3203
3204 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.
3205
3206 - `triple_click: optional BetaComputerTripleClickConfig or null`
3207
3208 `triple_click`'s config overrides.
3209
3210 - `defer_loading: optional boolean or null`
3211
3212 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
3213
3214 - `enabled: optional boolean or null`
3215
3216 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.
3217
3218 - `type: optional BetaComputerTypeConfig or null`
3219
3220 `type`'s config overrides.
3221
3222 - `defer_loading: optional boolean or null`
3223
3224 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
3225
3226 - `enabled: optional boolean or null`
3227
3228 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.
3229
3230 - `wait: optional BetaComputerWaitConfig or null`
3231
3232 `wait`'s config overrides.
3233
3234 - `defer_loading: optional boolean or null`
3235
3236 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
3237
3238 - `enabled: optional boolean or null`
3239
3240 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.
3241
3242 - `zoom: optional BetaComputerZoomConfig or null`
3243
3244 `zoom`'s config overrides.
3245
3246 - `defer_loading: optional boolean or null`
3247
3248 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
3249
3250 - `enabled: optional boolean or null`
3251
3252 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.
24973253
24983254 - `BetaToolTextEditor20250124 object { name, type, allowed_callers, 4 more }`
24993255
from line 4086
33304086 "role": "user"
33314087 }
33324088 ],
3333 "model": "claude-opus-4-6"
4089 "model": "claude-opus-5"
33344090 }
33354091 }
33364092 ]
from line 4138
33824138
33834139 - `string`
33844140
3385 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 30 more`
4141 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
33864142
33874143 - `"message-batches-2024-09-24"`
33884144
from line 4183
34274183 - `"output-300k-2026-03-24"`
34284184
34294185 - `"user-profiles-2026-03-24"`
4186
4187 - `"user-profiles-2026-08-18"`
34304188
34314189 - `"advisor-tool-2026-03-01"`
34324190
from line 4362
36044362
36054363 - `string`
36064364
3607 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 30 more`
4365 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
36084366
36094367 - `"message-batches-2024-09-24"`
36104368
from line 4407
36494407 - `"output-300k-2026-03-24"`
36504408
36514409 - `"user-profiles-2026-03-24"`
4410
4411 - `"user-profiles-2026-08-18"`
36524412
36534413 - `"advisor-tool-2026-03-01"`
36544414
from line 4597
38374597
38384598 - `string`
38394599
3840 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 30 more`
4600 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
38414601
38424602 - `"message-batches-2024-09-24"`
38434603
from line 4642
38824642 - `"output-300k-2026-03-24"`
38834643
38844644 - `"user-profiles-2026-03-24"`
4645
4646 - `"user-profiles-2026-08-18"`
38854647
38864648 - `"advisor-tool-2026-03-01"`
38874649
from line 4814
40524814
40534815 - `string`
40544816
4055 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 30 more`
4817 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
40564818
40574819 - `"message-batches-2024-09-24"`
40584820
from line 4859
40974859 - `"output-300k-2026-03-24"`
40984860
40994861 - `"user-profiles-2026-03-24"`
4862
4863 - `"user-profiles-2026-08-18"`
41004864
41014865 - `"advisor-tool-2026-03-01"`
41024866
from line 4943
41794943
41804944 - `string`
41814945
4182 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 30 more`
4946 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
41834947
41844948 - `"message-batches-2024-09-24"`
41854949
from line 4988
42244988 - `"output-300k-2026-03-24"`
42254989
42264990 - `"user-profiles-2026-03-24"`
4991
4992 - `"user-profiles-2026-08-18"`
42274993
42284994 - `"advisor-tool-2026-03-01"`
42294995
from line 5258
44925258
44935259 - `"redacted_thinking"`
44945260
4495 - `BetaToolUseBlock object { id, input, name, 2 more }`
5261 - `BetaToolUseBlock object { id, input, name, 3 more }`
44965262
44975263 - `id: string`
44985264
from line 5299
45335299 - `type: "code_execution_20260120"`
45345300
45355301 - `"code_execution_20260120"`
5302
5303 - `toolset_name: optional string or null`
5304
5305 For a toolset member tool_use, the toolset family.
45365306
45375307 - `BetaServerToolUseBlock object { id, input, name, 2 more }`
45385308
from line 7149
63797149
63807150 - `"redacted_thinking"`
63817151
6382 - `BetaToolUseBlock object { id, input, name, 2 more }`
7152 - `BetaToolUseBlock object { id, input, name, 3 more }`
63837153
63847154 - `id: string`
63857155
from line 7190
64207190 - `type: "code_execution_20260120"`
64217191
64227192 - `"code_execution_20260120"`
7193
7194 - `toolset_name: optional string or null`
7195
7196 For a toolset member tool_use, the toolset family.
64237197
64247198 - `BetaServerToolUseBlock object { id, input, name, 2 more }`
64257199
from line 8839
80658839
80668840 - `"redacted_thinking"`
80678841
8068 - `BetaToolUseBlock object { id, input, name, 2 more }`
8842 - `BetaToolUseBlock object { id, input, name, 3 more }`
80698843
80708844 - `id: string`
80718845
from line 8880
81068880 - `type: "code_execution_20260120"`
81078881
81088882 - `"code_execution_20260120"`
8883
8884 - `toolset_name: optional string or null`
8885
8886 For a toolset member tool_use, the toolset family.
81098887
81108888 - `BetaServerToolUseBlock object { id, input, name, 2 more }`
81118889
from line 10491
971310491
971410492 - `"redacted_thinking"`
971510493
9716 - `BetaToolUseBlock object { id, input, name, 2 more }`
10494 - `BetaToolUseBlock object { id, input, name, 3 more }`
971710495
971810496 - `id: string`
971910497
from line 10532
975410532 - `type: "code_execution_20260120"`
975510533
975610534 - `"code_execution_20260120"`
10535
10536 - `toolset_name: optional string or null`
10537
10538 For a toolset member tool_use, the toolset family.
975710539
975810540 - `BetaServerToolUseBlock object { id, input, name, 2 more }`
975910541
976010542
No line in this hunk matches that.