Skip to content

Type Alias: PendingApproval

PendingApproval = object

One approval-gated tool call paused mid-turn. runId is the Mastra workflow id needed to resume; it’s always present when the card came from a live approval part or native suspended-run storage. It remains optional for controlled transports that cannot provide it.

input: unknown


optional runId?: string

Mastra run id from the approval chunk.


toolCallId: string


toolName: string