request_approval
Request human approval before executing significant or irreversible actions. Pause workflow until user confirms, preventing unintended changes.
Instructions
Request human approval before proceeding with an action.
Call this tool proactively whenever you are about to take a significant or irreversible action and want the user to confirm first. Do NOT wait for the user to ask you to seek approval — use your judgment about when confirmation is appropriate.
The user will see an approval card with the summary, optional details, and Approve/Reject buttons. When they click a button, their decision appears as a message in the conversation (as if the user typed it), like:
"Deploy v3.2 to production" — I selected: Approveor:
"Deploy v3.2 to production" — I selected: RejectIMPORTANT: After calling this tool, you MUST stop and wait for the user's response. Do not continue, do not take any other actions, do not generate further output until you see the "I selected:" message. If approved, continue with the action. If rejected, acknowledge and ask how to proceed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Heading for the approval card (default: "Approval Required"). | |
| details | No | Optional longer explanation, context, or consequences of the action. | |
| summary | Yes | Brief description of the action requiring approval (shown prominently to the user). | |
| reject_text | No | Label for the reject button (default: "Reject"). | |
| approve_text | No | Label for the approve button (default: "Approve"). | |
| reject_variant | No | Button style for the reject button (same options plus "outline"). | |
| approve_variant | No | Button style — "default", "destructive", "success", or "info". |