Skip to main content
anthropic.getAgent gets the latest or an exact version of a Claude agent.

Example

automations/anthropic-get-agent.automation.ts

Inputs

Requires agentId; version selects an immutable historical version. Inputs use public camelCase names and accept signals.

Output and behavior

Returns the resolved agent definition. Anthropic requests time out before the action lease and provider mutations are not retried after an uncertain response unless stated otherwise.