What this read moved
151–175 of 239This capture is too large to show at once. Changes 151-175 of 239 are below, significant first; the rest are on the following screens.
agents-and-tools/tool-use/tool-runner Changed · +1 / -1 lines
from line 1093
10931093
10941094### Automatic context management
10951095
1096For long-running agentic tasks, the TypeScript and Ruby tool runners support automatic [compaction](https://platform.claude.com/docs/en/build-with-claude/context-editing#client-side-compaction-sdk), which generates summaries when token usage exceeds a threshold so the conversation can continue beyond context window limits. Both SDKs have deprecated this client-side option in favor of [server-side compaction](https://platform.claude.com/docs/en/build-with-claude/compaction), which works with every SDK's tool runner through the `context_management` request parameter. The Python SDK (v1.0 and later) and the Go, Java, C#, and PHP tool runners don't include client-side compaction.
1096For long-running agentic tasks, the TypeScript and Ruby tool runners support automatic [compaction](https://platform.claude.com/docs/en/build-with-claude/context-editing#client-side-compaction-sdk), which generates summaries when token usage exceeds a threshold so the conversation can continue beyond context window limits. Both SDKs have deprecated this client-side option in favor of [server-side compaction](https://platform.claude.com/docs/en/build-with-claude/compaction-threshold), which works with every SDK's tool runner through the `context_management` request parameter. The Python SDK (v1.0 and later) and the Go, Java, C#, and PHP tool runners don't include client-side compaction.
10971097
10981098### Debugging tool execution
10991099
api/beta/agents/list Changed · +4 / -0 lines
from line 141
141141
142142- `"anthropic-workspace-id": optional string`
143143
144 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
145
146 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.
147
144148## Returns
145149
146150- `data: array of BetaManagedAgentsAgent`
api/beta/environments/archive Changed · +4 / -0 lines
from line 117
117117
118118- `"anthropic-workspace-id": optional string`
119119
120 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
121
122 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.
123
120124## Returns
121125
122126- `BetaEnvironment object`
api/beta/environments/create Changed · +4 / -0 lines
from line 113
113113
114114- `"anthropic-workspace-id": optional string`
115115
116 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
117
118 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.
119
116120## Body parameters
117121
118122- `name: string`
api/beta/environments/delete Changed · +4 / -0 lines
from line 117
117117
118118- `"anthropic-workspace-id": optional string`
119119
120 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
121
122 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.
123
120124## Returns
121125
122126- `BetaEnvironmentDeleteResponse object`
api/beta/environments/list Changed · +4 / -0 lines
from line 131
131131
132132- `"anthropic-workspace-id": optional string`
133133
134 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
135
136 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.
137
134138## Returns
135139
136140- `data: array of BetaEnvironment`
api/beta/environments/retrieve Changed · +4 / -0 lines
from line 117
117117
118118- `"anthropic-workspace-id": optional string`
119119
120 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
121
122 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.
123
120124## Returns
121125
122126- `BetaEnvironment object`
api/beta/environments/update Changed · +4 / -0 lines
from line 117
117117
118118- `"anthropic-workspace-id": optional string`
119119
120 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
121
122 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.
123
120124## Body parameters
121125
122126- `config: optional BetaCloudConfigParams or BetaSelfHostedConfigParams or null`
api/beta/environments/work/retrieve Changed · +4 / -0 lines
from line 121
121121
122122- `"anthropic-workspace-id": optional string`
123123
124 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
125
126 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.
127
124128## Returns
125129
126130- `BetaSelfHostedWork object`
api/beta/environments/work/stats Changed · +4 / -0 lines
from line 117
117117
118118- `"anthropic-workspace-id": optional string`
119119
120 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
121
122 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.
123
120124## Returns
121125
122126- `BetaSelfHostedWorkQueueStats object`
api/beta/environments/work/stop Changed · +4 / -0 lines
from line 121
121121
122122- `"anthropic-workspace-id": optional string`
123123
124 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
125
126 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.
127
124128## Body parameters
125129
126130- `force: optional boolean`
api/beta/environments/work/update Changed · +4 / -0 lines
from line 121
121121
122122- `"anthropic-workspace-id": optional string`
123123
124 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
125
126 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.
127
124128## Body parameters
125129
126130- `metadata: map[string]`
api/beta/files/delete Changed · +4 / -0 lines
from line 119
119119
120120- `"anthropic-workspace-id": optional string`
121121
122 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
123
124 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.
125
122126## Returns
123127
124128- `BetaDeletedFile object`
api/beta/files/download Changed · +4 / -0 lines
from line 119
119119
120120- `"anthropic-workspace-id": optional string`
121121
122 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
123
124 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.
125
122126## Example
123127
124128```bash
api/beta/files/list Changed · +4 / -0 lines
from line 135
135135
136136- `"anthropic-workspace-id": optional string`
137137
138 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
139
140 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.
141
138142## Returns
139143
140144- `data: array of BetaFileMetadata`
api/beta/files/retrieve_metadata Changed · +4 / -0 lines
from line 119
119119
120120- `"anthropic-workspace-id": optional string`
121121
122 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
123
124 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.
125
122126## Returns
123127
124128- `BetaFileMetadata object`
api/beta/files/upload Changed · +4 / -0 lines
from line 113
113113
114114- `"anthropic-workspace-id": optional string`
115115
116 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
117
118 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.
119
116120## Body parameters (form-data)
117121
118122- `file: string`
api/beta/memory_stores/create Changed · +4 / -0 lines
from line 113
113113
114114- `"anthropic-workspace-id": optional string`
115115
116 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
117
118 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.
119
116120## Body parameters
117121
118122- `name: string`
api/beta/memory_stores/list Changed · +4 / -0 lines
from line 141
141141
142142- `"anthropic-workspace-id": optional string`
143143
144 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
145
146 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.
147
144148## Returns
145149
146150- `data: optional array of BetaManagedAgentsMemoryStore`
api/beta/messages/batches/cancel Changed · +4 / -0 lines
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## Returns
127131
128132- `BetaMessageBatch object`
api/beta/messages/batches/create Changed · +4 / -0 lines
from line 121
121121
122122- `"anthropic-workspace-id": optional string`
123123
124 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
125
126 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.
127
124128## Body parameters
125129
126130- `requests: array of object`
api/beta/messages/batches/delete Changed · +4 / -0 lines
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## Returns
127131
128132- `BetaDeletedMessageBatch object`
api/beta/messages/batches/list Changed · +4 / -0 lines
from line 133
133133
134134- `"anthropic-workspace-id": optional string`
135135
136 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
137
138 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.
139
136140## Returns
137141
138142- `data: array of BetaMessageBatch`
api/beta/messages/batches/retrieve Changed · +4 / -0 lines
from line 121
121121
122122- `"anthropic-workspace-id": optional string`
123123
124 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
125
126 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.
127
124128## Returns
125129
126130- `BetaMessageBatch object`
api/beta/messages/count_tokens Changed · +4 / -0 lines
from line 121
121121
122122- `"anthropic-workspace-id": optional string`
123123
124 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
125
126 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.
127
124128## Body parameters
125129
126130- `messages: array of BetaMessageParam`