Source Intelligence
Sweep 28 Aug 2026 · 00:00Z Build v2.1.250 478 read Stable v2.1.236 Latest v2.1.250 Next v2.1.250 Feeds RSS JSON llms.txt

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

One change

Update Agent

api/beta/agents/update

first seen The page's own history The capture it came from

Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

api/beta/agents/update Changed · +159 / -244 lines

# Update Agent ## Path parameters ## Headers ## Body parameters ## Returns ## Example ### Response (200) ## Update Agent ### Path Parameters ### Header Parameters ### Body Parameters ### Returns ### Example #### Response

from line 1
----
-title: Update Agent
-url: https://platform.claude.com/docs/en/api/beta/agents/update
----
+# Update Agent
 
-## Update Agent
+**POST** `/v1/agents/{agent_id}`
 
-**post** `/v1/agents/{agent_id}`
-
 Update Agent
 
-### Path Parameters
+## Path parameters
 
 - `agent_id: string`
 
-### Header Parameters
+## Headers
 
 - `"anthropic-beta": optional array of AnthropicBeta`
 
from line 86
 
     - `"mid-conversation-tool-changes-2026-07-01"`
 
-### Body Parameters
+## Body parameters
 
 - `description: optional string or null`
 
   Description. Omit to preserve; send empty string or null to clear.
 
+  maxLength: 2048
+
 - `mcp_servers: optional array of BetaManagedAgentsURLMCPServerParams or null`
 
   MCP servers. Full replacement. Omit to preserve; send empty array or `null` to clear. Names must be unique. Maximum 20. Every server must be referenced by an `mcp_toolset` in the agent's resulting `tools`; unreferenced servers are rejected. See the [MCP connector guide](https://platform.claude.com/docs/en/managed-agents/mcp-connector).
from line 102
 
     Unique name for this server, referenced by mcp_toolset configurations. 1-255 characters.
 
+    minLength: 1, maxLength: 255
+
   - `type: "url"`
 
-    - `"url"`
-
   - `url: string`
 
     Endpoint URL for the MCP server.
 
+    maxLength: 2048
+
 - `metadata: optional map[string] or null`
 
   Metadata patch. Set a key to a string to upsert it, or to null to delete it. Omit the field to preserve. The stored bag is limited to 16 keys (up to 64 chars each) with values up to 512 chars.
from line 186
 
     - `string`
 
-  - `BetaManagedAgentsModelConfigParams object { id, effort, inference_geo, speed }`
+  - `BetaManagedAgentsModelConfigParams object`
 
     An object that defines additional configuration control over model use
 
from line 214
 
         - `"max"`
 
-      - `BetaManagedAgentsEffortLow object { type }`
+      - `BetaManagedAgentsEffortLow object`
 
         Low effort. Favors latency over reasoning depth.
 
         - `type: "low"`
 
-          - `"low"`
+      - `BetaManagedAgentsEffortMedium object`
 
-      - `BetaManagedAgentsEffortMedium object { type }`
-
         Medium effort. Balances latency and reasoning depth.
 
         - `type: "medium"`
 
-          - `"medium"`
+      - `BetaManagedAgentsEffortHigh object`
 
-      - `BetaManagedAgentsEffortHigh object { type }`
-
         High effort. Favors reasoning depth.
 
         - `type: "high"`
 
-          - `"high"`
+      - `BetaManagedAgentsEffortXhigh object`
 
-      - `BetaManagedAgentsEffortXhigh object { type }`
-
         Extra-high effort. Not all models accept this level.
 
         - `type: "xhigh"`
 
-          - `"xhigh"`
+      - `BetaManagedAgentsEffortMax object`
 
-      - `BetaManagedAgentsEffortMax object { type }`
-
         Maximum effort. Favors reasoning depth over latency.
 
         - `type: "max"`
 
-          - `"max"`
-
     - `inference_geo: optional string or null`
 
       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.
from line 266
 
     - `string`
 
-    - `BetaManagedAgentsAgentParams object { id, type, version }`
+    - `BetaManagedAgentsAgentParams object`
 
       Specification for an Agent. Provide a specific `version` or use the short-form `agent="agent_id"` for the most recent version
 
from line 274
 
         The `agent` ID.
 
+        minLength: 1, maxLength: 128
+
       - `type: "agent"`
 
-        - `"agent"`
-
       - `version: optional number`
 
         The specific `agent` version to use. Omit to use the latest version. Must be at least 1 if specified.
 
-    - `BetaManagedAgentsMultiagentSelfParams object { type }`
+        format: int32
 
+    - `BetaManagedAgentsMultiagentSelfParams object`
+
       Sentinel roster entry meaning "the agent that owns this configuration". Resolved server-side to a concrete agent reference.
 
       - `type: "self"`
 
-        - `"self"`
+    - `BetaManagedAgentsAdvisorParams object`
 
-    - `BetaManagedAgentsAdvisorParams object { model, type }`
-
       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`.
 
       - `model: string`
from line 298
 
         A Claude model id. The model must be permitted as an advisor for this agent's model — see the sessions/threads/advisor spec.
 
+        minLength: 1, maxLength: 256
+
       - `type: "advisor"`
 
-        - `"advisor"`
-
   - `type: "coordinator"`
 
-    - `"coordinator"`
-
 - `name: optional string`
 
   Human-readable name. Must be non-empty. Omit to preserve. Cannot be cleared.
 
+  maxLength: 256
+
 - `skills: optional array of BetaManagedAgentsSkillParams or null`
 
   Skills. Full replacement. Omit to preserve; send empty array or null to clear.
 
-  - `BetaManagedAgentsAnthropicSkillParams object { skill_id, type, version }`
+  - `BetaManagedAgentsAnthropicSkillParams object`
 
     An Anthropic-managed skill.
 
from line 322
 
       Identifier of the Anthropic skill (e.g., "xlsx").
 
+      minLength: 1, maxLength: 64
+
     - `type: "anthropic"`
 
-      - `"anthropic"`
-
     - `version: optional string or null`
 
       Version to pin. Defaults to latest if omitted.
 
-  - `BetaManagedAgentsCustomSkillParams object { skill_id, type, version }`
+      minLength: 1, maxLength: 64
 
+  - `BetaManagedAgentsCustomSkillParams object`
+
     A user-created custom skill.
 
     - `skill_id: string`
from line 340
 
       Tagged ID of the custom skill (e.g., "skill_01XJ5...").
 
+      minLength: 1, maxLength: 64
+
     - `type: "custom"`
 
-      - `"custom"`
-
     - `version: optional string or null`
 
       Version to pin. Defaults to latest if omitted.
 
+      minLength: 1, maxLength: 64
+
 - `system: optional string or null`
 
   System prompt. Omit to preserve; send empty string or null to clear.
 
+  maxLength: 100000
+
 - `tools: optional array of BetaManagedAgentsAgentToolset20260401Params or BetaManagedAgentsMCPToolsetParams or BetaManagedAgentsCustomToolParams or null`
 
   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.
 
-  - `BetaManagedAgentsAgentToolset20260401Params object { type, configs, default_config }`
+  - `BetaManagedAgentsAgentToolset20260401Params object`
 
     Configuration for built-in agent tools. Use this to enable or disable groups of tools available to the agent.
 
     - `type: "agent_toolset_20260401"`
 
-      - `"agent_toolset_20260401"`
-
     - `configs: optional array of BetaManagedAgentsAgentToolConfigParams`
 
       Per-tool configuration overrides.
 
-      - `BetaManagedAgentsBashToolConfigParams object { name, enabled, permission_policy, type }`
+      - `BetaManagedAgentsBashToolConfigParams object`
 
         Configuration override for the bash tool.
 
from line 378
 
           Must be "bash".
 
-          - `"bash"`
-
         - `enabled: optional boolean or null`
 
           Whether this tool is enabled and available to Claude. Overrides the default_config setting.
from line 386
 
           Permission policy for tool execution.
 
-          - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
+          - `BetaManagedAgentsAlwaysAllowPolicy object`
 
             Tool calls are automatically approved without user confirmation.
 
             - `type: "always_allow"`
 
-              - `"always_allow"`
+          - `BetaManagedAgentsAlwaysAskPolicy object`
 
-          - `BetaManagedAgentsAlwaysAskPolicy object { type }`
-
             Tool calls require user confirmation before execution.
 
             - `type: "always_ask"`
 
-              - `"always_ask"`
-
         - `type: optional "bash"`
 
-          - `"bash"`
+      - `BetaManagedAgentsEditToolConfigParams object`
 
-      - `BetaManagedAgentsEditToolConfigParams object { name, enabled, permission_policy, type }`
-
         Configuration override for the edit tool.
 
         - `name: "edit"`
from line 408
 
           Must be "edit".
 
-          - `"edit"`
-
         - `enabled: optional boolean or null`
 
           Whether this tool is enabled and available to Claude. Overrides the default_config setting.
from line 416
 
           Permission policy for tool execution.
 
-          - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
+          - `BetaManagedAgentsAlwaysAllowPolicy object`
 
             Tool calls are automatically approved without user confirmation.
 
-          - `BetaManagedAgentsAlwaysAskPolicy object { type }`
+          - `BetaManagedAgentsAlwaysAskPolicy object`
 
             Tool calls require user confirmation before execution.
 
         - `type: optional "edit"`
 
-          - `"edit"`
+      - `BetaManagedAgentsReadToolConfigParams object`
 
-      - `BetaManagedAgentsReadToolConfigParams object { name, enabled, permission_policy, type }`
-
         Configuration override for the read tool.
 
         - `name: "read"`
from line 434
 
           Must be "read".
 
-          - `"read"`
-
         - `enabled: optional boolean or null`
 
           Whether this tool is enabled and available to Claude. Overrides the default_config setting.
from line 442
 
           Permission policy for tool execution.
 
-          - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
+          - `BetaManagedAgentsAlwaysAllowPolicy object`
 
             Tool calls are automatically approved without user confirmation.
 
-          - `BetaManagedAgentsAlwaysAskPolicy object { type }`
+          - `BetaManagedAgentsAlwaysAskPolicy object`
 
             Tool calls require user confirmation before execution.
 
         - `type: optional "read"`
 
-          - `"read"`
+      - `BetaManagedAgentsWriteToolConfigParams object`
 
-      - `BetaManagedAgentsWriteToolConfigParams object { name, enabled, permission_policy, type }`
-
         Configuration override for the write tool.
 
         - `name: "write"`
from line 460
 
           Must be "write".
 
-          - `"write"`
-
         - `enabled: optional boolean or null`
 
           Whether this tool is enabled and available to Claude. Overrides the default_config setting.
from line 468
 
           Permission policy for tool execution.
 
-          - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
+          - `BetaManagedAgentsAlwaysAllowPolicy object`
 
             Tool calls are automatically approved without user confirmation.
 
-          - `BetaManagedAgentsAlwaysAskPolicy object { type }`
+          - `BetaManagedAgentsAlwaysAskPolicy object`
 
             Tool calls require user confirmation before execution.
 
         - `type: optional "write"`
 
-          - `"write"`
+      - `BetaManagedAgentsGlobToolConfigParams object`
 
-      - `BetaManagedAgentsGlobToolConfigParams object { name, enabled, permission_policy, type }`
-
         Configuration override for the glob tool.
 
         - `name: "glob"`
from line 486
 
           Must be "glob".
 
-          - `"glob"`
-
         - `enabled: optional boolean or null`
 
           Whether this tool is enabled and available to Claude. Overrides the default_config setting.
from line 494
 
           Permission policy for tool execution.
 
-          - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
+          - `BetaManagedAgentsAlwaysAllowPolicy object`
 
             Tool calls are automatically approved without user confirmation.
 
-          - `BetaManagedAgentsAlwaysAskPolicy object { type }`
+          - `BetaManagedAgentsAlwaysAskPolicy object`
 
             Tool calls require user confirmation before execution.
 
         - `type: optional "glob"`
 
-          - `"glob"`
+      - `BetaManagedAgentsGrepToolConfigParams object`
 
-      - `BetaManagedAgentsGrepToolConfigParams object { name, enabled, permission_policy, type }`
-
         Configuration override for the grep tool.
 
         - `name: "grep"`
from line 512
 
           Must be "grep".
 
-          - `"grep"`
-
         - `enabled: optional boolean or null`
 
           Whether this tool is enabled and available to Claude. Overrides the default_config setting.
from line 520
 
           Permission policy for tool execution.
 
-          - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
+          - `BetaManagedAgentsAlwaysAllowPolicy object`
 
             Tool calls are automatically approved without user confirmation.
 
-          - `BetaManagedAgentsAlwaysAskPolicy object { type }`
+          - `BetaManagedAgentsAlwaysAskPolicy object`
 
             Tool calls require user confirmation before execution.
 
         - `type: optional "grep"`
 
-          - `"grep"`
+      - `BetaManagedAgentsWebFetchToolConfigParams object`
 
-      - `BetaManagedAgentsWebFetchToolConfigParams object { name, allowed_domains, blocked_domains, 4 more }`
-
         Configuration override for the web_fetch tool.
 
         - `name: "web_fetch"`
from line 538
 
           Must be "web_fetch".
 
-          - `"web_fetch"`
-
         - `allowed_domains: optional array of string`
 
           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.
from line 554
 
           Maximum number of tokens of fetched text content to include in context per call. Does not apply to binary content such as PDFs.
 
+          format: int32
+
         - `permission_policy: optional BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy or null`
 
           Permission policy for tool execution.
 
-          - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
+          - `BetaManagedAgentsAlwaysAllowPolicy object`
 
             Tool calls are automatically approved without user confirmation.
 
-          - `BetaManagedAgentsAlwaysAskPolicy object { type }`
+          - `BetaManagedAgentsAlwaysAskPolicy object`
 
             Tool calls require user confirmation before execution.
 
         - `type: optional "web_fetch"`
 
-          - `"web_fetch"`
+      - `BetaManagedAgentsWebSearchToolConfigParams object`
 
-      - `BetaManagedAgentsWebSearchToolConfigParams object { name, allowed_domains, blocked_domains, 4 more }`
-
         Configuration override for the web_search tool.
 
         - `name: "web_search"`
from line 578
 
           Must be "web_search".
 
-          - `"web_search"`
-
         - `allowed_domains: optional array of string`
 
           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.
from line 594
 
           Permission policy for tool execution.
 
-          - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
+          - `BetaManagedAgentsAlwaysAllowPolicy object`
 
             Tool calls are automatically approved without user confirmation.
 
-          - `BetaManagedAgentsAlwaysAskPolicy object { type }`
+          - `BetaManagedAgentsAlwaysAskPolicy object`
 
             Tool calls require user confirmation before execution.
 
         - `type: optional "web_search"`
 
-          - `"web_search"`
-
         - `user_location: optional BetaManagedAgentsUserLocation or null`
 
           Approximate user location for search result localization.
from line 612
 
             Location precision. Only "approximate" is supported.
 
-            - `"approximate"`
-
           - `city: optional string or null`
 
             City name.
 
+            minLength: 1, maxLength: 255
+
           - `country: optional string or null`
 
             Two-letter ISO 3166-1 country code, uppercase.
from line 626
 
             Region or state name.
 
+            minLength: 1, maxLength: 255
+
           - `timezone: optional string or null`
 
             IANA timezone identifier, e.g. "America/Los_Angeles".
 
+            minLength: 1, maxLength: 255
+
     - `default_config: optional BetaManagedAgentsAgentToolsetDefaultConfigParams or null`
 
       Default configuration for all tools in a toolset.
from line 646
 
         Permission policy for tool execution.
 
-        - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
+        - `BetaManagedAgentsAlwaysAllowPolicy object`
 
           Tool calls are automatically approved without user confirmation.
 
-        - `BetaManagedAgentsAlwaysAskPolicy object { type }`
+        - `BetaManagedAgentsAlwaysAskPolicy object`
 
           Tool calls require user confirmation before execution.
 
-  - `BetaManagedAgentsMCPToolsetParams object { mcp_server_name, type, configs, default_config }`
+  - `BetaManagedAgentsMCPToolsetParams object`
 
     Configuration for tools from an MCP server defined in `mcp_servers`.
 
from line 662
 
       Name of the MCP server. Must match a server name from the mcp_servers array. 1-255 characters.
 
+      minLength: 1, maxLength: 255
+
     - `type: "mcp_toolset"`
 
-      - `"mcp_toolset"`
-
     - `configs: optional array of BetaManagedAgentsMCPToolConfigParams`
 
       Per-tool configuration overrides.
from line 674
 
         Name of the MCP tool to configure. 1-128 characters.
 
+        minLength: 1, maxLength: 128
+
       - `enabled: optional boolean or null`
 
         Whether this tool is enabled. Overrides the `default_config` setting.
from line 684
 
         Permission policy for tool execution.
 
-        - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
+        - `BetaManagedAgentsAlwaysAllowPolicy object`
 
           Tool calls are automatically approved without user confirmation.
 
-        - `BetaManagedAgentsAlwaysAskPolicy object { type }`
+        - `BetaManagedAgentsAlwaysAskPolicy object`
 
           Tool calls require user confirmation before execution.
 
from line 704
 
         Permission policy for tool execution.
 
-        - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
+        - `BetaManagedAgentsAlwaysAllowPolicy object`
 
           Tool calls are automatically approved without user confirmation.
 
-        - `BetaManagedAgentsAlwaysAskPolicy object { type }`
+        - `BetaManagedAgentsAlwaysAskPolicy object`
 
           Tool calls require user confirmation before execution.
 
-  - `BetaManagedAgentsCustomToolParams object { description, input_schema, name, type }`
+  - `BetaManagedAgentsCustomToolParams object`
 
     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.
 
from line 720
 
       Description of what the tool does, shown to the agent to help it decide when to use the tool.
 
+      minLength: 1
+
     - `input_schema: BetaManagedAgentsCustomToolInputSchema`
 
       JSON Schema for custom tool input parameters.
from line 728
 
       - `type: "object"`
 
-        - `"object"`
-
       - `properties: optional map[unknown] or null`
 
       - `required: optional array of string or null`
from line 736
 
       Unique name for the tool. 1-128 characters; letters, digits, underscores, and hyphens.
 
+      minLength: 1, maxLength: 128
+
     - `type: "custom"`
 
-      - `"custom"`
-
 - `version: optional number`
 
   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.
 
-### Returns
+  format: int32
 
-- `BetaManagedAgentsAgent object { id, archived_at, created_at, 12 more }`
+## Returns
 
+- `BetaManagedAgentsAgent object`
+
   A Managed Agents `agent`.
 
   - `id: string`
from line 758
 
     A timestamp in RFC 3339 format
 
+    format: date-time
+
   - `created_at: string`
 
     A timestamp in RFC 3339 format
 
+    format: date-time
+
   - `description: string or null`
 
   - `mcp_servers: array of BetaManagedAgentsMCPServerURLDefinition`
from line 774
 
     - `type: "url"`
 
-      - `"url"`
-
     - `url: string`
 
   - `metadata: map[string]`
from line 852
 
       How hard Claude works on each turn. Sets `output_config.effort` on every Messages call the session makes.
 
-      - `BetaManagedAgentsEffortLow object { type }`
+      - `BetaManagedAgentsEffortLow object`
 
         Low effort. Favors latency over reasoning depth.
 
         - `type: "low"`
 
-          - `"low"`
+      - `BetaManagedAgentsEffortMedium object`
 
-      - `BetaManagedAgentsEffortMedium object { type }`
-
         Medium effort. Balances latency and reasoning depth.
 
         - `type: "medium"`
 
-          - `"medium"`
+      - `BetaManagedAgentsEffortHigh object`
 
-      - `BetaManagedAgentsEffortHigh object { type }`
-
         High effort. Favors reasoning depth.
 
         - `type: "high"`
 
-          - `"high"`
+      - `BetaManagedAgentsEffortXhigh object`
 
-      - `BetaManagedAgentsEffortXhigh object { type }`
-
         Extra-high effort. Not all models accept this level.
 
         - `type: "xhigh"`
 
-          - `"xhigh"`
+      - `BetaManagedAgentsEffortMax object`
 
-      - `BetaManagedAgentsEffortMax object { type }`
-
         Maximum effort. Favors reasoning depth over latency.
 
         - `type: "max"`
 
-          - `"max"`
-
     - `inference_geo: optional string`
 
       Geographic region for model inference. When unset, requests fall through to the workspace's default_inference_geo.
from line 902
 
       Agents the coordinator may spawn as session threads, each resolved to a specific version.
 
-      - `BetaManagedAgentsAgentReference object { id, type, version }`
+      - `BetaManagedAgentsAgentReference object`
 
         A resolved agent reference with a concrete version.
 
from line 910
 
         - `type: "agent"`
 
-          - `"agent"`
-
         - `version: number`
 
-      - `BetaManagedAgentsAdvisor object { model, type }`
+          format: int32
 
+      - `BetaManagedAgentsAdvisor object`
+
         Platform advisor roster entry: a model the session's primary thread may consult mid-turn.
 
         - `model: string`
from line 924
 
         - `type: "advisor"`
 
-          - `"advisor"`
-
     - `type: "coordinator"`
 
-      - `"coordinator"`
-
   - `name: string`
 
   - `skills: array of BetaManagedAgentsAnthropicSkill or BetaManagedAgentsCustomSkill`
 
-    - `BetaManagedAgentsAnthropicSkill object { skill_id, type, version }`
+    - `BetaManagedAgentsAnthropicSkill object`
 
       A resolved Anthropic-managed skill.
 
from line 938
 
       - `type: "anthropic"`
 
-        - `"anthropic"`
-
       - `version: string`
 
-    - `BetaManagedAgentsCustomSkill object { skill_id, type, version }`
+    - `BetaManagedAgentsCustomSkill object`
 
       A resolved user-created custom skill.
 
from line 948
 
       - `type: "custom"`
 
-        - `"custom"`
-
       - `version: string`
 
   - `system: string or null`
from line 954
 
   - `tools: array of BetaManagedAgentsAgentToolset20260401 or BetaManagedAgentsMCPToolset or BetaManagedAgentsCustomTool`
 
-    - `BetaManagedAgentsAgentToolset20260401 object { configs, default_config, type }`
+    - `BetaManagedAgentsAgentToolset20260401 object`
 
       - `configs: array of BetaManagedAgentsAgentToolConfig`
 
-        - `BetaManagedAgentsBashToolConfig object { enabled, name, permission_policy, type }`
+        - `BetaManagedAgentsBashToolConfig object`
 
           Configuration for the bash tool.
 
from line 966
 
           - `name: "bash"`
 
-            - `"bash"`
-
           - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy`
 
             Permission policy for tool execution.
 
-            - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
+            - `BetaManagedAgentsAlwaysAllowPolicy object`
 
               Tool calls are automatically approved without user confirmation.
 
               - `type: "always_allow"`
 
-                - `"always_allow"`
+            - `BetaManagedAgentsAlwaysAskPolicy object`
 
-            - `BetaManagedAgentsAlwaysAskPolicy object { type }`
-
               Tool calls require user confirmation before execution.
 
               - `type: "always_ask"`
 
-                - `"always_ask"`
-
           - `type: "bash"`
 
-            - `"bash"`
+        - `BetaManagedAgentsEditToolConfig object`
 
-        - `BetaManagedAgentsEditToolConfig object { enabled, name, permission_policy, type }`
-
           Configuration for the edit tool.
 
           - `enabled: boolean`
from line 992
 
           - `name: "edit"`
 
-            - `"edit"`
-
           - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy`
 
             Permission policy for tool execution.
 
-            - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
+            - `BetaManagedAgentsAlwaysAllowPolicy object`
 
               Tool calls are automatically approved without user confirmation.
 
-            - `BetaManagedAgentsAlwaysAskPolicy object { type }`
+            - `BetaManagedAgentsAlwaysAskPolicy object`
 
               Tool calls require user confirmation before execution.
 
           - `type: "edit"`
 
-            - `"edit"`
+        - `BetaManagedAgentsReadToolConfig object`
 
-        - `BetaManagedAgentsReadToolConfig object { enabled, name, permission_policy, type }`
-
           Configuration for the read tool.
 
           - `enabled: boolean`
from line 1014
 
           - `name: "read"`
 
-            - `"read"`
-
           - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy`
 
             Permission policy for tool execution.
 
-            - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
+            - `BetaManagedAgentsAlwaysAllowPolicy object`
 
               Tool calls are automatically approved without user confirmation.
 
-            - `BetaManagedAgentsAlwaysAskPolicy object { type }`
+            - `BetaManagedAgentsAlwaysAskPolicy object`
 
               Tool calls require user confirmation before execution.
 
           - `type: "read"`
 
-            - `"read"`
+        - `BetaManagedAgentsWriteToolConfig object`
 
-        - `BetaManagedAgentsWriteToolConfig object { enabled, name, permission_policy, type }`
-
           Configuration for the write tool.
 
           - `enabled: boolean`
from line 1036
 
           - `name: "write"`
 
-            - `"write"`
-
           - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy`
 
             Permission policy for tool execution.
 
-            - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
+            - `BetaManagedAgentsAlwaysAllowPolicy object`
 
               Tool calls are automatically approved without user confirmation.
 
-            - `BetaManagedAgentsAlwaysAskPolicy object { type }`
+            - `BetaManagedAgentsAlwaysAskPolicy object`
 
               Tool calls require user confirmation before execution.
 
           - `type: "write"`
 
-            - `"write"`
+        - `BetaManagedAgentsGlobToolConfig object`
 
-        - `BetaManagedAgentsGlobToolConfig object { enabled, name, permission_policy, type }`
-
           Configuration for the glob tool.
 
           - `enabled: boolean`
from line 1058
 
           - `name: "glob"`
 
-            - `"glob"`
-
           - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy`
 
             Permission policy for tool execution.
 
-            - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
+            - `BetaManagedAgentsAlwaysAllowPolicy object`
 
               Tool calls are automatically approved without user confirmation.
 
-            - `BetaManagedAgentsAlwaysAskPolicy object { type }`
+            - `BetaManagedAgentsAlwaysAskPolicy object`
 
               Tool calls require user confirmation before execution.
 
           - `type: "glob"`
 
-            - `"glob"`
+        - `BetaManagedAgentsGrepToolConfig object`
 
-        - `BetaManagedAgentsGrepToolConfig object { enabled, name, permission_policy, type }`
-
           Configuration for the grep tool.
 
           - `enabled: boolean`
from line 1080
 
           - `name: "grep"`
 
-            - `"grep"`
-
           - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy`
 
             Permission policy for tool execution.
 
-            - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
+            - `BetaManagedAgentsAlwaysAllowPolicy object`
 
               Tool calls are automatically approved without user confirmation.
 
-            - `BetaManagedAgentsAlwaysAskPolicy object { type }`
+            - `BetaManagedAgentsAlwaysAskPolicy object`
 
               Tool calls require user confirmation before execution.
 
           - `type: "grep"`
 
-            - `"grep"`
+        - `BetaManagedAgentsWebFetchToolConfig object`
 
-        - `BetaManagedAgentsWebFetchToolConfig object { enabled, name, permission_policy, 4 more }`
-
           Configuration for the web_fetch tool.
 
           - `enabled: boolean`
from line 1102
 
           - `name: "web_fetch"`
 
-            - `"web_fetch"`
-
           - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy`
 
             Permission policy for tool execution.
 
-            - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
+            - `BetaManagedAgentsAlwaysAllowPolicy object`
 
               Tool calls are automatically approved without user confirmation.
 
-            - `BetaManagedAgentsAlwaysAskPolicy object { type }`
+            - `BetaManagedAgentsAlwaysAskPolicy object`
 
               Tool calls require user confirmation before execution.
 
           - `type: "web_fetch"`
 
-            - `"web_fetch"`
-
           - `allowed_domains: optional array of string`
 
           - `blocked_domains: optional array of string`
from line 1122
 
           - `max_content_tokens: optional number or null`
 
-        - `BetaManagedAgentsWebSearchToolConfig object { enabled, name, permission_policy, 4 more }`
+            format: int32
 
+        - `BetaManagedAgentsWebSearchToolConfig object`
+
           Configuration for the web_search tool.
 
           - `enabled: boolean`
from line 1132
 
           - `name: "web_search"`
 
-            - `"web_search"`
-
           - `permission_policy: BetaManagedAgentsAlwaysAllowPolicy or BetaManagedAgentsAlwaysAskPolicy`
 
             Permission policy for tool execution.
 
-            - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
+            - `BetaManagedAgentsAlwaysAllowPolicy object`
 
               Tool calls are automatically approved without user confirmation.
 
-            - `BetaManagedAgentsAlwaysAskPolicy object { type }`
+            - `BetaManagedAgentsAlwaysAskPolicy object`
 
               Tool calls require user confirmation before execution.
 
           - `type: "web_search"`
 
-            - `"web_search"`
-
           - `allowed_domains: optional array of string`
 
           - `blocked_domains: optional array of string`
from line 1158
 
               Location precision. Only "approximate" is supported.
 
-              - `"approximate"`
-
             - `city: optional string or null`
 
               City name.
 
+              minLength: 1, maxLength: 255
+
             - `country: optional string or null`
 
               Two-letter ISO 3166-1 country code, uppercase.
from line 1172
 
               Region or state name.
 
+              minLength: 1, maxLength: 255
+
             - `timezone: optional string or null`
 
               IANA timezone identifier, e.g. "America/Los_Angeles".
 
+              minLength: 1, maxLength: 255
+
       - `default_config: BetaManagedAgentsAgentToolsetDefaultConfig`
 
         Resolved default configuration for agent tools.
from line 1190
 
           Permission policy for tool execution.
 
-          - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
+          - `BetaManagedAgentsAlwaysAllowPolicy object`
 
             Tool calls are automatically approved without user confirmation.
 
-          - `BetaManagedAgentsAlwaysAskPolicy object { type }`
+          - `BetaManagedAgentsAlwaysAskPolicy object`
 
             Tool calls require user confirmation before execution.
 
       - `type: "agent_toolset_20260401"`
 
-        - `"agent_toolset_20260401"`
+    - `BetaManagedAgentsMCPToolset object`
 
-    - `BetaManagedAgentsMCPToolset object { configs, default_config, mcp_server_name, type }`
-
       - `configs: array of BetaManagedAgentsMCPToolConfig`
 
         - `enabled: boolean`
from line 1212
 
           Permission policy for tool execution.
 
-          - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
+          - `BetaManagedAgentsAlwaysAllowPolicy object`
 
             Tool calls are automatically approved without user confirmation.
 
-          - `BetaManagedAgentsAlwaysAskPolicy object { type }`
+          - `BetaManagedAgentsAlwaysAskPolicy object`
 
             Tool calls require user confirmation before execution.
 
from line 1230
 
           Permission policy for tool execution.
 
-          - `BetaManagedAgentsAlwaysAllowPolicy object { type }`
+          - `BetaManagedAgentsAlwaysAllowPolicy object`
 
             Tool calls are automatically approved without user confirmation.
 
-          - `BetaManagedAgentsAlwaysAskPolicy object { type }`
+          - `BetaManagedAgentsAlwaysAskPolicy object`
 
             Tool calls require user confirmation before execution.
 
from line 1242
 
       - `type: "mcp_toolset"`
 
-        - `"mcp_toolset"`
+    - `BetaManagedAgentsCustomTool object`
 
-    - `BetaManagedAgentsCustomTool object { description, input_schema, name, type }`
-
       A custom tool as returned in API responses.
 
       - `description: string`
from line 1254
 
         - `type: "object"`
 
-          - `"object"`
-
         - `properties: optional map[unknown] or null`
 
         - `required: optional array of string or null`
from line 1262
 
       - `type: "custom"`
 
-        - `"custom"`
-
   - `type: "agent"`
 
-    - `"agent"`
-
   - `updated_at: string`
 
     A timestamp in RFC 3339 format
 
+    format: date-time
+
   - `version: number`
 
     The agent's current version. Starts at 1 and increments when the agent is modified.
 
-### Example
+    format: int32
 
-```http
+## Example
+
+```bash
 curl https://api.anthropic.com/v1/agents/$AGENT_ID \
     -H 'Content-Type: application/json' \
     -H 'anthropic-version: 2023-06-01' \
from line 1291
         }'
 ```
 
-#### Response
+### Response (200)
 
 ```json
 {