Batches changedapi/beta/messages/batches
Nearest release: v2.1.283, published 3 hours 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+422added
Lines−554removed
From line
137
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits16to this page, all time
The whole hunk
from line 137, 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.
from line 137
137137
138138 List of requests for prompt completion. Each is an individual request to create a Message.
139139
140 maxItems: 100000, minItems: 1
140 minItems: 1, maxItems: 100000
141141
142142 - `custom_id: string`
143143
from line 145
145145
146146 Must be unique for each request within the Message Batch.
147147
148 maxLength: 64, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,64}$
148 minLength: 1, maxLength: 64, pattern: ^[a-zA-Z0-9_-]{1,64}$
149149
150150 - `params: object`
151151
from line 265
265265
266266 - `document_title: string or null`
267267
268 maxLength: 500, minLength: 1
268 minLength: 1, maxLength: 500
269269
270270 - `end_char_index: number`
271271
from line 285
285285
286286 - `document_title: string or null`
287287
288 maxLength: 500, minLength: 1
288 minLength: 1, maxLength: 500
289289
290290 - `end_page_number: number`
291291
from line 309
309309
310310 - `document_title: string or null`
311311
312 maxLength: 500, minLength: 1
312 minLength: 1, maxLength: 500
313313
314314 - `end_block_index: number`
315315
from line 333
333333
334334 - `title: string or null`
335335
336 maxLength: 512, minLength: 1
336 minLength: 1, maxLength: 512
337337
338338 - `url: string`
339339
from line 489
489489
490490 - `title: optional string or null`
491491
492 maxLength: 500, minLength: 1
492 minLength: 1, maxLength: 500
493493
494494 - `BetaSearchResultBlockParam object`
495495
from line 553
553553
554554 - `name: string`
555555
556 maxLength: 200, minLength: 1
556 minLength: 1, maxLength: 200
557557
558558 - `cache_control: optional BetaCacheControlEphemeral or null`
559559
from line 589
589589
590590 For a toolset member tool_use, the toolset family this member belongs to.
591591
592 maxLength: 64, minLength: 1, pattern: ^[a-zA-Z0-9_-]+$
592 minLength: 1, maxLength: 64, pattern: ^[a-zA-Z0-9_-]+$
593593
594594 - `BetaToolResultBlockParam object`
595595
from line 625
625625
626626 - `tool_name: string`
627627
628 maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$
628 minLength: 1, maxLength: 256, pattern: ^[a-zA-Z0-9_-]{1,256}$
629629
630630 - `cache_control: optional BetaCacheControlEphemeral or null`
631631
from line 653
653653
654654 The caller-assigned identifier for this tab, unique within the inventory.
655655
656 maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
656 minLength: 1, maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
657657
658658 - `title: string`
659659
from line 679
679679
680680 Tabs opened and download state changes during this call. "Nothing to report" is expressed by omitting the field, never by an empty list.
681681
682 maxItems: 200, minItems: 1
682 minItems: 1, maxItems: 200
683683
684684 - `BetaBrowserStateChangeTabOpened object`
685685
from line 697
697697
698698 The `tab_id` of the opened tab, present in `tabs`.
699699
700 maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
700 minLength: 1, maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
701701
702702 - `BetaBrowserStateChangeDownloadStarted object`
703703
from line 709
709709
710710 The caller-assigned identifier for this download, stable across the state changes reporting it.
711711
712 maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
712 minLength: 1, maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
713713
714714 - `url: string`
715715
from line 730
730730
731731 The caller-assigned identifier for this download, stable across the state changes reporting it.
732732
733 maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
733 minLength: 1, maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
734734
735735 - `url: string`
736736
from line 742
742742
743743 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.
744744
745 pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$, maxLength: 4096
745 maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
746746
747747 - `size_bytes: optional number or null`
748748
from line 760
760760
761761 The caller-assigned identifier for this download, stable across the state changes reporting it.
762762
763 maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
763 minLength: 1, maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
764764
765765 - `url: string`
766766
from line 772
772772
773773 The failure or cancellation detail, when known.
774774
775 pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$, maxLength: 4096
775 maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
776776
777777 - `is_error: optional boolean`
778778
from line 780
780780
781781 For a toolset member tool_result, the toolset family of the paired tool_use.
782782
783 maxLength: 64, minLength: 1, pattern: ^[a-zA-Z0-9_-]+$
783 minLength: 1, maxLength: 64, pattern: ^[a-zA-Z0-9_-]+$
784784
785785 - `BetaServerToolUseBlockParam object`
786786
from line 1212
12121212
12131213 - `tool_name: string`
12141214
1215 maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$
1215 minLength: 1, maxLength: 256, pattern: ^[a-zA-Z0-9_-]{1,256}$
12161216
12171217 - `cache_control: optional BetaCacheControlEphemeral or null`
12181218
from line 1404
14041404
14051405 This is how the tool will be called by the model and in `tool_use` blocks.
14061406
1407 maxLength: 128, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,128}$
1407 minLength: 1, maxLength: 128, pattern: ^[a-zA-Z0-9_-]{1,128}$
14081408
14091409 - `allowed_callers: optional array of "direct" or "code_execution_20250825" or "code_execution_20260120" or "code_execution_20260521"`
14101410
from line 1655
16551655
16561656 - `configs: optional BetaBrowserToolsetConfigs or null`
16571657
1658 Per-member configuration for `browser_toolset_20260801`: one
1659 optional field per member tool, keyed by the member name — the same
1660 name the member's `tool_use` blocks carry. Every member is an
1661 accepted key, and a member's defaults apply wherever its key is
1662 absent. Unknown keys are rejected: the field set is this toolset
1663 version's complete member set.
1658 Sparse per-member overrides, keyed by member name. Absent, null, and {} are equivalent; a member's defaults apply wherever its key is absent.
16641659
16651660 - `type: optional BetaBrowserTypeConfig or null`
16661661
from line 2276
22812276
22822277 - `configs: optional BetaComputerToolsetConfigs or null`
22832278
2284 Per-member configuration for `computer_toolset_20260801`: one
2285 optional field per member tool, keyed by the member name — the same
2286 name the member's `tool_use` blocks carry. Every member is an
2287 accepted key, and a member's defaults apply wherever its key is
2288 absent. Unknown keys are rejected: the field set is this toolset
2289 version's complete member set.
2279 Sparse per-member overrides, keyed by member name. Absent, null, and {} are equivalent; a member's defaults apply wherever its key is absent.
22902280
22912281 - `type: optional BetaComputerTypeConfig or null`
22922282
from line 2630
26402630
26412631 Maximum number of times the tool can be used in the API request.
26422632
2643 exclusiveMinimum: 0
2633 minimum: 1
26442634
26452635 - `strict: optional boolean`
26462636
from line 2646
26562646
26572647 The city of the user.
26582648
2659 maxLength: 255, minLength: 1
2649 minLength: 1, maxLength: 255
26602650
26612651 - `country: optional string or null`
26622652
26632653 The two letter [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the user.
26642654
2665 maxLength: 2, minLength: 2
2655 minLength: 2, maxLength: 2
26662656
26672657 - `region: optional string or null`
26682658
26692659 The region of the user.
26702660
2671 maxLength: 255, minLength: 1
2661 minLength: 1, maxLength: 255
26722662
26732663 - `timezone: optional string or null`
26742664
26752665 The [IANA timezone](https://nodatime.org/TimeZones) of the user.
26762666
2677 maxLength: 255, minLength: 1
2667 minLength: 1, maxLength: 255
26782668
26792669 - `BetaWebFetchTool20250910 object`
26802670
from line 2710
27202710
27212711 Maximum number of tokens used by including web page text content in the context. The limit is approximate and does not apply to binary content such as PDFs.
27222712
2723 exclusiveMinimum: 0
2713 minimum: 1
27242714
27252715 - `max_uses: optional number or null`
27262716
27272717 Maximum number of times the tool can be used in the API request.
27282718
2729 exclusiveMinimum: 0
2719 minimum: 1
27302720
27312721 - `strict: optional boolean`
27322722
from line 2724
27342724
27352725 - `url_sources: optional BetaWebFetchURLSources or null`
27362726
2737 Which sources contribute to the set of URLs web fetch may fetch.
2727 Which sources contribute to the set of URLs the tool may fetch. Omitted means every source.
27382728
2739 Each key is a tagged variant: `user_input` is `all` or `none`; the
2740 two tool filters are `all`, `none`, `only` (only the named tools'
2741 results) or `except` (every result but the named tools'). A named tool
2742 must be declared in this request's `tools[]`.
2743
27442729 - `client_tool_results: optional BetaWebFetchURLSourceAll or BetaWebFetchURLSourceNone or BetaWebFetchURLSourceOnly or BetaWebFetchURLSourceExcept`
27452730
27462731 Which client tools' results contribute fetchable URLs: "all", "none", or an only or except list of client tool names from tools[].
from line 2848
28632848
28642849 Maximum number of times the tool can be used in the API request.
28652850
2866 exclusiveMinimum: 0
2851 minimum: 1
28672852
28682853 - `strict: optional boolean`
28692854
from line 2902
29172902
29182903 Maximum number of tokens used by including web page text content in the context. The limit is approximate and does not apply to binary content such as PDFs.
29192904
2920 exclusiveMinimum: 0
2905 minimum: 1
29212906
29222907 - `max_uses: optional number or null`
29232908
29242909 Maximum number of times the tool can be used in the API request.
29252910
2926 exclusiveMinimum: 0
2911 minimum: 1
29272912
29282913 - `strict: optional boolean`
29292914
from line 2916
29312916
29322917 - `url_sources: optional BetaWebFetchURLSources or null`
29332918
2934 Which sources contribute to the set of URLs web fetch may fetch.
2919 Which sources contribute to the set of URLs the tool may fetch. Omitted means every source.
29352920
2936 Each key is a tagged variant: `user_input` is `all` or `none`; the
2937 two tool filters are `all`, `none`, `only` (only the named tools'
2938 results) or `except` (every result but the named tools'). A named tool
2939 must be declared in this request's `tools[]`.
2940
29412921 - `BetaWebFetchTool20260309 object`
29422922
29432923 Web fetch tool with use_cache parameter for bypassing cached content.
from line 2964
29842964
29852965 Maximum number of tokens used by including web page text content in the context. The limit is approximate and does not apply to binary content such as PDFs.
29862966
2987 exclusiveMinimum: 0
2967 minimum: 1
29882968
29892969 - `max_uses: optional number or null`
29902970
29912971 Maximum number of times the tool can be used in the API request.
29922972
2993 exclusiveMinimum: 0
2973 minimum: 1
29942974
29952975 - `strict: optional boolean`
29962976
from line 2978
29982978
29992979 - `url_sources: optional BetaWebFetchURLSources or null`
30002980
3001 Which sources contribute to the set of URLs web fetch may fetch.
2981 Which sources contribute to the set of URLs the tool may fetch. Omitted means every source.
30022982
3003 Each key is a tagged variant: `user_input` is `all` or `none`; the
3004 two tool filters are `all`, `none`, `only` (only the named tools'
3005 results) or `except` (every result but the named tools'). A named tool
3006 must be declared in this request's `tools[]`.
3007
30082983 - `use_cache: optional boolean`
30092984
30102985 Whether to use cached content. Set to false to bypass the cache and fetch fresh content. Only set to false when the user explicitly requests fresh content or when fetching rapidly-changing sources.
from line 3024
30493024
30503025 Maximum number of times the tool can be used in the API request.
30513026
3052 exclusiveMinimum: 0
3027 minimum: 1
30533028
30543029 - `response_inclusion: optional "full" or "excluded"`
30553030
from line 3086
31113086
31123087 Maximum number of tokens used by including web page text content in the context. The limit is approximate and does not apply to binary content such as PDFs.
31133088
3114 exclusiveMinimum: 0
3089 minimum: 1
31153090
31163091 - `max_uses: optional number or null`
31173092
31183093 Maximum number of times the tool can be used in the API request.
31193094
3120 exclusiveMinimum: 0
3095 minimum: 1
31213096
31223097 - `response_inclusion: optional "full" or "excluded"`
31233098
from line 3108
31333108
31343109 - `url_sources: optional BetaWebFetchURLSources or null`
31353110
3136 Which sources contribute to the set of URLs web fetch may fetch.
3111 Which sources contribute to the set of URLs the tool may fetch. Omitted means every source.
31373112
3138 Each key is a tagged variant: `user_input` is `all` or `none`; the
3139 two tool filters are `all`, `none`, `only` (only the named tools'
3140 results) or `except` (every result but the named tools'). A named tool
3141 must be declared in this request's `tools[]`.
3142
31433113 - `use_cache: optional boolean`
31443114
31453115 Whether to use cached content. Set to false to bypass the cache and fetch fresh content. Only set to false when the user explicitly requests fresh content or when fetching rapidly-changing sources.
from line 3124
31543124
31553125 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
31563126
3127 - `string`
3128
31573129 - `"claude-fable-5-1" or "claude-opus-5-5" or "claude-mythos-5-1" or 15 more`
31583130
31593131 The model that will complete your prompt.
from line 3168
31963168
31973169 Powerful intelligence for long-running agents and coding
31983170
3199 - `"claude-mythos-preview"`
3200
3201 New class of intelligence, strongest in coding and cybersecurity
3202
32033171 - `"claude-opus-4-6"`
32043172
32053173 Powerful intelligence for long-running agents and coding
from line 3200
32323200
32333201 High-performance model for agents and coding
32343202
3235 - `string`
3203 - `"claude-mythos-preview"`
32363204
3205 **Deprecated**: Will reach end-of-life on June 30, 2026. Please migrate to claude-mythos-5. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.
3206
3207 New class of intelligence, strongest in coding and cybersecurity
3208
32373209 - `name: "advisor"`
32383210
32393211 Name of the tool.
from line 3244
32723244
32733245 Maximum number of times the tool can be used in the API request.
32743246
3275 exclusiveMinimum: 0
3247 minimum: 1
32763248
32773249 - `strict: optional boolean`
32783250
from line 3335
33633335
33643336 Name of the MCP server to configure tools for
33653337
3366 maxLength: 255, minLength: 1
3338 minLength: 1, maxLength: 255
33673339
33683340 - `cache_control: optional BetaCacheControlEphemeral or null`
33693341
from line 3445
34733445
34743446 The name of the MCP server this listing came from, as `mcp_servers` declares it.
34753447
3476 maxLength: 255, minLength: 1
3448 minLength: 1, maxLength: 255
34773449
34783450 - `tools: array of BetaMCPToolParam`
34793451
from line 3527
35553527
35563528 - `effort: optional "low" or "medium" or "high" or 2 more or null`
35573529
3558 All possible effort levels.
3530 How much effort the model should put into its response. Higher effort levels may result in more thorough analysis but take longer.
35593531
3532 Valid values are `low`, `medium`, `high`, `xhigh`, or `max`.
3533
35603534 - `"low"`
35613535
35623536 - `"medium"`
from line 3553
35793553
35803554 - `compaction: optional BetaCompactionConfig or null`
35813555
3582 Compact the whole conversation and return a signed `compaction` block,
3583 alone, that a later request sends back first in `messages`, in place of
3584 the messages it summarizes. There is no trigger and no pause flag: sending
3585 the parameter compacts, and nothing is sampled after the block.
3556 Compaction configuration.
35863557
3587 The summarization prompt is the server's own unless `instructions` are
3588 given, which then replace it for this request; a value that is empty or
3589 only whitespace counts as absent.
3558 When set on `POST /v1/messages`, the request is a compaction request: the conversation in `messages` is summarized and the response holds only the resulting `compaction` block (`stop_reason` `"compaction"`), which later requests send first in `messages` in place of the messages it summarizes. `POST /v1/messages/count_tokens` accepts this parameter and ignores it: the count it returns is for the conversation in `messages` as sent. Cannot be combined with `context_management`.
35903559
35913560 - `type: "summarize"`
35923561
from line 3595
36263595
36273596 Skill ID
36283597
3629 maxLength: 64, minLength: 1
3598 minLength: 1, maxLength: 64
36303599
36313600 - `version: optional string`
36323601
36333602 Skill version or 'latest' for most recent version
36343603
3635 maxLength: 64, minLength: 1
3604 minLength: 1, maxLength: 64
36363605
36373606 - `string`
36383607
from line 3615
36463615
36473616 List of context management edits to apply
36483617
3649 minItems: 0
3650
36513618 - `BetaClearToolUses20250919Edit object`
36523619
36533620 - `type: "clear_tool_uses_20250919"`
from line 3713
37463713
37473714 - `diagnostics: optional BetaDiagnosticsParam or null`
37483715
3749 Request-level diagnostics. Currently carries the previous response
3750 id for prompt-cache divergence reporting.
3716 Request-level diagnostics. Supply `previous_message_id` to have the response include `diagnostics.cache_miss_reason` explaining any prompt-cache divergence from that prior request.
37513717
37523718 - `previous_message_id: optional string or null`
37533719
from line 3760
37943760
37953761 The opaque `fallback_credit_token` from a prior refusal's `stop_details` — the same string the bare-string form carries.
37963762
3797 maxLength: 2048, minLength: 1
3763 minLength: 1, maxLength: 2048
37983764
37993765 - `mode: optional "strict" or "best_effort"`
38003766
from line 3788
38223788
38233789 - `effort: optional "low" or "medium" or "high" or 2 more or null`
38243790
3825 All possible effort levels.
3791 How much effort the model should put into its response. Higher effort levels may result in more thorough analysis but take longer.
38263792
3793 Valid values are `low`, `medium`, `high`, `xhigh`, or `max`.
3794
38273795 - `"low"`
38283796
38293797 - `"medium"`
from line 3814
38463814
38473815 - `task_budget: optional BetaTokenTaskBudget or null`
38483816
3849 User-configurable total token budget across contexts.
3817 Configuration for token budget tracking across contexts.
38503818
38513819 - `type: "tokens"`
38523820
from line 3858
38903858
38913859 - `block_binding: optional BetaThinkingBlockBinding or null`
38923860
3893 Controls for block binding: what happens when a thinking block this
3894 request sends back fails the conversation check. Every field is optional;
3895 an empty object means every default.
3861 Controls for block binding: what happens when a thinking block this request sends back fails the conversation check. `null`, absent or an empty object means every default.
38963862
38973863 - `prefix_mismatch_behavior: optional BetaThinkingPrefixMismatchBehavior or null`
38983864
3899 What happens when a thinking block in `messages` fails the conversation
3900 check: it was created in a different conversation, or the messages before
3901 it have changed since. `"error"` (the default) fails the request with a
3902 400 error. `"drop_block"` removes the failing blocks and the request
3903 proceeds; the model no longer sees the dropped reasoning.
3865 "error" (default) | "drop_block". What happens when a thinking block in `messages` fails the conversation check (it was created in a different conversation, or the messages before it have changed since). "error" fails the request with a 400 error. "drop_block" removes the failing blocks and the request proceeds; each removal is reported in `input_transformations`.
39043866
39053867 - `"error"`
39063868
from line 3888
39263888
39273889 - `block_binding: optional BetaThinkingBlockBinding or null`
39283890
3929 Controls for block binding: what happens when a thinking block this
3930 request sends back fails the conversation check. Every field is optional;
3931 an empty object means every default.
3891 Controls for block binding: what happens when a thinking block this request sends back fails the conversation check. `null`, absent or an empty object means every default.
39323892
39333893 - `display: optional "summarized" or "omitted" or "updates" or null`
39343894
from line 3954
39943954
39953955 - `speed: optional "standard" or "fast" or null`
39963956
3997 Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Not all models support `fast`; invalid combinations are rejected at create time.
3957 The inference speed mode for this request. `"fast"` enables high output-tokens-per-second inference.
39983958
39993959 - `"standard"`
40003960
from line 4223
42634223
42644224 Note that even with `temperature` of `0.0`, the results will not be fully deterministic.
42654225
4266 maximum: 1, minimum: 0
4226 minimum: 0, maximum: 1
42674227
42684228 - `top_k: optional number`
42694229
from line 4247
42874247
42884248 Recommended for advanced use cases only.
42894249
4290 maximum: 1, minimum: 0
4250 minimum: 0, maximum: 1
42914251
42924252### Returns
42934253
from line 4701
47414701
47424702 Defaults to `20`. Ranges from `1` to `1000`.
47434703
4744 default: 20, maximum: 1000, minimum: 1
4704 default: 20, minimum: 1, maximum: 1000
47454705
47464706### Headers
47474707
from line 5580
56205580
56215581 - `container: BetaContainer or null`
56225582
5623 Information about the container used in the request (for the code execution tool)
5583 Information about the container used in this request.
56245584
5585 This will be non-null if a container tool (e.g. code execution) was used.
5586
56255587 - `id: string`
56265588
56275589 Identifier for the container used in this request
from line 5610
56485610
56495611 Skill ID
56505612
5651 maxLength: 64, minLength: 1
5613 minLength: 1, maxLength: 64
56525614
56535615 - `version: string`
56545616
56555617 The resolved version: a skill version ID for custom skills.
56565618
5657 maxLength: 64, minLength: 1
5619 minLength: 1, maxLength: 64
56585620
56595621 - `content: array of BetaContentBlock`
56605622
from line 5789
58275789
58285790 - `text: string`
58295791
5830 minLength: 0
5831
58325792 - `BetaThinkingBlock object`
58335793
58345794 - `type: "thinking"`
from line 5867
59075867
59085868 For a toolset member tool_use, the toolset family.
59095869
5910 maxLength: 64, minLength: 1, pattern: ^[a-zA-Z0-9_-]+$
5870 minLength: 1, maxLength: 64, pattern: ^[a-zA-Z0-9_-]+$
59115871
59125872 - `BetaServerToolUseBlock object`
59135873
from line 6371
64116371
64126372 - `tool_name: string`
64136373
6414 maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$
6374 minLength: 1, maxLength: 256, pattern: ^[a-zA-Z0-9_-]{1,256}$
64156375
64166376 - `tool_use_id: string`
64176377
from line 6421
64616421
64626422 - `text: string`
64636423
6464 minLength: 0
6465
64666424 - `is_error: boolean`
64676425
64686426 default: false
from line 6558
66006558
66016559 This is how the tool will be called by the model and in `tool_use` blocks.
66026560
6603 maxLength: 128, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,128}$
6561 minLength: 1, maxLength: 128, pattern: ^[a-zA-Z0-9_-]{1,128}$
66046562
66056563 - `allowed_callers: optional array of "direct" or "code_execution_20250825" or "code_execution_20260120" or "code_execution_20260521"`
66066564
from line 6822
68646822
68656823 - `configs: optional BetaBrowserToolsetConfigs or null`
68666824
6867 Per-member configuration for `browser_toolset_20260801`: one
6868 optional field per member tool, keyed by the member name — the same
6869 name the member's `tool_use` blocks carry. Every member is an
6870 accepted key, and a member's defaults apply wherever its key is
6871 absent. Unknown keys are rejected: the field set is this toolset
6872 version's complete member set.
6825 Sparse per-member overrides, keyed by member name. Absent, null, and {} are equivalent; a member's defaults apply wherever its key is absent.
68736826
68746827 - `type: optional BetaBrowserTypeConfig or null`
68756828
from line 7284
73317284
73327285 - `BetaToolComputerUse20250124 object`
73337286
7334
7287 - `type: "computer_20250124"`
7288
7289 - `display_height_px: number`
7290
7291 The height of the display in pixels.
7292
7293 minimum: 1
7294
7295 - `display_width_px: number`
7296
7297 The width of the display in pixels.
7298
7299 minimum: 1
7300
7301 - `name: "computer"`
7302
7303 Name of the tool.
7304
7305 This is how the tool will be called by the model and in `tool_use` blocks.
7306
7307 - `allowed_callers: optional array of "direct" or "code_execution_20250825" or "code_execution_20260120" or "code_execution_20260521"`
7308
7309 - `"direct"`
7310
7311 - `"code_execution_20250825"`
7312
7313 - `"code_execution_20260120"`
7314
7315 - `"code_execution_20260521"`
7316
7317 - `cache_control: optional BetaCacheControlEphemeral or null`
7318
7319 Create a cache control breakpoint at this content block.
7320
7321 - `defer_loading: optional boolean`
7322
7323 If true, tool will not be included in initial system prompt. Only loaded when returned via tool_reference from tool search.
7324
7325 - `display_number: optional number or null`
7326
7327 The X11 display number (e.g. 0, 1) for the display.
7328
7329 minimum: 0
7330
7331 - `input_examples: optional array of map[unknown]`
7332
7333 - `strict: optional boolean`
7334
7335 When true, guarantees schema validation on tool names and inputs
7336
7337 - `BetaToolTextEditor20241022 object`
7338
7339 - `type: "text_editor_20241022"`
7340
7341 - `name: "str_replace_editor"`
7342
7343 Name of the tool.
7344
7345 This is how the tool will be called by the model and
No line in this hunk matches that.