stop_working
End an open work session to record measured time automatically and clear the actively-working flag; optionally add a note or resume context before stopping.
Instructions
Stop working on a task: close your open work session with a UTC end instant, and drop the "actively working" flag (you stay assigned).
THIS IS WHAT LOGS YOUR TIME, and you supply no number. Closing the session writes the task's time entry from the session's measured worked duration — computed by the database from the recorded start and end instants, minus any waiting_on_human pause — and the response tells you the entry it wrote. Do NOT call log_time afterwards: the time is already recorded, and a hand entry on a task that already has measured time is refused. A session shorter than half a minute rounds to zero and logs nothing rather than being rounded up, and the response says so.
Requires an open session — if you have none this FAILS and writes nothing, rather than inventing a session with no start. Call start_working first.
This ENDS the session. If you are only waiting on something and intend to carry on afterwards, use pause_working instead: a pause keeps the session open and records why you stopped, which is what decides whether the interval counts as worked time.
Optionally capture your state on the way out: pass note to append a work note and/or resume_context to overwrite the resume block, so the next session can pick up where you left off.
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": "stop_working"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional work note to append before stopping (what you did, what is next). | |
| task_id | Yes | The ID of the task to stop working on | |
| resume_context | No | Optional resume-context block to overwrite before stopping (current state / next steps / where to look). |