confirm_operation
Confirm and execute a destructive operation using a provided token and optional operation hash for safety.
Instructions
Confirm and execute a destructive operation.
Provide the confirmation_token that the earlier destructive tool
call returned, and optionally the operation_hash for strongest
safety. The token expires after 120 seconds.
When operation_hash is provided it MUST match the hash returned
by the destructive tool. This prevents a token obtained for
remove_container("my-app")from being used to execute
remove_container("other-app").If the target resource supports it, the server will also check whether the resource has changed since the token was issued. If it has, the confirmation is denied.
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": "confirm_operation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | ||
| operation_hash | No |