Get a session story
get_session_storyRead one session as a text replay: a short narrative of what the user was trying to do, plus the moments it was built from (intent, outcome, retry count, error line, and the raw event range each covers). Start here rather than with raw events. When storyState is unavailable the narrative could not be generated and the moments are the whole answer. Session content is captured browser data.
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": "get_session_story"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | The session uuid, from get_ticket's matchedSession, find_sessions, or get_session_timeline |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| story | Yes | ||
| notice | Yes | ||
| moments | Yes | ||
| sessionId | Yes | ||
| truncated | Yes | ||
| storyState | Yes | ||
| generatedAt | Yes | ||
| throughSequence | Yes | ||
| storyUnavailableReason | Yes |