Agents
Get Agent
beta.agents.retrieve(agent_id, **kwargs) -> BetaManagedAgentsAgentGET/v1/agents/{agent_id}
Update Agent
beta.agents.update(agent_id, **kwargs) -> BetaManagedAgentsAgentPOST/v1/agents/{agent_id}
Archive Agent
beta.agents.archive(agent_id, **kwargs) -> BetaManagedAgentsAgentPOST/v1/agents/{agent_id}/archive
Models
BetaManagedAgentsAgentToolConfig = BetaManagedAgentsBashToolConfig { enabled, name, permission_policy, type } | BetaManagedAgentsEditToolConfig { enabled, name, permission_policy, type } | BetaManagedAgentsReadToolConfig { enabled, name, permission_policy, type } | 5 moreConfiguration for a specific agent tool.
BetaManagedAgentsAgentToolConfig = BetaManagedAgentsBashToolConfig { enabled, name, permission_policy, type } | BetaManagedAgentsEditToolConfig { enabled, name, permission_policy, type } | BetaManagedAgentsReadToolConfig { enabled, name, permission_policy, type } | 5 more
Configuration for a specific agent tool.
One of the following:
BetaManagedAgentsAgentToolConfigParams = BetaManagedAgentsBashToolConfigParams { name, enabled, permission_policy, type } | BetaManagedAgentsEditToolConfigParams { name, enabled, permission_policy, type } | BetaManagedAgentsReadToolConfigParams { name, enabled, permission_policy, type } | 5 moreConfiguration override for a specific tool within a toolset.
BetaManagedAgentsAgentToolConfigParams = BetaManagedAgentsBashToolConfigParams { name, enabled, permission_policy, type } | BetaManagedAgentsEditToolConfigParams { name, enabled, permission_policy, type } | BetaManagedAgentsReadToolConfigParams { name, enabled, permission_policy, type } | 5 more
Configuration override for a specific tool within a toolset.
One of the following:
permission_policy: BetaManagedAgentsAlwaysAllowPolicy { type } | BetaManagedAgentsAlwaysAskPolicy { type }Permission policy for tool execution.
permission_policy: BetaManagedAgentsAlwaysAllowPolicy { type } | BetaManagedAgentsAlwaysAskPolicy { type }
Permission policy for tool execution.
permission_policy: BetaManagedAgentsAlwaysAllowPolicy { type } | BetaManagedAgentsAlwaysAskPolicy { type }Permission policy for tool execution.
permission_policy: BetaManagedAgentsAlwaysAllowPolicy { type } | BetaManagedAgentsAlwaysAskPolicy { type }
Permission policy for tool execution.
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.
permission_policy: BetaManagedAgentsAlwaysAllowPolicy { type } | BetaManagedAgentsAlwaysAskPolicy { type }Permission policy for tool execution.
permission_policy: BetaManagedAgentsAlwaysAllowPolicy { type } | BetaManagedAgentsAlwaysAskPolicy { type }
Permission policy for tool execution.
permission_policy: BetaManagedAgentsAlwaysAllowPolicy { type } | BetaManagedAgentsAlwaysAskPolicy { type }Permission policy for tool execution.
permission_policy: BetaManagedAgentsAlwaysAllowPolicy { type } | BetaManagedAgentsAlwaysAskPolicy { type }
Permission policy for tool execution.
permission_policy: BetaManagedAgentsAlwaysAllowPolicy { type } | BetaManagedAgentsAlwaysAskPolicy { type }Permission policy for tool execution.
permission_policy: BetaManagedAgentsAlwaysAllowPolicy { type } | BetaManagedAgentsAlwaysAskPolicy { type }
Permission policy for tool execution.
permission_policy: BetaManagedAgentsAlwaysAllowPolicy { type } | BetaManagedAgentsAlwaysAskPolicy { type }Permission policy for tool execution.
permission_policy: BetaManagedAgentsAlwaysAllowPolicy { type } | BetaManagedAgentsAlwaysAskPolicy { type }
Permission policy for tool execution.
See models for additional details and options.
One of the following:
BetaManagedAgentsSkillParams = BetaManagedAgentsAnthropicSkillParams { skill_id, type, version } | BetaManagedAgentsCustomSkillParams { skill_id, type, version }Skill to load in the session container.
BetaManagedAgentsSkillParams = BetaManagedAgentsAnthropicSkillParams { skill_id, type, version } | BetaManagedAgentsCustomSkillParams { skill_id, type, version }
Skill to load in the session container.
One of the following:
AgentsVersions
List Agent Versions
beta.agents.versions.list(agent_id, **kwargs) -> PageCursor<BetaManagedAgentsAgent>GET/v1/agents/{agent_id}/versions