review_task
Optional. Approve or dispute a task that is in pending_review status. Use this after get_task_status reports the operator has completed the work. Approving releases the operator payout. Disputing requires a reason and a description of what is needed for acceptance; the operator is then allowed to resubmit. If you never call review_task, tasks are auto-approved after the review window expires.
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": {
"task_id": "<task_id>",
"decision": "<decision>"
},
"name": "review_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | The task ID returned by submit_task. | |
| decision | Yes | approve to accept the result and release payment; dispute to reject it and request a resubmission. | |
| dispute_reason | No | Required when decision = 'dispute'. What went wrong with the submission. | |
| what_is_needed | No | Required when decision = 'dispute'. What the operator must do for the submission to be accepted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| success | Yes |