Aller au contenu

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).

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