PrivateDAO Request Cancellation
cancel_jobCancel an unpaid pending request before execution and return its updated status. It records cancellation only, never spends or refunds funds, and must not be used after payment or execution has started.
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": {
"job_id": "<job_id>"
},
"name": "cancel_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The unpaid pending request to cancel. | |
| reason | No | Optional operational reason recorded with the cancellation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | No | Cancelled request identifier. | |
| status | No | Updated cancellation state. | |
| cancelled_at | No | Cancellation timestamp when recorded. |