Messages changedapi/messages
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+856added
Lines−987removed
From line
141
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits13to this page, all time
The whole hunk
from line 141, 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 141
141141
142142 - `document_title: string or null`
143143
144 maxLength: 500, minLength: 1
144 minLength: 1, maxLength: 500
145145
146146 - `end_char_index: number`
147147
from line 161
161161
162162 - `document_title: string or null`
163163
164 maxLength: 500, minLength: 1
164 minLength: 1, maxLength: 500
165165
166166 - `end_page_number: number`
167167
from line 185
185185
186186 - `document_title: string or null`
187187
188 maxLength: 500, minLength: 1
188 minLength: 1, maxLength: 500
189189
190190 - `end_block_index: number`
191191
from line 209
209209
210210 - `title: string or null`
211211
212 maxLength: 512, minLength: 1
212 minLength: 1, maxLength: 512
213213
214214 - `url: string`
215215
from line 365
365365
366366 - `title: optional string or null`
367367
368 maxLength: 500, minLength: 1
368 minLength: 1, maxLength: 500
369369
370370 - `SearchResultBlockParam object`
371371
from line 429
429429
430430 - `name: string`
431431
432 maxLength: 200, minLength: 1
432 minLength: 1, maxLength: 200
433433
434434 - `cache_control: optional CacheControlEphemeral or null`
435435
from line 465
465465
466466 For a toolset member tool_use, the toolset family this member belongs to.
467467
468 maxLength: 64, minLength: 1, pattern: ^[a-zA-Z0-9_-]+$
468 minLength: 1, maxLength: 64, pattern: ^[a-zA-Z0-9_-]+$
469469
470470 - `ToolResultBlockParam object`
471471
from line 501
501501
502502 - `tool_name: string`
503503
504 maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$
504 minLength: 1, maxLength: 256, pattern: ^[a-zA-Z0-9_-]{1,256}$
505505
506506 - `cache_control: optional CacheControlEphemeral or null`
507507
from line 529
529529
530530 The caller-assigned identifier for this tab, unique within the inventory.
531531
532 maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
532 minLength: 1, maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
533533
534534 - `title: string`
535535
from line 555
555555
556556 Tabs opened and download state changes during this call. "Nothing to report" is expressed by omitting the field, never by an empty list.
557557
558 maxItems: 200, minItems: 1
558 minItems: 1, maxItems: 200
559559
560560 - `BrowserStateChangeTabOpened object`
561561
from line 573
573573
574574 The `tab_id` of the opened tab, present in `tabs`.
575575
576 maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
576 minLength: 1, maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
577577
578578 - `BrowserStateChangeDownloadStarted object`
579579
from line 585
585585
586586 The caller-assigned identifier for this download, stable across the state changes reporting it.
587587
588 maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
588 minLength: 1, maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
589589
590590 - `url: string`
591591
from line 606
606606
607607 The caller-assigned identifier for this download, stable across the state changes reporting it.
608608
609 maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
609 minLength: 1, maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
610610
611611 - `url: string`
612612
from line 618
618618
619619 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.
620620
621 pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$, maxLength: 4096
621 maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
622622
623623 - `size_bytes: optional number or null`
624624
from line 636
636636
637637 The caller-assigned identifier for this download, stable across the state changes reporting it.
638638
639 maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
639 minLength: 1, maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
640640
641641 - `url: string`
642642
from line 648
648648
649649 The failure or cancellation detail, when known.
650650
651 pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$, maxLength: 4096
651 maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
652652
653653 - `is_error: optional boolean`
654654
from line 656
656656
657657 For a toolset member tool_result, the toolset family of the paired tool_use.
658658
659 maxLength: 64, minLength: 1, pattern: ^[a-zA-Z0-9_-]+$
659 minLength: 1, maxLength: 64, pattern: ^[a-zA-Z0-9_-]+$
660660
661661 - `ServerToolUseBlockParam object`
662662
from line 1034
10341034
10351035 - `tool_name: string`
10361036
1037 maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$
1037 minLength: 1, maxLength: 256, pattern: ^[a-zA-Z0-9_-]{1,256}$
10381038
10391039 - `cache_control: optional CacheControlEphemeral or null`
10401040
from line 1075
10751075
10761076 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
10771077
1078 - `string`
1079
10781080 - `"claude-fable-5-1" or "claude-opus-5-5" or "claude-mythos-5-1" or 15 more`
10791081
10801082 The model that will complete your prompt.
from line 1119
11171119
11181120 Powerful intelligence for long-running agents and coding
11191121
1120 - `"claude-mythos-preview"`
1121
1122 New class of intelligence, strongest in coding and cybersecurity
1123
11241122 - `"claude-opus-4-6"`
11251123
11261124 Powerful intelligence for long-running agents and coding
from line 1151
11531151
11541152 High-performance model for agents and coding
11551153
1156 - `string`
1154 - `"claude-mythos-preview"`
11571155
1156 **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.
1157
1158 New class of intelligence, strongest in coding and cybersecurity
1159
11581160- `cache_control: optional CacheControlEphemeral or null`
11591161
11601162 Top-level cache control automatically applies a cache_control marker to the last cacheable block in the request.
from line 1191
11891191
11901192 Skill ID
11911193
1192 maxLength: 64, minLength: 1
1194 minLength: 1, maxLength: 64
11931195
11941196 - `version: optional string`
11951197
11961198 Skill version or 'latest' for most recent version
11971199
1198 maxLength: 64, minLength: 1
1200 minLength: 1, maxLength: 64
11991201
12001202 - `string`
12011203
12021204- `diagnostics: optional DiagnosticsParam or null`
12031205
1204 Request-level diagnostics. Currently carries the previous response
1205 id for prompt-cache divergence reporting.
1206 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.
12061207
12071208 - `previous_message_id: optional string or null`
12081209
from line 1233
12321233
12331234 - `effort: optional "low" or "medium" or "high" or 2 more or null`
12341235
1235 All possible effort levels.
1236 How much effort the model should put into its response. Higher effort levels may result in more thorough analysis but take longer.
12361237
1238 Valid values are `low`, `medium`, `high`, `xhigh`, or `max`.
1239
12371240 - `"low"`
12381241
12391242 - `"medium"`
from line 1485
14821485
14831486 This is how the tool will be called by the model and in `tool_use` blocks.
14841487
1485 maxLength: 128, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,128}$
1488 minLength: 1, maxLength: 128, pattern: ^[a-zA-Z0-9_-]{1,128}$
14861489
14871490 - `allowed_callers: optional array of "direct" or "code_execution_20250825" or "code_execution_20260120" or "code_execution_20260521"`
14881491
from line 1702
16991702
17001703 - `configs: optional BrowserToolsetConfigs or null`
17011704
1702 Per-member configuration for `browser_toolset_20260801`: one
1703 optional field per member tool, keyed by the member name — the same
1704 name the member's `tool_use` blocks carry. Every member is an
1705 accepted key, and a member's defaults apply wherever its key is
1706 absent. Unknown keys are rejected: the field set is this toolset
1707 version's complete member set.
1705 Sparse per-member overrides, keyed by member name. Absent, null, and {} are equivalent; a member's defaults apply wherever its key is absent.
17081706
17091707 - `type: optional BrowserTypeConfig or null`
17101708
from line 2129
21312129
21322130 - `configs: optional ComputerToolsetConfigs or null`
21332131
2134 Per-member configuration for `computer_toolset_20260801`: one
2135 optional field per member tool, keyed by the member name — the same
2136 name the member's `tool_use` blocks carry. Every member is an
2137 accepted key, and a member's defaults apply wherever its key is
2138 absent. Unknown keys are rejected: the field set is this toolset
2139 version's complete member set.
2132 Sparse per-member overrides, keyed by member name. Absent, null, and {} are equivalent; a member's defaults apply wherever its key is absent.
21402133
21412134 - `type: optional ComputerTypeConfig or null`
21422135
from line 2483
24902483
24912484 Maximum number of times the tool can be used in the API request.
24922485
2493 exclusiveMinimum: 0
2486 minimum: 1
24942487
24952488 - `strict: optional boolean`
24962489
from line 2499
25062499
25072500 The city of the user.
25082501
2509 maxLength: 255, minLength: 1
2502 minLength: 1, maxLength: 255
25102503
25112504 - `country: optional string or null`
25122505
25132506 The two letter [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the user.
25142507
2515 maxLength: 2, minLength: 2
2508 minLength: 2, maxLength: 2
25162509
25172510 - `region: optional string or null`
25182511
25192512 The region of the user.
25202513
2521 maxLength: 255, minLength: 1
2514 minLength: 1, maxLength: 255
25222515
25232516 - `timezone: optional string or null`
25242517
25252518 The [IANA timezone](https://nodatime.org/TimeZones) of the user.
25262519
2527 maxLength: 255, minLength: 1
2520 minLength: 1, maxLength: 255
25282521
25292522 - `WebFetchTool20250910 object`
25302523
from line 2563
25702563
25712564 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.
25722565
2573 exclusiveMinimum: 0
2566 minimum: 1
25742567
25752568 - `max_uses: optional number or null`
25762569
25772570 Maximum number of times the tool can be used in the API request.
25782571
2579 exclusiveMinimum: 0
2572 minimum: 1
25802573
25812574 - `strict: optional boolean`
25822575
from line 2577
25842577
25852578 - `url_sources: optional WebFetchURLSources or null`
25862579
2587 Which sources contribute to the set of URLs web fetch may fetch.
2580 Which sources contribute to the set of URLs the tool may fetch. Omitted means every source.
25882581
2589 Each key is a tagged variant: `user_input` is `all` or `none`; the
2590 two tool filters are `all`, `none`, `only` (only the named tools'
2591 results) or `except` (every result but the named tools'). A named tool
2592 must be declared in this request's `tools[]`.
2593
25942582 - `client_tool_results: optional WebFetchURLSourceAll or WebFetchURLSourceNone or WebFetchURLSourceOnly or WebFetchURLSourceExcept`
25952583
25962584 Which client tools' results contribute fetchable URLs: "all", "none", or an only or except list of client tool names from tools[].
from line 2701
27132701
27142702 Maximum number of times the tool can be used in the API request.
27152703
2716 exclusiveMinimum: 0
2704 minimum: 1
27172705
27182706 - `strict: optional boolean`
27192707
from line 2755
27672755
27682756 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.
27692757
2770 exclusiveMinimum: 0
2758 minimum: 1
27712759
27722760 - `max_uses: optional number or null`
27732761
27742762 Maximum number of times the tool can be used in the API request.
27752763
2776 exclusiveMinimum: 0
2764 minimum: 1
27772765
27782766 - `strict: optional boolean`
27792767
from line 2769
27812769
27822770 - `url_sources: optional WebFetchURLSources or null`
27832771
2784 Which sources contribute to the set of URLs web fetch may fetch.
2772 Which sources contribute to the set of URLs the tool may fetch. Omitted means every source.
27852773
2786 Each key is a tagged variant: `user_input` is `all` or `none`; the
2787 two tool filters are `all`, `none`, `only` (only the named tools'
2788 results) or `except` (every result but the named tools'). A named tool
2789 must be declared in this request's `tools[]`.
2790
27912774 - `WebFetchTool20260309 object`
27922775
27932776 Web fetch tool with use_cache parameter for bypassing cached content.
from line 2817
28342817
28352818 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.
28362819
2837 exclusiveMinimum: 0
2820 minimum: 1
28382821
28392822 - `max_uses: optional number or null`
28402823
28412824 Maximum number of times the tool can be used in the API request.
28422825
2843 exclusiveMinimum: 0
2826 minimum: 1
28442827
28452828 - `strict: optional boolean`
28462829
from line 2831
28482831
28492832 - `url_sources: optional WebFetchURLSources or null`
28502833
2851 Which sources contribute to the set of URLs web fetch may fetch.
2834 Which sources contribute to the set of URLs the tool may fetch. Omitted means every source.
28522835
2853 Each key is a tagged variant: `user_input` is `all` or `none`; the
2854 two tool filters are `all`, `none`, `only` (only the named tools'
2855 results) or `except` (every result but the named tools'). A named tool
2856 must be declared in this request's `tools[]`.
2857
28582836 - `use_cache: optional boolean`
28592837
28602838 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 2877
28992877
29002878 Maximum number of times the tool can be used in the API request.
29012879
2902 exclusiveMinimum: 0
2880 minimum: 1
29032881
29042882 - `response_inclusion: optional "full" or "excluded"`
29052883
from line 2939
29612939
29622940 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.
29632941
2964 exclusiveMinimum: 0
2942 minimum: 1
29652943
29662944 - `max_uses: optional number or null`
29672945
29682946 Maximum number of times the tool can be used in the API request.
29692947
2970 exclusiveMinimum: 0
2948 minimum: 1
29712949
29722950 - `response_inclusion: optional "full" or "excluded"`
29732951
from line 2961
29832961
29842962 - `url_sources: optional WebFetchURLSources or null`
29852963
2986 Which sources contribute to the set of URLs web fetch may fetch.
2964 Which sources contribute to the set of URLs the tool may fetch. Omitted means every source.
29872965
2988 Each key is a tagged variant: `user_input` is `all` or `none`; the
2989 two tool filters are `all`, `none`, `only` (only the named tools'
2990 results) or `except` (every result but the named tools'). A named tool
2991 must be declared in this request's `tools[]`.
2992
29932966 - `use_cache: optional boolean`
29942967
29952968 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 3049
30763049
30773050 Note that even with `temperature` of `0.0`, the results will not be fully deterministic.
30783051
3079 maximum: 1, minimum: 0
3052 minimum: 0, maximum: 1
30803053
30813054- `top_k: optional number`
30823055
from line 3073
31003073
31013074 Recommended for advanced use cases only.
31023075
3103 maximum: 1, minimum: 0
3076 minimum: 0, maximum: 1
31043077
31053078### Returns
31063079
from line 3095
31223095
31233096 - `container: Container or null`
31243097
3125 Information about the container used in the request (for the code execution tool)
3098 Information about the container used in this request.
31263099
3100 This will be non-null if a container tool (e.g. code execution) was used.
3101
31273102 - `id: string`
31283103
31293104 Identifier for the container used in this request
from line 3125
31503125
31513126 Skill ID
31523127
3153 maxLength: 64, minLength: 1
3128 minLength: 1, maxLength: 64
31543129
31553130 - `version: string`
31563131
31573132 The resolved version: a skill version ID for custom skills.
31583133
3159 maxLength: 64, minLength: 1
3134 minLength: 1, maxLength: 64
31603135
31613136 - `content: array of ContentBlock`
31623137
from line 3304
33293304
33303305 - `text: string`
33313306
3332 minLength: 0
3333
33343307 - `ThinkingBlock object`
33353308
33363309 - `type: "thinking"`
from line 3384
34113384
34123385 For a toolset member tool_use, the toolset family.
34133386
3414 maxLength: 64, minLength: 1, pattern: ^[a-zA-Z0-9_-]+$
3387 minLength: 1, maxLength: 64, pattern: ^[a-zA-Z0-9_-]+$
34153388
34163389 - `ServerToolUseBlock object`
34173390
from line 3832
38593832
38603833 - `tool_name: string`
38613834
3862 maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$
3835 minLength: 1, maxLength: 256, pattern: ^[a-zA-Z0-9_-]{1,256}$
38633836
38643837 - `tool_use_id: string`
38653838
from line 3850
38773850
38783851 - `diagnostics: Diagnostics or null`
38793852
3880 Request-level diagnostics: why the prompt cache could not fully reuse
3881 the prefix of the request named by `diagnostics.previous_message_id`.
3853 Request-level diagnostics. `null` when the request did not supply `diagnostics`, or when it did and no prompt-cache divergence was detected.
38823854
38833855 - `cache_miss_reason: CacheMissReason or null`
38843856
from line 3914
39423914
39433915 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
39443916
3917 - `string`
3918
39453919 - `"claude-fable-5-1" or "claude-opus-5-5" or "claude-mythos-5-1" or 15 more`
39463920
39473921 The model that will complete your prompt.
from line 3958
39843958
39853959 Powerful intelligence for long-running agents and coding
39863960
3987 - `"claude-mythos-preview"`
3988
3989 New class of intelligence, strongest in coding and cybersecurity
3990
39913961 - `"claude-opus-4-6"`
39923962
39933963 Powerful intelligence for long-running agents and coding
from line 3990
40203990
40213991 High-performance model for agents and coding
40223992
4023 - `string`
3993 - `"claude-mythos-preview"`
40243994
3995 **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.
3996
3997 New class of intelligence, strongest in coding and cybersecurity
3998
40253999 - `role: "assistant"`
40264000
40274001 Conversational role of the generated message.
from line 4006
40324006
40334007 - `stop_details: RefusalStopDetails or null`
40344008
4035 Structured information about a refusal.
4009 Structured information about why model output stopped.
40364010
4011 This is `null` when the `stop_reason` has no additional detail to report.
4012
40374013 - `type: "refusal"`
40384014
40394015 default: refusal
from line 4016
40404016
40414017 - `category: "cyber" or "bio" or "frontier_llm" or 2 more or null`
40424018
4043 The policy category that triggered a refusal.
4019 The policy category that triggered the refusal.
40444020
4021 `null` when the refusal doesn't map to a named category.
4022
40454023 - `"cyber"`
40464024
40474025 The request could enable cyber harm, such as malware or exploit development. Benign cybersecurity work can also trigger this category.
from line 4206
42284206
42294207 - `container: Container or null`
42304208
4231 Information about the container used in the request (for the code execution tool)
4209 Information about the container used in this request.
42324210
4211 This will be non-null if a container tool (e.g. code execution) was used.
4212
42334213 - `stop_details: RefusalStopDetails or null`
42344214
4235 Structured information about a refusal.
4215 Structured information about why model output stopped.
42364216
4217 This is `null` when the `stop_reason` has no additional detail to report.
4218
42374219 - `stop_reason: StopReason or null`
42384220
42394221 - `stop_sequence: string or null`
from line 4624
46424624
46434625 - `document_title: string or null`
46444626
4645 maxLength: 500, minLength: 1
4627 minLength: 1, maxLength: 500
46464628
46474629 - `end_char_index: number`
46484630
from line 4644
46624644
46634645 - `document_title: string or null`
46644646
4665 maxLength: 500, minLength: 1
4647 minLength: 1, maxLength: 500
46664648
46674649 - `end_page_number: number`
46684650
from line 4668
46864668
46874669 - `document_title: string or null`
46884670
4689 maxLength: 500, minLength: 1
4671 minLength: 1, maxLength: 500
46904672
46914673 - `end_block_index: number`
46924674
from line 4692
47104692
47114693 - `title: string or null`
47124694
4713 maxLength: 512, minLength: 1
4695 minLength: 1, maxLength: 512
47144696
47154697 - `url: string`
47164698
from line 4848
48664848
48674849 - `title: optional string or null`
48684850
4869 maxLength: 500, minLength: 1
4851 minLength: 1, maxLength: 500
48704852
48714853 - `SearchResultBlockParam object`
48724854
from line 4912
49304912
49314913 - `name: string`
49324914
4933 maxLength: 200, minLength: 1
4915 minLength: 1, maxLength: 200
49344916
49354917 - `cache_control: optional CacheControlEphemeral or null`
49364918
from line 4948
49664948
49674949 For a toolset member tool_use, the toolset family this member belongs to.
49684950
4969 maxLength: 64, minLength: 1, pattern: ^[a-zA-Z0-9_-]+$
4951 minLength: 1, maxLength: 64, pattern: ^[a-zA-Z0-9_-]+$
49704952
49714953 - `ToolResultBlockParam object`
49724954
from line 4984
50024984
50034985 - `tool_name: string`
50044986
5005 maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$
4987 minLength: 1, maxLength: 256, pattern: ^[a-zA-Z0-9_-]{1,256}$
50064988
50074989 - `cache_control: optional CacheControlEphemeral or null`
50084990
from line 5012
50305012
50315013 The caller-assigned identifier for this tab, unique within the inventory.
50325014
5033 maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
5015 minLength: 1, maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
50345016
50355017 - `title: string`
50365018
from line 5038
50565038
50575039 Tabs opened and download state changes during this call. "Nothing to report" is expressed by omitting the field, never by an empty list.
50585040
5059 maxItems: 200, minItems: 1
5041 minItems: 1, maxItems: 200
50605042
50615043 - `BrowserStateChangeTabOpened object`
50625044
from line 5056
50745056
50755057 The `tab_id` of the opened tab, present in `tabs`.
50765058
5077 maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
5059 minLength: 1, maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
50785060
50795061 - `BrowserStateChangeDownloadStarted object`
50805062
from line 5068
50865068
50875069 The caller-assigned identifier for this download, stable across the state changes reporting it.
50885070
5089 maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
5071 minLength: 1, maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
50905072
50915073 - `url: string`
50925074
from line 5089
51075089
51085090 The caller-assigned identifier for this download, stable across the state changes reporting it.
51095091
5110 maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
5092 minLength: 1, maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
51115093
51125094 - `url: string`
51135095
from line 5101
51195101
51205102 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.
51215103
5122 pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$, maxLength: 4096
5104 maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
51235105
51245106 - `size_bytes: optional number or null`
51255107
from line 5119
51375119
51385120 The caller-assigned identifier for this download, stable across the state changes reporting it.
51395121
5140 maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
5122 minLength: 1, maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
51415123
51425124 - `url: string`
51435125
from line 5131
51495131
51505132 The failure or cancellation detail, when known.
51515133
5152 pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$, maxLength: 4096
5134 maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
51535135
51545136 - `is_error: optional boolean`
51555137
from line 5139
51575139
51585140 For a toolset member tool_result, the toolset family of the paired tool_use.
51595141
5160 maxLength: 64, minLength: 1, pattern: ^[a-zA-Z0-9_-]+$
5142 minLength: 1, maxLength: 64, pattern: ^[a-zA-Z0-9_-]+$
51615143
51625144 - `ServerToolUseBlockParam object`
51635145
from line 5517
55355517
55365518 - `tool_name: string`
55375519
5538 maxLength: 256, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,256}$
5520 minLength: 1, maxLength: 256, pattern: ^[a-zA-Z0-9_-]{1,256}$
55395521
55405522 - `cache_control: optional CacheControlEphemeral or null`
55415523
from line 5558
55765558
55775559 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
55785560
5561 - `string`
5562
55795563 - `"claude-fable-5-1" or "claude-opus-5-5" or "claude-mythos-5-1" or 15 more`
55805564
55815565 The model that will complete your prompt.
from line 5602
56185602
56195603 Powerful intelligence for long-running agents and coding
56205604
5621 - `"claude-mythos-preview"`
5622
5623 New class of intelligence, strongest in coding and cybersecurity
5624
56255605 - `"claude-opus-4-6"`
56265606
56275607 Powerful intelligence for long-running agents and coding
from line 5634
56545634
56555635 High-performance model for agents and coding
56565636
5657 - `string`
5637 - `"claude-mythos-preview"`
56585638
5639 **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.
5640
5641 New class of intelligence, strongest in coding and cybersecurity
5642
56595643- `cache_control: optional CacheControlEphemeral or null`
56605644
56615645 Top-level cache control automatically applies a cache_control marker to the last cacheable block in the request.
from line 5650
56665650
56675651 - `effort: optional "low" or "medium" or "high" or 2 more or null`
56685652
5669 All possible effort levels.
5653 How much effort the model should put into its response. Higher effort levels may result in more thorough analysis but take longer.
56705654
5655 Valid values are `low`, `medium`, `high`, `xhigh`, or `max`.
5656
56715657 - `"low"`
56725658
56735659 - `"medium"`
from line 5878
58925878
58935879 This is how the tool will be called by the model and in `tool_use` blocks.
58945880
5895 maxLength: 128, minLength: 1, pattern: ^[a-zA-Z0-9_-]{1,128}$
5881 minLength: 1, maxLength: 128, pattern: ^[a-zA-Z0-9_-]{1,128}$
58965882
58975883 - `allowed_callers: optional array of "direct" or "code_execution_20250825" or "code_execution_20260120" or "code_execution_20260521"`
58985884
from line 6095
61096095
61106096 - `configs: optional BrowserToolsetConfigs or null`
61116097
6112 Per-member configuration for `browser_toolset_20260801`: one
6113 optional field per member tool, keyed by the member name — the same
6114 name the member's `tool_use` blocks carry. Every member is an
6115 accepted key, and a member's defaults apply wherever its key is
6116 absent. Unknown keys are rejected: the field set is this toolset
6117 version's complete member set.
6098 Sparse per-member overrides, keyed by member name. Absent, null, and {} are equivalent; a member's defaults apply wherever its key is absent.
61186099
61196100 - `type: optional BrowserTypeConfig or null`
61206101
from line 6522
65416522
65426523 - `configs: optional ComputerToolsetConfigs or null`
65436524
6544 Per-member configuration for `computer_toolset_20260801`: one
6545 optional field per member tool, keyed by the member name — the same
6546 name the member's `tool_use` blocks carry. Every member is an
6547 accepted key, and a member's defaults apply wherever its key is
6548 absent. Unknown keys are rejected: the field set is this toolset
6549 version's complete member set.
6525 Sparse per-member overrides, keyed by member name. Absent, null, and {} are equivalent; a member's defaults apply wherever its key is absent.
65506526
65516527 - `type: optional ComputerTypeConfig or null`
65526528
from line 6876
69006876
69016877 Maximum number of times the tool can be used in the API request.
69026878
6903 exclusiveMinimum: 0
6879 minimum: 1
69046880
69056881 - `strict: optional boolean`
69066882
from line 6892
69166892
69176893 The city of the user.
69186894
6919 maxLength: 255, minLength: 1
6895 minLength: 1, maxLength: 255
69206896
69216897 - `country: optional string or null`
69226898
69236899 The two letter [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the user.
69246900
6925 maxLength: 2, minLength: 2
6901 minLength: 2, maxLength: 2
69266902
69276903 - `region: optional string or null`
69286904
69296905 The region of the user.
69306906
6931 maxLength: 255, minLength: 1
6907 minLength: 1, maxLength: 255
69326908
69336909 - `timezone: optional string or null`
69346910
69356911 The [IANA timezone](https://nodatime.org/TimeZones) of the user.
69366912
6937 maxLength: 255, minLength: 1
6913 minLength: 1, maxLength: 255
69386914
69396915 - `WebFetchTool20250910 object`
69406916
from line 6956
69806956
69816957 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.
69826958
6983 exclusiveMinimum: 0
6959 minimum: 1
69846960
69856961 - `max_uses: optional number or null`
69866962
69876963 Maximum number of times the tool can be used in the API request.
69886964
6989 exclusiveMinimum: 0
6965 minimum: 1
69906966
69916967 - `strict: optional boolean`
69926968
from line 6970
69946970
69956971 - `url_sources: optional WebFetchURLSources or null`
69966972
6997 Which sources contribute to the set of URLs web fetch may fetch.
6973 Which sources contribute to the set of URLs the tool may fetch. Omitted means every source.
69986974
6999 Each key is a tagged variant: `user_input` is `all` or `none`; the
7000 two tool filters are `all`, `none`, `only` (only the named tools'
7001 results) or `except` (every result but the named tools'). A named tool
7002 must be declared in this request's `tools[]`.
7003
70046975 - `client_tool_results: optional WebFetchURLSourceAll or WebFetchURLSourceNone or WebFetchURLSourceOnly or WebFetchURLSourceExcept`
70056976
70066977 Which client tools' results contribute fetchable URLs: "all", "none", or an only or except list of client tool names from tools[].
from line 7094
71237094
71247095 Maximum number of times the tool can be used in the API request.
71257096
7126 exclusiveMinimum: 0
7097 minimum: 1
71277098
71287099 - `strict: optional boolean`
71297100
from line 7148
71777148
71787149 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.
71797150
7180 exclusiveMinimum: 0
7151 minimum: 1
71817152
71827153 - `max_uses: optional number or null`
71837154
71847155 Maximum number of times the tool can be used in the API request.
71857156
7186 exclusiveMinimum: 0
7157 minimum: 1
71877158
71887159 - `strict: optional boolean`
71897160
from line 7162
71917162
71927163 - `url_sources: optional WebFetchURLSources or null`
71937164
7194 Which sources contribute to the set of URLs web fetch may fetch.
7165 Which sources contribute to the set of URLs the tool may fetch. Omitted means every source.
71957166
7196 Each key is a tagged variant: `user_input` is `all` or `none`; the
7197 two tool filters are `all`, `none`, `only` (only the named tools'
7198 results) or `except` (every result but the named tools'). A named tool
7199 must be declared in this request's `tools[]`.
7200
72017167 - `WebFetchTool20260309 object`
72027168
72037169 Web fetch tool with use_cache parameter for bypassing cached content.
from line 7210
72447210
72457211 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.
72467212
7247 exclusiveMinimum: 0
7213 minimum: 1
72487214
72497215 - `max_uses: optional number or null`
72507216
72517217 Maximum number of times the tool can be used in the API request.
72527218
7253 exclusiveMinimum: 0
7219 minimum: 1
72547220
72557221 - `strict: optional boolean`
72567222
from line 7224
72587224
72597225 - `url_sources: optional WebFetchURLSources or null`
72607226
7261 Which sources contribute to the set of URLs web fetch may fetch.
7227 Which sources contribute to the set of URLs the tool may fetch. Omitted means every source.
72627228
7263 Each key is a tagged variant: `user_input` is `all` or `none`; the
7264 two tool filters are `all`, `none`, `only` (only the named tools'
7265 results) or `except` (every result but the named tools'). A named tool
7266 must be declared in this request's `tools[]`.
7267
72687229 - `use_cache: optional boolean`
72697230
72707231 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 7270
73097270
73107271 Maximum number of times the tool can be used in the API request.
73117272
7312 exclusiveMinimum: 0
7273 minimum: 1
73137274
73147275 - `response_inclusion: optional "full" or "excluded"`
73157276
from line 7332
73717332
73727333 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.
73737334
7374 exclusiveMinimum: 0
7335 minimum: 1
73757336
73767337 - `max_uses: optional number or null`
73777338
73787339 Maximum number of times the tool can be used in the API request.
73797340
7380 exclusiveMinimum: 0
7341 minimum: 1
73817342
73827343 - `response_inclusion: optional "full" or "excluded"`
73837344
from line 7354
73937354
73947355 - `url_sources: optional WebFetchURLSources or null`
73957356
7396 Which sources contribute to the set of URLs web fetch may fetch.
7357 Which sources contribute to the set of URLs the tool may fetch. Omitted means every source.
73977358
7398 Each key is a tagged variant: `user_input` is `all` or `none`; the
7399 two tool filters are `all`, `none`, `only` (only the named tools'
7400 results) or `except` (every result but the named tools'). A named tool
7401 must be declared in this request's `tools[]`.
7402
74037359 - `use_cache: optional boolean`
74047360
74057361 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 8139
81838139
81848140 The caller-assigned identifier for this tab, unique within the inventory.
81858141
8186 maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
8142 minLength: 1, maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
81878143
81888144 - `title: string`
81898145
from line 8182
82268182
82278183 Tabs opened and download state changes during this call. "Nothing to report" is expressed by omitting the field, never by an empty list.
82288184
8229 maxItems: 200, minItems: 1
8185 minItems: 1, maxItems: 200
82308186
82318187 - `BrowserStateChangeTabOpened object`
82328188
from line 8200
82448200
82458201 The `tab_id` of the opened tab, present in `tabs`.
82468202
8247 maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
8203 minLength: 1, maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
82488204
82498205 - `BrowserStateChangeDownloadStarted object`
82508206
from line 8212
82568212
82578213 The caller-assigned identifier for this download, stable across the state changes reporting it.
82588214
8259 maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
8215 minLength: 1, maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
82608216
82618217 - `url: string`
82628218
from line 8233
82778233
82788234 The caller-assigned identifier for this download, stable across the state changes reporting it.
82798235
8280 maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
8236 minLength: 1, maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
82818237
82828238 - `url: string`
82838239
from line 8245
82898245
82908246 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.
82918247
8292 pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$, maxLength: 4096
8248 maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
82938249
82948250 - `size_bytes: optional number or null`
82958251
from line 8263
83078263
83088264 The caller-assigned identifier for this download, stable across the state changes reporting it.
83098265
8310 maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
8266 minLength: 1, maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
83118267
83128268 - `url: string`
83138269
from line 8275
83198275
83208276 The failure or cancellation detail, when known.
83218277
8322 pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$, maxLength: 4096
8278 maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
83238279
83248280### Browser State Change
83258281
from line 8297
83418297
83428298 The `tab_id` of the opened tab, present in `tabs`.
83438299
8344 maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
8300 minLength: 1, maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
83458301
83468302 - `BrowserStateChangeDownloadStarted object`
83478303
from line 8309
83538309
83548310 The caller-assigned identifier for this download, stable across the state changes reporting it.
83558311
8356 maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
8312 minLength: 1, maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
83578313
83588314 - `url: string`
83598315
from line 8330
83748330
83758331 The caller-assigned identifier for this download, stable across the state changes reporting it.
83768332
8377 maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
8333 minLength: 1, maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
83788334
83798335 - `url: string`
83808336
from line 8342
83868342
83878343 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.
83888344
8389 pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$, maxLength: 4096
8345 maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
83908346
83918347 - `size_bytes: optional number or null`
83928348
from line 8360
84048360
84058361 The caller-assigned identifier for this download, stable across the state changes reporting it.
84068362
8407 maxLength: 4096, minLength: 1, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
8363 minLength: 1, maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
84088364
8409
8365 - `url: string`
8366
8367 The final post-redirect URL the download was served from.
8368
8369 maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
8370
8371 - `error: optional string or null`
8372
8373 The failure or cancellation detail, when known.
8374
8375 maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
8376
8377### Browser State Change Download Completed
8378
8379- `BrowserStateChangeDownloadCompleted object`
8380
8381 A file download that finished during this call, reported with the
8382 same `download_id` as its `download_started` — or without a prior
8383 `download_started`, when the download finished during the call that
8384 started it (at most one state change per `download_id` per result).
8385
8386 - `type: "download_completed"`
8387
8388 - `download_id: string`
8389
8390 The caller-assigned identifier for this download, stable across the state changes reporting it.
8391
8392 minLength: 1, maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
8393
8394 - `url: string`
8395
8396 The final post-redirect URL the download was served from.
8397
8398 maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
8399
8400 - `path: optional string or null`
8401
8402 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.
8403
8404 maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x9f\u2028\u2029]*$
8405
8406 - `size_bytes: optional number or null`
8407
8408 The completed download's size.
8409
8410 minimum: 0
8411
8412### Browser State Change Download Failed
8413
8414- `BrowserStateChangeDownloadFailed object`
8415
8416 A file download that failed — or was cancelled — during this call.
8417
8418 - `type: "download_failed"`
8419
8420 - `download_id: string`
8421
8422 The caller-assigned identifier for this download, stable across the state changes reporting it.
8423
8424 minLength: 1, maxLength: 4096, pattern: ^[^\x00-\x1f\x7f-\x
No line in this hunk matches that.