Close a task
close_taskStop a task taking new answers for good (status becomes completed if it has approved answers, else cancelled); works on open, paused and pending_review tasks. To stop only for a while, use pause_task. Running holds end; answers already submitted can still be reviewed. On live tasks the unspent reservation returns to your balance, keeping only what submitted answers may still cost. Cannot be undone.
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>"
},
"name": "close_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Your hw_test_… or hw_live_… key (from signup); not needed if the server was added with an Authorization header. | |
| task_id | Yes | Task id |