Cancel Acceptance
cancel_acceptanceCancel a persisted acceptance run by removing queued items or aborting in-progress managed validation and terminating its process tree, using the provided run ID and ownership tokens.
Instructions
Cancel one persisted acceptance run. Queued runs are removed from the resource queue; running managed validation receives an abort signal and its process tree is terminated.
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": {
"run_id": "<run_id>",
"owner_token": "<owner_token>",
"fencing_token": "<fencing_token>"
},
"name": "cancel_acceptance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | Acceptance run id returned by run_acceptance. | |
| owner_token | Yes | Acceptance cancellation owner token returned by run_acceptance or acceptance_status. | |
| workspace_id | No | Optional workspace id. When omitted, CodexPro binds the authoritative conversation workspace automatically; an explicit unknown or mismatched id is rejected. | |
| fencing_token | Yes | Acceptance fencing token returned by run_acceptance or acceptance_status. | |
| conversation_id | No | Connector conversation id bound to this workspace. Modern MCP injects it automatically; side-effecting tools require it to match the authoritative binding. | |
| workspace_generation | No | Optional authoritative workspace generation. When omitted, CodexPro injects the conversation-bound generation; an explicit stale generation is rejected. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_result | Yes |