session_snapshot
Serialize a session's portable state (free-cell values and define-specs) to reconstruct an equivalent session on resume, excluding computed-cell cache.
Instructions
Serialize a session's portable state (issue #6): current free-cell values plus define-specs. Does NOT include computed-cell cache -- those re-derive from define() on resume. Hand the returned document to session_resume, possibly on a different math-grapher process, to reconstruct an equivalent session.
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": {
"sessionId": "<sessionId>"
},
"name": "session_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes |