task_handoff
Record work status—completed steps, stopping point, decisions, and next action—so the next session or agent resumes without losing context. Keeps the run lease alive or releases the task.
Instructions
Record where the work stands for the next session: done, where it stopped, decisions, next step. The latest handoff is current; task_start returns it. Keeps your run lease alive; with release, ends your run instead and leaves the task open for another agent.
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>",
"note": "<note>"
},
"name": "task_handoff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | Where the work stands: done, where it stopped, decisions, next step. | |
| release | No | Also end your run and leave the task open, so another agent can task_start it now. Use it when the user hands the task to another agent. | |
| task_id | Yes | Canonical UUIDv7 task identifier. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | ||
| error | No | ||
| released_run | No | ||
| schema_version | Yes |