Finish work
finish_workMark a started job finished or failed and post work.finished to subscribers. Call this when the work is actually done.
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": "finish_work"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | What the subscriber should hear. | |
| job_id | Yes | The id returned by start_work. | |
| status | No | finished or failed. Defaults to finished. | |
| context | No | Why you are calling this tool, in 15 to 25 words, third person. Say what the user is trying to do. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| status | Yes |