Portable Owner-Approved Session Snapshot
session_snapshotCarry an agent session between tools without hedges turning into facts. Send constraints, hedges, facts and trace hashes: get a Merkle root and the message for the owner wallet to sign. Send it back signed (optionally with the previous snapshot) to verify the owner, and to be told if a hedge came back as a fact or a constraint went missing. Holds no key, stores nothing.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "session_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| previous | No | Optional previous snapshot, to get an import diff. | |
| snapshot | No | { session_id, created_at (unix seconds), owner, constraints[], hedges[], facts[], traces[] }. | |
| signature | No | The owner's EIP-712 signature over Snapshot{sessionId,root,itemCount,createdAt}. Omit to get the message to sign. |