Cancel approval
browser_cancel_approvalWithdraw a pending approval the agent requested. Required: sessionId, approvalId from APPROVAL_REQUIRED or APPROVAL_PENDING. The waiting command fails; this is not a human Deny. An expired approval returns APPROVAL_EXPIRED (recoverable) and is not cancelled. pendingApprovals on browser_get_status does not count that row.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sessionId": "<sessionId>",
"approvalId": "<approvalId>"
},
"name": "browser_cancel_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | ||
| approvalId | Yes |