session_end
Record final session state including summary, highlights, pitfalls, and next steps. Optionally auto-compress from transcript to preserve context for future sessions.
Instructions
End-of-session capture: summary + highlights + pitfalls + next_steps so the next session can resume cleanly. Set auto_compress=true to have the LLM generate the missing summary/next_steps/pitfalls from stored session artifacts (or from an optional transcript).
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": {
"session_id": "<session_id>"
},
"name": "session_end"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | general | |
| summary | No | ||
| pitfalls | No | ||
| highlights | No | ||
| next_steps | No | ||
| session_id | Yes | ||
| transcript | No | ||
| auto_compress | No | ||
| open_questions | No |