baton_pass
Record where you stopped so the next agent can continue. Update only the fields you need; merges into existing state and rewrites HANDOFF.md.
Instructions
PASS THE BATON. Record where you're stopping so the next agent/session continues seamlessly. Merges with existing state — pass only the fields you want to update. Rewrites HANDOFF.md.
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": {
"handoffNote": "<handoffNote>"
},
"name": "baton_pass"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| done | No | Completed items (appended) | |
| goal | No | The overall objective | |
| next | No | Concrete next steps (replaces) | |
| task | No | Short title of the work | |
| files | No | Key files as 'path — why it matters' (replaces) | |
| status | No | ||
| project | No | ||
| watchOut | No | Gotchas learned (appended) | |
| handoffNote | Yes | CRITICAL: exactly where you stopped and why — the thing that dies with your context otherwise | |
| openQuestions | No |