Save a session transcript
save_sessionAdds a session transcript to the project's memory buffer, redacts secrets, and saves only new records for recall of past decisions and context.
Instructions
Add a session transcript (Claude Code or Codex JSONL, or JSONL of {role, content, timestamp}) to this project's memory buffer. Secrets are redacted first. The buffer is written to wallet memory once it passes about 70K tokens; the reply says what was buffered and what was saved. Safe to call twice on one file: only new records are added.
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": {
"transcript_path": "<transcript_path>"
},
"name": "save_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transcript_path | Yes | Absolute path to the JSONL file. |