Call a Claude Managed Agent hosted on the Claude Platform from a Sim workflow. Select a Claude Platform account, agent, and environment, then send the task message.
Optional inputs attach credential vaults, a memory store with read or write access and usage instructions, files, and metadata tags. The Run session (create, send, wait for reply) operation waits for the reply and returns final text and a session ID, with token usage when available, for downstream processing and cost tracking. Outputs from the other operations depend on the selected action. Session actions also create, inspect, interrupt, archive, update, or delete sessions; read events; and submit custom-tool results or confirmation responses. File attachments are supported for cloud environments.
Use the block
Run or create a session with a Claude Platform account, agent, and environment. Optionally attach vaults, a memory store, files, and metadata. The Run session operation waits for the agent’s reply and returns final text and a session ID, with token usage when available. Outputs from other operations depend on the selected action.
Actions
Managed Agent Run Session
Open a Claude Platform Managed Agent session and return the assistant response as text.
Managed Agent Create Session
Create a Claude Platform Managed Agent session and return its id without waiting for a reply.
Managed Agent Send Message
Send a user message to an existing Claude Platform Managed Agent session.
Managed Agent Get Session
Read a Managed Agent session: status, stop reason, token usage, metadata, and any tool calls awaiting approval.
Managed Agent List Events
Read a Managed Agent session's event history and the agent's reply text.
Managed Agent Update Session
Update a Managed Agent session's title or metadata.
Managed Agent Interrupt Session
Stop a running Managed Agent session; it stays usable afterwards.
Managed Agent Respond To Tool Confirmation
Allow or deny the tool calls a Managed Agent session is waiting on before it can continue.
Managed Agent Respond To Custom Tool
Return the result of a custom tool a Managed Agent session is waiting on so it can continue.
Managed Agent Archive Session
Archive a Managed Agent session, preserving its history. Not reversible.
Managed Agent Delete Session
Permanently delete a Managed Agent session, its events, and its sandbox. Not reversible.