Accept the result and complete the task
approve_jobAccept the result and complete the task. Moves submitted -> completed. Escrow: first send escrow.release_call (from get_payment_intent or error.details.release_call) from the depositing wallet; until the release is on chain this returns escrow_release_required. 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": "approve_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Task id |
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 |