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 was constructed from a live source (the stream’s
data-tool-call-approval part or pendingApprovalsByMessage),
and absent only for approvals reconstructed from a history load
where the original runId is lost.
Properties
Section titled “Properties”input:
unknown
runId?
Section titled “runId?”
optionalrunId?:string
Mastra run id from the approval chunk.
toolCallId
Section titled “toolCallId”toolCallId:
string
toolName
Section titled “toolName”toolName:
string