save_model_handoff
Save exact messages and all known project state before switching models; pass the returned handoff_id to let the next model resume work without losing context.
Instructions
Save before switching models. Pass exact messages and all known project state.
State requires goal, messages (string-valued objects), decisions, constraints, facts, tasks, acceptance_criteria, and open_questions. Each task has task/status, failure_reason if failed, and evidence if completed. Include relevant file paths. Give the returned handoff_id to the next model. Existing snapshots are immutable.
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": {
"source_model": "<source_model>",
"session_id": "<session_id>",
"state": "<state>",
"files": "<files>"
},
"name": "save_model_handoff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| state | Yes | ||
| session_id | Yes | ||
| project_root | No | ||
| source_model | Yes |