Agents
Create Agent
$client->beta->agents->create(Model model, string name, ?string description, ?BetaManagedAgentsExecutionIdentityParams executionIdentity, ?list<BetaManagedAgentsURLMCPServerParams> mcpServers, ?array<string,string> metadata, ?BetaManagedAgentsMultiagentParams multiagent, ?list<BetaManagedAgentsSkillParams> skills, ?string system, ?list<Tool> tools, ?list<AnthropicBeta> betas, ?string workspaceID): BetaManagedAgentsAgentanthropic-beta: managed-agents-2026-04-01. How to send beta headersList Agents
$client->beta->agents->list(?\Datetime createdAtGte, ?\Datetime createdAtLte, ?bool includeArchived, ?int limit, ?string page, ?list<AnthropicBeta> betas, ?string workspaceID): PageCursor<BetaManagedAgentsAgent>anthropic-beta: managed-agents-2026-04-01. How to send beta headersGet Agent
$client->beta->agents->retrieve(string agentID, ?int version, ?list<AnthropicBeta> betas, ?string workspaceID): BetaManagedAgentsAgentanthropic-beta: managed-agents-2026-04-01. How to send beta headersUpdate Agent
$client->beta->agents->update(string agentID, ?string description, ?BetaManagedAgentsExecutionIdentityParams executionIdentity, ?list<BetaManagedAgentsURLMCPServerParams> mcpServers, ?array<string,string> metadata, ?Model model, ?BetaManagedAgentsMultiagentParams multiagent, ?string name, ?list<BetaManagedAgentsSkillParams> skills, ?string system, ?list<Tool> tools, ?int version, ?list<AnthropicBeta> betas, ?string workspaceID): BetaManagedAgentsAgentanthropic-beta: managed-agents-2026-04-01. How to send beta headersArchive Agent
$client->beta->agents->archive(string agentID, ?list<AnthropicBeta> betas, ?string workspaceID): BetaManagedAgentsAgentanthropic-beta: managed-agents-2026-04-01. How to send beta headersModels
class BetaManagedAgentsAdvisor { $type = 'advisor'; $model; }
The advisor model id.
class BetaManagedAgentsAgent { $type = 'agent'; $id; $archivedAt; /* 13 more */ }
class BetaManagedAgentsAgentReference { $type = 'agent'; $id; $version; }
class BetaManagedAgentsAgentToolsetDefaultConfig { $enabled; $permissionPolicy; }
Permission policy for tool execution.
class BetaManagedAgentsAgentToolsetDefaultConfigParams { $enabled; $permissionPolicy; }
Whether tools are enabled and available to Claude by default. Defaults to true if not specified.
Default permission policy for tools. Controls whether tool calls are auto-approved or require confirmation.
class BetaManagedAgentsAgentToolset20260401 { $type = 'agent_toolset_20260401'; $configs; $defaultConfig; }
Resolved default configuration for agent tools.
class BetaManagedAgentsAgentToolset20260401BashInput { $command; $restart; $timeoutMs; }
Shell command to execute. Omit only when restart is true.
When true, restart the persistent bash session instead of
running a command. Subsequent calls without restart will
run against the fresh session.
Per-call timeout in milliseconds. Defaults to the runner-wide tool timeout when omitted or zero.
class BetaManagedAgentsAgentToolset20260401EditInput { $filePath; $newString; $oldString; $replaceAll; }
Path of the file to edit.
Replacement text.
Substring to find and replace.
When true, replace every occurrence of old_string
instead of requiring a unique match.
class BetaManagedAgentsAgentToolset20260401GlobInput { $pattern; $path; }
Doublestar glob pattern (e.g. **/*.go). Absolute patterns
are only permitted when the runner is configured to allow
them.
Optional directory root to search under. Defaults to the runner's working directory.
class BetaManagedAgentsAgentToolset20260401GrepInput { $pattern; $path; }
Regular expression to search for.
Optional directory root to search under. Defaults to the runner's working directory.
class BetaManagedAgentsAgentToolset20260401Params { $type = 'agent_toolset_20260401'; $configs; $defaultConfig; }
Per-tool configuration overrides.
Default configuration applied to all tools in this set.
class BetaManagedAgentsAgentToolset20260401ReadInput { $filePath; $viewRange; }
Path of the file to read.
Optional [start_line, end_line] 1-indexed inclusive
range. When omitted the entire file is returned.
end_line of 0 or negative means "to end of file".
class BetaManagedAgentsAgentToolset20260401WriteInput { $content; $filePath; }
Full file contents to write.
Path of the file to write.
class BetaManagedAgentsAlwaysAllowPolicy { $type = 'always_allow'; }
class BetaManagedAgentsAlwaysAskPolicy { $type = 'always_ask'; }
class BetaManagedAgentsAnthropicSkill { $type = 'anthropic'; $skillID; $version; }
class BetaManagedAgentsAnthropicSkillParams { $type = 'anthropic'; $skillID; $version; }
Identifier of the Anthropic skill (e.g., "xlsx").
Version to pin. Defaults to latest if omitted.
class BetaManagedAgentsAutoPolicy { $type = 'auto'; }
class BetaManagedAgentsAWSRoleExecutionIdentity { $type = 'aws_role'; $roleARN; }
The IAM role's ARN.
class BetaManagedAgentsAWSRoleExecutionIdentityParams { $type = 'aws_role'; $roleARN; }
The IAM role's ARN, e.g. "arn:aws:iam::123456789012:role/my-agent-runner". Maximum 2048 characters.
class BetaManagedAgentsBashToolConfig { $type = 'bash'; $enabled; $name; $permissionPolicy; }
Permission policy for tool execution.
class BetaManagedAgentsBashToolConfigParams { $type; $name; $enabled; $permissionPolicy; }
Must be "bash".
Whether this tool is enabled and available to Claude. Overrides the default_config setting.
Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
class BetaManagedAgentsCustomSkill { $type = 'custom'; $skillID; $version; }
class BetaManagedAgentsCustomSkillParams { $type = 'custom'; $skillID; $version; }
Tagged ID of the custom skill (e.g., "skill_01XJ5...").
Version to pin. Defaults to latest if omitted.
class BetaManagedAgentsCustomTool { $type = 'custom'; $description; $inputSchema; $name; }
JSON Schema for custom tool input parameters.
class BetaManagedAgentsCustomToolInputSchema { $type = 'object'; $properties; $required; }
class BetaManagedAgentsCustomToolParams { $type = 'custom'; $description; $inputSchema; $name; }
Description of what the tool does, shown to the agent to help it decide when to use the tool.
JSON Schema defining the expected input parameters for the tool.
Unique name for the tool. 1-128 characters; letters, digits, underscores, and hyphens.
class BetaManagedAgentsEditToolConfig { $type = 'edit'; $enabled; $name; $permissionPolicy; }
Permission policy for tool execution.
class BetaManagedAgentsEditToolConfigParams { $type; $name; $enabled; $permissionPolicy; }
Must be "edit".
Whether this tool is enabled and available to Claude. Overrides the default_config setting.
Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
class BetaManagedAgentsEffortHigh { $type = 'high'; }
class BetaManagedAgentsEffortLow { $type = 'low'; }
class BetaManagedAgentsEffortMax { $type = 'max'; }
class BetaManagedAgentsEffortMedium { $type = 'medium'; }
class BetaManagedAgentsEffortXhigh { $type = 'xhigh'; }
class BetaManagedAgentsAWSRoleExecutionIdentity { $type = 'aws_role'; $roleARN; }
The IAM role's ARN.
class BetaManagedAgentsServiceAccountExecutionIdentity { $type = 'service_account'; }
class BetaManagedAgentsAWSRoleExecutionIdentityParams { $type = 'aws_role'; $roleARN; }
The IAM role's ARN, e.g. "arn:aws:iam::123456789012:role/my-agent-runner". Maximum 2048 characters.
class BetaManagedAgentsServiceAccountExecutionIdentityParams { $type = 'service_account'; }
class BetaManagedAgentsGlobToolConfig { $type = 'glob'; $enabled; $name; $permissionPolicy; }
Permission policy for tool execution.
class BetaManagedAgentsGlobToolConfigParams { $type; $name; $enabled; $permissionPolicy; }
Must be "glob".
Whether this tool is enabled and available to Claude. Overrides the default_config setting.
Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
class BetaManagedAgentsGrepToolConfig { $type = 'grep'; $enabled; $name; $permissionPolicy; }
Permission policy for tool execution.
class BetaManagedAgentsGrepToolConfigParams { $type; $name; $enabled; $permissionPolicy; }
Must be "grep".
Whether this tool is enabled and available to Claude. Overrides the default_config setting.
Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
class BetaManagedAgentsMCPServerURLDefinition { $type = 'url'; $name; $url; }
class BetaManagedAgentsMCPToolConfig { $enabled; $name; $permissionPolicy; }
Permission policy for tool execution.
class BetaManagedAgentsMCPToolConfigParams { $name; $enabled; $permissionPolicy; }
Name of the MCP tool to configure. 1-128 characters.
Whether this tool is enabled. Overrides the default_config setting.
Permission policy for this tool. Overrides the default_config setting.
class BetaManagedAgentsMCPToolset { $type = 'mcp_toolset'; $configs; $defaultConfig; $mcpServerName; }
Resolved default configuration for all tools from an MCP server.
class BetaManagedAgentsMCPToolsetDefaultConfig { $enabled; $permissionPolicy; }
Permission policy for tool execution.
class BetaManagedAgentsMCPToolsetDefaultConfigParams { $enabled; $permissionPolicy; }
Whether tools are enabled by default. Defaults to true if not specified.
Default permission policy for tools from this server.
class BetaManagedAgentsMCPToolsetParams { $type = 'mcp_toolset'; $mcpServerName; $configs; $defaultConfig; }
Name of the MCP server. Must match a server name from the mcp_servers array. 1-255 characters.
Per-tool configuration overrides.
Default configuration for all tools from this server.
Fastest model for high-volume, real-time tasks
Efficient model for coding and agents
Powerful intelligence for coding, knowledge work, and long-running agents
Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
Efficient model for coding and agents
Next generation of intelligence for the hardest knowledge work and coding problems
Powerful intelligence for long-running agents and coding
Powerful intelligence for long-running agents and coding
Powerful intelligence for long-running agents and coding
Powerful intelligence for long-running agents and coding
Best combination of speed and intelligence
Powerful intelligence for long-running agents and coding
Powerful intelligence for long-running agents and coding
"claude-sonnet-4-5"DeprecatedHigh-performance model for agents and coding
High-performance model for agents and coding
"claude-sonnet-4-5-20250929"DeprecatedHigh-performance model for agents and coding
High-performance model for agents and coding
class BetaManagedAgentsModelConfig { $id; $effort; $inferenceGeo; $speed; }
The model that will power your agent.
The model that will power your agent.
See models for additional details and options.
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.
Geographic region for model inference. When unset, requests fall through to the workspace's default_inference_geo.
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.
class BetaManagedAgentsModelConfigParams { $id; $effort; $inferenceGeo; $speed; }
The model that will power your agent.
The model that will power your agent.
See models for additional details and options.
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.
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.
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.
class BetaManagedAgentsMultiagentAdvisorEnabled { $type = 'enabled'; $model; }
The advisor model id.
class BetaManagedAgentsMultiagentAdvisorDisabled { $type = 'disabled'; }
class BetaManagedAgentsMultiagentAdvisorDisabled { $type = 'disabled'; }
class BetaManagedAgentsMultiagentAdvisorDisabledParams { $type = 'disabled'; }
class BetaManagedAgentsMultiagentAdvisorEnabled { $type = 'enabled'; $model; }
The advisor model id.
class BetaManagedAgentsMultiagentAdvisorEnabledParams { $type = 'enabled'; $model; }
A Claude model id. The model must be permitted as an advisor for this agent's model.
class BetaManagedAgentsMultiagentAdvisorEnabledParams { $type = 'enabled'; $model; }
A Claude model id. The model must be permitted as an advisor for this agent's model.
class BetaManagedAgentsMultiagentAdvisorDisabledParams { $type = 'disabled'; }
class BetaManagedAgentsMultiagentCoordinator { $type = 'coordinator'; $agents; }
Agents the coordinator may spawn as session threads, each resolved to a specific version.
class BetaManagedAgentsMultiagentCoordinatorParams { $type = 'coordinator'; $agents; }
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).
class BetaManagedAgentsMultiagentInlineAgentsEnabled { $type = 'enabled'; }
class BetaManagedAgentsMultiagentInlineAgentsDisabled { $type = 'disabled'; }
class BetaManagedAgentsMultiagentInlineAgentsDisabled { $type = 'disabled'; }
class BetaManagedAgentsMultiagentInlineAgentsDisabledParams { $type = 'disabled'; }
class BetaManagedAgentsMultiagentInlineAgentsEnabled { $type = 'enabled'; }
class BetaManagedAgentsMultiagentInlineAgentsEnabledParams { $type = 'enabled'; }
class BetaManagedAgentsMultiagentInlineAgentsEnabledParams { $type = 'enabled'; }
class BetaManagedAgentsMultiagentInlineAgentsDisabledParams { $type = 'disabled'; }
class BetaManagedAgentsAgentParams { $type = 'agent'; $id; $version; }
The agent ID.
The specific agent version to use. Omit to use the latest version. Must be at least 1 if specified.
class BetaManagedAgentsMultiagentSelfParams { $type = 'self'; }
class BetaManagedAgentsMultiagentSelfParams { $type = 'self'; }
class BetaManagedAgentsMultiagentSubagentsEnabled { $type = 'enabled'; $inlineAgents; $predefinedAgents; }
Whether the agent can define inline agents, which are not saved, when it spawns session threads.
Predefined agents, which are saved agents that this agent can spawn as session threads, each resolved to a specific version.
class BetaManagedAgentsMultiagentSubagentsDisabled { $type = 'disabled'; }
class BetaManagedAgentsMultiagentSubagentsDisabled { $type = 'disabled'; }
class BetaManagedAgentsMultiagentSubagentsDisabledParams { $type = 'disabled'; }
class BetaManagedAgentsMultiagentSubagentsEnabled { $type = 'enabled'; $inlineAgents; $predefinedAgents; }
Whether the agent can define inline agents, which are not saved, when it spawns session threads.
Predefined agents, which are saved agents that this agent can spawn as session threads, each resolved to a specific version.
class BetaManagedAgentsMultiagentSubagentsEnabledParams { $type = 'enabled'; $inlineAgents; $predefinedAgents; }
Whether the agent can define inline agents when it spawns session threads. Defaults to enabled.
Predefined agents that this agent can spawn as session threads. At most 20. Defaults to null. Null and an empty list both mean no predefined agents. This list is separate from workflows.predefined_agents, and an agent in one list is not added to the other.
class BetaManagedAgentsMultiagentSubagentsEnabledParams { $type = 'enabled'; $inlineAgents; $predefinedAgents; }
Whether the agent can define inline agents when it spawns session threads. Defaults to enabled.
Predefined agents that this agent can spawn as session threads. At most 20. Defaults to null. Null and an empty list both mean no predefined agents. This list is separate from workflows.predefined_agents, and an agent in one list is not added to the other.
class BetaManagedAgentsMultiagentSubagentsDisabledParams { $type = 'disabled'; }
class BetaManagedAgentsMultiagentWorkflowsEnabled { $type = 'enabled'; $inlineAgents; $predefinedAgents; }
Whether a run's plan can define inline agents, which are not saved.
Predefined agents, which are saved agents that a run's plan can use, each resolved to a specific version.
class BetaManagedAgentsMultiagentWorkflowsDisabled { $type = 'disabled'; }
class BetaManagedAgentsMultiagentWorkflowsDisabled { $type = 'disabled'; }
class BetaManagedAgentsMultiagentWorkflowsDisabledParams { $type = 'disabled'; }
class BetaManagedAgentsMultiagentWorkflowsEnabled { $type = 'enabled'; $inlineAgents; $predefinedAgents; }
Whether a run's plan can define inline agents, which are not saved.
Predefined agents, which are saved agents that a run's plan can use, each resolved to a specific version.
class BetaManagedAgentsMultiagentWorkflowsEnabledParams { $type = 'enabled'; $inlineAgents; $predefinedAgents; }
Whether a run's plan can define inline agents. Defaults to enabled.
Predefined agents that a run's plan can use. At most 20. Defaults to null. Null and an empty list both mean no predefined agents. This list is separate from subagents.predefined_agents, and an agent in one list is not added to the other.
class BetaManagedAgentsMultiagentWorkflowsEnabledParams { $type = 'enabled'; $inlineAgents; $predefinedAgents; }
Whether a run's plan can define inline agents. Defaults to enabled.
Predefined agents that a run's plan can use. At most 20. Defaults to null. Null and an empty list both mean no predefined agents. This list is separate from subagents.predefined_agents, and an agent in one list is not added to the other.
class BetaManagedAgentsMultiagentWorkflowsDisabledParams { $type = 'disabled'; }
class BetaManagedAgentsMultiagent20261001 { $type = 'multiagent_20261001'; $advisor; $subagents; $workflows; }
Whether the session's primary thread can consult an advisor model.
Whether the agent can spawn session threads.
Whether the agent can start workflow runs.
class BetaManagedAgentsMultiagent20261001Params { $type = 'multiagent_20261001'; $advisor; $subagents; $workflows; }
Whether the session's primary thread can consult an advisor model. Defaults to disabled.
Whether the agent can spawn session threads. Defaults to enabled.
Whether the agent can start workflow runs. Defaults to enabled.
class BetaManagedAgentsReadToolConfig { $type = 'read'; $enabled; $name; $permissionPolicy; }
Permission policy for tool execution.
class BetaManagedAgentsReadToolConfigParams { $type; $name; $enabled; $permissionPolicy; }
Must be "read".
Whether this tool is enabled and available to Claude. Overrides the default_config setting.
Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
class BetaManagedAgentsServiceAccountExecutionIdentity { $type = 'service_account'; }
class BetaManagedAgentsServiceAccountExecutionIdentityParams { $type = 'service_account'; }
class BetaManagedAgentsSessionThreadAgent { $type = 'agent'; $id; $description; /* 8 more */ }
Execution principal snapshotted from the agent at session creation. Always present; {"type": "service_account"} when runs carry no customer-named principal.
Model identifier and configuration.
class BetaManagedAgentsAnthropicSkillParams { $type = 'anthropic'; $skillID; $version; }
Identifier of the Anthropic skill (e.g., "xlsx").
Version to pin. Defaults to latest if omitted.
class BetaManagedAgentsCustomSkillParams { $type = 'custom'; $skillID; $version; }
Tagged ID of the custom skill (e.g., "skill_01XJ5...").
Version to pin. Defaults to latest if omitted.
class BetaManagedAgentsURLMCPServerParams { $type = 'url'; $name; $url; }
Unique name for this server, referenced by mcp_toolset configurations. 1-255 characters.
Endpoint URL for the MCP server.
class BetaManagedAgentsUserLocation { $type = 'approximate'; $city; $country; /* 2 more */ }
Location precision. Only "approximate" is supported.
City name.
Two-letter ISO 3166-1 country code, uppercase.
Region or state name.
IANA timezone identifier, e.g. "America/Los_Angeles".
class BetaManagedAgentsWebFetchToolConfig { $type = 'web_fetch'; $enabled; $name; /* 5 more */ }
Permission policy for tool execution.
Which sources contribute URLs the tool may fetch, always in the object form. Null when not set, which allows every source.
class BetaManagedAgentsWebFetchToolConfigParams { $type; $name; $allowedDomains; /* 5 more */ }
Must be "web_fetch".
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.
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.
Whether this tool is enabled and available to Claude. Overrides the default_config setting.
Maximum number of tokens of fetched text content to include in context per call. Does not apply to binary content such as PDFs.
Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
Which sources contribute URLs the tool may fetch. Omit to allow every source.
class BetaManagedAgentsWebFetchURLSourceAll { $type = 'all'; }
class BetaManagedAgentsWebFetchURLSourceExcept { $type = 'except'; $tools; }
The tools whose results do not contribute. Between 1 and 128 entries, each with a different name. An empty list is rejected; use "all" to leave out no tool's results.
class BetaManagedAgentsWebFetchURLSourceNone { $type = 'none'; }
class BetaManagedAgentsWebFetchURLSourceOnly { $type = 'only'; $tools; }
The tools whose results contribute. Between 1 and 128 entries, each with a different name. An empty list is rejected; use "none" to allow no tool's results.
class BetaManagedAgentsWebFetchURLSourceToolReference { $type = 'tool_reference'; $name; }
Must be "tool_reference".
Name of the tool. Compared exactly, so upper and lower case letters are different.
class BetaManagedAgentsWebFetchURLSourceAll { $type = 'all'; }
class BetaManagedAgentsWebFetchURLSourceNone { $type = 'none'; }
class BetaManagedAgentsWebFetchURLSourceAll { $type = 'all'; }
class BetaManagedAgentsWebFetchURLSourceNone { $type = 'none'; }
class BetaManagedAgentsWebFetchURLSources { $clientToolResults; $serverToolResults; $userInput; }
Which custom tools' results contribute URLs that may be fetched. Null when not set, which allows every custom tool's results.
Which of the web_search and web_fetch tools' results contribute URLs that may be fetched. Null when not set, which allows both.
Whether URLs in the text of user messages may be fetched. Null when not set, which allows them.
class BetaManagedAgentsWebFetchURLSourcesParams { $clientToolResults; $serverToolResults; $userInput; }
Which custom tools' results contribute URLs that may be fetched: "all" (the default), "none", or an only or except list. Each name in a list must be a custom tool in the same tools array.
Which of the web_search and web_fetch tools' results contribute URLs that may be fetched: "all" (the default), "none", or an only or except list. Each name in a list must be "web_search" or "web_fetch".
Whether URLs in the text of user messages may be fetched: "all" (the default) or "none".
class BetaManagedAgentsWebSearchToolConfig { $type = 'web_search'; $enabled; $name; /* 4 more */ }
Permission policy for tool execution.
Approximate user location for search result localization.
class BetaManagedAgentsWebSearchToolConfigParams { $type; $name; $allowedDomains; /* 4 more */ }
Must be "web_search".
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.
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.
Whether this tool is enabled and available to Claude. Overrides the default_config setting.
Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
Approximate user location for search result localization.
class BetaManagedAgentsWriteToolConfig { $type = 'write'; $enabled; $name; $permissionPolicy; }
Permission policy for tool execution.
class BetaManagedAgentsWriteToolConfigParams { $type; $name; $enabled; $permissionPolicy; }
Must be "write".
Whether this tool is enabled and available to Claude. Overrides the default_config setting.
Permission policy for this tool. Controls whether tool calls are auto-approved or require confirmation.
AgentsVersions
List Agent Versions
$client->beta->agents->versions->list(string agentID, ?int limit, ?string page, ?list<AnthropicBeta> betas, ?string workspaceID): PageCursor<BetaManagedAgentsAgent>anthropic-beta: managed-agents-2026-04-01. How to send beta headers