Skip to content

ApprovalDecision

ApprovalDecision = { decision: "allow"; remember?: "agentCall"; } | { decision: "deny"; reason: string; }

Defined in: packages/tools/src/approval/dispatcher.ts:32

remember: "agentCall" allows later calls of the same tool (same source and toolName) in the same agent call without asking again. Without it, the allow covers this call only.