The whole hunk
from line 123, old and new numbered
/
lines
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 123
123123
124124- `"anthropic-workspace-id": optional string`
125125
126 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
127
128 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
129
126130### Body parameters
127131
128132- `max_tokens: number`
from line 5186
51825186
51835187 - `diagnostics: BetaDiagnostics or null`
51845188
5185 Response envelope for request-level diagnostics. Present (possibly
5186 null) whenever the caller supplied `diagnostics` on the request.
5189 Request-level diagnostics: why the prompt cache could not fully reuse
5190 the prefix of the request named by `diagnostics.previous_message_id`.
51875191
51885192 - `cache_miss_reason: BetaCacheMissModelChanged or BetaCacheMissSystemChanged or BetaCacheMissToolsChanged or 3 more or null`
51895193
from line 6412
64086412
64096413- `"anthropic-workspace-id": optional string`
64106414
6415 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
6416
6417 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
6418
64116419### Body parameters
64126420
64136421- `messages: array of BetaMessageParam`
from line 8325
83178325
83188326 Name of the tool.
83198327
8320 This is how the tool will be called by the model and in `tool_use` blocks.
8321
8322 - `allowed_callers: optional array of "direct" or "code_execution_20250825" or "code_execution_20260120" or "code_execution_20260521"`
8323
8324 - `"direct"`
8325
8326 - `"code_execution_20250825"`
8327
8328 - `"code_execution_20260120"`
8329
8330 - `"code_execution_20260521"`
8331
8332 - `cache_control: optional BetaCacheControlEphemeral or null`
8333
8334 Create a cache control breakpoint at this content block.
8335
8336 - `defer_loading: optional boolean`
8337
8338 If true, tool will not be included in initial system prompt. Only loaded when returned via tool_reference
8328