Skip to main content
anthropic.updateAgent updates a Claude agent and creates its next version.

Example

automations/anthropic-update-agent.automation.ts

Inputs

Requires agentId. Optional version provides optimistic concurrency. Arrays such as tools, skills, and mcpServers replace the stored arrays. Inputs use public camelCase names and accept signals.

Output and behavior

Returns the updated agent and new version. This mutation is not automatically replayed. Anthropic requests time out before the action lease and provider mutations are not retried after an uncertain response unless stated otherwise.