approval_decide
Decide a pending approval gate by accepting or declining it, optionally adding a note; accept may require a one-time confirmation link.
Instructions
Decide a pending approval gate: accept or decline, with an optional note. Decline takes effect at once. Accept takes effect at once only for a token holding approval:grant, on a gate below the workspace's confirmation threshold (by default every gate is at or above it). Otherwise you get {status: confirmation_required, confirmation_url}: a one-time link the person opens in the Maidan console and confirms, signed in as themselves. Clients that declare URL-mode elicitation are shown the same link through elicitation. You cannot confirm for the person; do not retry, poll get_approval_gate. Nobody accepts a gate they requested. The decision records which client you used and that a model asked.
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": {
"gate_id": "<gate_id>",
"decision": "<decision>"
},
"name": "approval_decide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | optional note kept on the gate with the decision, at most 2000 characters | |
| gate_id | Yes | the pending gate to decide | |
| decision | Yes | accept or decline; cancelling stays with whoever opened the gate |