Agenten
Agent erstellen
BetaManagedAgentsAgent Beta.Agents.Create(parameters, cancellationToken = default)Agenten auflisten
AgentListPage Beta.Agents.List(parameters, cancellationToken = default)Agent abrufen
BetaManagedAgentsAgent Beta.Agents.Retrieve(parameters, cancellationToken = default)Agent aktualisieren
BetaManagedAgentsAgent Beta.Agents.Update(parameters, cancellationToken = default)Agent archivieren
BetaManagedAgentsAgent Beta.Agents.Archive(parameters, cancellationToken = default)Models
class BetaManagedAgentsAdvisor { Type; Model; }Platform advisor roster entry: a model the session's primary thread may consult mid-turn.
Platform advisor roster entry: a model the session's primary thread may consult mid-turn.
The advisor model id.
class BetaManagedAgentsAgent { Type; ID; ArchivedAt; /* 12 more */ }A Managed Agents agent.
A Managed Agents agent.
class BetaManagedAgentsAgentReference { Type; ID; Version; }A resolved agent reference with a concrete version.
A resolved agent reference with a concrete version.
required int Version
class BetaManagedAgentsAgentToolConfig: unionConfiguration for a specific agent tool.
Configuration for a specific agent tool.
class BetaManagedAgentsAgentToolConfigParams: unionConfiguration override for a specific tool within a toolset.
Configuration override for a specific tool within a toolset.
class BetaManagedAgentsAgentToolsetDefaultConfig { Enabled; PermissionPolicy; }Resolved default configuration for agent tools.
Resolved default configuration for agent tools.
required PermissionPolicy PermissionPolicyPermission policy for tool execution.
Permission policy for tool execution.
class BetaManagedAgentsAlwaysAllowPolicy { Type; }Tool calls are automatically approved without user confirmation.
Tool calls are automatically approved without user confirmation.
class BetaManagedAgentsAlwaysAskPolicy { Type; }Tool calls require user confirmation before execution.
Tool calls require user confirmation before execution.
class BetaManagedAgentsAutoPolicy { Type = "auto"; }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.
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.
class BetaManagedAgentsAgentToolsetDefaultConfigParams { Enabled; PermissionPolicy; }Default configuration for all tools in a toolset.
Default configuration for all tools in a toolset.
Whether tools are enabled and available to Claude by default. Defaults to true if not specified.
PermissionPolicy? PermissionPolicyPermission policy for tool execution.
Permission policy for tool execution.
class BetaManagedAgentsAlwaysAllowPolicy { Type; }Tool calls are automatically approved without user confirmation.
Tool calls are automatically approved without user confirmation.
class BetaManagedAgentsAlwaysAskPolicy { Type; }Tool calls require user confirmation before execution.
Tool calls require user confirmation before execution.
class BetaManagedAgentsAutoPolicy { Type = "auto"; }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.
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.
class BetaManagedAgentsAgentToolset20260401 { Type; Configs; DefaultConfig; }
class BetaManagedAgentsAgentToolset20260401BashInput { Command; Restart; TimeoutMs; }Input payload for the bash tool of the
agent_toolset_20260401 toolset. All fields are optional;
a normal invocation supplies command, while restart=true
(with no command) reboots the runner-side bash session.
Input payload for the bash tool of the
agent_toolset_20260401 toolset. All fields are optional;
a normal invocation supplies command, while restart=true
(with no command) reboots the runner-side bash session.
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.
long TimeoutMsPer-call timeout in milliseconds. Defaults to the
runner-wide tool timeout when omitted or zero.
Per-call timeout in milliseconds. Defaults to the runner-wide tool timeout when omitted or zero.
class BetaManagedAgentsAgentToolset20260401EditInput { FilePath; NewString; OldString; ReplaceAll; }Input payload for the edit tool. Performs a string
replacement in the named file; by default old_string must
occur exactly once.
Input payload for the edit tool. Performs a string
replacement in the named file; by default old_string must
occur exactly once.
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; }Input payload for the glob tool. Returns paths matching a
doublestar glob pattern, newest first.
Input payload for the glob tool. Returns paths matching a
doublestar glob pattern, newest first.
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; }Input payload for the grep tool. Searches file contents for
a regular expression, returning matching lines.
Input payload for the grep tool. Searches file contents for
a regular expression, returning matching lines.
Regular expression to search for.
Optional directory root to search under. Defaults to the runner's working directory.
class BetaManagedAgentsAgentToolset20260401Params { Type; Configs; DefaultConfig; }Configuration for built-in agent tools. Use this to enable or disable groups of tools available to the agent.
Configuration for built-in agent tools. Use this to enable or disable groups of tools available to the agent.
class BetaManagedAgentsAgentToolset20260401ReadInput { FilePath; ViewRange; }Input payload for the read tool. Reads file contents
relative to the runner's working directory (or absolute when
the runner permits).
Input payload for the read tool. Reads file contents
relative to the runner's working directory (or absolute when
the runner permits).
Path of the file to read.
IReadOnlyList<long> ViewRangeOptional [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".
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; }Input payload for the write tool. Writes (overwriting) the
entire file contents.
Input payload for the write tool. Writes (overwriting) the
entire file contents.
Full file contents to write.
Path of the file to write.
class BetaManagedAgentsAlwaysAllowPolicy { Type; }Tool calls are automatically approved without user confirmation.
Tool calls are automatically approved without user confirmation.
class BetaManagedAgentsAlwaysAskPolicy { Type; }Tool calls require user confirmation before execution.
Tool calls require user confirmation before execution.
class BetaManagedAgentsAnthropicSkill { Type; SkillID; Version; }A resolved Anthropic-managed skill.
A resolved Anthropic-managed skill.
class BetaManagedAgentsAnthropicSkillParams { Type; SkillID; Version; }An Anthropic-managed skill.
An Anthropic-managed skill.
required string SkillIDIdentifier of the Anthropic skill (e.g., "xlsx").
Identifier of the Anthropic skill (e.g., "xlsx").
string? VersionVersion to pin. Defaults to latest if omitted.
Version to pin. Defaults to latest if omitted.
class BetaManagedAgentsAutoPolicy { Type = "auto"; }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.
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.
class BetaManagedAgentsBashToolConfig { Type = "bash"; Enabled; Name; PermissionPolicy; }Configuration for the bash tool.
Configuration for the bash tool.
class BetaManagedAgentsBashToolConfigParams { Type; Name; Enabled; PermissionPolicy; }Configuration override for the bash tool.
Configuration override for the bash tool.
class BetaManagedAgentsCustomSkill { Type; SkillID; Version; }A resolved user-created custom skill.
A resolved user-created custom skill.
class BetaManagedAgentsCustomSkillParams { Type; SkillID; Version; }A user-created custom skill.
A user-created custom skill.
required string SkillIDTagged ID of the custom skill (e.g., "skill_01XJ5...").
Tagged ID of the custom skill (e.g., "skill_01XJ5...").
string? VersionVersion to pin. Defaults to latest if omitted.
Version to pin. Defaults to latest if omitted.
class BetaManagedAgentsCustomTool { Type; Description; InputSchema; Name; }A custom tool as returned in API responses.
A custom tool as returned in API responses.
required BetaManagedAgentsCustomToolInputSchema InputSchemaJSON Schema for custom tool input parameters.
JSON Schema for custom tool input parameters.
class BetaManagedAgentsCustomToolInputSchema { Type = "object"; Properties; Required; }JSON Schema for custom tool input parameters.
JSON Schema for custom tool input parameters.
class BetaManagedAgentsCustomToolParams { Type; Description; InputSchema; Name; }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.
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.
required string DescriptionDescription of what the tool does, shown to the agent to help it decide when to use the tool.
Description of what the tool does, shown to the agent to help it decide when to use the tool.
required BetaManagedAgentsCustomToolInputSchema InputSchemaJSON Schema for custom tool input parameters.
JSON Schema for custom tool input parameters.
required string NameUnique name for the tool. 1-128 characters; letters, digits, underscores, and hyphens.
Unique name for the tool. 1-128 characters; letters, digits, underscores, and hyphens.
class BetaManagedAgentsEditToolConfig { Type = "edit"; Enabled; Name; PermissionPolicy; }Configuration for the edit tool.
Configuration for the edit tool.
class BetaManagedAgentsEditToolConfigParams { Type; Name; Enabled; PermissionPolicy; }Configuration override for the edit tool.
Configuration override for the edit tool.
class BetaManagedAgentsEffortHigh { Type; }High effort. Favors reasoning depth.
High effort. Favors reasoning depth.
class BetaManagedAgentsEffortLow { Type; }Low effort. Favors latency over reasoning depth.
Low effort. Favors latency over reasoning depth.
class BetaManagedAgentsEffortMax { Type; }Maximum effort. Favors reasoning depth over latency.
Maximum effort. Favors reasoning depth over latency.
class BetaManagedAgentsEffortMedium { Type; }Medium effort. Balances latency and reasoning depth.
Medium effort. Balances latency and reasoning depth.
class BetaManagedAgentsEffortXhigh { Type; }Extra-high effort. Not all models accept this level.
Extra-high effort. Not all models accept this level.
class BetaManagedAgentsGlobToolConfig { Type = "glob"; Enabled; Name; PermissionPolicy; }Configuration for the glob tool.
Configuration for the glob tool.
class BetaManagedAgentsGlobToolConfigParams { Type; Name; Enabled; PermissionPolicy; }Configuration override for the glob tool.
Configuration override for the glob tool.
class BetaManagedAgentsGrepToolConfig { Type = "grep"; Enabled; Name; PermissionPolicy; }Configuration for the grep tool.
Configuration for the grep tool.
class BetaManagedAgentsGrepToolConfigParams { Type; Name; Enabled; PermissionPolicy; }Configuration override for the grep tool.
Configuration override for the grep tool.
class BetaManagedAgentsMcpServerUrlDefinition { Type; Name; Url; }URL-based MCP server connection as returned in API responses.
URL-based MCP server connection as returned in API responses.
class BetaManagedAgentsMcpToolConfig { Enabled; Name; PermissionPolicy; }Resolved configuration for a specific MCP tool.
Resolved configuration for a specific MCP tool.
required PermissionPolicy PermissionPolicyPermission policy for tool execution.
Permission policy for tool execution.
class BetaManagedAgentsAlwaysAllowPolicy { Type; }Tool calls are automatically approved without user confirmation.
Tool calls are automatically approved without user confirmation.
class BetaManagedAgentsAlwaysAskPolicy { Type; }Tool calls require user confirmation before execution.
Tool calls require user confirmation before execution.
class BetaManagedAgentsAutoPolicy { Type = "auto"; }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.
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.
class BetaManagedAgentsMcpToolConfigParams { Name; Enabled; PermissionPolicy; }Configuration override for a specific MCP tool.
Configuration override for a specific MCP tool.
required string NameName of the MCP tool to configure. 1-128 characters.
Name of the MCP tool to configure. 1-128 characters.
Whether this tool is enabled. Overrides the default_config setting.
PermissionPolicy? PermissionPolicyPermission policy for tool execution.
Permission policy for tool execution.
class BetaManagedAgentsAlwaysAllowPolicy { Type; }Tool calls are automatically approved without user confirmation.
Tool calls are automatically approved without user confirmation.
class BetaManagedAgentsAlwaysAskPolicy { Type; }Tool calls require user confirmation before execution.
Tool calls require user confirmation before execution.
class BetaManagedAgentsAutoPolicy { Type = "auto"; }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.
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.
class BetaManagedAgentsMcpToolset { Type; Configs; DefaultConfig; McpServerName; }
class BetaManagedAgentsMcpToolsetDefaultConfig { Enabled; PermissionPolicy; }Resolved default configuration for all tools from an MCP server.
Resolved default configuration for all tools from an MCP server.
required PermissionPolicy PermissionPolicyPermission policy for tool execution.
Permission policy for tool execution.
class BetaManagedAgentsAlwaysAllowPolicy { Type; }Tool calls are automatically approved without user confirmation.
Tool calls are automatically approved without user confirmation.
class BetaManagedAgentsAlwaysAskPolicy { Type; }Tool calls require user confirmation before execution.
Tool calls require user confirmation before execution.
class BetaManagedAgentsAutoPolicy { Type = "auto"; }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.
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.
class BetaManagedAgentsMcpToolsetDefaultConfigParams { Enabled; PermissionPolicy; }Default configuration for all tools from an MCP server.
Default configuration for all tools from an MCP server.
Whether tools are enabled by default. Defaults to true if not specified.
PermissionPolicy? PermissionPolicyPermission policy for tool execution.
Permission policy for tool execution.
class BetaManagedAgentsAlwaysAllowPolicy { Type; }Tool calls are automatically approved without user confirmation.
Tool calls are automatically approved without user confirmation.
class BetaManagedAgentsAlwaysAskPolicy { Type; }Tool calls require user confirmation before execution.
Tool calls require user confirmation before execution.
class BetaManagedAgentsAutoPolicy { Type = "auto"; }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.
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.
class BetaManagedAgentsMcpToolsetParams { Type; McpServerName; Configs; DefaultConfig; }Configuration for tools from an MCP server defined in mcp_servers.
Configuration for tools from an MCP server defined in mcp_servers.
class BetaManagedAgentsModelConfig { ID; Effort; InferenceGeo; Speed; }Model identifier and configuration.
Model identifier and configuration.
class BetaManagedAgentsModelConfigParams { ID; Effort; InferenceGeo; Speed; }An object that defines additional configuration control over model use
An object that defines additional configuration control over model use
class BetaManagedAgentsMultiagentCoordinator { Type; Agents; }Resolved coordinator topology with a concrete agent roster.
Resolved coordinator topology with a concrete agent roster.
required IReadOnlyList<Agent> AgentsAgents the coordinator may spawn as session threads, each resolved to a specific version.
Agents the coordinator may spawn as session threads, each resolved to a specific version.
class BetaManagedAgentsAgentReference { Type; ID; Version; }A resolved agent reference with a concrete version.
A resolved agent reference with a concrete version.
required int Version
class BetaManagedAgentsAdvisor { Type; Model; }Platform advisor roster entry: a model the session's primary thread may consult mid-turn.
Platform advisor roster entry: a model the session's primary thread may consult mid-turn.
The advisor model id.
class BetaManagedAgentsMultiagentCoordinatorParams { Type; Agents; }A coordinator topology: the session's primary thread orchestrates work by spawning session threads, each running an agent drawn from the agents roster.
A coordinator topology: the session's primary thread orchestrates work by spawning session threads, each running an agent drawn from the agents roster.
class BetaManagedAgentsMultiagentSelfParams { Type; }Sentinel roster entry meaning "the agent that owns this configuration". Resolved server-side to a concrete agent reference.
Sentinel roster entry meaning "the agent that owns this configuration". Resolved server-side to a concrete agent reference.
class BetaManagedAgentsReadToolConfig { Type = "read"; Enabled; Name; PermissionPolicy; }Configuration for the read tool.
Configuration for the read tool.
class BetaManagedAgentsReadToolConfigParams { Type; Name; Enabled; PermissionPolicy; }Configuration override for the read tool.
Configuration override for the read tool.
class BetaManagedAgentsSessionThreadAgent { Type; ID; Description; /* 7 more */ }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.
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.
class BetaManagedAgentsSkillParams: unionSkill to load in the session container.
Skill to load in the session container.
class BetaManagedAgentsAnthropicSkillParams { Type; SkillID; Version; }An Anthropic-managed skill.
An Anthropic-managed skill.
required string SkillIDIdentifier of the Anthropic skill (e.g., "xlsx").
Identifier of the Anthropic skill (e.g., "xlsx").
string? VersionVersion to pin. Defaults to latest if omitted.
Version to pin. Defaults to latest if omitted.
class BetaManagedAgentsCustomSkillParams { Type; SkillID; Version; }A user-created custom skill.
A user-created custom skill.
required string SkillIDTagged ID of the custom skill (e.g., "skill_01XJ5...").
Tagged ID of the custom skill (e.g., "skill_01XJ5...").
string? VersionVersion to pin. Defaults to latest if omitted.
Version to pin. Defaults to latest if omitted.
class BetaManagedAgentsUrlMcpServerParams { Type; Name; Url; }URL-based MCP server connection.
URL-based MCP server connection.
required string NameUnique name for this server, referenced by mcp_toolset configurations. 1-255 characters.
Unique name for this server, referenced by mcp_toolset configurations. 1-255 characters.
required string UrlEndpoint URL for the MCP server.
Endpoint URL for the MCP server.
class BetaManagedAgentsUserLocation { Type = "approximate"; City; Country; /* 2 more */ }Approximate user location for search result localization.
Approximate user location for search result localization.
Location precision. Only "approximate" is supported.
string? CityCity name.
City name.
Two-letter ISO 3166-1 country code, uppercase.
string? RegionRegion or state name.
Region or state name.
string? TimezoneIANA timezone identifier, e.g. "America/Los_Angeles".
IANA timezone identifier, e.g. "America/Los_Angeles".
class BetaManagedAgentsWebFetchToolConfig { Type = "web_fetch"; Enabled; Name; /* 4 more */ }Configuration for the web_fetch tool.
Configuration for the web_fetch tool.
class BetaManagedAgentsWebFetchToolConfigParams { Type; Name; AllowedDomains; /* 4 more */ }Configuration override for the web_fetch tool.
Configuration override for the web_fetch tool.
class BetaManagedAgentsWebSearchToolConfig { Type = "web_search"; Enabled; Name; /* 4 more */ }Configuration for the web_search tool.
Configuration for the web_search tool.
class BetaManagedAgentsWebSearchToolConfigParams { Type; Name; AllowedDomains; /* 4 more */ }Configuration override for the web_search tool.
Configuration override for the web_search tool.
class BetaManagedAgentsWriteToolConfig { Type = "write"; Enabled; Name; PermissionPolicy; }Configuration for the write tool.
Configuration for the write tool.
class BetaManagedAgentsWriteToolConfigParams { Type; Name; Enabled; PermissionPolicy; }Configuration override for the write tool.
Configuration override for the write tool.