Skip to content

session_end

Close the current observability session when the task is done (or aborted). Records a closing line, marks the thread ended, and triggers the opt-in end-of-session email to project devs. After this, later MCP calls no longer attach to this session. Idempotent - ending an already-ended session is a no-op. Free (0 credits).

NameTypeDescription
project_uuidstringoptionalProject UUID. Required when multiple projects are configured (SONENTA_PROJECTS); defaults to the single configured project otherwise.
session_idstringoptionalAgent session id returned by session_start. Optional: defaults to this server's active session, so you normally omit it after calling session_start.
summarystringoptionalOptional closing line, e.g. 'Repaired 12 keys, 1 decision pending'.
statusstringoptionalended for a normal finish; aborted if you stopped early. (ended, aborted)
{
"tool": "session_end",
"arguments": {}
}