Cancel a task before payment
cancel_jobCancel a task before payment. Allowed in draft, open, assigned, and awaiting_payment if no transfer was detected. Releases the budget reservation. After payment, use open_dispute. Requires API key.
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 | Task id | |
| reason | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| title | Yes | ||
| status | Yes | ||
| sandbox | Yes | true for sandbox tasks completed by the Sandbox bot (no real-world action) | |
| service | Yes | ||
| location | Yes | ||
| deadline_at | Yes | ||
| description | Yes | ||
| next_actions | No | ||
| worker_pay_cents | Yes | Integer amount in US cents (100 = 1.00 USD) | |
| status_description | No |