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 726
726726
727727 - `page_age: optional string or null`
728728
729 - `WebSearchToolRequestError object`
729 - `WebSearchToolRequestErrorObject object`
730730
731731 - `type: "web_search_tool_result_error"`
732732
from line 3472
34723472
34733473 - `content: WebSearchToolResultBlockContent`
34743474
3475 - `WebSearchToolResultError object`
3475 - `WebSearchToolResultErrorObject object`
34763476
34773477 - `type: "web_search_tool_result_error"`
34783478
from line 3624
36243624
36253625 - `content: CodeExecutionToolResultBlockContent`
36263626
3627 - `CodeExecutionToolResultError object`
3627 - `CodeExecutionToolResultErrorObject object`
36283628
36293629 - `type: "code_execution_tool_result_error"`
36303630
from line 3696
36963696
36973697 default: bash_code_execution_tool_result
36983698
3699 - `content: BashCodeExecutionToolResultError or BashCodeExecutionResultBlock`
3699 - `content: BashCodeExecutionToolResultErrorObject or BashCodeExecutionResultBlock`
37003700
3701 - `BashCodeExecutionToolResultError object`
3701 - `BashCodeExecutionToolResultErrorObject object`
37023702
37033703 - `type: "bash_code_execution_tool_result_error"`
37043704
from line 3746
37463746
37473747 default: text_editor_code_execution_tool_result
37483748
3749 - `content: TextEditorCodeExecutionToolResultError or TextEditorCodeExecutionViewResultBlock or TextEditorCodeExecutionCreateResultBlock or TextEditorCodeExecutionStrReplaceResultBlock`
3749 - `content: TextEditorCodeExecutionToolResultErrorObject or TextEditorCodeExecutionViewResultBlock or TextEditorCodeExecutionCreateResultBlock or TextEditorCodeExecutionStrReplaceResultBlock`
37503750
3751 - `TextEditorCodeExecutionToolResultError object`
3751 - `TextEditorCodeExecutionToolResultErrorObject object`
37523752
37533753 - `type: "text_editor_code_execution_tool_result_error"`
37543754
from line 3824
38243824
38253825 default: tool_search_tool_result
38263826
3827 - `content: ToolSearchToolResultError or ToolSearchToolSearchResultBlock`
3827 - `content: ToolSearchToolResultErrorObject or ToolSearchToolSearchResultBlock`
38283828
3829 - `ToolSearchToolResultError object`
3829 - `ToolSearchToolResultErrorObject object`
38303830
38313831 - `type: "tool_search_tool_result_error"`
38323832
from line 4512
45124512
45134513 The `compaction` block's `tool_changes` differs from what was returned with the block.
45144514
4515- `image_dimensions_too_large` (HTTP status 400)
4516
4517 The longest side of one or more images in the request exceeds the image size limit. Scale each image in `paths` so that neither side exceeds `max_side_length_pixels`, or remove it, then retry.
4518
45154519- `organization_on_hold` (HTTP status 400)
45164520
45174521 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
from line 4552
45484552
45494553 A tool change or MCP tool listing references a tool or MCP server that is not defined at that position in the conversation.
45504554
4555- `user_profile_required` (HTTP status 400)
4556
4557 The request sets `billing_policy.bill_to` to `"user_profile"` but names no user profile. Name the profile to bill in the `anthropic-user-profile-id` header.
4558
4559- `linked_organization_billing_unavailable` (HTTP status 402)
4560
4561 Anthropic cannot currently bill the organization linked to the request's user profile, for a reason that lies with that organization's own account. The response does not say what the reason is.
4562
4563- `linked_organization_spend_limit_reached` (HTTP status 402)
4564
4565 The organization linked to the request's user profile has reached a spend limit that it set, or lacks credit for the request. The response does not say which applies.
4566
4567- `user_profile_billing_not_authorized` (HTTP status 403)
4568
4569 The customer that the request's user profile represents has not authorized the caller to bill them, or the authorization that the request's credential uses has ended. The response does not say which applies.
4570
4571- `user_profile_not_billable` (HTTP status 403)
4572
4573 The request's user profile cannot be billed. The response gives no more specific error code and does not say what the reason is.
4574
45514575- `thread_not_found` (HTTP status 404)
45524576
45534577 No usable Thread state was found for `previous_message_id`. Replay the full conversation with `thread: {"type": "create"}` to start a new Thread.
from line 4584
45604584
45614585 The compressed request body exceeds the request size limit once decoded.
45624586
4587- `contract_spend_limit_reached` (HTTP status 429)
4588
4589 The organization has reached the spend limit of its contract.
4590
45634591- `enforced_spend_limit_reached` (HTTP status 429)
45644592
45654593 The organization has crossed the monthly API usage threshold of its API tier.
from line 5411
53835411
53845412 - `page_age: optional string or null`
53855413
5386 - `WebSearchToolRequestError object`
5414 - `WebSearchToolRequestErrorObject object`
53875415
53885416 - `type: "web_search_tool_result_error"`
53895417
from line 8135
81078135
81088136 - `signature: string`
81098137
8110 The `signature` value of this thinking block, exactly as returned by the API in a previous response. Used to verify that the block was generated by Claude.
8111
8112 Thinking blocks must be passed back unmodified and in their original order; a modified block results in a 400 `invalid_request_error`.
8113
8114 - `thinking: string`
8115
8116 The `thinking` text of this block as returned by the API.
8117
8118 - `RedactedThinkingBlockParam object`
8119
8120 - `type: "redacted_thinking"`
8121
8122 - `data: string`
8123
8124 The `data` value of this redacted thinking block, exactly as returned by the API in a previous response. Opaque and encrypted; pass it back unchanged.
8125
8126 - `ToolUseBlockParam object`
8127
8128 - `type: "tool_use"`
8129
8130 - `id: string`
8131
8132 pattern: ^[a-zA-Z0-9_-]+$
8133
8134 - `input: map[unknown]`
8135
8136 - `name: string`
8137
8138 minLength: 1, maxLength: 200
8139
8140 - `cache_control: optional CacheControlEphemeral or null`
8141
8142 Create a cache control breakpoint at this content block.
8143
8144 - `caller: optional DirectCaller or ServerToolCaller or ServerToolCaller20260120`
8145
8146 - `DirectCaller object`
8147
8148 Tool invocation directly from the model.
8149
8150 - `type: "direct"`
8151
8152 - `ServerToolCaller object`
8153
8154 Tool invocation generated by a server-side tool.
8155
8156 - `type: "code_execution_20250825"`
8157
8158 - `tool_id: string`
8159
8160 pattern: ^srvtoolu_[a-zA-Z0-9_]+$
8161
8162 - `ServerToolCaller20260120 object`
8163
8164 - `type: "code_execution_20260120"`
8165
8166
8138 The `signa
No line in this hunk matches that.