approve_operation
Approve a pending operation using a server-issued token to execute file system actions that require human-in-the-loop approval.
Instructions
Approve and execute a pending ask operation.
This is the ONLY way an ask operation runs. The token must have been
issued by the server for the exact operation being approved; it is
single-use and expires. Intended to be called on behalf of an explicit
human approval action, not autonomously by an LLM.
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": {
"token": "<token>"
},
"name": "approve_operation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | The approval token returned in an ``approval_required`` result. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |