ApprovalRequest
Defined in: packages/tools/src/approval/dispatcher.ts:15
Headless / host approval surface — thin adapter over EffectHandler for
kind: "tool" (and later kind: "approval"). Not a parallel resume protocol:
interactive UIs should return suspend and call WorkflowStore.resolveSuspend later.
Properties
Section titled “Properties”agentCallId?
Section titled “agentCallId?”
optionalagentCallId?:string|null
Defined in: packages/tools/src/approval/dispatcher.ts:22
agentId?
Section titled “agentId?”
optionalagentId?:string
Defined in: packages/tools/src/approval/dispatcher.ts:20
input:
unknown
Defined in: packages/tools/src/approval/dispatcher.ts:17
intentId
Section titled “intentId”intentId:
string
Defined in: packages/tools/src/approval/dispatcher.ts:24
source?
Section titled “source?”
optionalsource?:string
Defined in: packages/tools/src/approval/dispatcher.ts:19
ToolEffectPayload.source — which server the tool runs on, when not built in.
stepId?
Section titled “stepId?”
optionalstepId?:string|null
Defined in: packages/tools/src/approval/dispatcher.ts:23
toolName
Section titled “toolName”toolName:
string
Defined in: packages/tools/src/approval/dispatcher.ts:16
workflowRunId?
Section titled “workflowRunId?”
optionalworkflowRunId?:string
Defined in: packages/tools/src/approval/dispatcher.ts:21