Contracts / checkToolApproval
Contract
checkToolApproval
Whether a tool call needs a person’s approval, and whether an approval already covers it.
Signature
checkToolApproval(check: ToolApprovalCheck) : ToolApprovalDecision
Rules
- An approval is consumed when used.
Where it appears
- Release a gated dispatchKeymaster
- Hold an action for approvalBouncer