What this read moved
1–11 of 11api/beta Changed · +0 / -8 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.
Nothing in the body moved in this read. What changed is above.
api/beta/sessions Changed · +0 / -8 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.
Nothing in the body moved in this read. What changed is above.
agents-and-tools/tool-use/define-tools Changed · +1 / -1 lines
from line 19
1919
2020| Parameter | Description |
2121| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
22| `name` | The name of the tool. Must match the regex `^[a-zA-Z0-9_-]{1,64}$`. |
22| `name` | The name of the tool. Must match the regex `^[a-zA-Z0-9_-]{1,128}$`. |
2323| `description` | A detailed plaintext description of what the tool does, when it should be used, and how it behaves. |
2424| `input_schema` | A [JSON Schema](https://json-schema.org/) object defining the expected parameters for the tool. |
2525| `input_examples` | (Optional) An array of example input objects to help Claude understand how to use the tool. See [Providing tool use examples](https://platform.claude.com/docs/en/agents-and-tools/tool-use/define-tools#providing-tool-use-examples). |
api/beta/sessions/events Changed · +0 / -4 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 5596
55965596
55975597 A hard spend ceiling. The session stops issuing new model requests once the tracked list cost reaches `max_list_cost`.
55985598
5599- `BetaManagedAgentsStreamSessionEvents = BetaManagedAgentsUserMessageEvent or BetaManagedAgentsUserInterruptEvent or BetaManagedAgentsUserToolConfirmationEvent or 34 more`
5600
5601 Server-sent event in the session stream.
5602
56035599### Example
56045600
56055601```bash
from line 9331
93359331
93369332 - `explanation: string`
93379333
9338 Human-readable explanation of the verdict. For `need
9334 Human-readable explanation of the verdict. For `needs_revision`, describes which criteria failed and why.
9335
9336 - `iteration: number`
9337
9338 0-indexed revision cycle, matching the corresponding `span.outcome_evaluation_start`.
9339
9340 format: int32
9341
9342 - `outcome_evaluat
api/beta/sessions/events/stream Changed · +0 / -4 lines
from line 2300
23002300
23012301 A hard spend ceiling. The session stops issuing new model requests once the tracked list cost reaches `max_list_cost`.
23022302
2303- `BetaManagedAgentsStreamSessionEvents = BetaManagedAgentsUserMessageEvent or BetaManagedAgentsUserInterruptEvent or BetaManagedAgentsUserToolConfirmationEvent or 34 more`
2304
2305 Server-sent event in the session stream.
2306
23072303## Example
23082304
23092305```bash
api/beta/sessions/threads Changed · +0 / -4 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.
Nothing in the body moved in this read. What changed is above.
api/beta/sessions/threads/events Changed · +0 / -4 lines
from line 4592
45924592
45934593 A hard spend ceiling. The session stops issuing new model requests once the tracked list cost reaches `max_list_cost`.
45944594
4595- `BetaManagedAgentsStreamSessionThreadEvents = BetaManagedAgentsUserMessageEvent or BetaManagedAgentsUserInterruptEvent or BetaManagedAgentsUserToolConfirmationEvent or 34 more`
4596
4597 Server-sent event in a single thread's stream.
4598
45994595### Example
46004596
46014597```bash
api/beta/sessions/threads/events/stream Changed · +0 / -4 lines
from line 2302
23022302
23032303 A hard spend ceiling. The session stops issuing new model requests once the tracked list cost reaches `max_list_cost`.
23042304
2305- `BetaManagedAgentsStreamSessionThreadEvents = BetaManagedAgentsUserMessageEvent or BetaManagedAgentsUserInterruptEvent or BetaManagedAgentsUserToolConfirmationEvent or 34 more`
2306
2307 Server-sent event in a single thread's stream.
2308
23092305## Example
23102306
23112307```bash
api/completions Changed · +0 / -2 lines
from line 397
397397
398398 default: completion
399399
400- `Completion object`
401
402400### Example
403401
404402```bash
api/completions/create Changed · +0 / -2 lines
from line 395
395395
396396 default: completion
397397
398- `Completion object`
399
400398## Example
401399
402400```bash
claude_api_primer Changed · +1 / -1 lines
from line 549
549549
550550| Parameter | Description |
551551| -------------- | --------------------------------------------------------------------------------------------------- |
552| `name` | The name of the tool. Must match the regex `^[a-zA-Z0-9_-]{1,64}$`. |
552| `name` | The name of the tool. Must match the regex `^[a-zA-Z0-9_-]{1,128}$`. |
553553| `description` | A detailed plaintext description of what the tool does, when it should be used, and how it behaves. |
554554| `input_schema` | A [JSON Schema](https://json-schema.org/) object defining the expected parameters for the tool. |
555555