Close a session
close_sessionWrites a human-readable markdown digest of completed work and open threads for the session, so you can review what happened after it ends.
Instructions
Call this when the work is done or the conversation is ending. Writes a human-readable digest to .diffmind/digests/.md that the user can read to catch up on what happened.
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": {
"sessionId": "<sessionId>",
"summary": "<summary>",
"openThreads": "<openThreads>"
},
"name": "close_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | Yes | Narrative wrap-up: what was accomplished, in plain English. This is what the human reads first. Write it for them, not for you. | |
| sessionId | Yes | The id returned by start_session. | |
| openThreads | Yes | Things left undone — bugs not fixed, features not implemented, assumptions not validated. Honest accounting, not spin. |