save_token_handoff
Build a zero-LLM handoff snapshot from a transcript and selected state, persist chosen keys to SQLite kv_memory, and write a compact Markdown file to start a fresh chat.
Instructions
Build a zero-LLM session handoff snapshot: optionally extracts prompts/touched files/errors from a transcript, persists chosen state keys into SQLite kv_memory, and writes a compact .md file for starting a fresh chat.
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": {
"title": "<title>"
},
"name": "save_token_handoff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | Current primary goal. | |
| title | Yes | Short title for the handoff snapshot. | |
| project | No | Optional project name or path. | |
| maxChars | No | Max characters for handoff Markdown (800..6000). | |
| decisions | No | Key technical decisions. | |
| nextSteps | No | Ordered remaining next steps. | |
| openRisks | No | Open issues or caveats. | |
| saveStateKeys | No | Keys from `state` to persist into kv_memory. | |
| conversationId | No | Optional Antigravity conversationId to extract recent user prompts, touched files, and errors. | |
| transcriptPath | No | Optional explicit path to transcript_full.jsonl. |