refine_session_turns
Converts verbose session logs into refined turn summaries, writing structured output to a file. Limit by turn count or specific IDs for focused memory refinement.
Instructions
Read a session wire.jsonl and generate Refined Turn Summaries. Output is written to refined/.jsonl.
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": "refine_session_turns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Optional limit: refine only the most recent N turns | |
| turnIds | No | Optional list of turnIds to refine | |
| sessionId | No | Session identifier (default: current session) | |
| session_id | No | Alias for sessionId |