Finish session
finish_sessionClose an active session by recording its final status (completed, interrupted, or abandoned) and a brief summary of what transpired.
Instructions
Mark a session as finished. Statuses: completed, interrupted, abandoned. Include a short summary of 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>"
},
"name": "finish_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Final session status. Defaults to "completed". | |
| summary | No | ||
| sessionId | Yes | ||
| workspacePath | No | Workspace directory of the project. Defaults to the server working directory. |