handoff
Capture task status, progress, decisions, and next steps in a structured packet, enabling the next agent to resume work without re-reading files.
Instructions
Write a structured handoff packet for the next agent session. Call this tool at the end of a session, or before you switch to a different agent. The next agent calls recall to load this packet and continue without re-reading files. This saves 60-85% of tokens compared to re-discovering context.
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": "<task>",
"status": "<status>",
"progress": "<progress>"
},
"name": "handoff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | A one-line description of the task. | |
| files | No | A list of files that matter for this task. Use the format: path:lines - reason. | |
| status | Yes | The current status of the task. | |
| task_id | No | The task ID. Use this to isolate memory by a specific task. Link captures to a task for finer isolation. | |
| team_id | No | The team ID. Use this to isolate memory by team. When set, all queries filter by this value. | |
| user_id | No | The user ID. Use this to isolate memory by user within a team. When set with team_id, queries filter by both. | |
| agent_id | No | The agent ID. Use this to isolate memory by agent role within a team. Defaults to the detected agent. | |
| progress | Yes | A summary of what has been done so far. Include the root cause if this is a bug fix. | |
| decisions | No | A list of decisions made during this session. Include what was chosen and why. | |
| next_steps | No | A list of next steps for the next agent. Order by priority. | |
| session_key | No | The session key. The default is hash(cwd). |