Skip to main content
anthropic.submitCustomToolResult resolves one pending application-defined custom tool call.

Example

automations/anthropic-submit-custom-tool-result.automation.ts

Inputs

Requires sessionId and customToolUseId. Optional content can be marked with isError; include sessionThreadId for subagent work. Inputs use public camelCase names and accept signals.

Output and behavior

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