task_done
Finish your run of the task and complete the task in one call. Uses a passed validation of the run, preferably one run with run_validate, or closes it unverified with not_verified_reason.
Instructions
Finish your run of the task and complete the task in one call. Uses a passed validation of the run, preferably one run with run_validate, or closes it unverified with not_verified_reason. A validation from run_validate counts only while the code is as it was when the check ran: if you changed the code since, the call fails with evidence_stale and the run stays open, so run the check again first.
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>",
"summary": "<summary>"
},
"name": "task_done"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | Yes | Result summary; must not be blank. | |
| task_id | Yes | Canonical UUIDv7 task identifier of a task you claimed. | |
| validation_id | No | Optional passed validation of your run. Omitted: the latest passed validation of the run is used. | |
| not_verified_reason | No | Why the result could not be verified. Closes the task without a passed validation; the reason stays in its history. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | No | ||
| task | No | ||
| error | No | ||
| completion | No | ||
| schema_version | Yes |