session_end
Close the current session and automatically summarize observations, ensuring knowledge persists for later use.
Instructions
End the current session and trigger automatic summarization to persist knowledge.
AUTOMATIC TRIGGERS - Call this when:
User indicates they're done with current work ("done", "finished", "ending session")
Session goal has been achieved
About to start unrelated work
You're wrapping up a task or research phase
ALWAYS CALL THIS when ending work to ensure session knowledge is not lost. This automatically generates a compressed summary of all observations.
WORKFLOW POSITION: Last tool to call when finishing work.
PARAMETERS:
session_id: The session to end (track this from session_start)
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 |
|---|---|---|---|
| session_id | Yes |