Skip to main content
anthropic.sendSystemContext sends a user event followed by privileged system context in one request.

Example

automations/anthropic-send-system-context.automation.ts

Inputs

Requires sessionId, a preceding user.message or user.custom_tool_result, and text-only system content. Anthropic requires the system event to immediately follow its companion. Inputs use public camelCase names and accept signals.

Output and behavior

Returns both accepted events. Anthropic requests time out before the action lease and provider mutations are not retried after an uncertain response unless stated otherwise.