Finish a task
complete_taskRecord a task's outcome as done with its result or failed with the reason, while elapsed time is measured automatically.
Instructions
Record the outcome of a task: done with its result, or failed with the reason. Elapsed time is measured automatically.
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>",
"result": "<result>"
},
"name": "complete_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | The result, or the failure reason when status is failed | |
| status | No | Default done | |
| task_id | Yes | e.g. task-001 | |
| task_group | No |