This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.
The two sides of this change are more than 400 edits apart, too far apart to line up, so this is the differ's own diff of it and the words inside a line are not marked.
from line 19
1919
2020 - `string`
2121
22 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
23
24 - `"message-batches-2024-09-24"`
25
26 - `"prompt-caching-2024-07-31"`
27
28 - `"computer-use-2024-10-22"`
29
30 - `"computer-use-2025-01-24"`
31
32 - `"pdfs-2024-09-25"`
33
34 - `"token-counting-2024-11-01"`
35
36 - `"token-efficient-tools-2025-02-19"`
37
38 - `"output-128k-2025-02-19"`
39
40 - `"files-api-2025-04-14"`
41
42 - `"mcp-client-2025-04-04"`
43
44 - `"mcp-client-2025-11-20"`
45
46 - `"dev-full-thinking-2025-05-14"`
47
48 - `"interleaved-thinking-2025-05-14"`
49
50 - `"code-execution-2025-05-22"`
51
52 - `"extended-cache-ttl-2025-04-11"`
53
54 - `"context-1m-2025-08-07"`
55
56 - `"context-management-2025-06-27"`
57
58 - `"model-context-window-exceeded-2025-08-26"`
59
60 - `"skills-2025-10-02"`
61
62 - `"fast-mode-2026-02-01"`
63
64 - `"output-300k-2026-03-24"`
65
66 - `"user-profiles-2026-03-24"`
67
68 - `"user-profiles-2026-08-18"`
69
70 - `"user-profiles-2026-09-04"`
71
72 - `"advisor-tool-2026-03-01"`
73
74 - `"managed-agents-2026-04-01"`
75
76 - `"cache-diagnosis-2026-04-07"`
77
78 - `"dreaming-2026-04-21"`
79
80 - `"thinking-token-count-2026-05-13"`
81
82 - `"server-side-fallback-2026-06-01"`
83
84 - `"server-side-fallback-2026-07-01"`
85
86 - `"fallback-credit-2026-06-01"`
87
88 - `"fallback-credit-2026-07-01"`
89
90 - `"agent-memory-2026-07-22"`
91
92 - `"mid-conversation-tool-changes-2026-07-01"`
93
94 - `"compact-2026-01-12"`
95
96 - `"computer-use-2025-11-24"`
97
98 - `"mcp-tunnels-2026-06-22"`
99
100 - `"structured-outputs-2025-11-13"`
101
102 - `"task-budgets-2026-03-13"`
103
104 - `"thinking-display-updates-2026-08-18"`
105
106 - `"ce-user-management-2026-07-13"`
107
108 - `"mid-conversation-output-config-2026-07-01"`
109
110 - `"thinking-binding-controls-2026-08-01"`
111
112 - `"mid-conversation-system-clear-at-2026-08-21"`
113
114 - `"compact-2026-09-04"`
115
116 - `"inline-tools-2026-09-15"`
117
118 - `"mcp-client-2026-09-15"`
22 - `"message-batches-2024-09-24"`
23
24 - `"prompt-caching-2024-07-31"`
25
26 - `"computer-use-2024-10-22"`
27
28 - `"computer-use-2025-01-24"`
29
30 - `"pdfs-2024-09-25"`
31
32 - `"token-counting-2024-11-01"`
33
34 - `"token-efficient-tools-2025-02-19"`
35
36 - `"output-128k-2025-02-19"`
37
38 - `"files-api-2025-04-14"`
39
40 - `"mcp-client-2025-04-04"`
41
42 - `"mcp-client-2025-11-20"`
43
44 - `"dev-full-thinking-2025-05-14"`
45
46 - `"interleaved-thinking-2025-05-14"`
47
48 - `"code-execution-2025-05-22"`
49
50 - `"extended-cache-ttl-2025-04-11"`
51
52 - `"context-1m-2025-08-07"`
53
54 - `"context-management-2025-06-27"`
55
56 - `"model-context-window-exceeded-2025-08-26"`
57
58 - `"skills-2025-10-02"`
59
60 - `"fast-mode-2026-02-01"`
61
62 - `"output-300k-2026-03-24"`
63
64 - `"user-profiles-2026-03-24"`
65
66 - `"user-profiles-2026-08-18"`
67
68 - `"user-profiles-2026-09-04"`
69
70 - `"advisor-tool-2026-03-01"`
71
72 - `"managed-agents-2026-04-01"`
73
74 - `"cache-diagnosis-2026-04-07"`
75
76 - `"dreaming-2026-04-21"`
77
78 - `"thinking-token-count-2026-05-13"`
79
80 - `"server-side-fallback-2026-06-01"`
81
82 - `"server-side-fallback-2026-07-01"`
83
84 - `"fallback-credit-2026-06-01"`
85
86 - `"fallback-credit-2026-07-01"`
87
88 - `"agent-memory-2026-07-22"`
89
90 - `"mid-conversation-tool-changes-2026-07-01"`
91
92 - `"compact-2026-01-12"`
93
94 - `"computer-use-2025-11-24"`
95
96 - `"mcp-tunnels-2026-06-22"`
97
98 - `"structured-outputs-2025-11-13"`
99
100 - `"task-budgets-2026-03-13"`
101
102 - `"thinking-display-updates-2026-08-18"`
103
104 - `"ce-user-management-2026-07-13"`
105
106 - `"mid-conversation-output-config-2026-07-01"`
107
108 - `"thinking-binding-controls-2026-08-01"`
109
110 - `"mid-conversation-system-clear-at-2026-08-21"`
111
112 - `"compact-2026-09-04"`
113
114 - `"inline-tools-2026-09-15"`
115
116 - `"mcp-client-2026-09-15"`
119117
120118- `"anthropic-workspace-id": optional string`
121119
from line 133
135133
136134 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
137135
138 - `"claude-sonnet-5-5" or "claude-opus-5-5" or "claude-fable-5-1" or 13 more`
136 - `"claude-sonnet-5-5"`
137
138 Efficient model for coding and agents
139
140 - `"claude-opus-5-5"`
141
142 Powerful intelligence for coding, knowledge work, and long-running agents
143
144 - `"claude-fable-5-1"`
145
146 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
147
148 - `"claude-sonnet-5"`
149
150 Efficient model for coding and agents
151
152 - `"claude-fable-5"`
153
154 Next generation of intelligence for the hardest knowledge work and coding problems
155
156 - `"claude-opus-5"`
157
158 Powerful intelligence for long-running agents and coding
159
160 - `"claude-opus-4-8"`
161
162 Powerful intelligence for long-running agents and coding
163
164 - `"claude-opus-4-7"`
165
166 Powerful intelligence for long-running agents and coding
167
168 - `"claude-opus-4-6"`
169
170 Powerful intelligence for long-running agents and coding
171
172 - `"claude-sonnet-4-6"`
173
174 Best combination of speed and intelligence
175
176 - `"claude-haiku-4-5"`
177
178 Fastest model with near-frontier intelligence
179
180 - `"claude-haiku-4-5-20251001"`
181
182 Fastest model with near-frontier intelligence
183
184 - `"claude-opus-4-5"`
185
186 Powerful intelligence for long-running agents and coding
187
188 - `"claude-opus-4-5-20251101"`
189
190 Powerful intelligence for long-running agents and coding
191
192 - `"claude-sonnet-4-5"`
193
194 High-performance model for agents and coding
195
196 - `"claude-sonnet-4-5-20250929"`
197
198 High-performance model for agents and coding
199
200 - `string`
201
202 - `BetaManagedAgentsModelConfigParams object`
203
204 An object that defines additional configuration control over model use
205
206 - `id: BetaManagedAgentsModel`
139207
140208 The model that will power your agent.
141209
142210 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
143211
212 - `effort: optional "low" or "medium" or "high" or 2 more or BetaManagedAgentsEffortLow or BetaManagedAgentsEffortMedium or 3 more or null`
213
214 How hard Claude works on each inference call. Accepts a bare level string (`"high"`) or `{"type": "high"}`. On create, omitting it resolves the per-model default; on update, omitting it leaves the stored value unchanged.
215
216 - `"low"`
217
218 Low effort. Favors latency over reasoning depth.
219
220 - `"medium"`
221
222 Medium effort. Balances latency and reasoning depth.
223
224 - `"high"`
225
226 High effort. Favors reasoning depth.
227
228 - `"xhigh"`
229
230 Extra-high effort. Not all models accept this level.
231
232 - `"max"`
233
234 Maximum effort. Favors reasoning depth over latency.
235
236 - `BetaManagedAgentsEffortLow object`
237
238 Low effort. Favors latency over reasoning depth.
239
240 - `type: "low"`
241
242 - `BetaManagedAgentsEffortMedium object`
243
244 Medium effort. Balances latency and reasoning depth.
245
246 - `type: "medium"`
247
248 - `BetaManagedAgentsEffortHigh object`
249
250 High effort. Favors reasoning depth.
251
252 - `type: "high"`
253
254 - `BetaManagedAgentsEffortXhigh object`
255
256 Extra-high effort. Not all models accept this level.
257
258 - `type: "xhigh"`
259
260 - `BetaManagedAgentsEffortMax object`
261
262 Maximum effort. Favors reasoning depth over latency.
263
264 - `type: "max"`
265
266 - `inference_geo: optional string or null`
267
268 Geographic region for model inference. When unset, requests fall through to the workspace's default_inference_geo. On update, `model` is whole-object replacement — omitting inference_geo clears it.
269
270 - `speed: optional "standard" or "fast" or null`
271
272 Inference speed mode. Defaults to `standard`.
273
274 - `"standard"`
275
276 - `"fast"`
277
278- `name: string`
279
280 Human-readable name for the agent.
281
282 minLength: 1, maxLength: 256
283
284- `description: optional string or null`
285
286 Description of what the agent does.
287
288 maxLength: 2048
289
290- `mcp_servers: optional array of BetaManagedAgentsURLMCPServerParams`
291
292 MCP servers this agent connects to. Maximum 20. Names must be unique within the array. Every server must be referenced by an `mcp_toolset` in `tools`; unreferenced servers are rejected. See the [MCP connector guide](https://platform.claude.com/docs/en/managed-agents/mcp-connector).
293
294 - `type: "url"`
295
296 - `name: string`
297
298 Unique name for this server, referenced by mcp_toolset configurations. 1-255 characters.
299
300 minLength: 1, maxLength: 255
301
302 - `url: string`
303
304 Endpoint URL for the MCP server.
305
306 maxLength: 2048
307
308- `metadata: optional map[string]`
309
310 Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 chars, values up to 512 chars.
311
312- `multiagent: optional BetaManagedAgentsMultiagentParams or null`
313
314 Multiagent orchestration configuration. Currently supports the `coordinator` topology with a roster of 1-20 agents.
315
316 - `type: "coordinator"`
317
318 - `agents: array of BetaManagedAgentsMultiagentRosterEntryParams`
319
320 Agents the coordinator may spawn as session threads. 1–20 entries. Each entry is an agent ID string, a versioned `{"type":"agent","id","version"}` reference, or `{"type":"self"}` to allow recursive self-invocation. Entries must reference distinct agents (after resolving `self` and string forms); at most one `self`. Referenced agents must exist, must not be archived, and must not themselves have `multiagent` set (depth limit 1).
321
322 - `string`
323
324 - `BetaManagedAgentsAgentParams object`
325
326 Specification for an Agent. Provide a specific `version` or use the short-form `agent="agent_id"` for the most recent version
327
328 - `type: "agent"`
329
330 - `id: string`
331
332 The `agent` ID.
333
334 minLength: 1, maxLength: 128
335
336 - `version: optional number`
337
338 The specific `agent` version to use. Omit to use the latest version. Must be at least 1 if specified.
339
340 format: int32
341
342 - `BetaManagedAgentsMultiagentSelfParams object`
343
344 Sentinel roster entry meaning "the agent that owns this configuration". Resolved server-side to a concrete agent reference.
345
346 - `type: "self"`
347
348 - `BetaManagedAgentsAdvisorParams object`
349
350 Platform advisor roster entry: a model the session's primary thread may consult mid-turn. At most one per roster; the entry occupies the roster name `anthropic.advisor`.
351
352 - `type: "advisor"`
353
354 - `model: string`
355
356 A Claude model id. The model must be permitted as an advisor for this agent's model — see the sessions/threads/advisor spec.
357
358 minLength: 1, maxLength: 256
359
360- `skills: optional array of BetaManagedAgentsSkillParams`
361
362 Skills available to the agent.
363
364 - `BetaManagedAgentsAnthropicSkillParams object`
365
366 An Anthropic-managed skill.
367
368 - `type: "anthropic"`
369
370 - `skill_id: string`
371
372 Identifier of the Anthropic skill (e.g., "xlsx").
373
374 minLength: 1, maxLength: 64
375
376 - `version: optional string or null`
377
378 Version to pin. Defaults to latest if omitted.
379
380 minLength: 1, maxLength: 64
381
382 - `BetaManagedAgentsCustomSkillParams object`
383
384 A user-created custom skill.
385
386 - `type: "custom"`
387
388 - `skill_id: string`
389
390 Tagged ID of the custom skill (e.g., "skill_01XJ5...").
391
392 minLength: 1, maxLength: 64
393
394 - `version: optional string or null`
395
396 Version to pin. Defaults to latest if omitted.
397
398 minLength: 1, maxLength: 64
399
400- `system: optional string or null`
401
402 System prompt for the agent.
403
404 maxLength: 100000
405
406- `tools: optional array of BetaManagedAgentsAgentToolset20260401Params or BetaManagedAgentsMCPToolsetParams or BetaManagedAgentsCustomToolParams`
407
408 Tool configurations available to the agent. Maximum of 128 tools across all toolsets allowed.
409
410 - `BetaManagedAgentsAgentToolset20260401Params object`
411
412 Configuration for built-in agent tools. Use this to enable or disable groups of tools available to the agent.
413
414 - `type: "agent_toolset_20260401"`
415
416 - `configs: optional array of BetaManagedAgentsAgentToolConfigParams`
417
418 Per-tool configuration overrides.
419
420 - `BetaManagedAgentsBashToolConfigParams object`
421
422 Configuration override for the bash tool.
423
424 - `type: optional "bash"`
425
426 - `name: "bash"`
427
428 Must be "bash".
429
430 - `enabled: optional boolean or null`
431
432 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
433
434 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
435
436 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
437
438 - `BetaManagedAgentsAlwaysAllowPolicy object`
439
440 Tool calls are automatically approved without user confirmation.
441
442 - `type: "always_allow"`
443
444 - `BetaManagedAgentsAlwaysAskPolicy object`
445
446 Tool calls require user confirmation before execution.
447
448 - `type: "always_ask"`
449
450 - `BetaManagedAgentsAutoPolicy object`
451
452 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
453
454 - `type: "auto"`
455
456 - `BetaManagedAgentsEditToolConfigParams object`
457
458 Configuration override for the edit tool.
459
460 - `type: optional "edit"`
461
462 - `name: "edit"`
463
464 Must be "edit".
465
466 - `enabled: optional boolean or null`
467
468 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
469
470 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
471
472 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
473
474 - `BetaManagedAgentsAlwaysAllowPolicy object`
475
476 Tool calls are automatically approved without user confirmation.
477
478 - `BetaManagedAgentsAlwaysAskPolicy object`
479
480 Tool calls require user confirmation before execution.
481
482 - `BetaManagedAgentsAutoPolicy object`
483
484 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
485
486 - `BetaManagedAgentsReadToolConfigParams object`
487
488 Configuration override for the read tool.
489
490 - `type: optional "read"`
491
492 - `name: "read"`
493
494 Must be "read".
495
496 - `enabled: optional boolean or null`
497
498 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
499
500 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
501
502 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
503
504 - `BetaManagedAgentsAlwaysAllowPolicy object`
505
506 Tool calls are automatically approved without user confirmation.
507
508 - `BetaManagedAgentsAlwaysAskPolicy object`
509
510 Tool calls require user confirmation before execution.
511
512 - `BetaManagedAgentsAutoPolicy object`
513
514 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
515
516 - `BetaManagedAgentsWriteToolConfigParams object`
517
518 Configuration override for the write tool.
519
520 - `type: optional "write"`
521
522 - `name: "write"`
523
524 Must be "write".
525
526 - `enabled: optional boolean or null`
527
528 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
529
530 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
531
532 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
533
534 - `BetaManagedAgentsAlwaysAllowPolicy object`
535
536 Tool calls are automatically approved without user confirmation.
537
538 - `BetaManagedAgentsAlwaysAskPolicy object`
539
540 Tool calls require user confirmation before execution.
541
542 - `BetaManagedAgentsAutoPolicy object`
543
544 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
545
546 - `BetaManagedAgentsGlobToolConfigParams object`
547
548 Configuration override for the glob tool.
549
550 - `type: optional "glob"`
551
552 - `name: "glob"`
553
554 Must be "glob".
555
556 - `enabled: optional boolean or null`
557
558 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
559
560 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
561
562 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
563
564 - `BetaManagedAgentsAlwaysAllowPolicy object`
565
566 Tool calls are automatically approved without user confirmation.
567
568 - `BetaManagedAgentsAlwaysAskPolicy object`
569
570 Tool calls require user confirmation before execution.
571
572 - `BetaManagedAgentsAutoPolicy object`
573
574 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
575
576 - `BetaManagedAgentsGrepToolConfigParams object`
577
578 Configuration override for the grep tool.
579
580 - `type: optional "grep"`
581
582 - `name: "grep"`
583
584 Must be "grep".
585
586 - `enabled: optional boolean or null`
587
588 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
589
590 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
591
592 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
593
594 - `BetaManagedAgentsAlwaysAllowPolicy object`
595
596 Tool calls are automatically approved without user confirmation.
597
598 - `BetaManagedAgentsAlwaysAskPolicy object`
599
600 Tool calls require user confirmation before execution.
601
602 - `BetaManagedAgentsAutoPolicy object`
603
604 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
605
606 - `BetaManagedAgentsWebFetchToolConfigParams object`
607
608 Configuration override for the web_fetch tool.
609
610 - `type: optional "web_fetch"`
611
612 - `name: "web_fetch"`
613
614 Must be "web_fetch".
615
616 - `allowed_domains: optional array of string`
617
618 Only fetch URLs whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like "docs.example.com" (no scheme, port, or path). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with blocked_domains.
619
620 - `blocked_domains: optional array of string`
621
622 Never fetch URLs whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like "ads.example.com" (no scheme, port, or path). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with allowed_domains.
623
624 - `enabled: optional boolean or null`
625
626 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
627
628 - `max_content_tokens: optional number or null`
629
630 Maximum number of tokens of fetched text content to include in context per call. Does not apply to binary content such as PDFs.
631
632 format: int32
633
634 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
635
636 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
637
638 - `BetaManagedAgentsAlwaysAllowPolicy object`
639
640 Tool calls are automatically approved without user confirmation.
641
642 - `BetaManagedAgentsAlwaysAskPolicy object`
643
644 Tool calls require user confirmation before execution.
645
646 - `BetaManagedAgentsAutoPolicy object`
647
648 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
649
650 - `BetaManagedAgentsWebSearchToolConfigParams object`
651
652 Configuration override for the web_search tool.
653
654 - `type: optional "web_search"`
655
656 - `name: "web_search"`
657
658 Must be "web_search".
659
660 - `allowed_domains: optional array of string`
661
662 Only return search results whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like "docs.example.com" (no scheme or port; an optional path suffix is accepted). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with blocked_domains.
663
664 - `blocked_domains: optional array of string`
665
666 Never return search results whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like "ads.example.com" (no scheme or port; an optional path suffix is accepted). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with allowed_domains.
667
668 - `enabled: optional boolean or null`
669
670 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
671
672 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
673
674 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
675
676 - `BetaManagedAgentsAlwaysAllowPolicy object`
677
678 Tool calls are automatically approved without user confirmation.
679
680 - `BetaManagedAgentsAlwaysAskPolicy object`
681
682 Tool calls require user confirmation before execution.
683
684 - `BetaManagedAgentsAutoPolicy object`
685
686 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
687
688 - `user_location: optional BetaManagedAgentsUserLocation or null`
689
690 Approximate user location for search result localization.
691
692 - `type: "approximate"`
693
694 Location precision. Only "approximate" is supported.
695
696 - `city: optional string or null`
697
698 City name.
699
700 minLength: 1, maxLength: 255
701
702 - `country: optional string or null`
703
704 Two-letter ISO 3166-1 country code, uppercase.
705
706 - `region: optional string or null`
707
708 Region or state name.
709
710 minLength: 1, maxLength: 255
711
712 - `timezone: optional string or null`
713
714 IANA timezone identifier, e.g. "America/Los_Angeles".
715
716 minLength: 1, maxLength: 255
717
718 - `default_config: optional BetaManagedAgentsAgentToolsetDefaultConfigParams or null`
719
720 Default configuration applied to all tools in this set.
721
722 - `enabled: optional boolean or null`
723
724 Whether tools are enabled and available to Claude by default. Defaults to true if not specified.
725
726 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
727
728 Default permission policy for tools. Controls whether tool calls are auto-approved or require confirmation.
729
730 - `BetaManagedAgentsAlwaysAllowPolicy object`
731
732 Tool calls are automatically approved without user confirmation.
733
734 - `BetaManagedAgentsAlwaysAskPolicy object`
735
736 Tool calls require user confirmation before execution.
737
738 - `BetaManagedAgentsAutoPolicy object`
739
740 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
741
742 - `BetaManagedAgentsMCPToolsetParams object`
743
744 Configuration for tools from an MCP server defined in `mcp_servers`.
745
746 - `type: "mcp_toolset"`
747
748 - `mcp_server_name: string`
749
750 Name of the MCP server. Must match a server name from the mcp_servers array. 1-255 characters.
751
752 minLength: 1, maxLength: 255
753
754 - `configs: optional array of BetaManagedAgentsMCPToolConfigParams`
755
756 Per-tool configuration overrides.
757
758 - `name: string`
759
760 Name of the MCP tool to configure. 1-128 characters.
761
762 minLength: 1, maxLength: 128
763
764 - `enabled: optional boolean or null`
765
766 Whether this tool is enabled. Overrides the `default_config` setting.
767
768 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
769
770 Permission policy for this tool. Overrides the `default_config` setting.
771
772 - `BetaManagedAgentsAlwaysAllowPolicy object`
773
774 Tool calls are automatically approved without user confirmation.
775
776 - `BetaManagedAgentsAlwaysAskPolicy object`
777
778 Tool calls require user confirmation before execution.
779
780 - `BetaManagedAgentsAutoPolicy object`
781
782 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
783
784 - `default_config: optional BetaManagedAgentsMCPToolsetDefaultConfigParams or null`
785
786 Default configuration for all tools from this server.
787
788 - `enabled: optional boolean or null`
789
790 Whether tools are enabled by default. Defaults to true if not specified.
791
792 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
793
794 Default permission policy for tools from this server.
795
796 - `BetaManagedAgentsAlwaysAllowPolicy object`
797
798 Tool calls are automatically approved without user confirmation.
799
800 - `BetaManagedAgentsAlwaysAskPolicy object`
801
802 Tool calls require user confirmation before execution.
803
804 - `BetaManagedAgentsAutoPolicy object`
805
806 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
807
808 - `BetaManagedAgentsCustomToolParams object`
809
810 A custom tool that is executed by the API client rather than the agent. When the agent calls this tool, an `agent.custom_tool_use` event is emitted and the session goes idle, waiting for the client to provide the result via a `user.custom_tool_result` event.
811
812 - `type: "custom"`
813
814 - `description: string`
815
816 Description of what the tool does, shown to the agent to help it decide when to use the tool.
817
818 minLength: 1
819
820 - `input_schema: BetaManagedAgentsCustomToolInputSchema`
821
822 JSON Schema defining the expected input parameters for the tool.
823
824 - `type: "object"`
825
826 - `properties: optional map[unknown] or null`
827
828 - `required: optional array of string or null`
829
830 - `name: string`
831
832 Unique name for the tool. 1-128 characters; letters, digits, underscores, and hyphens.
833
834 minLength: 1, maxLength: 128
835
836### Returns
837
838- `BetaManagedAgentsAgent object`
839
840 A Managed Agents `agent`.
841
842 - `type: "agent"`
843
844 - `id: string`
845
846 - `archived_at: string or null`
847
848 When the agent was archived. Null if not archived.
849
850 format: date-time
851
852 - `created_at: string`
853
854 A timestamp in RFC 3339 format
855
856 format: date-time
857
858 - `description: string or null`
859
860 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
861
862 - `type: "url"`
863
864 - `name: string`
865
866 - `url: string`
867
868 - `metadata: map[string]`
869
870 - `model: BetaManagedAgentsModelConfig`
871
872 Model identifier and configuration.
873
874 - `id: BetaManagedAgentsModel`
875
876 The model that will power your agent.
877
878 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
879
144880 - `"claude-sonnet-5-5"`
145881
146882 Efficient model for coding and agents
from line 940
204940 - `"claude-sonnet-4-5-20250929"`
205941
206942 High-performance model for agents and coding
207
208 - `string`
209
210 - `BetaManagedAgentsModelConfigParams object`
211
212 An object that defines additional configuration control over model use
213
214 - `id: BetaManagedAgentsModel`
215
216 The model that will power your agent.
217
218 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
219
220 - `effort: optional "low" or "medium" or "high" or 2 more or BetaManagedAgentsEffortLow or BetaManagedAgentsEffortMedium or 3 more or null`
221
222 How hard Claude works on each inference call. Accepts a bare level string (`"high"`) or `{"type": "high"}`. On create, omitting it resolves the per-model default; on update, omitting it leaves the stored value unchanged.
223
224 - `BetaManagedAgentsEffortLevel = "low" or "medium" or "high" or 2 more`
225
226 How hard Claude works on each turn. Higher levels favor reasoning depth over latency. Not all models accept every level; invalid combinations are rejected at create time.
227
228 - `"low"`
229
230 Low effort. Favors latency over reasoning depth.
231
232 - `"medium"`
233
234 Medium effort. Balances latency and reasoning depth.
235
236 - `"high"`
237
238 High effort. Favors reasoning depth.
239
240 - `"xhigh"`
241
242 Extra-high effort. Not all models accept this level.
243
244 - `"max"`
245
246 Maximum effort. Favors reasoning depth over latency.
247
248 - `BetaManagedAgentsEffortLow object`
249
250 Low effort. Favors latency over reasoning depth.
251
252 - `type: "low"`
253
254 - `BetaManagedAgentsEffortMedium object`
255
256 Medium effort. Balances latency and reasoning depth.
257
258 - `type: "medium"`
259
260 - `BetaManagedAgentsEffortHigh object`
261
262 High effort. Favors reasoning depth.
263
264 - `type: "high"`
265
266 - `BetaManagedAgentsEffortXhigh object`
267
268 Extra-high effort. Not all models accept this level.
269
270 - `type: "xhigh"`
271
272 - `BetaManagedAgentsEffortMax object`
273
274 Maximum effort. Favors reasoning depth over latency.
275
276 - `type: "max"`
277
278 - `inference_geo: optional string or null`
279
280 Geographic region for model inference. When unset, requests fall through to the workspace's default_inference_geo. On update, `model` is whole-object replacement — omitting inference_geo clears it.
281
282 - `speed: optional "standard" or "fast" or null`
283
284 Inference speed mode. Defaults to `standard`.
285
286 - `"standard"`
287
288 - `"fast"`
289
290- `name: string`
291
292 Human-readable name for the agent.
293
294 minLength: 1, maxLength: 256
295
296- `description: optional string or null`
297
298 Description of what the agent does.
299
300 maxLength: 2048
301
302- `mcp_servers: optional array of BetaManagedAgentsURLMCPServerParams`
303
304 MCP servers this agent connects to. Maximum 20. Names must be unique within the array. Every server must be referenced by an `mcp_toolset` in `tools`; unreferenced servers are rejected. See the [MCP connector guide](https://platform.claude.com/docs/en/managed-agents/mcp-connector).
305
306 - `type: "url"`
307
308 - `name: string`
309
310 Unique name for this server, referenced by mcp_toolset configurations. 1-255 characters.
311
312 minLength: 1, maxLength: 255
313
314 - `url: string`
315
316 Endpoint URL for the MCP server.
317
318 maxLength: 2048
319
320- `metadata: optional map[string]`
321
322 Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 chars, values up to 512 chars.
323
324- `multiagent: optional BetaManagedAgentsMultiagentParams or null`
325
326 Multiagent orchestration configuration. Currently supports the `coordinator` topology with a roster of 1-20 agents.
327
328 - `type: "coordinator"`
329
330 - `agents: array of BetaManagedAgentsMultiagentRosterEntryParams`
331
332 Agents the coordinator may spawn as session threads. 1–20 entries. Each entry is an agent ID string, a versioned `{"type":"agent","id","version"}` reference, or `{"type":"self"}` to allow recursive self-invocation. Entries must reference distinct agents (after resolving `self` and string forms); at most one `self`. Referenced agents must exist, must not be archived, and must not themselves have `multiagent` set (depth limit 1).
333
334 - `string`
335
336 - `BetaManagedAgentsAgentParams object`
337
338 Specification for an Agent. Provide a specific `version` or use the short-form `agent="agent_id"` for the most recent version
339
340 - `type: "agent"`
341
342 - `id: string`
343
344 The `agent` ID.
345
346 minLength: 1, maxLength: 128
347
348 - `version: optional number`
349
350 The specific `agent` version to use. Omit to use the latest version. Must be at least 1 if specified.
351
352 format: int32
353
354 - `BetaManagedAgentsMultiagentSelfParams object`
355
356 Sentinel roster entry meaning "the agent that owns this configuration". Resolved server-side to a concrete agent reference.
357
358 - `type: "self"`
359
360 - `BetaManagedAgentsAdvisorParams object`
361
362 Platform advisor roster entry: a model the session's primary thread may consult mid-turn. At most one per roster; the entry occupies the roster name `anthropic.advisor`.
363
364 - `type: "advisor"`
365
366 - `model: string`
367
368 A Claude model id. The model must be permitted as an advisor for this agent's model — see the sessions/threads/advisor spec.
369
370 minLength: 1, maxLength: 256
371
372- `skills: optional array of BetaManagedAgentsSkillParams`
373
374 Skills available to the agent.
375
376 - `BetaManagedAgentsAnthropicSkillParams object`
377
378 An Anthropic-managed skill.
379
380 - `type: "anthropic"`
381
382 - `skill_id: string`
383
384 Identifier of the Anthropic skill (e.g., "xlsx").
385
386 minLength: 1, maxLength: 64
387
388 - `version: optional string or null`
389
390 Version to pin. Defaults to latest if omitted.
391
392 minLength: 1, maxLength: 64
393
394 - `BetaManagedAgentsCustomSkillParams object`
395
396 A user-created custom skill.
397
398 - `type: "custom"`
399
400 - `skill_id: string`
401
402 Tagged ID of the custom skill (e.g., "skill_01XJ5...").
403
404 minLength: 1, maxLength: 64
405
406 - `version: optional string or null`
407
408 Version to pin. Defaults to latest if omitted.
409
410 minLength: 1, maxLength: 64
411
412- `system: optional string or null`
413
414 System prompt for the agent.
415
416 maxLength: 100000
417
418- `tools: optional array of BetaManagedAgentsAgentToolset20260401Params or BetaManagedAgentsMCPToolsetParams or BetaManagedAgentsCustomToolParams`
419
420 Tool configurations available to the agent. Maximum of 128 tools across all toolsets allowed.
421
422 - `BetaManagedAgentsAgentToolset20260401Params object`
423
424 Configuration for built-in agent tools. Use this to enable or disable groups of tools available to the agent.
425
426 - `type: "agent_toolset_20260401"`
427
428 - `configs: optional array of BetaManagedAgentsAgentToolConfigParams`
429
430 Per-tool configuration overrides.
431
432 - `BetaManagedAgentsBashToolConfigParams object`
433
434 Configuration override for the bash tool.
435
436 - `type: optional "bash"`
437
438 - `name: "bash"`
439
440 Must be "bash".
441
442 - `enabled: optional boolean or null`
443
444 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
445
446 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
447
448 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
449
450 - `BetaManagedAgentsAlwaysAllowPolicy object`
451
452 Tool calls are automatically approved without user confirmation.
453
454 - `type: "always_allow"`
455
456 - `BetaManagedAgentsAlwaysAskPolicy object`
457
458 Tool calls require user confirmation before execution.
459
460 - `type: "always_ask"`
461
462 - `BetaManagedAgentsAutoPolicy object`
463
464 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
465
466 - `type: "auto"`
467
468 - `BetaManagedAgentsEditToolConfigParams object`
469
470 Configuration override for the edit tool.
471
472 - `type: optional "edit"`
473
474 - `name: "edit"`
475
476 Must be "edit".
477
478 - `enabled: optional boolean or null`
479
480 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
481
482 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
483
484 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
485
486 - `BetaManagedAgentsAlwaysAllowPolicy object`
487
488 Tool calls are automatically approved without user confirmation.
489
490 - `BetaManagedAgentsAlwaysAskPolicy object`
491
492 Tool calls require user confirmation before execution.
493
494 - `BetaManagedAgentsAutoPolicy object`
495
496 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
497
498 - `BetaManagedAgentsReadToolConfigParams object`
499
500 Configuration override for the read tool.
501
502 - `type: optional "read"`
503
504 - `name: "read"`
505
506 Must be "read".
507
508 - `enabled: optional boolean or null`
509
510 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
511
512 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
513
514 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
515
516 - `BetaManagedAgentsAlwaysAllowPolicy object`
517
518 Tool calls are automatically approved without user confirmation.
519
520 - `BetaManagedAgentsAlwaysAskPolicy object`
521
522 Tool calls require user confirmation before execution.
523
524 - `BetaManagedAgentsAutoPolicy object`
525
526 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
527
528 - `BetaManagedAgentsWriteToolConfigParams object`
529
530 Configuration override for the write tool.
531
532 - `type: optional "write"`
533
534 - `name: "write"`
535
536 Must be "write".
537
538 - `enabled: optional boolean or null`
539
540 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
541
542 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
543
544 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
545
546 - `BetaManagedAgentsAlwaysAllowPolicy object`
547
548 Tool calls are automatically approved without user confirmation.
549
550 - `BetaManagedAgentsAlwaysAskPolicy object`
551
552 Tool calls require user confirmation before execution.
553
554 - `BetaManagedAgentsAutoPolicy object`
555
556 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
557
558 - `BetaManagedAgentsGlobToolConfigParams object`
559
560 Configuration override for the glob tool.
561
562 - `type: optional "glob"`
563
564 - `name: "glob"`
565
566 Must be "glob".
567
568 - `enabled: optional boolean or null`
569
570 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
571
572 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
573
574 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
575
576 - `BetaManagedAgentsAlwaysAllowPolicy object`
577
578 Tool calls are automatically approved without user confirmation.
579
580 - `BetaManagedAgentsAlwaysAskPolicy object`
581
582 Tool calls require user confirmation before execution.
583
584 - `BetaManagedAgentsAutoPolicy object`
585
586 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
587
588 - `BetaManagedAgentsGrepToolConfigParams object`
589
590 Configuration override for the grep tool.
591
592 - `type: optional "grep"`
593
594 - `name: "grep"`
595
596 Must be "grep".
597
598 - `enabled: optional boolean or null`
599
600 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
601
602 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
603
604 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
605
606 - `BetaManagedAgentsAlwaysAllowPolicy object`
607
608 Tool calls are automatically approved without user confirmation.
609
610 - `BetaManagedAgentsAlwaysAskPolicy object`
611
612 Tool calls require user confirmation before execution.
613
614 - `BetaManagedAgentsAutoPolicy object`
615
616 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
617
618 - `BetaManagedAgentsWebFetchToolConfigParams object`
619
620 Configuration override for the web_fetch tool.
621
622 - `type: optional "web_fetch"`
623
624 - `name: "web_fetch"`
625
626 Must be "web_fetch".
627
628 - `allowed_domains: optional array of string`
629
630 Only fetch URLs whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like "docs.example.com" (no scheme, port, or path). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with blocked_domains.
631
632 - `blocked_domains: optional array of string`
633
634 Never fetch URLs whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like "ads.example.com" (no scheme, port, or path). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with allowed_domains.
635
636 - `enabled: optional boolean or null`
637
638 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
639
640 - `max_content_tokens: optional number or null`
641
642 Maximum number of tokens of fetched text content to include in context per call. Does not apply to binary content such as PDFs.
643
644 format: int32
645
646 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
647
648 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
649
650 - `BetaManagedAgentsAlwaysAllowPolicy object`
651
652 Tool calls are automatically approved without user confirmation.
653
654 - `BetaManagedAgentsAlwaysAskPolicy object`
655
656 Tool calls require user confirmation before execution.
657
658 - `BetaManagedAgentsAutoPolicy object`
659
660 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
661
662 - `BetaManagedAgentsWebSearchToolConfigParams object`
663
664 Configuration override for the web_search tool.
665
666 - `type: optional "web_search"`
667
668 - `name: "web_search"`
669
670 Must be "web_search".
671
672 - `allowed_domains: optional array of string`
673
674 Only return search results whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like "docs.example.com" (no scheme or port; an optional path suffix is accepted). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with blocked_domains.
675
676 - `blocked_domains: optional array of string`
677
678 Never return search results whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like "ads.example.com" (no scheme or port; an optional path suffix is accepted). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with allowed_domains.
679
680 - `enabled: optional boolean or null`
681
682 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
683
684 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
685
686 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
687
688 - `BetaManagedAgentsAlwaysAllowPolicy object`
689
690 Tool calls are automatically approved without user confirmation.
691
692 - `BetaManagedAgentsAlwaysAskPolicy object`
693
694 Tool calls require user confirmation before execution.
695
696 - `BetaManagedAgentsAutoPolicy object`
697
698 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
699
700 - `user_location: optional BetaManagedAgentsUserLocation or null`
701
702 Approximate user location for search result localization.
703
704 - `type: "approximate"`
705
706 Location precision. Only "approximate" is supported.
707
708 - `city: optional string or null`
709
710 City name.
711
712 minLength: 1, maxLength: 255
713
714 - `country: optional string or null`
715
716 Two-letter ISO 3166-1 country code, uppercase.
717
718 - `region: optional string or null`
719
720 Region or state name.
721
722 minLength: 1, maxLength: 255
723
724 - `timezone: optional string or null`
725
726 IANA timezone identifier, e.g. "America/Los_Angeles".
727
728 minLength: 1, maxLength: 255
729
730 - `default_config: optional BetaManagedAgentsAgentToolsetDefaultConfigParams or null`
731
732 Default configuration applied to all tools in this set.
733
734 - `enabled: optional boolean or null`
735
736 Whether tools are enabled and available to Claude by default. Defaults to true if not specified.
737
738 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
739
740 Default permission policy for tools. Controls whether tool calls are auto-approved or require confirmation.
741
742 - `BetaManagedAgentsAlwaysAllowPolicy object`
743
744 Tool calls are automatically approved without user confirmation.
745
746 - `BetaManagedAgentsAlwaysAskPolicy object`
747
748 Tool calls require user confirmation before execution.
749
750 - `BetaManagedAgentsAutoPolicy object`
751
752 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
753
754 - `BetaManagedAgentsMCPToolsetParams object`
755
756 Configuration for tools from an MCP server defined in `mcp_servers`.
757
758 - `type: "mcp_toolset"`
759
760 - `mcp_server_name: string`
761
762 Name of the MCP server. Must match a server name from the mcp_servers array. 1-255 characters.
763
764 minLength: 1, maxLength: 255
765
766 - `configs: optional array of BetaManagedAgentsMCPToolConfigParams`
767
768 Per-tool configuration overrides.
769
770 - `name: string`
771
772 Name of the MCP tool to configure. 1-128 characters.
773
774 minLength: 1, maxLength: 128
775
776 - `enabled: optional boolean or null`
777
778 Whether this tool is enabled. Overrides the `default_config` setting.
779
780 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
781
782 Permission policy for this tool. Overrides the `default_config` setting.
783
784 - `BetaManagedAgentsAlwaysAllowPolicy object`
785
786 Tool calls are automatically approved without user confirmation.
787
788 - `BetaManagedAgentsAlwaysAskPolicy object`
789
790 Tool calls require user confirmation before execution.
791
792 - `BetaManagedAgentsAutoPolicy object`
793
794 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
795
796 - `default_config: optional BetaManagedAgentsMCPToolsetDefaultConfigParams or null`
797
798 Default configuration for all tools from this server.
799
800 - `enabled: optional boolean or null`
801
802 Whether tools are enabled by default. Defaults to true if not specified.
803
804 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
805
806 Default permission policy for tools from this server.
807
808 - `BetaManagedAgentsAlwaysAllowPolicy object`
809
810 Tool calls are automatically approved without user confirmation.
811
812 - `BetaManagedAgentsAlwaysAskPolicy object`
813
814 Tool calls require user confirmation before execution.
815
816 - `BetaManagedAgentsAutoPolicy object`
817
818 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
819
820 - `BetaManagedAgentsCustomToolParams object`
821
822 A custom tool that is executed by the API client rather than the agent. When the agent calls this tool, an `agent.custom_tool_use` event is emitted and the session goes idle, waiting for the client to provide the result via a `user.custom_tool_result` event.
823
824 - `type: "custom"`
825
826 - `description: string`
827
828 Description of what the tool does, shown to the agent to help it decide when to use the tool.
829
830 minLength: 1
831
832 - `input_schema: BetaManagedAgentsCustomToolInputSchema`
833
834 JSON Schema defining the expected input parameters for the tool.
835
836 - `type: "object"`
837
838 - `properties: optional map[unknown] or null`
839
840 - `required: optional array of string or null`
841
842 - `name: string`
843
844 Unique name for the tool. 1-128 characters; letters, digits, underscores, and hyphens.
845
846 minLength: 1, maxLength: 128
847
848### Returns
849
850- `BetaManagedAgentsAgent object`
851
852 A Managed Agents `agent`.
853
854 - `type: "agent"`
855
856 - `id: string`
857
858 - `archived_at: string or null`
859
860 When the agent was archived. Null if not archived.
861
862 format: date-time
863
864 - `created_at: string`
865
866 A timestamp in RFC 3339 format
867
868 format: date-time
869
870 - `description: string or null`
871
872 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
873
874 - `type: "url"`
875
876 - `name: string`
877
878 - `url: string`
879
880 - `metadata: map[string]`
881
882 - `model: BetaManagedAgentsModelConfig`
883
884 Model identifier and configuration.
885
886 - `id: BetaManagedAgentsModel`
887
888 The model that will power your agent.
889
890 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
891
892 - `"claude-sonnet-5-5" or "claude-opus-5-5" or "claude-fable-5-1" or 13 more`
893
894 The model that will power your agent.
895
896 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
897
898 - `"claude-sonnet-5-5"`
899
900 Efficient model for coding and agents
901
902 - `"claude-opus-5-5"`
903
904 Powerful intelligence for coding, knowledge work, and long-running agents
905
906 - `"claude-fable-5-1"`
907
908 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
909
910 - `"claude-sonnet-5"`
911
912 Efficient model for coding and agents
913
914 - `"claude-fable-5"`
915
916 Next generation of intelligence for the hardest knowledge work and coding problems
917
918 - `"claude-opus-5"`
919
920 Powerful intelligence for long-running agents and coding
921
922 - `"claude-opus-4-8"`
923
924 Powerful intelligence for long-running agents and coding
925
926 - `"claude-opus-4-7"`
927
928 Powerful intelligence for long-running agents and coding
929
930 - `"claude-opus-4-6"`
931
932 Powerful intelligence for long-running agents and coding
933
934 - `"claude-sonnet-4-6"`
935
936 Best combination of speed and intelligence
937
938 - `"claude-haiku-4-5"`
939
940 Fastest model with near-frontier intelligence
941
942 - `"claude-haiku-4-5-20251001"`
943
944 Fastest model with near-frontier intelligence
945
946 - `"claude-opus-4-5"`
947
948 Powerful intelligence for long-running agents and coding
949
950 - `"claude-opus-4-5-20251101"`
951
952 Powerful intelligence for long-running agents and coding
953
954 - `"claude-sonnet-4-5"`
955
956 High-performance model for agents and coding
957
958 - `"claude-sonnet-4-5-20250929"`
959
960 High-performance model for agents and coding
961943
962944 - `string`
963945
from line 1567
15851567
15861568 - `string`
15871569
1588 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
1589
1590 - `"message-batches-2024-09-24"`
1591
1592 - `"prompt-caching-2024-07-31"`
1593
1594 - `"computer-use-2024-10-22"`
1595
1596 - `"computer-use-2025-01-24"`
1597
1598 - `"pdfs-2024-09-25"`
1599
1600 - `"token-counting-2024-11-01"`
1601
1602 - `"token-efficient-tools-2025-02-19"`
1603
1604 - `"output-128k-2025-02-19"`
1605
1606 - `"files-api-2025-04-14"`
1607
1608 - `"mcp-client-2025-04-04"`
1609
1610 - `"mcp-client-2025-11-20"`
1611
1612 - `"dev-full-thinking-2025-05-14"`
1613
1614 - `"interleaved-thinking-2025-05-14"`
1615
1616 - `"code-execution-2025-05-22"`
1617
1618 - `"extended-cache-ttl-2025-04-11"`
1619
1620 - `"context-1m-2025-08-07"`
1621
1622 - `"context-management-2025-06-27"`
1623
1624 - `"model-context-window-exceeded-2025-08-26"`
1625
1626 - `"skills-2025-10-02"`
1627
1628 - `"fast-mode-2026-02-01"`
1629
1630 - `"output-300k-2026-03-24"`
1631
1632 - `"user-profiles-2026-03-24"`
1633
1634 - `"user-profiles-2026-08-18"`
1635
1636 - `"user-profiles-2026-09-04"`
1637
1638 - `"advisor-tool-2026-03-01"`
1639
1640 - `"managed-agents-2026-04-01"`
1641
1642 - `"cache-diagnosis-2026-04-07"`
1643
1644 - `"dreaming-2026-04-21"`
1645
1646 - `"thinking-token-count-2026-05-13"`
1647
1648 - `"server-side-fallback-2026-06-01"`
1649
1650 - `"server-side-fallback-2026-07-01"`
1651
1652 - `"fallback-credit-2026-06-01"`
1653
1654 - `"fallback-credit-2026-07-01"`
1655
1656 - `"agent-memory-2026-07-22"`
1657
1658 - `"mid-conversation-tool-changes-2026-07-01"`
1659
1660 - `"compact-2026-01-12"`
1661
1662 - `"computer-use-2025-11-24"`
1663
1664 - `"mcp-tunnels-2026-06-22"`
1665
1666 - `"structured-outputs-2025-11-13"`
1667
1668 - `"task-budgets-2026-03-13"`
1669
1670 - `"thinking-display-updates-2026-08-18"`
1671
1672 - `"ce-user-management-2026-07-13"`
1673
1674 - `"mid-conversation-output-config-2026-07-01"`
1675
1676 - `"thinking-binding-controls-2026-08-01"`
1677
1678 - `"mid-conversation-system-clear-at-2026-08-21"`
1679
1680 - `"compact-2026-09-04"`
1681
1682 - `"inline-tools-2026-09-15"`
1683
1684 - `"mcp-client-2026-09-15"`
1570 - `"message-batches-2024-09-24"`
1571
1572 - `"prompt-caching-2024-07-31"`
1573
1574 - `"computer-use-2024-10-22"`
1575
1576 - `"computer-use-2025-01-24"`
1577
1578 - `"pdfs-2024-09-25"`
1579
1580 - `"token-counting-2024-11-01"`
1581
1582 - `"token-efficient-tools-2025-02-19"`
1583
1584 - `"output-128k-2025-02-19"`
1585
1586 - `"files-api-2025-04-14"`
1587
1588 - `"mcp-client-2025-04-04"`
1589
1590 - `"mcp-client-2025-11-20"`
1591
1592 - `"dev-full-thinking-2025-05-14"`
1593
1594 - `"interleaved-thinking-2025-05-14"`
1595
1596 - `"code-execution-2025-05-22"`
1597
1598 - `"extended-cache-ttl-2025-04-11"`
1599
1600 - `"context-1m-2025-08-07"`
1601
1602 - `"context-management-2025-06-27"`
1603
1604 - `"model-context-window-exceeded-2025-08-26"`
1605
1606 - `"skills-2025-10-02"`
1607
1608 - `"fast-mode-2026-02-01"`
1609
1610 - `"output-300k-2026-03-24"`
1611
1612 - `"user-profiles-2026-03-24"`
1613
1614 - `"user-profiles-2026-08-18"`
1615
1616 - `"user-profiles-2026-09-04"`
1617
1618 - `"advisor-tool-2026-03-01"`
1619
1620 - `"managed-agents-2026-04-01"`
1621
1622 - `"cache-diagnosis-2026-04-07"`
1623
1624 - `"dreaming-2026-04-21"`
1625
1626 - `"thinking-token-count-2026-05-13"`
1627
1628 - `"server-side-fallback-2026-06-01"`
1629
1630 - `"server-side-fallback-2026-07-01"`
1631
1632 - `"fallback-credit-2026-06-01"`
1633
1634 - `"fallback-credit-2026-07-01"`
1635
1636 - `"agent-memory-2026-07-22"`
1637
1638 - `"mid-conversation-tool-changes-2026-07-01"`
1639
1640 - `"compact-2026-01-12"`
1641
1642 - `"computer-use-2025-11-24"`
1643
1644 - `"mcp-tunnels-2026-06-22"`
1645
1646 - `"structured-outputs-2025-11-13"`
1647
1648 - `"task-budgets-2026-03-13"`
1649
1650 - `"thinking-display-updates-2026-08-18"`
1651
1652 - `"ce-user-management-2026-07-13"`
1653
1654 - `"mid-conversation-output-config-2026-07-01"`
1655
1656 - `"thinking-binding-controls-2026-08-01"`
1657
1658 - `"mid-conversation-system-clear-at-2026-08-21"`
1659
1660 - `"compact-2026-09-04"`
1661
1662 - `"inline-tools-2026-09-15"`
1663
1664 - `"mcp-client-2026-09-15"`
16851665
16861666- `"anthropic-workspace-id": optional string`
16871667
from line 1713
17331713
17341714 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
17351715
1736 - `"claude-sonnet-5-5" or "claude-opus-5-5" or "claude-fable-5-1" or 13 more`
1737
1738 The model that will power your agent.
1739
1740 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
1741
1742 - `"claude-sonnet-5-5"`
1743
1744 Efficient model for coding and agents
1745
1746 - `"claude-opus-5-5"`
1747
1748 Powerful intelligence for coding, knowledge work, and long-running agents
1749
1750 - `"claude-fable-5-1"`
1751
1752 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
1753
1754 - `"claude-sonnet-5"`
1755
1756 Efficient model for coding and agents
1757
1758 - `"claude-fable-5"`
1759
1760 Next generation of intelligence for the hardest knowledge work and coding problems
1761
1762 - `"claude-opus-5"`
1763
1764 Powerful intelligence for long-running agents and coding
1765
1766 - `"claude-opus-4-8"`
1767
1768 Powerful intelligence for long-running agents and coding
1769
1770 - `"claude-opus-4-7"`
1771
1772 Powerful intelligence for long-running agents and coding
1773
1774 - `"claude-opus-4-6"`
1775
1776 Powerful intelligence for long-running agents and coding
1777
1778 - `"claude-sonnet-4-6"`
1779
1780 Best combination of speed and intelligence
1781
1782 - `"claude-haiku-4-5"`
1783
1784 Fastest model with near-frontier intelligence
1785
1786 - `"claude-haiku-4-5-20251001"`
1787
1788 Fastest model with near-frontier intelligence
1789
1790 - `"claude-opus-4-5"`
1791
1792 Powerful intelligence for long-running agents and coding
1793
1794 - `"claude-opus-4-5-20251101"`
1795
1796 Powerful intelligence for long-running agents and coding
1797
1798 - `"claude-sonnet-4-5"`
1799
1800 High-performance model for agents and coding
1801
1802 - `"claude-sonnet-4-5-20250929"`
1803
1804 High-performance model for agents and coding
1716 - `"claude-sonnet-5-5"`
1717
1718 Efficient model for coding and agents
1719
1720 - `"claude-opus-5-5"`
1721
1722 Powerful intelligence for coding, knowledge work, and long-running agents
1723
1724 - `"claude-fable-5-1"`
1725
1726 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
1727
1728 - `"claude-sonnet-5"`
1729
1730 Efficient model for coding and agents
1731
1732 - `"claude-fable-5"`
1733
1734 Next generation of intelligence for the hardest knowledge work and coding problems
1735
1736 - `"claude-opus-5"`
1737
1738 Powerful intelligence for long-running agents and coding
1739
1740 - `"claude-opus-4-8"`
1741
1742 Powerful intelligence for long-running agents and coding
1743
1744 - `"claude-opus-4-7"`
1745
1746 Powerful intelligence for long-running agents and coding
1747
1748 - `"claude-opus-4-6"`
1749
1750 Powerful intelligence for long-running agents and coding
1751
1752 - `"claude-sonnet-4-6"`
1753
1754 Best combination of speed and intelligence
1755
1756 - `"claude-haiku-4-5"`
1757
1758 Fastest model with near-frontier intelligence
1759
1760 - `"claude-haiku-4-5-20251001"`
1761
1762 Fastest model with near-frontier intelligence
1763
1764 - `"claude-opus-4-5"`
1765
1766 Powerful intelligence for long-running agents and coding
1767
1768 - `"claude-opus-4-5-20251101"`
1769
1770 Powerful intelligence for long-running agents and coding
1771
1772 - `"claude-sonnet-4-5"`
1773
1774 High-performance model for agents and coding
1775
1776 - `"claude-sonnet-4-5-20250929"`
1777
1778 High-performance model for agents and coding
18051779
18061780 - `string`
18071781
from line 2374
24002374
24012375 - `string`
24022376
2403 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
2404
2405 - `"message-batches-2024-09-24"`
2406
2407 - `"prompt-caching-2024-07-31"`
2408
2409 - `"computer-use-2024-10-22"`
2410
2411 - `"computer-use-2025-01-24"`
2412
2413 - `"pdfs-2024-09-25"`
2414
2415 - `"token-counting-2024-11-01"`
2416
2417 - `"token-efficient-tools-2025-02-19"`
2418
2419 - `"output-128k-2025-02-19"`
2420
2421 - `"files-api-2025-04-14"`
2422
2423 - `"mcp-client-2025-04-04"`
2424
2425 - `"mcp-client-2025-11-20"`
2426
2427 - `"dev-full-thinking-2025-05-14"`
2428
2429 - `"interleaved-thinking-2025-05-14"`
2430
2431 - `"code-execution-2025-05-22"`
2432
2433 - `"extended-cache-ttl-2025-04-11"`
2434
2435 - `"context-1m-2025-08-07"`
2436
2437 - `"context-management-2025-06-27"`
2438
2439 - `"model-context-window-exceeded-2025-08-26"`
2440
2441 - `"skills-2025-10-02"`
2442
2443 - `"fast-mode-2026-02-01"`
2444
2445 - `"output-300k-2026-03-24"`
2446
2447 - `"user-profiles-2026-03-24"`
2448
2449 - `"user-profiles-2026-08-18"`
2450
2451 - `"user-profiles-2026-09-04"`
2452
2453 - `"advisor-tool-2026-03-01"`
2454
2455 - `"managed-agents-2026-04-01"`
2456
2457 - `"cache-diagnosis-2026-04-07"`
2458
2459 - `"dreaming-2026-04-21"`
2460
2461 - `"thinking-token-count-2026-05-13"`
2462
2463 - `"server-side-fallback-2026-06-01"`
2464
2465 - `"server-side-fallback-2026-07-01"`
2466
2467 - `"fallback-credit-2026-06-01"`
2468
2469 - `"fallback-credit-2026-07-01"`
2470
2471 - `"agent-memory-2026-07-22"`
2472
2473 - `"mid-conversation-tool-changes-2026-07-01"`
2474
2475 - `"compact-2026-01-12"`
2476
2477 - `"computer-use-2025-11-24"`
2478
2479 - `"mcp-tunnels-2026-06-22"`
2480
2481 - `"structured-outputs-2025-11-13"`
2482
2483 - `"task-budgets-2026-03-13"`
2484
2485 - `"thinking-display-updates-2026-08-18"`
2486
2487 - `"ce-user-management-2026-07-13"`
2488
2489 - `"mid-conversation-output-config-2026-07-01"`
2490
2491 - `"thinking-binding-controls-2026-08-01"`
2492
2493 - `"mid-conversation-system-clear-at-2026-08-21"`
2494
2495 - `"compact-2026-09-04"`
2496
2497 - `"inline-tools-2026-09-15"`
2498
2499 - `"mcp-client-2026-09-15"`
2377 - `"message-batches-2024-09-24"`
2378
2379 - `"prompt-caching-2024-07-31"`
2380
2381 - `"computer-use-2024-10-22"`
2382
2383 - `"computer-use-2025-01-24"`
2384
2385 - `"pdfs-2024-09-25"`
2386
2387 - `"token-counting-2024-11-01"`
2388
2389 - `"token-efficient-tools-2025-02-19"`
2390
2391 - `"output-128k-2025-02-19"`
2392
2393 - `"files-api-2025-04-14"`
2394
2395 - `"mcp-client-2025-04-04"`
2396
2397 - `"mcp-client-2025-11-20"`
2398
2399 - `"dev-full-thinking-2025-05-14"`
2400
2401 - `"interleaved-thinking-2025-05-14"`
2402
2403 - `"code-execution-2025-05-22"`
2404
2405 - `"extended-cache-ttl-2025-04-11"`
2406
2407 - `"context-1m-2025-08-07"`
2408
2409 - `"context-management-2025-06-27"`
2410
2411 - `"model-context-window-exceeded-2025-08-26"`
2412
2413 - `"skills-2025-10-02"`
2414
2415 - `"fast-mode-2026-02-01"`
2416
2417 - `"output-300k-2026-03-24"`
2418
2419 - `"user-profiles-2026-03-24"`
2420
2421 - `"user-profiles-2026-08-18"`
2422
2423 - `"user-profiles-2026-09-04"`
2424
2425 - `"advisor-tool-2026-03-01"`
2426
2427 - `"managed-agents-2026-04-01"`
2428
2429 - `"cache-diagnosis-2026-04-07"`
2430
2431 - `"dreaming-2026-04-21"`
2432
2433 - `"thinking-token-count-2026-05-13"`
2434
2435 - `"server-side-fallback-2026-06-01"`
2436
2437 - `"server-side-fallback-2026-07-01"`
2438
2439 - `"fallback-credit-2026-06-01"`
2440
2441 - `"fallback-credit-2026-07-01"`
2442
2443 - `"agent-memory-2026-07-22"`
2444
2445 - `"mid-conversation-tool-changes-2026-07-01"`
2446
2447 - `"compact-2026-01-12"`
2448
2449 - `"computer-use-2025-11-24"`
2450
2451 - `"mcp-tunnels-2026-06-22"`
2452
2453 - `"structured-outputs-2025-11-13"`
2454
2455 - `"task-budgets-2026-03-13"`
2456
2457 - `"thinking-display-updates-2026-08-18"`
2458
2459 - `"ce-user-management-2026-07-13"`
2460
2461 - `"mid-conversation-output-config-2026-07-01"`
2462
2463 - `"thinking-binding-controls-2026-08-01"`
2464
2465 - `"mid-conversation-system-clear-at-2026-08-21"`
2466
2467 - `"compact-2026-09-04"`
2468
2469 - `"inline-tools-2026-09-15"`
2470
2471 - `"mcp-client-2026-09-15"`
25002472
25012473- `"anthropic-workspace-id": optional string`
25022474
from line 2520
25482520
25492521 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
25502522
2551 - `"claude-sonnet-5-5" or "claude-opus-5-5" or "claude-fable-5-1" or 13 more`
2552
2553 The model that will power your agent.
2554
2555 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
2556
2557 - `"claude-sonnet-5-5"`
2558
2559 Efficient model for coding and agents
2560
2561 - `"claude-opus-5-5"`
2562
2563 Powerful intelligence for coding, knowledge work, and long-running agents
2564
2565 - `"claude-fable-5-1"`
2566
2567 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
2568
2569 - `"claude-sonnet-5"`
2570
2571 Efficient model for coding and agents
2572
2573 - `"claude-fable-5"`
2574
2575 Next generation of intelligence for the hardest knowledge work and coding problems
2576
2577 - `"claude-opus-5"`
2578
2579 Powerful intelligence for long-running agents and coding
2580
2581 - `"claude-opus-4-8"`
2582
2583 Powerful intelligence for long-running agents and coding
2584
2585 - `"claude-opus-4-7"`
2586
2587 Powerful intelligence for long-running agents and coding
2588
2589 - `"claude-opus-4-6"`
2590
2591 Powerful intelligence for long-running agents and coding
2592
2593 - `"claude-sonnet-4-6"`
2594
2595 Best combination of speed and intelligence
2596
2597 - `"claude-haiku-4-5"`
2598
2599 Fastest model with near-frontier intelligence
2600
2601 - `"claude-haiku-4-5-20251001"`
2602
2603 Fastest model with near-frontier intelligence
2604
2605 - `"claude-opus-4-5"`
2606
2607 Powerful intelligence for long-running agents and coding
2608
2609 - `"claude-opus-4-5-20251101"`
2610
2611 Powerful intelligence for long-running agents and coding
2612
2613 - `"claude-sonnet-4-5"`
2614
2615 High-performance model for agents and coding
2616
2617 - `"claude-sonnet-4-5-20250929"`
2618
2619 High-performance model for agents and coding
2523 - `"claude-sonnet-5-5"`
2524
2525 Efficient model for coding and agents
2526
2527 - `"claude-opus-5-5"`
2528
2529 Powerful intelligence for coding, knowledge work, and long-running agents
2530
2531 - `"claude-fable-5-1"`
2532
2533 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
2534
2535 - `"claude-sonnet-5"`
2536
2537 Efficient model for coding and agents
2538
2539 - `"claude-fable-5"`
2540
2541 Next generation of intelligence for the hardest knowledge work and coding problems
2542
2543 - `"claude-opus-5"`
2544
2545 Powerful intelligence for long-running agents and coding
2546
2547 - `"claude-opus-4-8"`
2548
2549 Powerful intelligence for long-running agents and coding
2550
2551 - `"claude-opus-4-7"`
2552
2553 Powerful intelligence for long-running agents and coding
2554
2555 - `"claude-opus-4-6"`
2556
2557 Powerful intelligence for long-running agents and coding
2558
2559 - `"claude-sonnet-4-6"`
2560
2561 Best combination of speed and intelligence
2562
2563 - `"claude-haiku-4-5"`
2564
2565 Fastest model with near-frontier intelligence
2566
2567 - `"claude-haiku-4-5-20251001"`
2568
2569 Fastest model with near-frontier intelligence
2570
2571 - `"claude-opus-4-5"`
2572
2573 Powerful intelligence for long-running agents and coding
2574
2575 - `"claude-opus-4-5-20251101"`
2576
2577 Powerful intelligence for long-running agents and coding
2578
2579 - `"claude-sonnet-4-5"`
2580
2581 High-performance model for agents and coding
2582
2583 - `"claude-sonnet-4-5-20250929"`
2584
2585 High-performance model for agents and coding
26202586
26212587 - `string`
26222588
from line 3164
31983164
31993165 - `string`
32003166
3201 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
3202
3203 - `"message-batches-2024-09-24"`
3204
3205 - `"prompt-caching-2024-07-31"`
3206
3207 - `"computer-use-2024-10-22"`
3208
3209 - `"computer-use-2025-01-24"`
3210
3211 - `"pdfs-2024-09-25"`
3212
3213 - `"token-counting-2024-11-01"`
3214
3215 - `"token-efficient-tools-2025-02-19"`
3216
3217 - `"output-128k-2025-02-19"`
3218
3219 - `"files-api-2025-04-14"`
3220
3221 - `"mcp-client-2025-04-04"`
3222
3223 - `"mcp-client-2025-11-20"`
3224
3225 - `"dev-full-thinking-2025-05-14"`
3226
3227 - `"interleaved-thinking-2025-05-14"`
3228
3229 - `"code-execution-2025-05-22"`
3230
3231 - `"extended-cache-ttl-2025-04-11"`
3232
3233 - `"context-1m-2025-08-07"`
3234
3235 - `"context-management-2025-06-27"`
3236
3237 - `"model-context-window-exceeded-2025-08-26"`
3238
3239 - `"skills-2025-10-02"`
3240
3241 - `"fast-mode-2026-02-01"`
3242
3243 - `"output-300k-2026-03-24"`
3244
3245 - `"user-profiles-2026-03-24"`
3246
3247 - `"user-profiles-2026-08-18"`
3248
3249 - `"user-profiles-2026-09-04"`
3250
3251 - `"advisor-tool-2026-03-01"`
3252
3253 - `"managed-agents-2026-04-01"`
3254
3255 - `"cache-diagnosis-2026-04-07"`
3256
3257 - `"dreaming-2026-04-21"`
3258
3259 - `"thinking-token-count-2026-05-13"`
3260
3261 - `"server-side-fallback-2026-06-01"`
3262
3263 - `"server-side-fallback-2026-07-01"`
3264
3265 - `"fallback-credit-2026-06-01"`
3266
3267 - `"fallback-credit-2026-07-01"`
3268
3269 - `"agent-memory-2026-07-22"`
3270
3271 - `"mid-conversation-tool-changes-2026-07-01"`
3272
3273 - `"compact-2026-01-12"`
3274
3275 - `"computer-use-2025-11-24"`
3276
3277 - `"mcp-tunnels-2026-06-22"`
3278
3279 - `"structured-outputs-2025-11-13"`
3280
3281 - `"task-budgets-2026-03-13"`
3282
3283 - `"thinking-display-updates-2026-08-18"`
3284
3285 - `"ce-user-management-2026-07-13"`
3286
3287 - `"mid-conversation-output-config-2026-07-01"`
3288
3289 - `"thinking-binding-controls-2026-08-01"`
3290
3291 - `"mid-conversation-system-clear-at-2026-08-21"`
3292
3293 - `"compact-2026-09-04"`
3294
3295 - `"inline-tools-2026-09-15"`
3296
3297 - `"mcp-client-2026-09-15"`
3167 - `"message-batches-2024-09-24"`
3168
3169 - `"prompt-caching-2024-07-31"`
3170
3171 - `"computer-use-2024-10-22"`
3172
3173 - `"computer-use-2025-01-24"`
3174
3175 - `"pdfs-2024-09-25"`
3176
3177 - `"token-counting-2024-11-01"`
3178
3179 - `"token-efficient-tools-2025-02-19"`
3180
3181 - `"output-128k-2025-02-19"`
3182
3183 - `"files-api-2025-04-14"`
3184
3185 - `"mcp-client-2025-04-04"`
3186
3187 - `"mcp-client-2025-11-20"`
3188
3189 - `"dev-full-thinking-2025-05-14"`
3190
3191 - `"interleaved-thinking-2025-05-14"`
3192
3193 - `"code-execution-2025-05-22"`
3194
3195 - `"extended-cache-ttl-2025-04-11"`
3196
3197 - `"context-1m-2025-08-07"`
3198
3199 - `"context-management-2025-06-27"`
3200
3201 - `"model-context-window-exceeded-2025-08-26"`
3202
3203 - `"skills-2025-10-02"`
3204
3205 - `"fast-mode-2026-02-01"`
3206
3207 - `"output-300k-2026-03-24"`
3208
3209 - `"user-profiles-2026-03-24"`
3210
3211 - `"user-profiles-2026-08-18"`
3212
3213 - `"user-profiles-2026-09-04"`
3214
3215 - `"advisor-tool-2026-03-01"`
3216
3217 - `"managed-agents-2026-04-01"`
3218
3219 - `"cache-diagnosis-2026-04-07"`
3220
3221 - `"dreaming-2026-04-21"`
3222
3223 - `"thinking-token-count-2026-05-13"`
3224
3225 - `"server-side-fallback-2026-06-01"`
3226
3227 - `"server-side-fallback-2026-07-01"`
3228
3229 - `"fallback-credit-2026-06-01"`
3230
3231 - `"fallback-credit-2026-07-01"`
3232
3233 - `"agent-memory-2026-07-22"`
3234
3235 - `"mid-conversation-tool-changes-2026-07-01"`
3236
3237 - `"compact-2026-01-12"`
3238
3239 - `"computer-use-2025-11-24"`
3240
3241 - `"mcp-tunnels-2026-06-22"`
3242
3243 - `"structured-outputs-2025-11-13"`
3244
3245 - `"task-budgets-2026-03-13"`
3246
3247 - `"thinking-display-updates-2026-08-18"`
3248
3249 - `"ce-user-management-2026-07-13"`
3250
3251 - `"mid-conversation-output-config-2026-07-01"`
3252
3253 - `"thinking-binding-controls-2026-08-01"`
3254
3255 - `"mid-conversation-system-clear-at-2026-08-21"`
3256
3257 - `"compact-2026-09-04"`
3258
3259 - `"inline-tools-2026-09-15"`
3260
3261 - `"mcp-client-2026-09-15"`
32983262
32993263- `"anthropic-workspace-id": optional string`
33003264
from line 3306
33423306
33433307 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
33443308
3345 - `"claude-sonnet-5-5" or "claude-opus-5-5" or "claude-fable-5-1" or 13 more`
3309 - `"claude-sonnet-5-5"`
3310
3311 Efficient model for coding and agents
3312
3313 - `"claude-opus-5-5"`
3314
3315 Powerful intelligence for coding, knowledge work, and long-running agents
3316
3317 - `"claude-fable-5-1"`
3318
3319 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
3320
3321 - `"claude-sonnet-5"`
3322
3323 Efficient model for coding and agents
3324
3325 - `"claude-fable-5"`
3326
3327 Next generation of intelligence for the hardest knowledge work and coding problems
3328
3329 - `"claude-opus-5"`
3330
3331 Powerful intelligence for long-running agents and coding
3332
3333 - `"claude-opus-4-8"`
3334
3335 Powerful intelligence for long-running agents and coding
3336
3337 - `"claude-opus-4-7"`
3338
3339 Powerful intelligence for long-running agents and coding
3340
3341 - `"claude-opus-4-6"`
3342
3343 Powerful intelligence for long-running agents and coding
3344
3345 - `"claude-sonnet-4-6"`
3346
3347 Best combination of speed and intelligence
3348
3349 - `"claude-haiku-4-5"`
3350
3351 Fastest model with near-frontier intelligence
3352
3353 - `"claude-haiku-4-5-20251001"`
3354
3355 Fastest model with near-frontier intelligence
3356
3357 - `"claude-opus-4-5"`
3358
3359 Powerful intelligence for long-running agents and coding
3360
3361 - `"claude-opus-4-5-20251101"`
3362
3363 Powerful intelligence for long-running agents and coding
3364
3365 - `"claude-sonnet-4-5"`
3366
3367 High-performance model for agents and coding
3368
3369 - `"claude-sonnet-4-5-20250929"`
3370
3371 High-performance model for agents and coding
3372
3373 - `string`
3374
3375 - `BetaManagedAgentsModelConfigParams object`
3376
3377 An object that defines additional configuration control over model use
3378
3379 - `id: BetaManagedAgentsModel`
33463380
33473381 The model that will power your agent.
33483382
33493383 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
33503384
3385 - `effort: optional "low" or "medium" or "high" or 2 more or BetaManagedAgentsEffortLow or BetaManagedAgentsEffortMedium or 3 more or null`
3386
3387 How hard Claude works on each inference call. Accepts a bare level string (`"high"`) or `{"type": "high"}`. On create, omitting it resolves the per-model default; on update, omitting it leaves the stored value unchanged.
3388
3389 - `"low"`
3390
3391 Low effort. Favors latency over reasoning depth.
3392
3393 - `"medium"`
3394
3395 Medium effort. Balances latency and reasoning depth.
3396
3397 - `"high"`
3398
3399 High effort. Favors reasoning depth.
3400
3401 - `"xhigh"`
3402
3403 Extra-high effort. Not all models accept this level.
3404
3405 - `"max"`
3406
3407 Maximum effort. Favors reasoning depth over latency.
3408
3409 - `BetaManagedAgentsEffortLow object`
3410
3411 Low effort. Favors latency over reasoning depth.
3412
3413 - `type: "low"`
3414
3415 - `BetaManagedAgentsEffortMedium object`
3416
3417 Medium effort. Balances latency and reasoning depth.
3418
3419 - `type: "medium"`
3420
3421 - `BetaManagedAgentsEffortHigh object`
3422
3423 High effort. Favors reasoning depth.
3424
3425 - `type: "high"`
3426
3427 - `BetaManagedAgentsEffortXhigh object`
3428
3429 Extra-high effort. Not all models accept this level.
3430
3431 - `type: "xhigh"`
3432
3433 - `BetaManagedAgentsEffortMax object`
3434
3435 Maximum effort. Favors reasoning depth over latency.
3436
3437 - `type: "max"`
3438
3439 - `inference_geo: optional string or null`
3440
3441 Geographic region for model inference. When unset, requests fall through to the workspace's default_inference_geo. On update, `model` is whole-object replacement — omitting inference_geo clears it.
3442
3443 - `speed: optional "standard" or "fast" or null`
3444
3445 Inference speed mode. Defaults to `standard`.
3446
3447 - `"standard"`
3448
3449 - `"fast"`
3450
3451- `multiagent: optional BetaManagedAgentsMultiagentParams or null`
3452
3453 Multiagent orchestration configuration. Full replacement. Omit to preserve; send null to clear.
3454
3455 - `type: "coordinator"`
3456
3457 - `agents: array of BetaManagedAgentsMultiagentRosterEntryParams`
3458
3459 Agents the coordinator may spawn as session threads. 1–20 entries. Each entry is an agent ID string, a versioned `{"type":"agent","id","version"}` reference, or `{"type":"self"}` to allow recursive self-invocation. Entries must reference distinct agents (after resolving `self` and string forms); at most one `self`. Referenced agents must exist, must not be archived, and must not themselves have `multiagent` set (depth limit 1).
3460
3461 - `string`
3462
3463 - `BetaManagedAgentsAgentParams object`
3464
3465 Specification for an Agent. Provide a specific `version` or use the short-form `agent="agent_id"` for the most recent version
3466
3467 - `type: "agent"`
3468
3469 - `id: string`
3470
3471 The `agent` ID.
3472
3473 minLength: 1, maxLength: 128
3474
3475 - `version: optional number`
3476
3477 The specific `agent` version to use. Omit to use the latest version. Must be at least 1 if specified.
3478
3479 format: int32
3480
3481 - `BetaManagedAgentsMultiagentSelfParams object`
3482
3483 Sentinel roster entry meaning "the agent that owns this configuration". Resolved server-side to a concrete agent reference.
3484
3485 - `type: "self"`
3486
3487 - `BetaManagedAgentsAdvisorParams object`
3488
3489 Platform advisor roster entry: a model the session's primary thread may consult mid-turn. At most one per roster; the entry occupies the roster name `anthropic.advisor`.
3490
3491 - `type: "advisor"`
3492
3493 - `model: string`
3494
3495 A Claude model id. The model must be permitted as an advisor for this agent's model — see the sessions/threads/advisor spec.
3496
3497 minLength: 1, maxLength: 256
3498
3499- `name: optional string`
3500
3501 Human-readable name. Must be non-empty. Omit to preserve. Cannot be cleared.
3502
3503 maxLength: 256
3504
3505- `skills: optional array of BetaManagedAgentsSkillParams or null`
3506
3507 Skills. Full replacement. Omit to preserve; send empty array or null to clear.
3508
3509 - `BetaManagedAgentsAnthropicSkillParams object`
3510
3511 An Anthropic-managed skill.
3512
3513 - `type: "anthropic"`
3514
3515 - `skill_id: string`
3516
3517 Identifier of the Anthropic skill (e.g., "xlsx").
3518
3519 minLength: 1, maxLength: 64
3520
3521 - `version: optional string or null`
3522
3523 Version to pin. Defaults to latest if omitted.
3524
3525 minLength: 1, maxLength: 64
3526
3527 - `BetaManagedAgentsCustomSkillParams object`
3528
3529 A user-created custom skill.
3530
3531 - `type: "custom"`
3532
3533 - `skill_id: string`
3534
3535 Tagged ID of the custom skill (e.g., "skill_01XJ5...").
3536
3537 minLength: 1, maxLength: 64
3538
3539 - `version: optional string or null`
3540
3541 Version to pin. Defaults to latest if omitted.
3542
3543 minLength: 1, maxLength: 64
3544
3545- `system: optional string or null`
3546
3547 System prompt. Omit to preserve; send empty string or null to clear.
3548
3549 maxLength: 100000
3550
3551- `tools: optional array of BetaManagedAgentsAgentToolset20260401Params or BetaManagedAgentsMCPToolsetParams or BetaManagedAgentsCustomToolParams or null`
3552
3553 Tool configurations available to the agent. Full replacement. Omit to preserve; send empty array or null to clear. Maximum of 128 tools across all toolsets allowed.
3554
3555 - `BetaManagedAgentsAgentToolset20260401Params object`
3556
3557 Configuration for built-in agent tools. Use this to enable or disable groups of tools available to the agent.
3558
3559 - `type: "agent_toolset_20260401"`
3560
3561 - `configs: optional array of BetaManagedAgentsAgentToolConfigParams`
3562
3563 Per-tool configuration overrides.
3564
3565 - `BetaManagedAgentsBashToolConfigParams object`
3566
3567 Configuration override for the bash tool.
3568
3569 - `type: optional "bash"`
3570
3571 - `name: "bash"`
3572
3573 Must be "bash".
3574
3575 - `enabled: optional boolean or null`
3576
3577 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
3578
3579 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
3580
3581 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
3582
3583 - `BetaManagedAgentsAlwaysAllowPolicy object`
3584
3585 Tool calls are automatically approved without user confirmation.
3586
3587 - `type: "always_allow"`
3588
3589 - `BetaManagedAgentsAlwaysAskPolicy object`
3590
3591 Tool calls require user confirmation before execution.
3592
3593 - `type: "always_ask"`
3594
3595 - `BetaManagedAgentsAutoPolicy object`
3596
3597 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
3598
3599 - `type: "auto"`
3600
3601 - `BetaManagedAgentsEditToolConfigParams object`
3602
3603 Configuration override for the edit tool.
3604
3605 - `type: optional "edit"`
3606
3607 - `name: "edit"`
3608
3609 Must be "edit".
3610
3611 - `enabled: optional boolean or null`
3612
3613 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
3614
3615 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
3616
3617 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
3618
3619 - `BetaManagedAgentsAlwaysAllowPolicy object`
3620
3621 Tool calls are automatically approved without user confirmation.
3622
3623 - `BetaManagedAgentsAlwaysAskPolicy object`
3624
3625 Tool calls require user confirmation before execution.
3626
3627 - `BetaManagedAgentsAutoPolicy object`
3628
3629 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
3630
3631 - `BetaManagedAgentsReadToolConfigParams object`
3632
3633 Configuration override for the read tool.
3634
3635 - `type: optional "read"`
3636
3637 - `name: "read"`
3638
3639 Must be "read".
3640
3641 - `enabled: optional boolean or null`
3642
3643 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
3644
3645 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
3646
3647 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
3648
3649 - `BetaManagedAgentsAlwaysAllowPolicy object`
3650
3651 Tool calls are automatically approved without user confirmation.
3652
3653 - `BetaManagedAgentsAlwaysAskPolicy object`
3654
3655 Tool calls require user confirmation before execution.
3656
3657 - `BetaManagedAgentsAutoPolicy object`
3658
3659 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
3660
3661 - `BetaManagedAgentsWriteToolConfigParams object`
3662
3663 Configuration override for the write tool.
3664
3665 - `type: optional "write"`
3666
3667 - `name: "write"`
3668
3669 Must be "write".
3670
3671 - `enabled: optional boolean or null`
3672
3673 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
3674
3675 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
3676
3677 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
3678
3679 - `BetaManagedAgentsAlwaysAllowPolicy object`
3680
3681 Tool calls are automatically approved without user confirmation.
3682
3683 - `BetaManagedAgentsAlwaysAskPolicy object`
3684
3685 Tool calls require user confirmation before execution.
3686
3687 - `BetaManagedAgentsAutoPolicy object`
3688
3689 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
3690
3691 - `BetaManagedAgentsGlobToolConfigParams object`
3692
3693 Configuration override for the glob tool.
3694
3695 - `type: optional "glob"`
3696
3697 - `name: "glob"`
3698
3699 Must be "glob".
3700
3701 - `enabled: optional boolean or null`
3702
3703 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
3704
3705 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
3706
3707 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
3708
3709 - `BetaManagedAgentsAlwaysAllowPolicy object`
3710
3711 Tool calls are automatically approved without user confirmation.
3712
3713 - `BetaManagedAgentsAlwaysAskPolicy object`
3714
3715 Tool calls require user confirmation before execution.
3716
3717 - `BetaManagedAgentsAutoPolicy object`
3718
3719 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
3720
3721 - `BetaManagedAgentsGrepToolConfigParams object`
3722
3723 Configuration override for the grep tool.
3724
3725 - `type: optional "grep"`
3726
3727 - `name: "grep"`
3728
3729 Must be "grep".
3730
3731 - `enabled: optional boolean or null`
3732
3733 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
3734
3735 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
3736
3737 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
3738
3739 - `BetaManagedAgentsAlwaysAllowPolicy object`
3740
3741 Tool calls are automatically approved without user confirmation.
3742
3743 - `BetaManagedAgentsAlwaysAskPolicy object`
3744
3745 Tool calls require user confirmation before execution.
3746
3747 - `BetaManagedAgentsAutoPolicy object`
3748
3749 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
3750
3751 - `BetaManagedAgentsWebFetchToolConfigParams object`
3752
3753 Configuration override for the web_fetch tool.
3754
3755 - `type: optional "web_fetch"`
3756
3757 - `name: "web_fetch"`
3758
3759 Must be "web_fetch".
3760
3761 - `allowed_domains: optional array of string`
3762
3763 Only fetch URLs whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like "docs.example.com" (no scheme, port, or path). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with blocked_domains.
3764
3765 - `blocked_domains: optional array of string`
3766
3767 Never fetch URLs whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like "ads.example.com" (no scheme, port, or path). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with allowed_domains.
3768
3769 - `enabled: optional boolean or null`
3770
3771 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
3772
3773 - `max_content_tokens: optional number or null`
3774
3775 Maximum number of tokens of fetched text content to include in context per call. Does not apply to binary content such as PDFs.
3776
3777 format: int32
3778
3779 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
3780
3781 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
3782
3783 - `BetaManagedAgentsAlwaysAllowPolicy object`
3784
3785 Tool calls are automatically approved without user confirmation.
3786
3787 - `BetaManagedAgentsAlwaysAskPolicy object`
3788
3789 Tool calls require user confirmation before execution.
3790
3791 - `BetaManagedAgentsAutoPolicy object`
3792
3793 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
3794
3795 - `BetaManagedAgentsWebSearchToolConfigParams object`
3796
3797 Configuration override for the web_search tool.
3798
3799 - `type: optional "web_search"`
3800
3801 - `name: "web_search"`
3802
3803 Must be "web_search".
3804
3805 - `allowed_domains: optional array of string`
3806
3807 Only return search results whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like "docs.example.com" (no scheme or port; an optional path suffix is accepted). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with blocked_domains.
3808
3809 - `blocked_domains: optional array of string`
3810
3811 Never return search results whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like "ads.example.com" (no scheme or port; an optional path suffix is accepted). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with allowed_domains.
3812
3813 - `enabled: optional boolean or null`
3814
3815 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
3816
3817 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
3818
3819 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
3820
3821 - `BetaManagedAgentsAlwaysAllowPolicy object`
3822
3823 Tool calls are automatically approved without user confirmation.
3824
3825 - `BetaManagedAgentsAlwaysAskPolicy object`
3826
3827 Tool calls require user confirmation before execution.
3828
3829 - `BetaManagedAgentsAutoPolicy object`
3830
3831 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
3832
3833 - `user_location: optional BetaManagedAgentsUserLocation or null`
3834
3835 Approximate user location for search result localization.
3836
3837 - `type: "approximate"`
3838
3839 Location precision. Only "approximate" is supported.
3840
3841 - `city: optional string or null`
3842
3843 City name.
3844
3845 minLength: 1, maxLength: 255
3846
3847 - `country: optional string or null`
3848
3849 Two-letter ISO 3166-1 country code, uppercase.
3850
3851 - `region: optional string or null`
3852
3853 Region or state name.
3854
3855 minLength: 1, maxLength: 255
3856
3857 - `timezone: optional string or null`
3858
3859 IANA timezone identifier, e.g. "America/Los_Angeles".
3860
3861 minLength: 1, maxLength: 255
3862
3863 - `default_config: optional BetaManagedAgentsAgentToolsetDefaultConfigParams or null`
3864
3865 Default configuration applied to all tools in this set.
3866
3867 - `enabled: optional boolean or null`
3868
3869 Whether tools are enabled and available to Claude by default. Defaults to true if not specified.
3870
3871 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
3872
3873 Default permission policy for tools. Controls whether tool calls are auto-approved or require confirmation.
3874
3875 - `BetaManagedAgentsAlwaysAllowPolicy object`
3876
3877 Tool calls are automatically approved without user confirmation.
3878
3879 - `BetaManagedAgentsAlwaysAskPolicy object`
3880
3881 Tool calls require user confirmation before execution.
3882
3883 - `BetaManagedAgentsAutoPolicy object`
3884
3885 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
3886
3887 - `BetaManagedAgentsMCPToolsetParams object`
3888
3889 Configuration for tools from an MCP server defined in `mcp_servers`.
3890
3891 - `type: "mcp_toolset"`
3892
3893 - `mcp_server_name: string`
3894
3895 Name of the MCP server. Must match a server name from the mcp_servers array. 1-255 characters.
3896
3897 minLength: 1, maxLength: 255
3898
3899 - `configs: optional array of BetaManagedAgentsMCPToolConfigParams`
3900
3901 Per-tool configuration overrides.
3902
3903 - `name: string`
3904
3905 Name of the MCP tool to configure. 1-128 characters.
3906
3907 minLength: 1, maxLength: 128
3908
3909 - `enabled: optional boolean or null`
3910
3911 Whether this tool is enabled. Overrides the `default_config` setting.
3912
3913 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
3914
3915 Permission policy for this tool. Overrides the `default_config` setting.
3916
3917 - `BetaManagedAgentsAlwaysAllowPolicy object`
3918
3919 Tool calls are automatically approved without user confirmation.
3920
3921 - `BetaManagedAgentsAlwaysAskPolicy object`
3922
3923 Tool calls require user confirmation before execution.
3924
3925 - `BetaManagedAgentsAutoPolicy object`
3926
3927 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
3928
3929 - `default_config: optional BetaManagedAgentsMCPToolsetDefaultConfigParams or null`
3930
3931 Default configuration for all tools from this server.
3932
3933 - `enabled: optional boolean or null`
3934
3935 Whether tools are enabled by default. Defaults to true if not specified.
3936
3937 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
3938
3939 Default permission policy for tools from this server.
3940
3941 - `BetaManagedAgentsAlwaysAllowPolicy object`
3942
3943 Tool calls are automatically approved without user confirmation.
3944
3945 - `BetaManagedAgentsAlwaysAskPolicy object`
3946
3947 Tool calls require user confirmation before execution.
3948
3949 - `BetaManagedAgentsAutoPolicy object`
3950
3951 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
3952
3953 - `BetaManagedAgentsCustomToolParams object`
3954
3955 A custom tool that is executed by the API client rather than the agent. When the agent calls this tool, an `agent.custom_tool_use` event is emitted and the session goes idle, waiting for the client to provide the result via a `user.custom_tool_result` event.
3956
3957 - `type: "custom"`
3958
3959 - `description: string`
3960
3961 Description of what the tool does, shown to the agent to help it decide when to use the tool.
3962
3963 minLength: 1
3964
3965 - `input_schema: BetaManagedAgentsCustomToolInputSchema`
3966
3967 JSON Schema defining the expected input parameters for the tool.
3968
3969 - `type: "object"`
3970
3971 - `properties: optional map[unknown] or null`
3972
3973 - `required: optional array of string or null`
3974
3975 - `name: string`
3976
3977 Unique name for the tool. 1-128 characters; letters, digits, underscores, and hyphens.
3978
3979 minLength: 1, maxLength: 128
3980
3981- `version: optional number`
3982
3983 The agent's current version, used to prevent concurrent overwrites. Obtain this value from a create or retrieve response. Must be at least 1 if specified. When supplied, the request fails if it does not match the server's current version; omit to apply the update unconditionally.
3984
3985 format: int32
3986
3987### Returns
3988
3989- `BetaManagedAgentsAgent object`
3990
3991 A Managed Agents `agent`.
3992
3993 - `type: "agent"`
3994
3995 - `id: string`
3996
3997 - `archived_at: string or null`
3998
3999 When the agent was archived. Null if not archived.
4000
4001 format: date-time
4002
4003 - `created_at: string`
4004
4005 A timestamp in RFC 3339 format
4006
4007 format: date-time
4008
4009 - `description: string or null`
4010
4011 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
4012
4013 - `type: "url"`
4014
4015 - `name: string`
4016
4017 - `url: string`
4018
4019 - `metadata: map[string]`
4020
4021 - `model: BetaManagedAgentsModelConfig`
4022
4023 Model identifier and configuration.
4024
4025 - `id: BetaManagedAgentsModel`
4026
4027 The model that will power your agent.
4028
4029 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
4030
33514031 - `"claude-sonnet-5-5"`
33524032
33534033 Efficient model for coding and agents
from line 4091
34114091 - `"claude-sonnet-4-5-20250929"`
34124092
34134093 High-performance model for agents and coding
3414
3415 - `string`
3416
3417 - `BetaManagedAgentsModelConfigParams object`
3418
3419 An object that defines additional configuration control over model use
3420
3421 - `id: BetaManagedAgentsModel`
3422
3423 The model that will power your agent.
3424
3425 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
3426
3427 - `effort: optional "low" or "medium" or "high" or 2 more or BetaManagedAgentsEffortLow or BetaManagedAgentsEffortMedium or 3 more or null`
3428
3429 How hard Claude works on each inference call. Accepts a bare level string (`"high"`) or `{"type": "high"}`. On create, omitting it resolves the per-model default; on update, omitting it leaves the stored value unchanged.
3430
3431 - `BetaManagedAgentsEffortLevel = "low" or "medium" or "high" or 2 more`
3432
3433 How hard Claude works on each turn. Higher levels favor reasoning depth over latency. Not all models accept every level; invalid combinations are rejected at create time.
3434
3435 - `"low"`
3436
3437 Low effort. Favors latency over reasoning depth.
3438
3439 - `"medium"`
3440
3441 Medium effort. Balances latency and reasoning depth.
3442
3443 - `"high"`
3444
3445 High effort. Favors reasoning depth.
3446
3447 - `"xhigh"`
3448
3449 Extra-high effort. Not all models accept this level.
3450
3451 - `"max"`
3452
3453 Maximum effort. Favors reasoning depth over latency.
3454
3455 - `BetaManagedAgentsEffortLow object`
3456
3457 Low effort. Favors latency over reasoning depth.
3458
3459 - `type: "low"`
3460
3461 - `BetaManagedAgentsEffortMedium object`
3462
3463 Medium effort. Balances latency and reasoning depth.
3464
3465 - `type: "medium"`
3466
3467 - `BetaManagedAgentsEffortHigh object`
3468
3469 High effort. Favors reasoning depth.
3470
3471 - `type: "high"`
3472
3473 - `BetaManagedAgentsEffortXhigh object`
3474
3475 Extra-high effort. Not all models accept this level.
3476
3477 - `type: "xhigh"`
3478
3479 - `BetaManagedAgentsEffortMax object`
3480
3481 Maximum effort. Favors reasoning depth over latency.
3482
3483 - `type: "max"`
3484
3485 - `inference_geo: optional string or null`
3486
3487 Geographic region for model inference. When unset, requests fall through to the workspace's default_inference_geo. On update, `model` is whole-object replacement — omitting inference_geo clears it.
3488
3489 - `speed: optional "standard" or "fast" or null`
3490
3491 Inference speed mode. Defaults to `standard`.
3492
3493 - `"standard"`
3494
3495 - `"fast"`
3496
3497- `multiagent: optional BetaManagedAgentsMultiagentParams or null`
3498
3499 Multiagent orchestration configuration. Full replacement. Omit to preserve; send null to clear.
3500
3501 - `type: "coordinator"`
3502
3503 - `agents: array of BetaManagedAgentsMultiagentRosterEntryParams`
3504
3505 Agents the coordinator may spawn as session threads. 1–20 entries. Each entry is an agent ID string, a versioned `{"type":"agent","id","version"}` reference, or `{"type":"self"}` to allow recursive self-invocation. Entries must reference distinct agents (after resolving `self` and string forms); at most one `self`. Referenced agents must exist, must not be archived, and must not themselves have `multiagent` set (depth limit 1).
3506
3507 - `string`
3508
3509 - `BetaManagedAgentsAgentParams object`
3510
3511 Specification for an Agent. Provide a specific `version` or use the short-form `agent="agent_id"` for the most recent version
3512
3513 - `type: "agent"`
3514
3515 - `id: string`
3516
3517 The `agent` ID.
3518
3519 minLength: 1, maxLength: 128
3520
3521 - `version: optional number`
3522
3523 The specific `agent` version to use. Omit to use the latest version. Must be at least 1 if specified.
3524
3525 format: int32
3526
3527 - `BetaManagedAgentsMultiagentSelfParams object`
3528
3529 Sentinel roster entry meaning "the agent that owns this configuration". Resolved server-side to a concrete agent reference.
3530
3531 - `type: "self"`
3532
3533 - `BetaManagedAgentsAdvisorParams object`
3534
3535 Platform advisor roster entry: a model the session's primary thread may consult mid-turn. At most one per roster; the entry occupies the roster name `anthropic.advisor`.
3536
3537 - `type: "advisor"`
3538
3539 - `model: string`
3540
3541 A Claude model id. The model must be permitted as an advisor for this agent's model — see the sessions/threads/advisor spec.
3542
3543 minLength: 1, maxLength: 256
3544
3545- `name: optional string`
3546
3547 Human-readable name. Must be non-empty. Omit to preserve. Cannot be cleared.
3548
3549 maxLength: 256
3550
3551- `skills: optional array of BetaManagedAgentsSkillParams or null`
3552
3553 Skills. Full replacement. Omit to preserve; send empty array or null to clear.
3554
3555 - `BetaManagedAgentsAnthropicSkillParams object`
3556
3557 An Anthropic-managed skill.
3558
3559 - `type: "anthropic"`
3560
3561 - `skill_id: string`
3562
3563 Identifier of the Anthropic skill (e.g., "xlsx").
3564
3565 minLength: 1, maxLength: 64
3566
3567 - `version: optional string or null`
3568
3569 Version to pin. Defaults to latest if omitted.
3570
3571 minLength: 1, maxLength: 64
3572
3573 - `BetaManagedAgentsCustomSkillParams object`
3574
3575 A user-created custom skill.
3576
3577 - `type: "custom"`
3578
3579 - `skill_id: string`
3580
3581 Tagged ID of the custom skill (e.g., "skill_01XJ5...").
3582
3583 minLength: 1, maxLength: 64
3584
3585 - `version: optional string or null`
3586
3587 Version to pin. Defaults to latest if omitted.
3588
3589 minLength: 1, maxLength: 64
3590
3591- `system: optional string or null`
3592
3593 System prompt. Omit to preserve; send empty string or null to clear.
3594
3595 maxLength: 100000
3596
3597- `tools: optional array of BetaManagedAgentsAgentToolset20260401Params or BetaManagedAgentsMCPToolsetParams or BetaManagedAgentsCustomToolParams or null`
3598
3599 Tool configurations available to the agent. Full replacement. Omit to preserve; send empty array or null to clear. Maximum of 128 tools across all toolsets allowed.
3600
3601 - `BetaManagedAgentsAgentToolset20260401Params object`
3602
3603 Configuration for built-in agent tools. Use this to enable or disable groups of tools available to the agent.
3604
3605 - `type: "agent_toolset_20260401"`
3606
3607 - `configs: optional array of BetaManagedAgentsAgentToolConfigParams`
3608
3609 Per-tool configuration overrides.
3610
3611 - `BetaManagedAgentsBashToolConfigParams object`
3612
3613 Configuration override for the bash tool.
3614
3615 - `type: optional "bash"`
3616
3617 - `name: "bash"`
3618
3619 Must be "bash".
3620
3621 - `enabled: optional boolean or null`
3622
3623 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
3624
3625 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
3626
3627 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
3628
3629 - `BetaManagedAgentsAlwaysAllowPolicy object`
3630
3631 Tool calls are automatically approved without user confirmation.
3632
3633 - `type: "always_allow"`
3634
3635 - `BetaManagedAgentsAlwaysAskPolicy object`
3636
3637 Tool calls require user confirmation before execution.
3638
3639 - `type: "always_ask"`
3640
3641 - `BetaManagedAgentsAutoPolicy object`
3642
3643 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
3644
3645 - `type: "auto"`
3646
3647 - `BetaManagedAgentsEditToolConfigParams object`
3648
3649 Configuration override for the edit tool.
3650
3651 - `type: optional "edit"`
3652
3653 - `name: "edit"`
3654
3655 Must be "edit".
3656
3657 - `enabled: optional boolean or null`
3658
3659 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
3660
3661 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
3662
3663 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
3664
3665 - `BetaManagedAgentsAlwaysAllowPolicy object`
3666
3667 Tool calls are automatically approved without user confirmation.
3668
3669 - `BetaManagedAgentsAlwaysAskPolicy object`
3670
3671 Tool calls require user confirmation before execution.
3672
3673 - `BetaManagedAgentsAutoPolicy object`
3674
3675 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
3676
3677 - `BetaManagedAgentsReadToolConfigParams object`
3678
3679 Configuration override for the read tool.
3680
3681 - `type: optional "read"`
3682
3683 - `name: "read"`
3684
3685 Must be "read".
3686
3687 - `enabled: optional boolean or null`
3688
3689 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
3690
3691 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
3692
3693 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
3694
3695 - `BetaManagedAgentsAlwaysAllowPolicy object`
3696
3697 Tool calls are automatically approved without user confirmation.
3698
3699 - `BetaManagedAgentsAlwaysAskPolicy object`
3700
3701 Tool calls require user confirmation before execution.
3702
3703 - `BetaManagedAgentsAutoPolicy object`
3704
3705 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
3706
3707 - `BetaManagedAgentsWriteToolConfigParams object`
3708
3709 Configuration override for the write tool.
3710
3711 - `type: optional "write"`
3712
3713 - `name: "write"`
3714
3715 Must be "write".
3716
3717 - `enabled: optional boolean or null`
3718
3719 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
3720
3721 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
3722
3723 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
3724
3725 - `BetaManagedAgentsAlwaysAllowPolicy object`
3726
3727 Tool calls are automatically approved without user confirmation.
3728
3729 - `BetaManagedAgentsAlwaysAskPolicy object`
3730
3731 Tool calls require user confirmation before execution.
3732
3733 - `BetaManagedAgentsAutoPolicy object`
3734
3735 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
3736
3737 - `BetaManagedAgentsGlobToolConfigParams object`
3738
3739 Configuration override for the glob tool.
3740
3741 - `type: optional "glob"`
3742
3743 - `name: "glob"`
3744
3745 Must be "glob".
3746
3747 - `enabled: optional boolean or null`
3748
3749 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
3750
3751 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
3752
3753 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
3754
3755 - `BetaManagedAgentsAlwaysAllowPolicy object`
3756
3757 Tool calls are automatically approved without user confirmation.
3758
3759 - `BetaManagedAgentsAlwaysAskPolicy object`
3760
3761 Tool calls require user confirmation before execution.
3762
3763 - `BetaManagedAgentsAutoPolicy object`
3764
3765 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
3766
3767 - `BetaManagedAgentsGrepToolConfigParams object`
3768
3769 Configuration override for the grep tool.
3770
3771 - `type: optional "grep"`
3772
3773 - `name: "grep"`
3774
3775 Must be "grep".
3776
3777 - `enabled: optional boolean or null`
3778
3779 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
3780
3781 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
3782
3783 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
3784
3785 - `BetaManagedAgentsAlwaysAllowPolicy object`
3786
3787 Tool calls are automatically approved without user confirmation.
3788
3789 - `BetaManagedAgentsAlwaysAskPolicy object`
3790
3791 Tool calls require user confirmation before execution.
3792
3793 - `BetaManagedAgentsAutoPolicy object`
3794
3795 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
3796
3797 - `BetaManagedAgentsWebFetchToolConfigParams object`
3798
3799 Configuration override for the web_fetch tool.
3800
3801 - `type: optional "web_fetch"`
3802
3803 - `name: "web_fetch"`
3804
3805 Must be "web_fetch".
3806
3807 - `allowed_domains: optional array of string`
3808
3809 Only fetch URLs whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like "docs.example.com" (no scheme, port, or path). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with blocked_domains.
3810
3811 - `blocked_domains: optional array of string`
3812
3813 Never fetch URLs whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like "ads.example.com" (no scheme, port, or path). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with allowed_domains.
3814
3815 - `enabled: optional boolean or null`
3816
3817 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
3818
3819 - `max_content_tokens: optional number or null`
3820
3821 Maximum number of tokens of fetched text content to include in context per call. Does not apply to binary content such as PDFs.
3822
3823 format: int32
3824
3825 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
3826
3827 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
3828
3829 - `BetaManagedAgentsAlwaysAllowPolicy object`
3830
3831 Tool calls are automatically approved without user confirmation.
3832
3833 - `BetaManagedAgentsAlwaysAskPolicy object`
3834
3835 Tool calls require user confirmation before execution.
3836
3837 - `BetaManagedAgentsAutoPolicy object`
3838
3839 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
3840
3841 - `BetaManagedAgentsWebSearchToolConfigParams object`
3842
3843 Configuration override for the web_search tool.
3844
3845 - `type: optional "web_search"`
3846
3847 - `name: "web_search"`
3848
3849 Must be "web_search".
3850
3851 - `allowed_domains: optional array of string`
3852
3853 Only return search results whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like "docs.example.com" (no scheme or port; an optional path suffix is accepted). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with blocked_domains.
3854
3855 - `blocked_domains: optional array of string`
3856
3857 Never return search results whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like "ads.example.com" (no scheme or port; an optional path suffix is accepted). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with allowed_domains.
3858
3859 - `enabled: optional boolean or null`
3860
3861 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
3862
3863 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
3864
3865 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
3866
3867 - `BetaManagedAgentsAlwaysAllowPolicy object`
3868
3869 Tool calls are automatically approved without user confirmation.
3870
3871 - `BetaManagedAgentsAlwaysAskPolicy object`
3872
3873 Tool calls require user confirmation before execution.
3874
3875 - `BetaManagedAgentsAutoPolicy object`
3876
3877 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
3878
3879 - `user_location: optional BetaManagedAgentsUserLocation or null`
3880
3881 Approximate user location for search result localization.
3882
3883 - `type: "approximate"`
3884
3885 Location precision. Only "approximate" is supported.
3886
3887 - `city: optional string or null`
3888
3889 City name.
3890
3891 minLength: 1, maxLength: 255
3892
3893 - `country: optional string or null`
3894
3895 Two-letter ISO 3166-1 country code, uppercase.
3896
3897 - `region: optional string or null`
3898
3899 Region or state name.
3900
3901 minLength: 1, maxLength: 255
3902
3903 - `timezone: optional string or null`
3904
3905 IANA timezone identifier, e.g. "America/Los_Angeles".
3906
3907 minLength: 1, maxLength: 255
3908
3909 - `default_config: optional BetaManagedAgentsAgentToolsetDefaultConfigParams or null`
3910
3911 Default configuration applied to all tools in this set.
3912
3913 - `enabled: optional boolean or null`
3914
3915 Whether tools are enabled and available to Claude by default. Defaults to true if not specified.
3916
3917 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
3918
3919 Default permission policy for tools. Controls whether tool calls are auto-approved or require confirmation.
3920
3921 - `BetaManagedAgentsAlwaysAllowPolicy object`
3922
3923 Tool calls are automatically approved without user confirmation.
3924
3925 - `BetaManagedAgentsAlwaysAskPolicy object`
3926
3927 Tool calls require user confirmation before execution.
3928
3929 - `BetaManagedAgentsAutoPolicy object`
3930
3931 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
3932
3933 - `BetaManagedAgentsMCPToolsetParams object`
3934
3935 Configuration for tools from an MCP server defined in `mcp_servers`.
3936
3937 - `type: "mcp_toolset"`
3938
3939 - `mcp_server_name: string`
3940
3941 Name of the MCP server. Must match a server name from the mcp_servers array. 1-255 characters.
3942
3943 minLength: 1, maxLength: 255
3944
3945 - `configs: optional array of BetaManagedAgentsMCPToolConfigParams`
3946
3947 Per-tool configuration overrides.
3948
3949 - `name: string`
3950
3951 Name of the MCP tool to configure. 1-128 characters.
3952
3953 minLength: 1, maxLength: 128
3954
3955 - `enabled: optional boolean or null`
3956
3957 Whether this tool is enabled. Overrides the `default_config` setting.
3958
3959 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
3960
3961 Permission policy for this tool. Overrides the `default_config` setting.
3962
3963 - `BetaManagedAgentsAlwaysAllowPolicy object`
3964
3965 Tool calls are automatically approved without user confirmation.
3966
3967 - `BetaManagedAgentsAlwaysAskPolicy object`
3968
3969 Tool calls require user confirmation before execution.
3970
3971 - `BetaManagedAgentsAutoPolicy object`
3972
3973 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
3974
3975 - `default_config: optional BetaManagedAgentsMCPToolsetDefaultConfigParams or null`
3976
3977 Default configuration for all tools from this server.
3978
3979 - `enabled: optional boolean or null`
3980
3981 Whether tools are enabled by default. Defaults to true if not specified.
3982
3983 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
3984
3985 Default permission policy for tools from this server.
3986
3987 - `BetaManagedAgentsAlwaysAllowPolicy object`
3988
3989 Tool calls are automatically approved without user confirmation.
3990
3991 - `BetaManagedAgentsAlwaysAskPolicy object`
3992
3993 Tool calls require user confirmation before execution.
3994
3995 - `BetaManagedAgentsAutoPolicy object`
3996
3997 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
3998
3999 - `BetaManagedAgentsCustomToolParams object`
4000
4001 A custom tool that is executed by the API client rather than the agent. When the agent calls this tool, an `agent.custom_tool_use` event is emitted and the session goes idle, waiting for the client to provide the result via a `user.custom_tool_result` event.
4002
4003 - `type: "custom"`
4004
4005 - `description: string`
4006
4007 Description of what the tool does, shown to the agent to help it decide when to use the tool.
4008
4009 minLength: 1
4010
4011 - `input_schema: BetaManagedAgentsCustomToolInputSchema`
4012
4013 JSON Schema defining the expected input parameters for the tool.
4014
4015 - `type: "object"`
4016
4017 - `properties: optional map[unknown] or null`
4018
4019 - `required: optional array of string or null`
4020
4021 - `name: string`
4022
4023 Unique name for the tool. 1-128 characters; letters, digits, underscores, and hyphens.
4024
4025 minLength: 1, maxLength: 128
4026
4027- `version: optional number`
4028
4029 The agent's current version, used to prevent concurrent overwrites. Obtain this value from a create or retrieve response. Must be at least 1 if specified. When supplied, the request fails if it does not match the server's current version; omit to apply the update unconditionally.
4030
4031 format: int32
4032
4033### Returns
4034
4035- `BetaManagedAgentsAgent object`
4036
4037 A Managed Agents `agent`.
4038
4039 - `type: "agent"`
4040
4041 - `id: string`
4042
4043 - `archived_at: string or null`
4044
4045 When the agent was archived. Null if not archived.
4046
4047 format: date-time
4048
4049 - `created_at: string`
4050
4051 A timestamp in RFC 3339 format
4052
4053 format: date-time
4054
4055 - `description: string or null`
4056
4057 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
4058
4059 - `type: "url"`
4060
4061 - `name: string`
4062
4063 - `url: string`
4064
4065 - `metadata: map[string]`
4066
4067 - `model: BetaManagedAgentsModelConfig`
4068
4069 Model identifier and configuration.
4070
4071 - `id: BetaManagedAgentsModel`
4072
4073 The model that will power your agent.
4074
4075 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
4076
4077 - `"claude-sonnet-5-5" or "claude-opus-5-5" or "claude-fable-5-1" or 13 more`
4078
4079 The model that will power your agent.
4080
4081 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
4082
4083 - `"claude-sonnet-5-5"`
4084
4085 Efficient model for coding and agents
4086
4087 - `"claude-opus-5-5"`
4088
4089 Powerful intelligence for coding, knowledge work, and long-running agents
4090
4091 - `"claude-fable-5-1"`
4092
4093 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
4094
4095 - `"claude-sonnet-5"`
4096
4097 Efficient model for coding and agents
4098
4099 - `"claude-fable-5"`
4100
4101 Next generation of intelligence for the hardest knowledge work and coding problems
4102
4103 - `"claude-opus-5"`
4104
4105 Powerful intelligence for long-running agents and coding
4106
4107 - `"claude-opus-4-8"`
4108
4109 Powerful intelligence for long-running agents and coding
4110
4111 - `"claude-opus-4-7"`
4112
4113 Powerful intelligence for long-running agents and coding
4114
4115 - `"claude-opus-4-6"`
4116
4117 Powerful intelligence for long-running agents and coding
4118
4119 - `"claude-sonnet-4-6"`
4120
4121 Best combination of speed and intelligence
4122
4123 - `"claude-haiku-4-5"`
4124
4125 Fastest model with near-frontier intelligence
4126
4127 - `"claude-haiku-4-5-20251001"`
4128
4129 Fastest model with near-frontier intelligence
4130
4131 - `"claude-opus-4-5"`
4132
4133 Powerful intelligence for long-running agents and coding
4134
4135 - `"claude-opus-4-5-20251101"`
4136
4137 Powerful intelligence for long-running agents and coding
4138
4139 - `"claude-sonnet-4-5"`
4140
4141 High-performance model for agents and coding
4142
4143 - `"claude-sonnet-4-5-20250929"`
4144
4145 High-performance model for agents and coding
41464094
41474095 - `string`
41484096
from line 4687
47394687
47404688 - `string`
47414689
4742 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
4743
4744 - `"message-batches-2024-09-24"`
4745
4746 - `"prompt-caching-2024-07-31"`
4747
4748 - `"computer-use-2024-10-22"`
4749
4750 - `"computer-use-2025-01-24"`
4751
4752 - `"pdfs-2024-09-25"`
4753
4754 - `"token-counting-2024-11-01"`
4755
4756 - `"token-efficient-tools-2025-02-19"`
4757
4758 - `"output-128k-2025-02-19"`
4759
4760 - `"files-api-2025-04-14"`
4761
4762 - `"mcp-client-2025-04-04"`
4763
4764 - `"mcp-client-2025-11-20"`
4765
4766 - `"dev-full-thinking-2025-05-14"`
4767
4768 - `"interleaved-thinking-2025-05-14"`
4769
4770 - `"code-execution-2025-05-22"`
4771
4772 - `"extended-cache-ttl-2025-04-11"`
4773
4774 - `"context-1m-2025-08-07"`
4775
4776 - `"context-management-2025-06-27"`
4777
4778 - `"model-context-window-exceeded-2025-08-26"`
4779
4780 - `"skills-2025-10-02"`
4781
4782 - `"fast-mode-2026-02-01"`
4783
4784 - `"output-300k-2026-03-24"`
4785
4786 - `"user-profiles-2026-03-24"`
4787
4788 - `"user-profiles-2026-08-18"`
4789
4790 - `"user-profiles-2026-09-04"`
4791
4792 - `"advisor-tool-2026-03-01"`
4793
4794 - `"managed-agents-2026-04-01"`
4795
4796 - `"cache-diagnosis-2026-04-07"`
4797
4798 - `"dreaming-2026-04-21"`
4799
4800 - `"thinking-token-count-2026-05-13"`
4801
4802 - `"server-side-fallback-2026-06-01"`
4803
4804 - `"server-side-fallback-2026-07-01"`
4805
4806 - `"fallback-credit-2026-06-01"`
4807
4808 - `"fallback-credit-2026-07-01"`
4809
4810 - `"agent-memory-2026-07-22"`
4811
4812 - `"mid-conversation-tool-changes-2026-07-01"`
4813
4814 - `"compact-2026-01-12"`
4815
4816 - `"computer-use-2025-11-24"`
4817
4818 - `"mcp-tunnels-2026-06-22"`
4819
4820 - `"structured-outputs-2025-11-13"`
4821
4822 - `"task-budgets-2026-03-13"`
4823
4824 - `"thinking-display-updates-2026-08-18"`
4825
4826 - `"ce-user-management-2026-07-13"`
4827
4828 - `"mid-conversation-output-config-2026-07-01"`
4829
4830 - `"thinking-binding-controls-2026-08-01"`
4831
4832 - `"mid-conversation-system-clear-at-2026-08-21"`
4833
4834 - `"compact-2026-09-04"`
4835
4836 - `"inline-tools-2026-09-15"`
4837
4838 - `"mcp-client-2026-09-15"`
4690 - `"message-batches-2024-09-24"`
4691
4692 - `"prompt-caching-2024-07-31"`
4693
4694 - `"computer-use-2024-10-22"`
4695
4696 - `"computer-use-2025-01-24"`
4697
4698 - `"pdfs-2024-09-25"`
4699
4700 - `"token-counting-2024-11-01"`
4701
4702 - `"token-efficient-tools-2025-02-19"`
4703
4704 - `"output-128k-2025-02-19"`
4705
4706 - `"files-api-2025-04-14"`
4707
4708 - `"mcp-client-2025-04-04"`
4709
4710 - `"mcp-client-2025-11-20"`
4711
4712 - `"dev-full-thinking-2025-05-14"`
4713
4714 - `"interleaved-thinking-2025-05-14"`
4715
4716 - `"code-execution-2025-05-22"`
4717
4718 - `"extended-cache-ttl-2025-04-11"`
4719
4720 - `"context-1m-2025-08-07"`
4721
4722 - `"context-management-2025-06-27"`
4723
4724 - `"model-context-window-exceeded-2025-08-26"`
4725
4726 - `"skills-2025-10-02"`
4727
4728 - `"fast-mode-2026-02-01"`
4729
4730 - `"output-300k-2026-03-24"`
4731
4732 - `"user-profiles-2026-03-24"`
4733
4734 - `"user-profiles-2026-08-18"`
4735
4736 - `"user-profiles-2026-09-04"`
4737
4738 - `"advisor-tool-2026-03-01"`
4739
4740 - `"managed-agents-2026-04-01"`
4741
4742 - `"cache-diagnosis-2026-04-07"`
4743
4744 - `"dreaming-2026-04-21"`
4745
4746 - `"thinking-token-count-2026-05-13"`
4747
4748 - `"server-side-fallback-2026-06-01"`
4749
4750 - `"server-side-fallback-2026-07-01"`
4751
4752 - `"fallback-credit-2026-06-01"`
4753
4754 - `"fallback-credit-2026-07-01"`
4755
4756 - `"agent-memory-2026-07-22"`
4757
4758 - `"mid-conversation-tool-changes-2026-07-01"`
4759
4760 - `"compact-2026-01-12"`
4761
4762 - `"computer-use-2025-11-24"`
4763
4764 - `"mcp-tunnels-2026-06-22"`
4765
4766 - `"structured-outputs-2025-11-13"`
4767
4768 - `"task-budgets-2026-03-13"`
4769
4770 - `"thinking-display-updates-2026-08-18"`
4771
4772 - `"ce-user-management-2026-07-13"`
4773
4774 - `"mid-conversation-output-config-2026-07-01"`
4775
4776 - `"thinking-binding-controls-2026-08-01"`
4777
4778 - `"mid-conversation-system-clear-at-2026-08-21"`
4779
4780 - `"compact-2026-09-04"`
4781
4782 - `"inline-tools-2026-09-15"`
4783
4784 - `"mcp-client-2026-09-15"`
48394785
48404786- `"anthropic-workspace-id": optional string`
48414787
from line 4833
48874833
48884834 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
48894835
4890 - `"claude-sonnet-5-5" or "claude-opus-5-5" or "claude-fable-5-1" or 13 more`
4891
4892 The model that will power your agent.
4893
4894 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
4895
4896 - `"claude-sonnet-5-5"`
4897
4898 Efficient model for coding and agents
4899
4900 - `"claude-opus-5-5"`
4901
4902 Powerful intelligence for coding, knowledge work, and long-running agents
4903
4904 - `"claude-fable-5-1"`
4905
4906 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
4907
4908 - `"claude-sonnet-5"`
4909
4910 Efficient model for coding and agents
4911
4912 - `"claude-fable-5"`
4913
4914 Next generation of intelligence for the hardest knowledge work and coding problems
4915
4916 - `"claude-opus-5"`
4917
4918 Powerful intelligence for long-running agents and coding
4919
4920 - `"claude-opus-4-8"`
4921
4922 Powerful intelligence for long-running agents and coding
4923
4924 - `"claude-opus-4-7"`
4925
4926 Powerful intelligence for long-running agents and coding
4927
4928 - `"claude-opus-4-6"`
4929
4930 Powerful intelligence for long-running agents and coding
4931
4932 - `"claude-sonnet-4-6"`
4933
4934 Best combination of speed and intelligence
4935
4936 - `"claude-haiku-4-5"`
4937
4938 Fastest model with near-frontier intelligence
4939
4940 - `"claude-haiku-4-5-20251001"`
4941
4942 Fastest model with near-frontier intelligence
4943
4944 - `"claude-opus-4-5"`
4945
4946 Powerful intelligence for long-running agents and coding
4947
4948 - `"claude-opus-4-5-20251101"`
4949
4950 Powerful intelligence for long-running agents and coding
4951
4952 - `"claude-sonnet-4-5"`
4953
4954 High-performance model for agents and coding
4955
4956 - `"claude-sonnet-4-5-20250929"`
4957
4958 High-performance model for agents and coding
4836 - `"claude-sonnet-5-5"`
4837
4838 Efficient model for coding and agents
4839
4840 - `"claude-opus-5-5"`
4841
4842 Powerful intelligence for coding, knowledge work, and long-running agents
4843
4844 - `"claude-fable-5-1"`
4845
4846 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
4847
4848 - `"claude-sonnet-5"`
4849
4850 Efficient model for coding and agents
4851
4852 - `"claude-fable-5"`
4853
4854 Next generation of intelligence for the hardest knowledge work and coding problems
4855
4856 - `"claude-opus-5"`
4857
4858 Powerful intelligence for long-running agents and coding
4859
4860 - `"claude-opus-4-8"`
4861
4862 Powerful intelligence for long-running agents and coding
4863
4864 - `"claude-opus-4-7"`
4865
4866 Powerful intelligence for long-running agents and coding
4867
4868 - `"claude-opus-4-6"`
4869
4870 Powerful intelligence for long-running agents and coding
4871
4872 - `"claude-sonnet-4-6"`
4873
4874 Best combination of speed and intelligence
4875
4876 - `"claude-haiku-4-5"`
4877
4878 Fastest model with near-frontier intelligence
4879
4880 - `"claude-haiku-4-5-20251001"`
4881
4882 Fastest model with near-frontier intelligence
4883
4884 - `"claude-opus-4-5"`
4885
4886 Powerful intelligence for long-running agents and coding
4887
4888 - `"claude-opus-4-5-20251101"`
4889
4890 Powerful intelligence for long-running agents and coding
4891
4892 - `"claude-sonnet-4-5"`
4893
4894 High-performance model for agents and coding
4895
4896 - `"claude-sonnet-4-5-20250929"`
4897
4898 High-performance model for agents and coding
49594899
49604900 - `string`
49614901
from line 5516
55765516
55775517 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
55785518
5579 - `"claude-sonnet-5-5" or "claude-opus-5-5" or "claude-fable-5-1" or 13 more`
5580
5581 The model that will power your agent.
5582
5583 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
5584
5585 - `"claude-sonnet-5-5"`
5586
5587 Efficient model for coding and agents
5588
5589 - `"claude-opus-5-5"`
5590
5591 Powerful intelligence for coding, knowledge work, and long-running agents
5592
5593 - `"claude-fable-5-1"`
5594
5595 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
5596
5597 - `"claude-sonnet-5"`
5598
5599 Efficient model for coding and agents
5600
5601 - `"claude-fable-5"`
5602
5603 Next generation of intelligence for the hardest knowledge work and coding problems
5604
5605 - `"claude-opus-5"`
5606
5607 Powerful intelligence for long-running agents and coding
5608
5609 - `"claude-opus-4-8"`
5610
5611 Powerful intelligence for long-running agents and coding
5612
5613 - `"claude-opus-4-7"`
5614
5615 Powerful intelligence for long-running agents and coding
5616
5617 - `"claude-opus-4-6"`
5618
5619 Powerful intelligence for long-running agents and coding
5620
5621 - `"claude-sonnet-4-6"`
5622
5623 Best combination of speed and intelligence
5624
5625 - `"claude-haiku-4-5"`
5626
5627 Fastest model with near-frontier intelligence
5628
5629 - `"claude-haiku-4-5-20251001"`
5630
5631 Fastest model with near-frontier intelligence
5632
5633 - `"claude-opus-4-5"`
5634
5635 Powerful intelligence for long-running agents and coding
5636
5637 - `"claude-opus-4-5-20251101"`
5638
5639 Powerful intelligence for long-running agents and coding
5640
5641 - `"claude-sonnet-4-5"`
5642
5643 High-performance model for agents and coding
5644
5645 - `"claude-sonnet-4-5-20250929"`
5646
5647 High-performance model for agents and coding
5519 - `"claude-sonnet-5-5"`
5520
5521 Efficient model for coding and agents
5522
5523 - `"claude-opus-5-5"`
5524
5525 Powerful intelligence for coding, knowledge work, and long-running agents
5526
5527 - `"claude-fable-5-1"`
5528
5529 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
5530
5531 - `"claude-sonnet-5"`
5532
5533 Efficient model for coding and agents
5534
5535 - `"claude-fable-5"`
5536
5537 Next generation of intelligence for the hardest knowledge work and coding problems
5538
5539 - `"claude-opus-5"`
5540
5541 Powerful intelligence for long-running agents and coding
5542
5543 - `"claude-opus-4-8"`
5544
5545 Powerful intelligence for long-running agents and coding
5546
5547 - `"claude-opus-4-7"`
5548
5549 Powerful intelligence for long-running agents and coding
5550
5551 - `"claude-opus-4-6"`
5552
5553 Powerful intelligence for long-running agents and coding
5554
5555 - `"claude-sonnet-4-6"`
5556
5557 Best combination of speed and intelligence
5558
5559 - `"claude-haiku-4-5"`
5560
5561 Fastest model with near-frontier intelligence
5562
5563 - `"claude-haiku-4-5-20251001"`
5564
5565 Fastest model with near-frontier intelligence
5566
5567 - `"claude-opus-4-5"`
5568
5569 Powerful intelligence for long-running agents and coding
5570
5571 - `"claude-opus-4-5-20251101"`
5572
5573 Powerful intelligence for long-running agents and coding
5574
5575 - `"claude-sonnet-4-5"`
5576
5577 High-performance model for agents and coding
5578
5579 - `"claude-sonnet-4-5-20250929"`
5580
5581 High-performance model for agents and coding
56485582
56495583 - `string`
56505584
from line 8200
82668200
82678201 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
82688202
8269 - `"claude-sonnet-5-5" or "claude-opus-5-5" or "claude-fable-5-1" or 13 more`
8203 - `"claude-sonnet-5-5"`
8204
8205 Efficient model for coding and agents
8206
8207 - `"claude-opus-5-5"`
8208
8209 Powerful intelligence for coding, knowledge work, and long-running agents
8210
8211 - `"claude-fable-5-1"`
8212
8213 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
8214
8215 - `"claude-sonnet-5"`
8216
8217 Efficient model for coding and agents
8218
8219 - `"claude-fable-5"`
8220
8221 Next generation of intelligence for the hardest knowledge work and coding problems
8222
8223 - `"claude-opus-5"`
8224
8225 Powerful intelligence for long-running agents and coding
8226
8227 - `"claude-opus-4-8"`
8228
8229 Powerful intelligence for long-running agents and coding
8230
8231 - `"claude-opus-4-7"`
8232
8233 Powerful intelligence for long-running agents and coding
8234
8235 - `"claude-opus-4-6"`
8236
8237 Powerful intelligence for long-running agents and coding
8238
8239 - `"claude-sonnet-4-6"`
8240
8241 Best combination of speed and intelligence
8242
8243 - `"claude-haiku-4-5"`
8244
8245 Fastest model with near-frontier intelligence
8246
8247 - `"claude-haiku-4-5-20251001"`
8248
8249 Fastest model with near-frontier intelligence
8250
8251 - `"claude-opus-4-5"`
8252
8253 Powerful intelligence for long-running agents and coding
8254
8255 - `"claude-opus-4-5-20251101"`
8256
8257 Powerful intelligence for long-running agents and coding
8258
8259 - `"claude-sonnet-4-5"`
8260
8261 High-performance model for agents and coding
8262
8263 - `"claude-sonnet-4-5-20250929"`
8264
8265 High-performance model for agents and coding
8266
8267 - `string`
8268
8269### Beta Managed Agents Model Config
8270
8271- `BetaManagedAgentsModelConfig object`
8272
8273 Model identifier and configuration.
8274
8275 - `id: BetaManagedAgentsModel`
82708276
82718277 The model that will power your agent.
82728278
from line 8342
83368342
83378343 High-performance model for agents and coding
83388344
8345 - `string`
8346
8347 - `effort: optional BetaManagedAgentsEffortLow or BetaManagedAgentsEffortMedium or BetaManagedAgentsEffortHigh or 2 more`
8348
8349 How hard Claude works on each inference call. One of `low`, `medium`, `high`, `xhigh`, `max`. Always present; resolved to the per-model default at save time when not supplied.
8350
8351 - `BetaManagedAgentsEffortLow object`
8352
8353 Low effort. Favors latency over reasoning depth.
8354
8355 - `type: "low"`
8356
8357 - `BetaManagedAgentsEffortMedium object`
8358
8359 Medium effort. Balances latency and reasoning depth.
8360
8361 - `type: "medium"`
8362
8363 - `BetaManagedAgentsEffortHigh object`
8364
8365 High effort. Favors reasoning depth.
8366
8367 - `type: "high"`
8368
8369 - `BetaManagedAgentsEffortXhigh object`
8370
8371 Extra-high effort. Not all models accept this level.
8372
8373 - `type: "xhigh"`
8374
8375 - `BetaManagedAgentsEffortMax object`
8376
8377 Maximum effort. Favors reasoning depth over latency.
8378
8379 - `type: "max"`
8380
8381 - `inference_geo: optional string`
8382
8383 Geographic region for model inference. When unset, requests fall through to the workspace's default_inference_geo.
8384
8385 - `speed: optional "standard" or "fast"`
8386
8387 Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Defaults to `standard`. Not all models support `fast`; invalid combinations are rejected at create time.
8388
8389 - `"standard"`
8390
8391 - `"fast"`
8392
8393### Beta Managed Agents Model Config Params
8394
8395- `BetaManagedAgentsModelConfigParams object`
8396
8397 An object that defines additional configuration control over model use
8398
8399 - `id: BetaManagedAgentsModel`
8400
8401 The model that will power your agent.
8402
8403 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
8404
8405 - `"claude-sonnet-5-5"`
8406
8407 Efficient model for coding and agents
8408
8409 - `"claude-opus-5-5"`
8410
8411 Powerful intelligence for coding, knowledge work, and long-running agents
8412
8413 - `"claude-fable-5-1"`
8414
8415 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
8416
8417 - `"claude-sonnet-5"`
8418
8419 Efficient model for coding and agents
8420
8421 - `"claude-fable-5"`
8422
8423 Next generation of intelligence for the hardest knowledge work and coding problems
8424
8425 - `"claude-opus-5"`
8426
8427 Powerful intelligence for long-running agents and coding
8428
8429 - `"claude-opus-4-8"`
8430
8431 Powerful intelligence for long-running agents and coding
8432
8433 - `"claude-opus-4-7"`
8434
8435 Powerful intelligence for long-running agents and coding
8436
8437 - `"claude-opus-4-6"`
8438
8439 Powerful intelligence for long-running agents and coding
8440
8441 - `"claude-sonnet-4-6"`
8442
8443 Best combination of speed and intelligence
8444
8445 - `"claude-haiku-4-5"`
8446
8447 Fastest model with near-frontier intelligence
8448
8449 - `"claude-haiku-4-5-20251001"`
8450
8451 Fastest model with near-frontier intelligence
8452
8453 - `"claude-opus-4-5"`
8454
8455 Powerful intelligence for long-running agents and coding
8456
8457 - `"claude-opus-4-5-20251101"`
8458
8459 Powerful intelligence for long-running agents and coding
8460
8461 - `"claude-sonnet-4-5"`
8462
8463 High-performance model for agents and coding
8464
8465 - `"claude-sonnet-4-5-20250929"`
8466
8467 High-performance model for agents and coding
8468
8469 - `string`
8470
8471 - `effort: optional "low" or "medium" or "high" or 2 more or BetaManagedAgentsEffortLow or BetaManagedAgentsEffortMedium or 3 more or null`
8472
8473 How hard Claude works on each inference call. Accepts a bare level string (`"high"`) or `{"type": "high"}`. On create, omitting it resolves the per-model default; on update, omitting it leaves the stored value unchanged.
8474
8475 - `"low"`
8476
8477 Low effort. Favors latency over reasoning depth.
8478
8479 - `"medium"`
8480
8481 Medium effort. Balances latency and reasoning depth.
8482
8483 - `"high"`
8484
8485 High effort. Favors reasoning depth.
8486
8487 - `"xhigh"`
8488
8489 Extra-high effort. Not all models accept this level.
8490
8491 - `"max"`
8492
8493 Maximum effort. Favors reasoning depth over latency.
8494
8495 - `BetaManagedAgentsEffortLow object`
8496
8497 Low effort. Favors latency over reasoning depth.
8498
8499 - `type: "low"`
8500
8501 - `BetaManagedAgentsEffortMedium object`
8502
8503 Medium effort. Balances latency and reasoning depth.
8504
8505 - `type: "medium"`
8506
8507 - `BetaManagedAgentsEffortHigh object`
8508
8509 High effort. Favors reasoning depth.
8510
8511 - `type: "high"`
8512
8513 - `BetaManagedAgentsEffortXhigh object`
8514
8515 Extra-high effort. Not all models accept this level.
8516
8517 - `type: "xhigh"`
8518
8519 - `BetaManagedAgentsEffortMax object`
8520
8521 Maximum effort. Favors reasoning depth over latency.
8522
8523 - `type: "max"`
8524
8525 - `inference_geo: optional string or null`
8526
8527 Geographic region for model inference. When unset, requests fall through to the workspace's default_inference_geo. On update, `model` is whole-object replacement — omitting inference_geo clears it.
8528
8529 - `speed: optional "standard" or "fast" or null`
8530
8531 Inference speed mode. Defaults to `standard`.
8532
8533 - `"standard"`
8534
8535 - `"fast"`
8536
8537### Beta Managed Agents Multiagent Coordinator
8538
8539- `BetaManagedAgentsMultiagentCoordinator object`
8540
8541 Resolved coordinator topology with a concrete agent roster.
8542
8543 - `type: "coordinator"`
8544
8545 - `agents: array of BetaManagedAgentsAgentReference or BetaManagedAgentsAdvisor`
8546
8547 Agents the coordinator may spawn as session threads, each resolved to a specific version.
8548
8549 - `BetaManagedAgentsAgentReference object`
8550
8551 A resolved agent reference with a concrete version.
8552
8553 - `type: "agent"`
8554
8555 - `id: string`
8556
8557 - `version: number`
8558
8559 format: int32
8560
8561 - `BetaManagedAgentsAdvisor object`
8562
8563 Platform advisor roster entry: a model the session's primary thread may consult mid-turn.
8564
8565 - `type: "advisor"`
8566
8567 - `model: string`
8568
8569 The advisor model id.
8570
8571### Beta Managed Agents Multiagent Coordinator Params
8572
8573- `BetaManagedAgentsMultiagentCoordinatorParams object`
8574
8575 A coordinator topology: the session's primary thread orchestrates work by spawning session threads, each running an agent drawn from the `agents` roster.
8576
8577 - `type: "coordinator"`
8578
8579 - `agents: array of BetaManagedAgentsMultiagentRosterEntryParams`
8580
8581 Agents the coordinator may spawn as session threads. 1–20 entries. Each entry is an agent ID string, a versioned `{"type":"agent","id","version"}` reference, or `{"type":"self"}` to allow recursive self-invocation. Entries must reference distinct agents (after resolving `self` and string forms); at most one `self`. Referenced agents must exist, must not be archived, and must not themselves have `multiagent` set (depth limit 1).
8582
8583 - `string`
8584
8585 - `BetaManagedAgentsAgentParams object`
8586
8587 Specification for an Agent. Provide a specific `version` or use the short-form `agent="agent_id"` for the most recent version
8588
8589 - `type: "agent"`
8590
8591 - `id: string`
8592
8593 The `agent` ID.
8594
8595 minLength: 1, maxLength: 128
8596
8597 - `version: optional number`
8598
8599 The specific `agent` version to use. Omit to use the latest version. Must be at least 1 if specified.
8600
8601 format: int32
8602
8603 - `BetaManagedAgentsMultiagentSelfParams object`
8604
8605 Sentinel roster entry meaning "the agent that owns this configuration". Resolved server-side to a concrete agent reference.
8606
8607 - `type: "self"`
8608
8609 - `BetaManagedAgentsAdvisorParams object`
8610
8611 Platform advisor roster entry: a model the session's primary thread may consult mid-turn. At most one per roster; the entry occupies the roster name `anthropic.advisor`.
8612
8613 - `type: "advisor"`
8614
8615 - `model: string`
8616
8617 A Claude model id. The model must be permitted as an advisor for this agent's model — see the sessions/threads/advisor spec.
8618
8619 minLength: 1, maxLength: 256
8620
8621### Beta Managed Agents Multiagent Self Params
8622
8623- `BetaManagedAgentsMultiagentSelfParams object`
8624
8625 Sentinel roster entry meaning "the agent that owns this configuration". Resolved server-side to a concrete agent reference.
8626
8627 - `type: "self"`
8628
8629### Beta Managed Agents Read Tool Config
8630
8631- `BetaManagedAgentsReadToolConfig object`
8632
8633 Configuration for the read tool.
8634
8635 - `type: "read"`
8636
8637 - `enabled: boolean`
8638
8639 - `name: "read"`
8640
8641 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
8642
8643 Permission policy for tool execution.
8644
8645 - `BetaManagedAgentsAlwaysAllowPolicy object`
8646
8647 Tool calls are automatically approved without user confirmation.
8648
8649 - `type: "always_allow"`
8650
8651 - `BetaManagedAgentsAlwaysAskPolicy object`
8652
8653 Tool calls require user confirmation before execution.
8654
8655 - `type: "always_ask"`
8656
8657 - `BetaManagedAgentsAutoPolicy object`
8658
8659 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
8660
8661 - `type: "auto"`
8662
8663### Beta Managed Agents Read Tool Config Params
8664
8665- `BetaManagedAgentsReadToolConfigParams object`
8666
8667 Configuration override for the read tool.
8668
8669 - `type: optional "read"`
8670
8671 - `name: "read"`
8672
8673 Must be "read".
8674
8675 - `enabled: optional boolean or null`
8676
8677 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
8678
8679 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
8680
8681 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
8682
8683 - `BetaManagedAgentsAlwaysAllowPolicy object`
8684
8685 Tool calls are automatically approved without user confirmation.
8686
8687 - `type: "always_allow"`
8688
8689 - `BetaManagedAgentsAlwaysAskPolicy object`
8690
8691 Tool calls require user confirmation before execution.
8692
8693 - `type: "always_ask"`
8694
8695 - `BetaManagedAgentsAutoPolicy object`
8696
8697 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
8698
8699 - `type: "auto"`
8700
8701### Beta Managed Agents Session Thread Agent
8702
8703- `BetaManagedAgentsSessionThreadAgent object`
8704
8705 Resolved `agent` definition for a single `session_thread`. Snapshot of the agent at thread creation time. The multiagent roster is not repeated here; read it from `Session.agent`.
8706
8707 - `type: "agent"`
8708
8709 - `id: string`
8710
8711 - `description: string or null`
8712
8713 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
8714
8715 - `type: "url"`
8716
8717 - `name: string`
8718
8719 - `url: string`
8720
8721 - `model: BetaManagedAgentsModelConfig`
8722
8723 Model identifier and configuration.
8724
8725 - `id: BetaManagedAgentsModel`
8726
8727 The model that will power your agent.
8728
8729 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
8730
8731 - `"claude-sonnet-5-5"`
8732
8733 Efficient model for coding and agents
8734
8735 - `"claude-opus-5-5"`
8736
8737 Powerful intelligence for coding, knowledge work, and long-running agents
8738
8739 - `"claude-fable-5-1"`
8740
8741 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
8742
8743 - `"claude-sonnet-5"`
8744
8745 Efficient model for coding and agents
8746
8747 - `"claude-fable-5"`
8748
8749 Next generation of intelligence for the hardest knowledge work and coding problems
8750
8751 - `"claude-opus-5"`
8752
8753 Powerful intelligence for long-running agents and coding
8754
8755 - `"claude-opus-4-8"`
8756
8757 Powerful intelligence for long-running agents and coding
8758
8759 - `"claude-opus-4-7"`
8760
8761 Powerful intelligence for long-running agents and coding
8762
8763 - `"claude-opus-4-6"`
8764
8765 Powerful intelligence for long-running agents and coding
8766
8767 - `"claude-sonnet-4-6"`
8768
8769 Best combination of speed and intelligence
8770
8771 - `"claude-haiku-4-5"`
8772
8773 Fastest model with near-frontier intelligence
8774
8775 - `"claude-haiku-4-5-20251001"`
8776
8777 Fastest model with near-frontier intelligence
8778
8779 - `"claude-opus-4-5"`
8780
8781 Powerful intelligence for long-running agents and coding
8782
8783 - `"claude-opus-4-5-20251101"`
8784
8785 Powerful intelligence for long-running agents and coding
8786
8787 - `"claude-sonnet-4-5"`
8788
8789 High-performance model for agents and coding
8790
8791 - `"claude-sonnet-4-5-20250929"`
8792
8793 High-performance model for agents and coding
8794
8795 - `string`
8796
8797 - `effort: optional BetaManagedAgentsEffortLow or BetaManagedAgentsEffortMedium or BetaManagedAgentsEffortHigh or 2 more`
8798
8799 How hard Claude works on each inference call. One of `low`, `medium`, `high`, `xhigh`, `max`. Always present; resolved to the per-model default at save time when not supplied.
8800
8801 - `BetaManagedAgentsEffortLow object`
8802
8803 Low effort. Favors latency over reasoning depth.
8804
8805 - `type: "low"`
8806
8807 - `BetaManagedAgentsEffortMedium object`
8808
8809 Medium effort. Balances latency and reasoning depth.
8810
8811 - `type: "medium"`
8812
8813 - `BetaManagedAgentsEffortHigh object`
8814
8815 High effort. Favors reasoning depth.
8816
8817 - `type: "high"`
8818
8819 - `BetaManagedAgentsEffortXhigh object`
8820
8821 Extra-high effort. Not all models accept this level.
8822
8823 - `type: "xhigh"`
8824
8825 - `BetaManagedAgentsEffortMax object`
8826
8827 Maximum effort. Favors reasoning depth over latency.
8828
8829 - `type: "max"`
8830
8831 - `inference_geo: optional string`
8832
8833 Geographic region for model inference. When unset, requests fall through to the workspace's default_inference_geo.
8834
8835 - `speed: optional "standard" or "fast"`
8836
8837 Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Defaults to `standard`. Not all models support `fast`; invalid combinations are rejected at create time.
8838
8839 - `"standard"`
8840
8841 - `"fast"`
8842
8843 - `name: string`
8844
8845 - `skills: array of BetaManagedAgentsAnthropicSkill or BetaManagedAgentsCustomSkill`
8846
8847 - `BetaManagedAgentsAnthropicSkill object`
8848
8849 A resolved Anthropic-managed skill.
8850
8851 - `type: "anthropic"`
8852
8853 - `skill_id: string`
8854
8855 - `version: string`
8856
8857 - `BetaManagedAgentsCustomSkill object`
8858
8859 A resolved user-created custom skill.
8860
8861 - `type: "custom"`
8862
8863 - `skill_id: string`
8864
8865 - `version: string`
8866
8867 - `system: string or null`
8868
8869 - `tools: array of BetaManagedAgentsAgentToolset20260401 or BetaManagedAgentsMCPToolset or BetaManagedAgentsCustomTool`
8870
8871 - `BetaManagedAgentsAgentToolset20260401 object`
8872
8873 - `type: "agent_toolset_20260401"`
8874
8875 - `configs: array of BetaManagedAgentsAgentToolConfig`
8876
8877 - `BetaManagedAgentsBashToolConfig object`
8878
8879 Configuration for the bash tool.
8880
8881 - `type: "bash"`
8882
8883 - `enabled: boolean`
8884
8885 - `name: "bash"`
8886
8887 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
8888
8889 Permission policy for tool execution.
8890
8891 - `BetaManagedAgentsAlwaysAllowPolicy object`
8892
8893 Tool calls are automatically approved without user confirmation.
8894
8895 - `type: "always_allow"`
8896
8897 - `BetaManagedAgentsAlwaysAskPolicy object`
8898
8899 Tool calls require user confirmation before execution.
8900
8901 - `type: "always_ask"`
8902
8903 - `BetaManagedAgentsAutoPolicy object`
8904
8905 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
8906
8907 - `type: "auto"`
8908
8909 - `BetaManagedAgentsEditToolConfig object`
8910
8911 Configuration for the edit tool.
8912
8913 - `type: "edit"`
8914
8915 - `enabled: boolean`
8916
8917 - `name: "edit"`
8918
8919 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
8920
8921 Permission policy for tool execution.
8922
8923 - `BetaManagedAgentsAlwaysAllowPolicy object`
8924
8925 Tool calls are automatically approved without user confirmation.
8926
8927 - `BetaManagedAgentsAlwaysAskPolicy object`
8928
8929 Tool calls require user confirmation before execution.
8930
8931 - `BetaManagedAgentsAutoPolicy object`
8932
8933 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
8934
8935 - `BetaManagedAgentsReadToolConfig object`
8936
8937 Configuration for the read tool.
8938
8939 - `type: "read"`
8940
8941 - `enabled: boolean`
8942
8943 - `name: "read"`
8944
8945 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
8946
8947 Permission policy for tool execution.
8948
8949 - `BetaManagedAgentsAlwaysAllowPolicy object`
8950
8951 Tool calls are automatically approved without user confirmation.
8952
8953 - `BetaManagedAgentsAlwaysAskPolicy object`
8954
8955 Tool calls require user confirmation before execution.
8956
8957 - `BetaManagedAgentsAutoPolicy object`
8958
8959 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
8960
8961 - `BetaManagedAgentsWriteToolConfig object`
8962
8963 Configuration for the write tool.
8964
8965 - `type: "write"`
8966
8967 - `enabled: boolean`
8968
8969 - `name: "write"`
8970
8971 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
8972
8973 Permission policy for tool execution.
8974
8975 - `BetaManagedAgentsAlwaysAllowPolicy object`
8976
8977 Tool calls are automatically approved without user confirmation.
8978
8979 - `BetaManagedAgentsAlwaysAskPolicy object`
8980
8981 Tool calls require user confirmation before execution.
8982
8983 - `BetaManagedAgentsAutoPolicy object`
8984
8985 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
8986
8987 - `BetaManagedAgentsGlobToolConfig object`
8988
8989 Configuration for the glob tool.
8990
8991 - `type: "glob"`
8992
8993 - `enabled: boolean`
8994
8995 - `name: "glob"`
8996
8997 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
8998
8999 Permission policy for tool execution.
9000
9001 - `BetaManagedAgentsAlwaysAllowPolicy object`
9002
9003 Tool calls are automatically approved without user confirmation.
9004
9005 - `BetaManagedAgentsAlwaysAskPolicy object`
9006
9007 Tool calls require user confirmation before execution.
9008
9009 - `BetaManagedAgentsAutoPolicy object`
9010
9011 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9012
9013 - `BetaManagedAgentsGrepToolConfig object`
9014
9015 Configuration for the grep tool.
9016
9017 - `type: "grep"`
9018
9019 - `enabled: boolean`
9020
9021 - `name: "grep"`
9022
9023 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
9024
9025 Permission policy for tool execution.
9026
9027 - `BetaManagedAgentsAlwaysAllowPolicy object`
9028
9029 Tool calls are automatically approved without user confirmation.
9030
9031 - `BetaManagedAgentsAlwaysAskPolicy object`
9032
9033 Tool calls require user confirmation before execution.
9034
9035 - `BetaManagedAgentsAutoPolicy object`
9036
9037 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9038
9039 - `BetaManagedAgentsWebFetchToolConfig object`
9040
9041 Configuration for the web_fetch tool.
9042
9043 - `type: "web_fetch"`
9044
9045 - `enabled: boolean`
9046
9047 - `name: "web_fetch"`
9048
9049 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
9050
9051 Permission policy for tool execution.
9052
9053 - `BetaManagedAgentsAlwaysAllowPolicy object`
9054
9055 Tool calls are automatically approved without user confirmation.
9056
9057 - `BetaManagedAgentsAlwaysAskPolicy object`
9058
9059 Tool calls require user confirmation before execution.
9060
9061 - `BetaManagedAgentsAutoPolicy object`
9062
9063 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9064
9065 - `allowed_domains: optional array of string`
9066
9067 - `blocked_domains: optional array of string`
9068
9069 - `max_content_tokens: optional number or null`
9070
9071 format: int32
9072
9073 - `BetaManagedAgentsWebSearchToolConfig object`
9074
9075 Configuration for the web_search tool.
9076
9077 - `type: "web_search"`
9078
9079 - `enabled: boolean`
9080
9081 - `name: "web_search"`
9082
9083 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
9084
9085 Permission policy for tool execution.
9086
9087 - `BetaManagedAgentsAlwaysAllowPolicy object`
9088
9089 Tool calls are automatically approved without user confirmation.
9090
9091 - `BetaManagedAgentsAlwaysAskPolicy object`
9092
9093 Tool calls require user confirmation before execution.
9094
9095 - `BetaManagedAgentsAutoPolicy object`
9096
9097 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9098
9099 - `allowed_domains: optional array of string`
9100
9101 - `blocked_domains: optional array of string`
9102
9103 - `user_location: optional BetaManagedAgentsUserLocation or null`
9104
9105 Approximate user location for search result localization.
9106
9107 - `type: "approximate"`
9108
9109 Location precision. Only "approximate" is supported.
9110
9111 - `city: optional string or null`
9112
9113 City name.
9114
9115 minLength: 1, maxLength: 255
9116
9117 - `country: optional string or null`
9118
9119 Two-letter ISO 3166-1 country code, uppercase.
9120
9121 - `region: optional string or null`
9122
9123 Region or state name.
9124
9125 minLength: 1, maxLength: 255
9126
9127 - `timezone: optional string or null`
9128
9129 IANA timezone identifier, e.g. "America/Los_Angeles".
9130
9131 minLength: 1, maxLength: 255
9132
9133 - `default_config: BetaManagedAgentsAgentToolsetDefaultConfig`
9134
9135 Resolved default configuration for agent tools.
9136
9137 - `enabled: boolean`
9138
9139 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
9140
9141 Permission policy for tool execution.
9142
9143 - `BetaManagedAgentsAlwaysAllowPolicy object`
9144
9145 Tool calls are automatically approved without user confirmation.
9146
9147 - `BetaManagedAgentsAlwaysAskPolicy object`
9148
9149 Tool calls require user confirmation before execution.
9150
9151 - `BetaManagedAgentsAutoPolicy object`
9152
9153 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9154
9155 - `BetaManagedAgentsMCPToolset object`
9156
9157 - `type: "mcp_toolset"`
9158
9159 - `configs: array of BetaManagedAgentsMCPToolConfig`
9160
9161 - `enabled: boolean`
9162
9163 - `name: string`
9164
9165 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
9166
9167 Permission policy for tool execution.
9168
9169 - `BetaManagedAgentsAlwaysAllowPolicy object`
9170
9171 Tool calls are automatically approved without user confirmation.
9172
9173 - `BetaManagedAgentsAlwaysAskPolicy object`
9174
9175 Tool calls require user confirmation before execution.
9176
9177 - `BetaManagedAgentsAutoPolicy object`
9178
9179 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9180
9181 - `default_config: BetaManagedAgentsMCPToolsetDefaultConfig`
9182
9183 Resolved default configuration for all tools from an MCP server.
9184
9185 - `enabled: boolean`
9186
9187 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
9188
9189 Permission policy for tool execution.
9190
9191 - `BetaManagedAgentsAlwaysAllowPolicy object`
9192
9193 Tool calls are automatically approved without user confirmation.
9194
9195 - `BetaManagedAgentsAlwaysAskPolicy object`
9196
9197 Tool calls require user confirmation before execution.
9198
9199 - `BetaManagedAgentsAutoPolicy object`
9200
9201 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9202
9203 - `mcp_server_name: string`
9204
9205 - `BetaManagedAgentsCustomTool object`
9206
9207 A custom tool as returned in API responses.
9208
9209 - `type: "custom"`
9210
9211 - `description: string`
9212
9213 - `input_schema: BetaManagedAgentsCustomToolInputSchema`
9214
9215 JSON Schema for custom tool input parameters.
9216
9217 - `type: "object"`
9218
9219 - `properties: optional map[unknown] or null`
9220
9221 - `required: optional array of string or null`
9222
9223 - `name: string`
9224
9225 - `version: number`
9226
9227 format: int32
9228
9229### Beta Managed Agents Skill Params
9230
9231- `BetaManagedAgentsSkillParams = BetaManagedAgentsAnthropicSkillParams or BetaManagedAgentsCustomSkillParams`
9232
9233 Skill to load in the session container.
9234
9235 - `BetaManagedAgentsAnthropicSkillParams object`
9236
9237 An Anthropic-managed skill.
9238
9239 - `type: "anthropic"`
9240
9241 - `skill_id: string`
9242
9243 Identifier of the Anthropic skill (e.g., "xlsx").
9244
9245 minLength: 1, maxLength: 64
9246
9247 - `version: optional string or null`
9248
9249 Version to pin. Defaults to latest if omitted.
9250
9251 minLength: 1, maxLength: 64
9252
9253 - `BetaManagedAgentsCustomSkillParams object`
9254
9255 A user-created custom skill.
9256
9257 - `type: "custom"`
9258
9259 - `skill_id: string`
9260
9261 Tagged ID of the custom skill (e.g., "skill_01XJ5...").
9262
9263 minLength: 1, maxLength: 64
9264
9265 - `version: optional string or null`
9266
9267 Version to pin. Defaults to latest if omitted.
9268
9269 minLength: 1, maxLength: 64
9270
9271### Beta Managed Agents URL MCP Server Params
9272
9273- `BetaManagedAgentsURLMCPServerParams object`
9274
9275 URL-based MCP server connection.
9276
9277 - `type: "url"`
9278
9279 - `name: string`
9280
9281 Unique name for this server, referenced by mcp_toolset configurations. 1-255 characters.
9282
9283 minLength: 1, maxLength: 255
9284
9285 - `url: string`
9286
9287 Endpoint URL for the MCP server.
9288
9289 maxLength: 2048
9290
9291### Beta Managed Agents User Location
9292
9293- `BetaManagedAgentsUserLocation object`
9294
9295 Approximate user location for search result localization.
9296
9297 - `type: "approximate"`
9298
9299 Location precision. Only "approximate" is supported.
9300
9301 - `city: optional string or null`
9302
9303 City name.
9304
9305 minLength: 1, maxLength: 255
9306
9307 - `country: optional string or null`
9308
9309 Two-letter ISO 3166-1 country code, uppercase.
9310
9311 - `region: optional string or null`
9312
9313 Region or state name.
9314
9315 minLength: 1, maxLength: 255
9316
9317 - `timezone: optional string or null`
9318
9319 IANA timezone identifier, e.g. "America/Los_Angeles".
9320
9321 minLength: 1, maxLength: 255
9322
9323### Beta Managed Agents Web Fetch Tool Config
9324
9325- `BetaManagedAgentsWebFetchToolConfig object`
9326
9327 Configuration for the web_fetch tool.
9328
9329 - `type: "web_fetch"`
9330
9331 - `enabled: boolean`
9332
9333 - `name: "web_fetch"`
9334
9335 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
9336
9337 Permission policy for tool execution.
9338
9339 - `BetaManagedAgentsAlwaysAllowPolicy object`
9340
9341 Tool calls are automatically approved without user confirmation.
9342
9343 - `type: "always_allow"`
9344
9345 - `BetaManagedAgentsAlwaysAskPolicy object`
9346
9347 Tool calls require user confirmation before execution.
9348
9349 - `type: "always_ask"`
9350
9351 - `BetaManagedAgentsAutoPolicy object`
9352
9353 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9354
9355 - `type: "auto"`
9356
9357 - `allowed_domains: optional array of string`
9358
9359 - `blocked_domains: optional array of string`
9360
9361 - `max_content_tokens: optional number or null`
9362
9363 format: int32
9364
9365### Beta Managed Agents Web Fetch Tool Config Params
9366
9367- `BetaManagedAgentsWebFetchToolConfigParams object`
9368
9369 Configuration override for the web_fetch tool.
9370
9371 - `type: optional "web_fetch"`
9372
9373 - `name: "web_fetch"`
9374
9375 Must be "web_fetch".
9376
9377 - `allowed_domains: optional array of string`
9378
9379 Only fetch URLs whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like "docs.example.com" (no scheme, port, or path). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with blocked_domains.
9380
9381 - `blocked_domains: optional array of string`
9382
9383 Never fetch URLs whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like "ads.example.com" (no scheme, port, or path). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with allowed_domains.
9384
9385 - `enabled: optional boolean or null`
9386
9387 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
9388
9389 - `max_content_tokens: optional number or null`
9390
9391 Maximum number of tokens of fetched text content to include in context per call. Does not apply to binary content such as PDFs.
9392
9393 format: int32
9394
9395 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
9396
9397 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
9398
9399 - `BetaManagedAgentsAlwaysAllowPolicy object`
9400
9401 Tool calls are automatically approved without user confirmation.
9402
9403 - `type: "always_allow"`
9404
9405 - `BetaManagedAgentsAlwaysAskPolicy object`
9406
9407 Tool calls require user confirmation before execution.
9408
9409 - `type: "always_ask"`
9410
9411 - `BetaManagedAgentsAutoPolicy object`
9412
9413 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9414
9415 - `type: "auto"`
9416
9417### Beta Managed Agents Web Search Tool Config
9418
9419- `BetaManagedAgentsWebSearchToolConfig object`
9420
9421 Configuration for the web_search tool.
9422
9423 - `type: "web_search"`
9424
9425 - `enabled: boolean`
9426
9427 - `name: "web_search"`
9428
9429 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
9430
9431 Permission policy for tool execution.
9432
9433 - `BetaManagedAgentsAlwaysAllowPolicy object`
9434
9435 Tool calls are automatically approved without user confirmation.
9436
9437 - `type: "always_allow"`
9438
9439 - `BetaManagedAgentsAlwaysAskPolicy object`
9440
9441 Tool calls require user confirmation before execution.
9442
9443 - `type: "always_ask"`
9444
9445 - `BetaManagedAgentsAutoPolicy object`
9446
9447 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9448
9449 - `type: "auto"`
9450
9451 - `allowed_domains: optional array of string`
9452
9453 - `blocked_domains: optional array of string`
9454
9455 - `user_location: optional BetaManagedAgentsUserLocation or null`
9456
9457 Approximate user location for search result localization.
9458
9459 - `type: "approximate"`
9460
9461 Location precision. Only "approximate" is supported.
9462
9463 - `city: optional string or null`
9464
9465 City name.
9466
9467 minLength: 1, maxLength: 255
9468
9469 - `country: optional string or null`
9470
9471 Two-letter ISO 3166-1 country code, uppercase.
9472
9473 - `region: optional string or null`
9474
9475 Region or state name.
9476
9477 minLength: 1, maxLength: 255
9478
9479 - `timezone: optional string or null`
9480
9481 IANA timezone identifier, e.g. "America/Los_Angeles".
9482
9483 minLength: 1, maxLength: 255
9484
9485### Beta Managed Agents Web Search Tool Config Params
9486
9487- `BetaManagedAgentsWebSearchToolConfigParams object`
9488
9489 Configuration override for the web_search tool.
9490
9491 - `type: optional "web_search"`
9492
9493 - `name: "web_search"`
9494
9495 Must be "web_search".
9496
9497 - `allowed_domains: optional array of string`
9498
9499 Only return search results whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like "docs.example.com" (no scheme or port; an optional path suffix is accepted). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with blocked_domains.
9500
9501 - `blocked_domains: optional array of string`
9502
9503 Never return search results whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like "ads.example.com" (no scheme or port; an optional path suffix is accepted). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with allowed_domains.
9504
9505 - `enabled: optional boolean or null`
9506
9507 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
9508
9509 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
9510
9511 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
9512
9513 - `BetaManagedAgentsAlwaysAllowPolicy object`
9514
9515 Tool calls are automatically approved without user confirmation.
9516
9517 - `type: "always_allow"`
9518
9519 - `BetaManagedAgentsAlwaysAskPolicy object`
9520
9521 Tool calls require user confirmation before execution.
9522
9523 - `type: "always_ask"`
9524
9525 - `BetaManagedAgentsAutoPolicy object`
9526
9527 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9528
9529 - `type: "auto"`
9530
9531 - `user_location: optional BetaManagedAgentsUserLocation or null`
9532
9533 Approximate user location for search result localization.
9534
9535 - `type: "approximate"`
9536
9537 Location precision. Only "approximate" is supported.
9538
9539 - `city: optional string or null`
9540
9541 City name.
9542
9543 minLength: 1, maxLength: 255
9544
9545 - `country: optional string or null`
9546
9547 Two-letter ISO 3166-1 country code, uppercase.
9548
9549 - `region: optional string or null`
9550
9551 Region or state name.
9552
9553 minLength: 1, maxLength: 255
9554
9555 - `timezone: optional string or null`
9556
9557 IANA timezone identifier, e.g. "America/Los_Angeles".
9558
9559 minLength: 1, maxLength: 255
9560
9561### Beta Managed Agents Write Tool Config
9562
9563- `BetaManagedAgentsWriteToolConfig object`
9564
9565 Configuration for the write tool.
9566
9567 - `type: "write"`
9568
9569 - `enabled: boolean`
9570
9571 - `name: "write"`
9572
9573 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
9574
9575 Permission policy for tool execution.
9576
9577 - `BetaManagedAgentsAlwaysAllowPolicy object`
9578
9579 Tool calls are automatically approved without user confirmation.
9580
9581 - `type: "always_allow"`
9582
9583 - `BetaManagedAgentsAlwaysAskPolicy object`
9584
9585 Tool calls require user confirmation before execution.
9586
9587 - `type: "always_ask"`
9588
9589 - `BetaManagedAgentsAutoPolicy object`
9590
9591 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9592
9593 - `type: "auto"`
9594
9595### Beta Managed Agents Write Tool Config Params
9596
9597- `BetaManagedAgentsWriteToolConfigParams object`
9598
9599 Configuration override for the write tool.
9600
9601 - `type: optional "write"`
9602
9603 - `name: "write"`
9604
9605 Must be "write".
9606
9607 - `enabled: optional boolean or null`
9608
9609 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
9610
9611 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
9612
9613 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
9614
9615 - `BetaManagedAgentsAlwaysAllowPolicy object`
9616
9617 Tool calls are automatically approved without user confirmation.
9618
9619 - `type: "always_allow"`
9620
9621 - `BetaManagedAgentsAlwaysAskPolicy object`
9622
9623 Tool calls require user confirmation before execution.
9624
9625 - `type: "always_ask"`
9626
9627 - `BetaManagedAgentsAutoPolicy object`
9628
9629 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9630
9631 - `type: "auto"`
9632
9633## Agents › Versions
9634
9635### List Agent Versions
9636
9637**GET** `/v1/agents/{agent_id}/versions`
9638
9639List Agent Versions
9640
9641#### Path parameters
9642
9643- `agent_id: string`
9644
9645 Agent ID to list versions for.
9646
9647#### Query parameters
9648
9649- `limit: optional number`
9650
9651 Maximum results per page. Default 20, maximum 100.
9652
9653 format: int32
9654
9655- `page: optional string`
9656
9657 Opaque pagination cursor.
9658
9659#### Headers
9660
9661- `"anthropic-beta": optional array of AnthropicBeta`
9662
9663 Optional header to specify the beta version(s) you want to use.
9664
83399665 - `string`
83409666
8341### Beta Managed Agents Model Config
8342
8343- `BetaManagedAgentsModelConfig object`
8344
8345 Model identifier and configuration.
8346
8347 - `id: BetaManagedAgentsModel`
8348
8349 The model that will power your agent.
8350
8351 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
8352
8353 - `"claude-sonnet-5-5" or "claude-opus-5-5" or "claude-fable-5-1" or 13 more`
9667 - `"message-batches-2024-09-24"`
9668
9669 - `"prompt-caching-2024-07-31"`
9670
9671 - `"computer-use-2024-10-22"`
9672
9673 - `"computer-use-2025-01-24"`
9674
9675 - `"pdfs-2024-09-25"`
9676
9677 - `"token-counting-2024-11-01"`
9678
9679 - `"token-efficient-tools-2025-02-19"`
9680
9681 - `"output-128k-2025-02-19"`
9682
9683 - `"files-api-2025-04-14"`
9684
9685 - `"mcp-client-2025-04-04"`
9686
9687 - `"mcp-client-2025-11-20"`
9688
9689 - `"dev-full-thinking-2025-05-14"`
9690
9691 - `"interleaved-thinking-2025-05-14"`
9692
9693 - `"code-execution-2025-05-22"`
9694
9695 - `"extended-cache-ttl-2025-04-11"`
9696
9697 - `"context-1m-2025-08-07"`
9698
9699 - `"context-management-2025-06-27"`
9700
9701 - `"model-context-window-exceeded-2025-08-26"`
9702
9703 - `"skills-2025-10-02"`
9704
9705 - `"fast-mode-2026-02-01"`
9706
9707 - `"output-300k-2026-03-24"`
9708
9709 - `"user-profiles-2026-03-24"`
9710
9711 - `"user-profiles-2026-08-18"`
9712
9713 - `"user-profiles-2026-09-04"`
9714
9715 - `"advisor-tool-2026-03-01"`
9716
9717 - `"managed-agents-2026-04-01"`
9718
9719 - `"cache-diagnosis-2026-04-07"`
9720
9721 - `"dreaming-2026-04-21"`
9722
9723 - `"thinking-token-count-2026-05-13"`
9724
9725 - `"server-side-fallback-2026-06-01"`
9726
9727 - `"server-side-fallback-2026-07-01"`
9728
9729 - `"fallback-credit-2026-06-01"`
9730
9731 - `"fallback-credit-2026-07-01"`
9732
9733 - `"agent-memory-2026-07-22"`
9734
9735 - `"mid-conversation-tool-changes-2026-07-01"`
9736
9737 - `"compact-2026-01-12"`
9738
9739 - `"computer-use-2025-11-24"`
9740
9741 - `"mcp-tunnels-2026-06-22"`
9742
9743 - `"structured-outputs-2025-11-13"`
9744
9745 - `"task-budgets-2026-03-13"`
9746
9747 - `"thinking-display-updates-2026-08-18"`
9748
9749 - `"ce-user-management-2026-07-13"`
9750
9751 - `"mid-conversation-output-config-2026-07-01"`
9752
9753 - `"thinking-binding-controls-2026-08-01"`
9754
9755 - `"mid-conversation-system-clear-at-2026-08-21"`
9756
9757 - `"compact-2026-09-04"`
9758
9759 - `"inline-tools-2026-09-15"`
9760
9761 - `"mcp-client-2026-09-15"`
9762
9763- `"anthropic-workspace-id": optional string`
9764
9765 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
9766
9767 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.
9768
9769#### Returns
9770
9771- `data: array of BetaManagedAgentsAgent`
9772
9773 Agent versions.
9774
9775 - `type: "agent"`
9776
9777 - `id: string`
9778
9779 - `archived_at: string or null`
9780
9781 When the agent was archived. Null if not archived.
9782
9783 format: date-time
9784
9785 - `created_at: string`
9786
9787 A timestamp in RFC 3339 format
9788
9789 format: date-time
9790
9791 - `description: string or null`
9792
9793 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
9794
9795 - `type: "url"`
9796
9797 - `name: string`
9798
9799 - `url: string`
9800
9801 - `metadata: map[string]`
9802
9803 - `model: BetaManagedAgentsModelConfig`
9804
9805 Model identifier and configuration.
9806
9807 - `id: BetaManagedAgentsModel`
83549808
83559809 The model that will power your agent.
83569810
from line 9873
84199873 - `"claude-sonnet-4-5-20250929"`
84209874
84219875 High-performance model for agents and coding
8422
8423 - `string`
8424
8425 - `effort: optional BetaManagedAgentsEffortLow or BetaManagedAgentsEffortMedium or BetaManagedAgentsEffortHigh or 2 more`
8426
8427 How hard Claude works on each inference call. One of `low`, `medium`, `high`, `xhigh`, `max`. Always present; resolved to the per-model default at save time when not supplied.
8428
8429 - `BetaManagedAgentsEffortLow object`
8430
8431 Low effort. Favors latency over reasoning depth.
8432
8433 - `type: "low"`
8434
8435 - `BetaManagedAgentsEffortMedium object`
8436
8437 Medium effort. Balances latency and reasoning depth.
8438
8439 - `type: "medium"`
8440
8441 - `BetaManagedAgentsEffortHigh object`
8442
8443 High effort. Favors reasoning depth.
8444
8445 - `type: "high"`
8446
8447 - `BetaManagedAgentsEffortXhigh object`
8448
8449 Extra-high effort. Not all models accept this level.
8450
8451 - `type: "xhigh"`
8452
8453 - `BetaManagedAgentsEffortMax object`
8454
8455 Maximum effort. Favors reasoning depth over latency.
8456
8457 - `type: "max"`
8458
8459 - `inference_geo: optional string`
8460
8461 Geographic region for model inference. When unset, requests fall through to the workspace's default_inference_geo.
8462
8463 - `speed: optional "standard" or "fast"`
8464
8465 Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Defaults to `standard`. Not all models support `fast`; invalid combinations are rejected at create time.
8466
8467 - `"standard"`
8468
8469 - `"fast"`
8470
8471### Beta Managed Agents Model Config Params
8472
8473- `BetaManagedAgentsModelConfigParams object`
8474
8475 An object that defines additional configuration control over model use
8476
8477 - `id: BetaManagedAgentsModel`
8478
8479 The model that will power your agent.
8480
8481 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
8482
8483 - `"claude-sonnet-5-5" or "claude-opus-5-5" or "claude-fable-5-1" or 13 more`
8484
8485 The model that will power your agent.
8486
8487 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
8488
8489 - `"claude-sonnet-5-5"`
8490
8491 Efficient model for coding and agents
8492
8493 - `"claude-opus-5-5"`
8494
8495 Powerful intelligence for coding, knowledge work, and long-running agents
8496
8497 - `"claude-fable-5-1"`
8498
8499 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
8500
8501 - `"claude-sonnet-5"`
8502
8503 Efficient model for coding and agents
8504
8505 - `"claude-fable-5"`
8506
8507 Next generation of intelligence for the hardest knowledge work and coding problems
8508
8509 - `"claude-opus-5"`
8510
8511 Powerful intelligence for long-running agents and coding
8512
8513 - `"claude-opus-4-8"`
8514
8515 Powerful intelligence for long-running agents and coding
8516
8517 - `"claude-opus-4-7"`
8518
8519 Powerful intelligence for long-running agents and coding
8520
8521 - `"claude-opus-4-6"`
8522
8523 Powerful intelligence for long-running agents and coding
8524
8525 - `"claude-sonnet-4-6"`
8526
8527 Best combination of speed and intelligence
8528
8529 - `"claude-haiku-4-5"`
8530
8531 Fastest model with near-frontier intelligence
8532
8533 - `"claude-haiku-4-5-20251001"`
8534
8535 Fastest model with near-frontier intelligence
8536
8537 - `"claude-opus-4-5"`
8538
8539 Powerful intelligence for long-running agents and coding
8540
8541 - `"claude-opus-4-5-20251101"`
8542
8543 Powerful intelligence for long-running agents and coding
8544
8545 - `"claude-sonnet-4-5"`
8546
8547 High-performance model for agents and coding
8548
8549 - `"claude-sonnet-4-5-20250929"`
8550
8551 High-performance model for agents and coding
8552
8553 - `string`
8554
8555 - `effort: optional "low" or "medium" or "high" or 2 more or BetaManagedAgentsEffortLow or BetaManagedAgentsEffortMedium or 3 more or null`
8556
8557 How hard Claude works on each inference call. Accepts a bare level string (`"high"`) or `{"type": "high"}`. On create, omitting it resolves the per-model default; on update, omitting it leaves the stored value unchanged.
8558
8559 - `BetaManagedAgentsEffortLevel = "low" or "medium" or "high" or 2 more`
8560
8561 How hard Claude works on each turn. Higher levels favor reasoning depth over latency. Not all models accept every level; invalid combinations are rejected at create time.
8562
8563 - `"low"`
8564
8565 Low effort. Favors latency over reasoning depth.
8566
8567 - `"medium"`
8568
8569 Medium effort. Balances latency and reasoning depth.
8570
8571 - `"high"`
8572
8573 High effort. Favors reasoning depth.
8574
8575 - `"xhigh"`
8576
8577 Extra-high effort. Not all models accept this level.
8578
8579 - `"max"`
8580
8581 Maximum effort. Favors reasoning depth over latency.
8582
8583 - `BetaManagedAgentsEffortLow object`
8584
8585 Low effort. Favors latency over reasoning depth.
8586
8587 - `type: "low"`
8588
8589 - `BetaManagedAgentsEffortMedium object`
8590
8591 Medium effort. Balances latency and reasoning depth.
8592
8593 - `type: "medium"`
8594
8595 - `BetaManagedAgentsEffortHigh object`
8596
8597 High effort. Favors reasoning depth.
8598
8599 - `type: "high"`
8600
8601 - `BetaManagedAgentsEffortXhigh object`
8602
8603 Extra-high effort. Not all models accept this level.
8604
8605 - `type: "xhigh"`
8606
8607 - `BetaManagedAgentsEffortMax object`
8608
8609 Maximum effort. Favors reasoning depth over latency.
8610
8611 - `type: "max"`
8612
8613 - `inference_geo: optional string or null`
8614
8615 Geographic region for model inference. When unset, requests fall through to the workspace's default_inference_geo. On update, `model` is whole-object replacement — omitting inference_geo clears it.
8616
8617 - `speed: optional "standard" or "fast" or null`
8618
8619 Inference speed mode. Defaults to `standard`.
8620
8621 - `"standard"`
8622
8623 - `"fast"`
8624
8625### Beta Managed Agents Multiagent Coordinator
8626
8627- `BetaManagedAgentsMultiagentCoordinator object`
8628
8629 Resolved coordinator topology with a concrete agent roster.
8630
8631 - `type: "coordinator"`
8632
8633 - `agents: array of BetaManagedAgentsAgentReference or BetaManagedAgentsAdvisor`
8634
8635 Agents the coordinator may spawn as session threads, each resolved to a specific version.
8636
8637 - `BetaManagedAgentsAgentReference object`
8638
8639 A resolved agent reference with a concrete version.
8640
8641 - `type: "agent"`
8642
8643 - `id: string`
8644
8645 - `version: number`
8646
8647 format: int32
8648
8649 - `BetaManagedAgentsAdvisor object`
8650
8651 Platform advisor roster entry: a model the session's primary thread may consult mid-turn.
8652
8653 - `type: "advisor"`
8654
8655 - `model: string`
8656
8657 The advisor model id.
8658
8659### Beta Managed Agents Multiagent Coordinator Params
8660
8661- `BetaManagedAgentsMultiagentCoordinatorParams object`
8662
8663 A coordinator topology: the session's primary thread orchestrates work by spawning session threads, each running an agent drawn from the `agents` roster.
8664
8665 - `type: "coordinator"`
8666
8667 - `agents: array of BetaManagedAgentsMultiagentRosterEntryParams`
8668
8669 Agents the coordinator may spawn as session threads. 1–20 entries. Each entry is an agent ID string, a versioned `{"type":"agent","id","version"}` reference, or `{"type":"self"}` to allow recursive self-invocation. Entries must reference distinct agents (after resolving `self` and string forms); at most one `self`. Referenced agents must exist, must not be archived, and must not themselves have `multiagent` set (depth limit 1).
8670
8671 - `string`
8672
8673 - `BetaManagedAgentsAgentParams object`
8674
8675 Specification for an Agent. Provide a specific `version` or use the short-form `agent="agent_id"` for the most recent version
8676
8677 - `type: "agent"`
8678
8679 - `id: string`
8680
8681 The `agent` ID.
8682
8683 minLength: 1, maxLength: 128
8684
8685 - `version: optional number`
8686
8687 The specific `agent` version to use. Omit to use the latest version. Must be at least 1 if specified.
8688
8689 format: int32
8690
8691 - `BetaManagedAgentsMultiagentSelfParams object`
8692
8693 Sentinel roster entry meaning "the agent that owns this configuration". Resolved server-side to a concrete agent reference.
8694
8695 - `type: "self"`
8696
8697 - `BetaManagedAgentsAdvisorParams object`
8698
8699 Platform advisor roster entry: a model the session's primary thread may consult mid-turn. At most one per roster; the entry occupies the roster name `anthropic.advisor`.
8700
8701 - `type: "advisor"`
8702
8703 - `model: string`
8704
8705 A Claude model id. The model must be permitted as an advisor for this agent's model — see the sessions/threads/advisor spec.
8706
8707 minLength: 1, maxLength: 256
8708
8709### Beta Managed Agents Multiagent Self Params
8710
8711- `BetaManagedAgentsMultiagentSelfParams object`
8712
8713 Sentinel roster entry meaning "the agent that owns this configuration". Resolved server-side to a concrete agent reference.
8714
8715 - `type: "self"`
8716
8717### Beta Managed Agents Read Tool Config
8718
8719- `BetaManagedAgentsReadToolConfig object`
8720
8721 Configuration for the read tool.
8722
8723 - `type: "read"`
8724
8725 - `enabled: boolean`
8726
8727 - `name: "read"`
8728
8729 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
8730
8731 Permission policy for tool execution.
8732
8733 - `BetaManagedAgentsAlwaysAllowPolicy object`
8734
8735 Tool calls are automatically approved without user confirmation.
8736
8737 - `type: "always_allow"`
8738
8739 - `BetaManagedAgentsAlwaysAskPolicy object`
8740
8741 Tool calls require user confirmation before execution.
8742
8743 - `type: "always_ask"`
8744
8745 - `BetaManagedAgentsAutoPolicy object`
8746
8747 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
8748
8749 - `type: "auto"`
8750
8751### Beta Managed Agents Read Tool Config Params
8752
8753- `BetaManagedAgentsReadToolConfigParams object`
8754
8755 Configuration override for the read tool.
8756
8757 - `type: optional "read"`
8758
8759 - `name: "read"`
8760
8761 Must be "read".
8762
8763 - `enabled: optional boolean or null`
8764
8765 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
8766
8767 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
8768
8769 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
8770
8771 - `BetaManagedAgentsAlwaysAllowPolicy object`
8772
8773 Tool calls are automatically approved without user confirmation.
8774
8775 - `type: "always_allow"`
8776
8777 - `BetaManagedAgentsAlwaysAskPolicy object`
8778
8779 Tool calls require user confirmation before execution.
8780
8781 - `type: "always_ask"`
8782
8783 - `BetaManagedAgentsAutoPolicy object`
8784
8785 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
8786
8787 - `type: "auto"`
8788
8789### Beta Managed Agents Session Thread Agent
8790
8791- `BetaManagedAgentsSessionThreadAgent object`
8792
8793 Resolved `agent` definition for a single `session_thread`. Snapshot of the agent at thread creation time. The multiagent roster is not repeated here; read it from `Session.agent`.
8794
8795 - `type: "agent"`
8796
8797 - `id: string`
8798
8799 - `description: string or null`
8800
8801 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
8802
8803 - `type: "url"`
8804
8805 - `name: string`
8806
8807 - `url: string`
8808
8809 - `model: BetaManagedAgentsModelConfig`
8810
8811 Model identifier and configuration.
8812
8813 - `id: BetaManagedAgentsModel`
8814
8815 The model that will power your agent.
8816
8817 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
8818
8819 - `"claude-sonnet-5-5" or "claude-opus-5-5" or "claude-fable-5-1" or 13 more`
8820
8821 The model that will power your agent.
8822
8823 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
8824
8825 - `"claude-sonnet-5-5"`
8826
8827 Efficient model for coding and agents
8828
8829 - `"claude-opus-5-5"`
8830
8831 Powerful intelligence for coding, knowledge work, and long-running agents
8832
8833 - `"claude-fable-5-1"`
8834
8835 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
8836
8837 - `"claude-sonnet-5"`
8838
8839 Efficient model for coding and agents
8840
8841 - `"claude-fable-5"`
8842
8843 Next generation of intelligence for the hardest knowledge work and coding problems
8844
8845 - `"claude-opus-5"`
8846
8847 Powerful intelligence for long-running agents and coding
8848
8849 - `"claude-opus-4-8"`
8850
8851 Powerful intelligence for long-running agents and coding
8852
8853 - `"claude-opus-4-7"`
8854
8855 Powerful intelligence for long-running agents and coding
8856
8857 - `"claude-opus-4-6"`
8858
8859 Powerful intelligence for long-running agents and coding
8860
8861 - `"claude-sonnet-4-6"`
8862
8863 Best combination of speed and intelligence
8864
8865 - `"claude-haiku-4-5"`
8866
8867 Fastest model with near-frontier intelligence
8868
8869 - `"claude-haiku-4-5-20251001"`
8870
8871 Fastest model with near-frontier intelligence
8872
8873 - `"claude-opus-4-5"`
8874
8875 Powerful intelligence for long-running agents and coding
8876
8877 - `"claude-opus-4-5-20251101"`
8878
8879 Powerful intelligence for long-running agents and coding
8880
8881 - `"claude-sonnet-4-5"`
8882
8883 High-performance model for agents and coding
8884
8885 - `"claude-sonnet-4-5-20250929"`
8886
8887 High-performance model for agents and coding
8888
8889 - `string`
8890
8891 - `effort: optional BetaManagedAgentsEffortLow or BetaManagedAgentsEffortMedium or BetaManagedAgentsEffortHigh or 2 more`
8892
8893 How hard Claude works on each inference call. One of `low`, `medium`, `high`, `xhigh`, `max`. Always present; resolved to the per-model default at save time when not supplied.
8894
8895 - `BetaManagedAgentsEffortLow object`
8896
8897 Low effort. Favors latency over reasoning depth.
8898
8899 - `type: "low"`
8900
8901 - `BetaManagedAgentsEffortMedium object`
8902
8903 Medium effort. Balances latency and reasoning depth.
8904
8905 - `type: "medium"`
8906
8907 - `BetaManagedAgentsEffortHigh object`
8908
8909 High effort. Favors reasoning depth.
8910
8911 - `type: "high"`
8912
8913 - `BetaManagedAgentsEffortXhigh object`
8914
8915 Extra-high effort. Not all models accept this level.
8916
8917 - `type: "xhigh"`
8918
8919 - `BetaManagedAgentsEffortMax object`
8920
8921 Maximum effort. Favors reasoning depth over latency.
8922
8923 - `type: "max"`
8924
8925 - `inference_geo: optional string`
8926
8927 Geographic region for model inference. When unset, requests fall through to the workspace's default_inference_geo.
8928
8929 - `speed: optional "standard" or "fast"`
8930
8931 Inference speed mode. `fast` provides significantly faster output token generation at premium pricing. Defaults to `standard`. Not all models support `fast`; invalid combinations are rejected at create time.
8932
8933 - `"standard"`
8934
8935 - `"fast"`
8936
8937 - `name: string`
8938
8939 - `skills: array of BetaManagedAgentsAnthropicSkill or BetaManagedAgentsCustomSkill`
8940
8941 - `BetaManagedAgentsAnthropicSkill object`
8942
8943 A resolved Anthropic-managed skill.
8944
8945 - `type: "anthropic"`
8946
8947 - `skill_id: string`
8948
8949 - `version: string`
8950
8951 - `BetaManagedAgentsCustomSkill object`
8952
8953 A resolved user-created custom skill.
8954
8955 - `type: "custom"`
8956
8957 - `skill_id: string`
8958
8959 - `version: string`
8960
8961 - `system: string or null`
8962
8963 - `tools: array of BetaManagedAgentsAgentToolset20260401 or BetaManagedAgentsMCPToolset or BetaManagedAgentsCustomTool`
8964
8965 - `BetaManagedAgentsAgentToolset20260401 object`
8966
8967 - `type: "agent_toolset_20260401"`
8968
8969 - `configs: array of BetaManagedAgentsAgentToolConfig`
8970
8971 - `BetaManagedAgentsBashToolConfig object`
8972
8973 Configuration for the bash tool.
8974
8975 - `type: "bash"`
8976
8977 - `enabled: boolean`
8978
8979 - `name: "bash"`
8980
8981 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
8982
8983 Permission policy for tool execution.
8984
8985 - `BetaManagedAgentsAlwaysAllowPolicy object`
8986
8987 Tool calls are automatically approved without user confirmation.
8988
8989 - `type: "always_allow"`
8990
8991 - `BetaManagedAgentsAlwaysAskPolicy object`
8992
8993 Tool calls require user confirmation before execution.
8994
8995 - `type: "always_ask"`
8996
8997 - `BetaManagedAgentsAutoPolicy object`
8998
8999 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9000
9001 - `type: "auto"`
9002
9003 - `BetaManagedAgentsEditToolConfig object`
9004
9005 Configuration for the edit tool.
9006
9007 - `type: "edit"`
9008
9009 - `enabled: boolean`
9010
9011 - `name: "edit"`
9012
9013 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
9014
9015 Permission policy for tool execution.
9016
9017 - `BetaManagedAgentsAlwaysAllowPolicy object`
9018
9019 Tool calls are automatically approved without user confirmation.
9020
9021 - `BetaManagedAgentsAlwaysAskPolicy object`
9022
9023 Tool calls require user confirmation before execution.
9024
9025 - `BetaManagedAgentsAutoPolicy object`
9026
9027 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9028
9029 - `BetaManagedAgentsReadToolConfig object`
9030
9031 Configuration for the read tool.
9032
9033 - `type: "read"`
9034
9035 - `enabled: boolean`
9036
9037 - `name: "read"`
9038
9039 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
9040
9041 Permission policy for tool execution.
9042
9043 - `BetaManagedAgentsAlwaysAllowPolicy object`
9044
9045 Tool calls are automatically approved without user confirmation.
9046
9047 - `BetaManagedAgentsAlwaysAskPolicy object`
9048
9049 Tool calls require user confirmation before execution.
9050
9051 - `BetaManagedAgentsAutoPolicy object`
9052
9053 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9054
9055 - `BetaManagedAgentsWriteToolConfig object`
9056
9057 Configuration for the write tool.
9058
9059 - `type: "write"`
9060
9061 - `enabled: boolean`
9062
9063 - `name: "write"`
9064
9065 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
9066
9067 Permission policy for tool execution.
9068
9069 - `BetaManagedAgentsAlwaysAllowPolicy object`
9070
9071 Tool calls are automatically approved without user confirmation.
9072
9073 - `BetaManagedAgentsAlwaysAskPolicy object`
9074
9075 Tool calls require user confirmation before execution.
9076
9077 - `BetaManagedAgentsAutoPolicy object`
9078
9079 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9080
9081 - `BetaManagedAgentsGlobToolConfig object`
9082
9083 Configuration for the glob tool.
9084
9085 - `type: "glob"`
9086
9087 - `enabled: boolean`
9088
9089 - `name: "glob"`
9090
9091 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
9092
9093 Permission policy for tool execution.
9094
9095 - `BetaManagedAgentsAlwaysAllowPolicy object`
9096
9097 Tool calls are automatically approved without user confirmation.
9098
9099 - `BetaManagedAgentsAlwaysAskPolicy object`
9100
9101 Tool calls require user confirmation before execution.
9102
9103 - `BetaManagedAgentsAutoPolicy object`
9104
9105 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9106
9107 - `BetaManagedAgentsGrepToolConfig object`
9108
9109 Configuration for the grep tool.
9110
9111 - `type: "grep"`
9112
9113 - `enabled: boolean`
9114
9115 - `name: "grep"`
9116
9117 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
9118
9119 Permission policy for tool execution.
9120
9121 - `BetaManagedAgentsAlwaysAllowPolicy object`
9122
9123 Tool calls are automatically approved without user confirmation.
9124
9125 - `BetaManagedAgentsAlwaysAskPolicy object`
9126
9127 Tool calls require user confirmation before execution.
9128
9129 - `BetaManagedAgentsAutoPolicy object`
9130
9131 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9132
9133 - `BetaManagedAgentsWebFetchToolConfig object`
9134
9135 Configuration for the web_fetch tool.
9136
9137 - `type: "web_fetch"`
9138
9139 - `enabled: boolean`
9140
9141 - `name: "web_fetch"`
9142
9143 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
9144
9145 Permission policy for tool execution.
9146
9147 - `BetaManagedAgentsAlwaysAllowPolicy object`
9148
9149 Tool calls are automatically approved without user confirmation.
9150
9151 - `BetaManagedAgentsAlwaysAskPolicy object`
9152
9153 Tool calls require user confirmation before execution.
9154
9155 - `BetaManagedAgentsAutoPolicy object`
9156
9157 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9158
9159 - `allowed_domains: optional array of string`
9160
9161 - `blocked_domains: optional array of string`
9162
9163 - `max_content_tokens: optional number or null`
9164
9165 format: int32
9166
9167 - `BetaManagedAgentsWebSearchToolConfig object`
9168
9169 Configuration for the web_search tool.
9170
9171 - `type: "web_search"`
9172
9173 - `enabled: boolean`
9174
9175 - `name: "web_search"`
9176
9177 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
9178
9179 Permission policy for tool execution.
9180
9181 - `BetaManagedAgentsAlwaysAllowPolicy object`
9182
9183 Tool calls are automatically approved without user confirmation.
9184
9185 - `BetaManagedAgentsAlwaysAskPolicy object`
9186
9187 Tool calls require user confirmation before execution.
9188
9189 - `BetaManagedAgentsAutoPolicy object`
9190
9191 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9192
9193 - `allowed_domains: optional array of string`
9194
9195 - `blocked_domains: optional array of string`
9196
9197 - `user_location: optional BetaManagedAgentsUserLocation or null`
9198
9199 Approximate user location for search result localization.
9200
9201 - `type: "approximate"`
9202
9203 Location precision. Only "approximate" is supported.
9204
9205 - `city: optional string or null`
9206
9207 City name.
9208
9209 minLength: 1, maxLength: 255
9210
9211 - `country: optional string or null`
9212
9213 Two-letter ISO 3166-1 country code, uppercase.
9214
9215 - `region: optional string or null`
9216
9217 Region or state name.
9218
9219 minLength: 1, maxLength: 255
9220
9221 - `timezone: optional string or null`
9222
9223 IANA timezone identifier, e.g. "America/Los_Angeles".
9224
9225 minLength: 1, maxLength: 255
9226
9227 - `default_config: BetaManagedAgentsAgentToolsetDefaultConfig`
9228
9229 Resolved default configuration for agent tools.
9230
9231 - `enabled: boolean`
9232
9233 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
9234
9235 Permission policy for tool execution.
9236
9237 - `BetaManagedAgentsAlwaysAllowPolicy object`
9238
9239 Tool calls are automatically approved without user confirmation.
9240
9241 - `BetaManagedAgentsAlwaysAskPolicy object`
9242
9243 Tool calls require user confirmation before execution.
9244
9245 - `BetaManagedAgentsAutoPolicy object`
9246
9247 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9248
9249 - `BetaManagedAgentsMCPToolset object`
9250
9251 - `type: "mcp_toolset"`
9252
9253 - `configs: array of BetaManagedAgentsMCPToolConfig`
9254
9255 - `enabled: boolean`
9256
9257 - `name: string`
9258
9259 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
9260
9261 Permission policy for tool execution.
9262
9263 - `BetaManagedAgentsAlwaysAllowPolicy object`
9264
9265 Tool calls are automatically approved without user confirmation.
9266
9267 - `BetaManagedAgentsAlwaysAskPolicy object`
9268
9269 Tool calls require user confirmation before execution.
9270
9271 - `BetaManagedAgentsAutoPolicy object`
9272
9273 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9274
9275 - `default_config: BetaManagedAgentsMCPToolsetDefaultConfig`
9276
9277 Resolved default configuration for all tools from an MCP server.
9278
9279 - `enabled: boolean`
9280
9281 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
9282
9283 Permission policy for tool execution.
9284
9285 - `BetaManagedAgentsAlwaysAllowPolicy object`
9286
9287 Tool calls are automatically approved without user confirmation.
9288
9289 - `BetaManagedAgentsAlwaysAskPolicy object`
9290
9291 Tool calls require user confirmation before execution.
9292
9293 - `BetaManagedAgentsAutoPolicy object`
9294
9295 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9296
9297 - `mcp_server_name: string`
9298
9299 - `BetaManagedAgentsCustomTool object`
9300
9301 A custom tool as returned in API responses.
9302
9303 - `type: "custom"`
9304
9305 - `description: string`
9306
9307 - `input_schema: BetaManagedAgentsCustomToolInputSchema`
9308
9309 JSON Schema for custom tool input parameters.
9310
9311 - `type: "object"`
9312
9313 - `properties: optional map[unknown] or null`
9314
9315 - `required: optional array of string or null`
9316
9317 - `name: string`
9318
9319 - `version: number`
9320
9321 format: int32
9322
9323### Beta Managed Agents Skill Params
9324
9325- `BetaManagedAgentsSkillParams = BetaManagedAgentsAnthropicSkillParams or BetaManagedAgentsCustomSkillParams`
9326
9327 Skill to load in the session container.
9328
9329 - `BetaManagedAgentsAnthropicSkillParams object`
9330
9331 An Anthropic-managed skill.
9332
9333 - `type: "anthropic"`
9334
9335 - `skill_id: string`
9336
9337 Identifier of the Anthropic skill (e.g., "xlsx").
9338
9339 minLength: 1, maxLength: 64
9340
9341 - `version: optional string or null`
9342
9343 Version to pin. Defaults to latest if omitted.
9344
9345 minLength: 1, maxLength: 64
9346
9347 - `BetaManagedAgentsCustomSkillParams object`
9348
9349 A user-created custom skill.
9350
9351 - `type: "custom"`
9352
9353 - `skill_id: string`
9354
9355 Tagged ID of the custom skill (e.g., "skill_01XJ5...").
9356
9357 minLength: 1, maxLength: 64
9358
9359 - `version: optional string or null`
9360
9361 Version to pin. Defaults to latest if omitted.
9362
9363 minLength: 1, maxLength: 64
9364
9365### Beta Managed Agents URL MCP Server Params
9366
9367- `BetaManagedAgentsURLMCPServerParams object`
9368
9369 URL-based MCP server connection.
9370
9371 - `type: "url"`
9372
9373 - `name: string`
9374
9375 Unique name for this server, referenced by mcp_toolset configurations. 1-255 characters.
9376
9377 minLength: 1, maxLength: 255
9378
9379 - `url: string`
9380
9381 Endpoint URL for the MCP server.
9382
9383 maxLength: 2048
9384
9385### Beta Managed Agents User Location
9386
9387- `BetaManagedAgentsUserLocation object`
9388
9389 Approximate user location for search result localization.
9390
9391 - `type: "approximate"`
9392
9393 Location precision. Only "approximate" is supported.
9394
9395 - `city: optional string or null`
9396
9397 City name.
9398
9399 minLength: 1, maxLength: 255
9400
9401 - `country: optional string or null`
9402
9403 Two-letter ISO 3166-1 country code, uppercase.
9404
9405 - `region: optional string or null`
9406
9407 Region or state name.
9408
9409 minLength: 1, maxLength: 255
9410
9411 - `timezone: optional string or null`
9412
9413 IANA timezone identifier, e.g. "America/Los_Angeles".
9414
9415 minLength: 1, maxLength: 255
9416
9417### Beta Managed Agents Web Fetch Tool Config
9418
9419- `BetaManagedAgentsWebFetchToolConfig object`
9420
9421 Configuration for the web_fetch tool.
9422
9423 - `type: "web_fetch"`
9424
9425 - `enabled: boolean`
9426
9427 - `name: "web_fetch"`
9428
9429 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
9430
9431 Permission policy for tool execution.
9432
9433 - `BetaManagedAgentsAlwaysAllowPolicy object`
9434
9435 Tool calls are automatically approved without user confirmation.
9436
9437 - `type: "always_allow"`
9438
9439 - `BetaManagedAgentsAlwaysAskPolicy object`
9440
9441 Tool calls require user confirmation before execution.
9442
9443 - `type: "always_ask"`
9444
9445 - `BetaManagedAgentsAutoPolicy object`
9446
9447 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9448
9449 - `type: "auto"`
9450
9451 - `allowed_domains: optional array of string`
9452
9453 - `blocked_domains: optional array of string`
9454
9455 - `max_content_tokens: optional number or null`
9456
9457 format: int32
9458
9459### Beta Managed Agents Web Fetch Tool Config Params
9460
9461- `BetaManagedAgentsWebFetchToolConfigParams object`
9462
9463 Configuration override for the web_fetch tool.
9464
9465 - `type: optional "web_fetch"`
9466
9467 - `name: "web_fetch"`
9468
9469 Must be "web_fetch".
9470
9471 - `allowed_domains: optional array of string`
9472
9473 Only fetch URLs whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like "docs.example.com" (no scheme, port, or path). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with blocked_domains.
9474
9475 - `blocked_domains: optional array of string`
9476
9477 Never fetch URLs whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like "ads.example.com" (no scheme, port, or path). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with allowed_domains.
9478
9479 - `enabled: optional boolean or null`
9480
9481 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
9482
9483 - `max_content_tokens: optional number or null`
9484
9485 Maximum number of tokens of fetched text content to include in context per call. Does not apply to binary content such as PDFs.
9486
9487 format: int32
9488
9489 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
9490
9491 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
9492
9493 - `BetaManagedAgentsAlwaysAllowPolicy object`
9494
9495 Tool calls are automatically approved without user confirmation.
9496
9497 - `type: "always_allow"`
9498
9499 - `BetaManagedAgentsAlwaysAskPolicy object`
9500
9501 Tool calls require user confirmation before execution.
9502
9503 - `type: "always_ask"`
9504
9505 - `BetaManagedAgentsAutoPolicy object`
9506
9507 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9508
9509 - `type: "auto"`
9510
9511### Beta Managed Agents Web Search Tool Config
9512
9513- `BetaManagedAgentsWebSearchToolConfig object`
9514
9515 Configuration for the web_search tool.
9516
9517 - `type: "web_search"`
9518
9519 - `enabled: boolean`
9520
9521 - `name: "web_search"`
9522
9523 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
9524
9525 Permission policy for tool execution.
9526
9527 - `BetaManagedAgentsAlwaysAllowPolicy object`
9528
9529 Tool calls are automatically approved without user confirmation.
9530
9531 - `type: "always_allow"`
9532
9533 - `BetaManagedAgentsAlwaysAskPolicy object`
9534
9535 Tool calls require user confirmation before execution.
9536
9537 - `type: "always_ask"`
9538
9539 - `BetaManagedAgentsAutoPolicy object`
9540
9541 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9542
9543 - `type: "auto"`
9544
9545 - `allowed_domains: optional array of string`
9546
9547 - `blocked_domains: optional array of string`
9548
9549 - `user_location: optional BetaManagedAgentsUserLocation or null`
9550
9551 Approximate user location for search result localization.
9552
9553 - `type: "approximate"`
9554
9555 Location precision. Only "approximate" is supported.
9556
9557 - `city: optional string or null`
9558
9559 City name.
9560
9561 minLength: 1, maxLength: 255
9562
9563 - `country: optional string or null`
9564
9565 Two-letter ISO 3166-1 country code, uppercase.
9566
9567 - `region: optional string or null`
9568
9569 Region or state name.
9570
9571 minLength: 1, maxLength: 255
9572
9573 - `timezone: optional string or null`
9574
9575 IANA timezone identifier, e.g. "America/Los_Angeles".
9576
9577 minLength: 1, maxLength: 255
9578
9579### Beta Managed Agents Web Search Tool Config Params
9580
9581- `BetaManagedAgentsWebSearchToolConfigParams object`
9582
9583 Configuration override for the web_search tool.
9584
9585 - `type: optional "web_search"`
9586
9587 - `name: "web_search"`
9588
9589 Must be "web_search".
9590
9591 - `allowed_domains: optional array of string`
9592
9593 Only return search results whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like "docs.example.com" (no scheme or port; an optional path suffix is accepted). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with blocked_domains.
9594
9595 - `blocked_domains: optional array of string`
9596
9597 Never return search results whose host is one of these domains or a subdomain of one. Each entry is a plain hostname like "ads.example.com" (no scheme or port; an optional path suffix is accepted). At most 64 entries; an empty list is rejected (omit the field instead). Cannot be combined with allowed_domains.
9598
9599 - `enabled: optional boolean or null`
9600
9601 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
9602
9603 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
9604
9605 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
9606
9607 - `BetaManagedAgentsAlwaysAllowPolicy object`
9608
9609 Tool calls are automatically approved without user confirmation.
9610
9611 - `type: "always_allow"`
9612
9613 - `BetaManagedAgentsAlwaysAskPolicy object`
9614
9615 Tool calls require user confirmation before execution.
9616
9617 - `type: "always_ask"`
9618
9619 - `BetaManagedAgentsAutoPolicy object`
9620
9621 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9622
9623 - `type: "auto"`
9624
9625 - `user_location: optional BetaManagedAgentsUserLocation or null`
9626
9627 Approximate user location for search result localization.
9628
9629 - `type: "approximate"`
9630
9631 Location precision. Only "approximate" is supported.
9632
9633 - `city: optional string or null`
9634
9635 City name.
9636
9637 minLength: 1, maxLength: 255
9638
9639 - `country: optional string or null`
9640
9641 Two-letter ISO 3166-1 country code, uppercase.
9642
9643 - `region: optional string or null`
9644
9645 Region or state name.
9646
9647 minLength: 1, maxLength: 255
9648
9649 - `timezone: optional string or null`
9650
9651 IANA timezone identifier, e.g. "America/Los_Angeles".
9652
9653 minLength: 1, maxLength: 255
9654
9655### Beta Managed Agents Write Tool Config
9656
9657- `BetaManagedAgentsWriteToolConfig object`
9658
9659 Configuration for the write tool.
9660
9661 - `type: "write"`
9662
9663 - `enabled: boolean`
9664
9665 - `name: "write"`
9666
9667 - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy`
9668
9669 Permission policy for tool execution.
9670
9671 - `BetaManagedAgentsAlwaysAllowPolicy object`
9672
9673 Tool calls are automatically approved without user confirmation.
9674
9675 - `type: "always_allow"`
9676
9677 - `BetaManagedAgentsAlwaysAskPolicy object`
9678
9679 Tool calls require user confirmation before execution.
9680
9681 - `type: "always_ask"`
9682
9683 - `BetaManagedAgentsAutoPolicy object`
9684
9685 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9686
9687 - `type: "auto"`
9688
9689### Beta Managed Agents Write Tool Config Params
9690
9691- `BetaManagedAgentsWriteToolConfigParams object`
9692
9693 Configuration override for the write tool.
9694
9695 - `type: optional "write"`
9696
9697 - `name: "write"`
9698
9699 Must be "write".
9700
9701 - `enabled: optional boolean or null`
9702
9703 Whether this tool is enabled and available to Claude. Overrides the default_config setting.
9704
9705 - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or BetaManagedAgentsAutoPolicy or null`
9706
9707 Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
9708
9709 - `BetaManagedAgentsAlwaysAllowPolicy object`
9710
9711 Tool calls are automatically approved without user confirmation.
9712
9713 - `type: "always_allow"`
9714
9715 - `BetaManagedAgentsAlwaysAskPolicy object`
9716
9717 Tool calls require user confirmation before execution.
9718
9719 - `type: "always_ask"`
9720
9721 - `BetaManagedAgentsAutoPolicy object`
9722
9723 The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
9724
9725 - `type: "auto"`
9726
9727## Agents › Versions
9728
9729### List Agent Versions
9730
9731**GET** `/v1/agents/{agent_id}/versions`
9732
9733List Agent Versions
9734
9735#### Path parameters
9736
9737- `agent_id: string`
9738
9739 Agent ID to list versions for.
9740
9741#### Query parameters
9742
9743- `limit: optional number`
9744
9745 Maximum results per page. Default 20, maximum 100.
9746
9747 format: int32
9748
9749- `page: optional string`
9750
9751 Opaque pagination cursor.
9752
9753#### Headers
9754
9755- `"anthropic-beta": optional array of AnthropicBeta`
9756
9757 Optional header to specify the beta version(s) you want to use.
9758
9759 - `string`
9760
9761 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
9762
9763 - `"message-batches-2024-09-24"`
9764
9765 - `"prompt-caching-2024-07-31"`
9766
9767 - `"computer-use-2024-10-22"`
9768
9769 - `"computer-use-2025-01-24"`
9770
9771 - `"pdfs-2024-09-25"`
9772
9773 - `"token-counting-2024-11-01"`
9774
9775 - `"token-efficient-tools-2025-02-19"`
9776
9777 - `"output-128k-2025-02-19"`
9778
9779 - `"files-api-2025-04-14"`
9780
9781 - `"mcp-client-2025-04-04"`
9782
9783 - `"mcp-client-2025-11-20"`
9784
9785 - `"dev-full-thinking-2025-05-14"`
9786
9787 - `"interleaved-thinking-2025-05-14"`
9788
9789 - `"code-execution-2025-05-22"`
9790
9791 - `"extended-cache-ttl-2025-04-11"`
9792
9793 - `"context-1m-2025-08-07"`
9794
9795 - `"context-management-2025-06-27"`
9796
9797 - `"model-context-window-exceeded-2025-08-26"`
9798
9799 - `"skills-2025-10-02"`
9800
9801 - `"fast-mode-2026-02-01"`
9802
9803 - `"output-300k-2026-03-24"`
9804
9805 - `"user-profiles-2026-03-24"`
9806
9807 - `"user-profiles-2026-08-18"`
9808
9809 - `"user-profiles-2026-09-04"`
9810
9811 - `"advisor-tool-2026-03-01"`
9812
9813 - `"managed-agents-2026-04-01"`
9814
9815 - `"cache-diagnosis-2026-04-07"`
9816
9817 - `"dreaming-2026-04-21"`
9818
9819 - `"thinking-token-count-2026-05-13"`
9820
9821 - `"server-side-fallback-2026-06-01"`
9822
9823 - `"server-side-fallback-2026-07-01"`
9824
9825 - `"fallback-credit-2026-06-01"`
9826
9827 - `"fallback-credit-2026-07-01"`
9828
9829 - `"agent-memory-2026-07-22"`
9830
9831 - `"mid-conversation-tool-changes-2026-07-01"`
9832
9833 - `"compact-2026-01-12"`
9834
9835 - `"computer-use-2025-11-24"`
9836
9837 - `"mcp-tunnels-2026-06-22"`
9838
9839 - `"structured-outputs-2025-11-13"`
9840
9841 - `"task-budgets-2026-03-13"`
9842
9843 - `"thinking-display-updates-2026-08-18"`
9844
9845 - `"ce-user-management-2026-07-13"`
9846
9847 - `"mid-conversation-output-config-2026-07-01"`
9848
9849 - `"thinking-binding-controls-2026-08-01"`
9850
9851 - `"mid-conversation-system-clear-at-2026-08-21"`
9852
9853 - `"compact-2026-09-04"`
9854
9855 - `"inline-tools-2026-09-15"`
9856
9857 - `"mcp-client-2026-09-15"`
9858
9859- `"anthropic-workspace-id": optional string`
9860
9861 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
9862
9863 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.
9864
9865#### Returns
9866
9867- `data: array of BetaManagedAgentsAgent`
9868
9869 Agent versions.
9870
9871 - `type: "agent"`
9872
9873 - `id: string`
9874
9875 - `archived_at: string or null`
9876
9877 When the agent was archived. Null if not archived.
9878
9879 format: date-time
9880
9881 - `created_at: string`
9882
9883 A timestamp in RFC 3339 format
9884
9885 format: date-time
9886
9887 - `description: string or null`
9888
9889 - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
9890
9891 - `type: "url"`
9892
9893 - `name: string`
9894
9895 - `url: string`
9896
9897 - `metadata: map[string]`
9898
9899 - `model: BetaManagedAgentsModelConfig`
9900
9901 Model identifier and configuration.
9902
9903 - `id: BetaManagedAgentsModel`
9904
9905 The model that will power your agent.
9906
9907 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
9908
9909 - `"claude-sonnet-5-5" or "claude-opus-5-5" or "claude-fable-5-1" or 13 more`
9910
9911 The model that will power your agent.
9912
9913 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
9914
9915 - `"claude-sonnet-5-5"`
9916
9917 Efficient model for coding and agents
9918
9919 - `"claude-opus-5-5"`
9920
9921 Powerful intelligence for coding, knowledge work, and long-running agents
9922
9923 - `"claude-fable-5-1"`
9924
9925 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
9926
9927 - `"claude-sonnet-5"`
9928
9929 Efficient model for coding and agents
9930
9931 - `"claude-fable-5"`
9932
9933 Next generation of intelligence for the hardest knowledge work and coding problems
9934
9935 - `"claude-opus-5"`
9936
9937 Powerful intelligence for long-running agents and coding
9938
9939 - `"claude-opus-4-8"`
9940
9941 Powerful intelligence for long-running agents and coding
9942
9943 - `"claude-opus-4-7"`
9944
9945 Powerful intelligence for long-running agents and coding
9946
9947 - `"claude-opus-4-6"`
9948
9949 Powerful intelligence for long-running agents and coding
9950
9951 - `"claude-sonnet-4-6"`
9952
9953 Best combination of speed and intelligence
9954
9955 - `"claude-haiku-4-5"`
9956
9957 Fastest model with near-frontier intelligence
9958
9959 - `"claude-haiku-4-5-20251001"`
9960
9961 Fastest model with near-frontier intelligence
9962
9963 - `"claude-opus-4-5"`
9964
9965 Powerful intelligence for long-running agents and coding
9966
9967 - `"claude-opus-4-5-20251101"`
9968
9969 Powerful intelligence for long-running agents and coding
9970
9971 - `"claude-sonnet-4-5"`
9972
9973 High-performance model for agents and coding
9974
9975 - `"claude-sonnet-4-5-20250929"`
9976
9977 High-performance model for agents and coding
99789876
99799877 - `string`
99809878
99819879