Skip to main content
anthropic.sendMessage sends user content and starts the next Claude turn.

Example

automations/anthropic-send-message.automation.ts

Inputs

Requires sessionId and message content blocks. Images and documents use Managed Agents content shapes. Inputs use public camelCase names and accept signals.

Output and behavior

Returns the accepted event. Duplicate sends create duplicate turns. Anthropic requests time out before the action lease and provider mutations are not retried after an uncertain response unless stated otherwise.