aide_observer_end_session
Marks an approved observer session as ended after a HALT prompt, without deleting logs; later reports are flagged, and observation restarts through the observer start action.
Instructions
End another open session of this project, only after the user has approved it. Use it when aide_observer_start answers HALT and the user chooses to end the session it names: pass sessionId exactly as the HALT line gave it — an observer session id, or the Claude session id of a session that never reported (written claude:<id> in the HALT; pass the id without the claude: prefix). Ending only writes a mark that the session has ended: it deletes no log, presence or project file. A later report from the ended session is still recorded and flagged as previously ended; the session reopens only through aide_observer_start, and only while it is the project's most recent session. It never ends the caller's own session, nor an earlier session of the caller's own conversation. Replies are one line: ended <id>, already ended <id> (also for a session whose transcript shows it closed, which gets a transcript mark), refused: <id> is this session, refused: no session <id> in this project, refused: invalid session id, or not ended (<reason>) when the disk could not be written. After ended, call aide_observer_start again.
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": "aide_observer_end_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes |