Skip to main content
anthropic.sendSessionEvents sends one or more provider-native session events in order.

Example

automations/anthropic-send-session-events.automation.ts

Inputs

Requires sessionId and 1–50 events. Supported hosted events include messages, outcome definitions, confirmations, custom-tool results, interrupts, and valid message-plus-system pairs. Inputs use public camelCase names and accept signals.

Output and behavior

Returns the accepted events. Sending 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.