end_session
Terminate a session to receive a detailed report with friction score, emotional arc, full transcript, Core Web Vitals, accessibility, network summary, and console errors.
Instructions
End a session and get the final report. Closes the browser, computes friction score and emotional arc, and returns the full session transcript with all recorded thoughts, friction points, and recommendations.
v0.3: Report now includes Core Web Vitals, accessibility score, network summary, and console errors.
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": {
"session_id": "<session_id>"
},
"name": "end_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Report format: 'markdown' (default) or 'html' for a rich standalone report with embedded screenshots | |
| summary | No | Your overall summary of the session | |
| session_id | Yes | Session ID to close | |
| goal_achieved | No | Did the persona achieve their goal? |