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.
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