Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(replay): point session-summary nudges to replay vision (#62727)

Kim Svatos Dugan4ad0c52ff871
diff --git a/products/replay/mcp/tools.yaml b/products/replay/mcp/tools.yaml
index eecf14dd261a..d505e52916f2 100644
--- a/products/replay/mcp/tools.yaml
+++ b/products/replay/mcp/tools.yaml
@@ -48,12 +48,13 @@ tools:
errors, and persons via the `$session_id` property on events. Any `$session_id` value from an event can be
passed as the `id` parameter to this tool. Note: a `$session_id` on an event does not guarantee a recording
exists — session replay may not be enabled for that project or session. A 404 means no recording was
- captured. If the user wants to understand what happened without watching the recording, offer to use
- `session-recording-summarize` (note: very slow, ~5 minutes on average). If a recording is missing (404) or
- the user asks why recordings aren't being captured, diagnose with `execute-sql`: query `$recording_status`,
- `$session_recording_start_reason`, `$replay_sample_rate`, and `$sdk_debug_recording_script_not_loaded` from
- the events table (filter by `$session_id` for a specific session, or sample recent events for project-wide
- issues).
+ captured. If the user wants to understand what happened without watching the recording, check
+ `vision-observations-list` for an existing Replay Vision AI summary, or run a summarizer scanner via
+ `vision-scanners-scan-session` (see the investigating-replay skill; scanning is slow). If a recording is
+ missing (404) or the user asks why recordings aren't being captured, diagnose with `execute-sql`: query
+ `$recording_status`, `$session_recording_start_reason`, `$replay_sample_rate`, and
+ `$sdk_debug_recording_script_not_loaded` from the events table (filter by `$session_id` for a specific
+ session, or sample recent events for project-wide issues).
ui_app: session-recording
session-recording-playlist-create:
operation: session_recording_playlists_create
@@ -160,7 +161,9 @@ tools:
`has_exceptions=true`, `outcome=failure`, or a `session_ids` narrowing (e.g. the IDs returned by
`query-session-recordings-list`). Returns lightweight rows without the full summary JSON — use
`session-recording-summary-get` for the per-segment / per-action detail. This reads persisted summaries
- only; it does not trigger generation, so a session with no stored summary simply won't appear.
+ only; it does not trigger generation, so a session with no stored summary simply won't appear. Note: this
+ reads the legacy session-summary store, which is being retired — for new summaries the forward path is
+ Replay Vision summarizer scanners (`vision-observations-list` / `vision-scanners-observations-list`).
session-recording-summary-get:
operation: single_session_summaries_retrieve
enabled: true
@@ -177,8 +180,9 @@ tools:
Returns the full summary JSON — segments with a named timeline, per-action abandonment / confusion /
exception flags, segment outcomes, the headline `session_outcome`, and optional sentiment — plus
`exception_event_ids`, the `extra_summary_context` used at generation time, and `run_metadata` (LLM model,
- whether visual confirmation was applied). 404 if no summary has been generated for the session yet — to
- create one, use `session-recording-summarize` (slow, ~5 min) rather than this read endpoint.
+ whether visual confirmation was applied). 404 if no summary has been generated for the session yet. This
+ reads the legacy session-summary store, which is being retired — to create a new summary, use a Replay
+ Vision summarizer scanner via `vision-scanners-scan-session` rather than this read endpoint.
session-recordings-list:
operation: session_recordings_list
enabled: false
diff --git a/products/replay/skills/finding-replay-for-issue/SKILL.md b/products/replay/skills/finding-replay-for-issue/SKILL.md
index dedabfd73d81..fb8a55df9986 100644
--- a/products/replay/skills/finding-replay-for-issue/SKILL.md
+++ b/products/replay/skills/finding-replay-for-issue/SKILL.md
@@ -17,13 +17,15 @@ or duplicate occurrences. This skill picks the most useful one.
## Available tools
-| Tool | Purpose |
-| --------------------------------------- | ----------------------------------------------------- |
-| `posthog:query-error-tracking-issue` | Get issue details (fingerprint, status, volume) |
-| `posthog:execute-sql` | Query exception events to find linked sessions |
-| `posthog:query-session-recordings-list` | Fetch recording metadata for candidate sessions |
-| `posthog:session-recording-get` | Get full details for the selected recording |
-| `posthog:session-recording-summarize` | AI summary of the selected recording (optional, slow) |
+| Tool | Purpose |
+| --------------------------------------- | ---------------------------------------------------------- |
+| `posthog:query-error-tracking-issue` | Get issue details (fingerprint, status, volume) |
+| `posthog:execute-sql` | Query exception events to find linked sessions |
+| `posthog:query-session-recordings-list` | Fetch recording metadata for candidate sessions |
+| `posthog:session-recording-get` | Get full details for the selected recording |
+| `posthog:vision-observations-list` | Check for an existing Replay Vision AI summary |
+| `posthog:vision-scanners-list` | Find summarizer scanners (`scanner_type=summarizer`) |
+| `posthog:vision-scanners-scan-session` | Run a summarizer scanner on the recording (optional, slow) |
## Workflow
@@ -116,19 +118,47 @@ Present to the user:
derived from the events query in step 2 (the `url` and `first_seen` columns)
- **Error frequency** — how many times the error occurred in this session
-### Optional: AI summary
+### Optional: AI summary via Replay Vision
-If the user wants a narrative summary without watching:
+If the user wants a narrative summary without watching, use Replay Vision —
+"check-then-scan", since a scanner can only observe a given session once.
-```json
-posthog:session-recording-summarize
-{
- "session_ids": ["<best_recording_id>"],
- "focus_area": "<error description or type>"
-}
-```
+1. **Check for an existing summary** on the selected recording:
+
+ ```json
+ posthog:vision-observations-list
+ {
+ "session_id": "<best_recording_id>"
+ }
+ ```
+
+ If an observation has `scanner_snapshot.scanner_type` `summarizer` and
+ `status` `succeeded`, read `scanner_result.model_output` (`title`, `summary`,
+ `intent`, `outcome`, `friction_points`, `keywords`) — done.
+
+2. **Find a summarizer scanner** if none exists:
+
+ ```json
+ posthog:vision-scanners-list
+ {
+ "scanner_type": "summarizer"
+ }
+ ```
+
+ One → use it. More than one → ask the user which (show name + prompt). None →
+ offer to create one via the `creating-replay-vision-scanners` skill.
+
+3. **Scan the recording** with the chosen scanner (async, several minutes):
+
+ ```json
+ posthog:vision-scanners-scan-session
+ {
+ "id": "<scanner_id>",
+ "session_id": "<best_recording_id>"
+ }
+ ```
-Warn that this takes ~5 minutes for first-time summaries.
+4. **Retrieve** by polling `vision-observations-list` until `succeeded`.
## Tips
@@ -138,6 +168,7 @@ Warn that this takes ~5 minutes for first-time summaries.
what's available with a note about the small sample.
- If `$session_id` is null on many exception events, session replay may not be enabled
for the affected users. Mention this as a possible gap.
-- The `focus_area` parameter on `session-recording-summarize` is powerful here —
- pass the exception type or message so the summary focuses on the error context
- rather than the entire session.
+- Replay Vision has no per-call focus parameter — a summarizer scanner's focus
+ comes from its own prompt. For error-focused summaries, prefer (or create) a
+ summarizer scanner whose prompt targets error/exception context rather than the
+ whole session.
diff --git a/products/replay/skills/investigating-replay/SKILL.md b/products/replay/skills/investigating-replay/SKILL.md
index 607d002281fa..d2d76b76ecab 100644
--- a/products/replay/skills/investigating-replay/SKILL.md
+++ b/products/replay/skills/investigating-replay/SKILL.md
@@ -18,13 +18,17 @@ ask for each piece.
## Available tools
-| Tool | Purpose |
-| ------------------------------------------ | ------------------------------------------------ |
-| `posthog:session-recording-get` | Recording metadata (duration, counts, status) |
-| `posthog:persons-retrieve` | Person profile (properties, distinct IDs) |
-| `posthog:execute-sql` | Query events, errors, and page views in session |
-| `posthog:query-error-tracking-issues-list` | Find error tracking issues linked to the session |
-| `posthog:session-recording-summarize` | AI-generated summary (slow, ~5 min, optional) |
+| Tool | Purpose |
+| ------------------------------------------ | -------------------------------------------------------- |
+| `posthog:session-recording-get` | Recording metadata (duration, counts, status) |
+| `posthog:persons-retrieve` | Person profile (properties, distinct IDs) |
+| `posthog:execute-sql` | Query events, errors, and page views in session |
+| `posthog:query-error-tracking-issues-list` | Find error tracking issues linked to the session |
+| `posthog:vision-observations-list` | Check for an existing Replay Vision AI summary |
+| `posthog:vision-scanners-list` | Find summarizer scanners (`scanner_type=summarizer`) |
+| `posthog:vision-scanners-scan-session` | Run a summarizer scanner on the session (slow, optional) |
+| `posthog:vision-scanners-create` | Create a temporary summarizer scanner (ask first) |
+| `posthog:vision-scanners-delete` | Delete a temporary scanner after summarizing |
## Workflow
@@ -126,17 +130,98 @@ Present the findings as a coherent narrative:
4. **Related issues** — linked error tracking issues with their status (active/resolved)
5. **Context** — session duration, device/browser, activity score
-### Optional: AI summary
+### Optional: AI summary via Replay Vision
If the user wants a deeper analysis without reading through events manually,
-offer `session-recording-summarize`. Warn that first-time summaries take ~5 minutes:
-
-```json
-posthog:session-recording-summarize
-{
- "session_ids": ["<session_id>"]
-}
-```
+offer a Replay Vision summary. Follow "check-then-scan" — don't scan blindly,
+a scanner can only observe a given session once.
+
+1. **Check for an existing summary.** A scheduled scanner may already have one:
+
+ ```json
+ posthog:vision-observations-list
+ {
+ "session_id": "<session_id>"
+ }
+ ```
+
+ Look for an observation where `scanner_snapshot.scanner_type` is `summarizer`
+ and `status` is `succeeded`. If found, read `scanner_result.model_output`
+ (`title`, `summary`, `intent`, `outcome`, `friction_points`, `keywords`) — done,
+ no new scan needed.
+
+2. **Find a summarizer scanner** if none exists yet:
+
+ ```json
+ posthog:vision-scanners-list
+ {
+ "scanner_type": "summarizer"
+ }
+ ```
+
+ - Exactly one → use it.
+ - More than one → show the user the scanners (name + prompt) and ask which to use.
+ - None → no summarizer scanner exists. See
+ **No summarizer scanner? Run a temporary one** below.
+
+3. **Scan the session** with the chosen scanner. Warn this is async and takes
+ several minutes (rasterize + LLM):
+
+ ```json
+ posthog:vision-scanners-scan-session
+ {
+ "id": "<scanner_id>",
+ "session_id": "<session_id>"
+ }
+ ```
+
+4. **Retrieve the result** by polling `vision-observations-list` (step 1) until
+ the new observation reaches `succeeded`.
+
+### No summarizer scanner? Run a temporary one
+
+If the project has no summarizer scanner, you can still produce a one-off summary
+with a throwaway scanner — but **ask the user's permission before creating anything**.
+
+1. **Ask permission** to create a temporary summarizer scanner just to summarize
+ this one session.
+
+2. **Create it disabled** so it never sweeps on a schedule — a disabled scanner
+ only runs when you trigger it on demand, so it won't touch other sessions or
+ burn quota in the background:
+
+ ```json
+ posthog:vision-scanners-create
+ {
+ "name": "Temporary on-demand summary",
+ "scanner_type": "summarizer",
+ "scanner_config": {
+ "prompt": "Summarize what the user was trying to do, whether they succeeded, and any friction they hit."
+ },
+ "query": { "kind": "RecordingsQuery" },
+ "model": "gemini-3-flash-preview",
+ "enabled": false
+ }
+ ```
+
+3. **Scan this session on demand** with the new scanner, then poll for the result:
+
+ ```json
+ posthog:vision-scanners-scan-session
+ {
+ "id": "<new_scanner_id>",
+ "session_id": "<session_id>"
+ }
+ ```
+
+ Poll `vision-observations-list` until the observation reaches `succeeded` and
+ read `scanner_result.model_output`.
+
+4. **Ask whether to keep or delete the scanner.** Once you have the observation,
+ ask the user if they want to keep the temporary scanner or delete it with
+ `vision-scanners-delete`. Deleting is safe: the summary you just read is also
+ emitted as an event that persists after the scanner is gone, so cleaning up the
+ temporary scanner does not lose the result.
## Tips
diff --git a/services/mcp/schema/generated-tool-definitions.json b/services/mcp/schema/generated-tool-definitions.json
index 9b190415950c..09515c53c025 100644
--- a/services/mcp/schema/generated-tool-definitions.json
+++ b/services/mcp/schema/generated-tool-definitions.json
@@ -5025,7 +5025,7 @@
}
},
"session-recording-get": {
- "description": "Get a specific session recording by ID. Returns full recording metadata including duration, interaction counts, console log counts, person info, and viewing status. Session recordings are reachable from events, errors, and persons via the `$session_id` property on events. Any `$session_id` value from an event can be passed as the `id` parameter to this tool. Note: a `$session_id` on an event does not guarantee a recording exists — session replay may not be enabled for that project or session. A 404 means no recording was captured. If the user wants to understand what happened without watching the recording, offer to use `session-recording-summarize` (note: very slow, ~5 minutes on average). If a recording is missing (404) or the user asks why recordings aren't being captured, diagnose with `execute-sql`: query `$recording_status`, `$session_recording_start_reason`, `$replay_sample_rate`, and `$sdk_debug_recording_script_not_loaded` from the events table (filter by `$session_id` for a specific session, or sample recent events for project-wide issues).",
+ "description": "Get a specific session recording by ID. Returns full recording metadata including duration, interaction counts, console log counts, person info, and viewing status. Session recordings are reachable from events, errors, and persons via the `$session_id` property on events. Any `$session_id` value from an event can be passed as the `id` parameter to this tool. Note: a `$session_id` on an event does not guarantee a recording exists — session replay may not be enabled for that project or session. A 404 means no recording was captured. If the user wants to understand what happened without watching the recording, check `vision-observations-list` for an existing Replay Vision AI summary, or run a summarizer scanner via `vision-scanners-scan-session` (see the investigating-replay skill; scanning is slow). If a recording is missing (404) or the user asks why recordings aren't being captured, diagnose with `execute-sql`: query `$recording_status`, `$session_recording_start_reason`, `$replay_sample_rate`, and `$sdk_debug_recording_script_not_loaded` from the events table (filter by `$session_id` for a specific session, or sample recent events for project-wide issues).",
"category": "Session replays",
"feature": "replay",
"summary": "Get session recording",
@@ -5095,7 +5095,7 @@
}
},
"session-recording-summaries-list": {
- "description": "List stored AI-generated session summaries for the project, one row per session (latest summary kept). Use to discover which sessions have already been summarized and to filter for sessions with specific problems — `has_exceptions=true`, `outcome=failure`, or a `session_ids` narrowing (e.g. the IDs returned by `query-session-recordings-list`). Returns lightweight rows without the full summary JSON — use `session-recording-summary-get` for the per-segment / per-action detail. This reads persisted summaries only; it does not trigger generation, so a session with no stored summary simply won't appear.",
+ "description": "List stored AI-generated session summaries for the project, one row per session (latest summary kept). Use to discover which sessions have already been summarized and to filter for sessions with specific problems — `has_exceptions=true`, `outcome=failure`, or a `session_ids` narrowing (e.g. the IDs returned by `query-session-recordings-list`). Returns lightweight rows without the full summary JSON — use `session-recording-summary-get` for the per-segment / per-action detail. This reads persisted summaries only; it does not trigger generation, so a session with no stored summary simply won't appear. Note: this reads the legacy session-summary store, which is being retired — for new summaries the forward path is Replay Vision summarizer scanners (`vision-observations-list` / `vision-scanners-observations-list`).",
"category": "Session replays",
"feature": "replay",
"summary": "List session summaries",
@@ -5109,7 +5109,7 @@
}
},
"session-recording-summary-get": {
- "description": "Get the latest stored AI summary for a single session by `session_id` (any `$session_id` from an event). Returns the full summary JSON — segments with a named timeline, per-action abandonment / confusion / exception flags, segment outcomes, the headline `session_outcome`, and optional sentiment — plus `exception_event_ids`, the `extra_summary_context` used at generation time, and `run_metadata` (LLM model, whether visual confirmation was applied). 404 if no summary has been generated for the session yet — to create one, use `session-recording-summarize` (slow, ~5 min) rather than this read endpoint.",
+ "description": "Get the latest stored AI summary for a single session by `session_id` (any `$session_id` from an event). Returns the full summary JSON — segments with a named timeline, per-action abandonment / confusion / exception flags, segment outcomes, the headline `session_outcome`, and optional sentiment — plus `exception_event_ids`, the `extra_summary_context` used at generation time, and `run_metadata` (LLM model, whether visual confirmation was applied). 404 if no summary has been generated for the session yet. This reads the legacy session-summary store, which is being retired — to create a new summary, use a Replay Vision summarizer scanner via `vision-scanners-scan-session` rather than this read endpoint.",
"category": "Session replays",
"feature": "replay",
"summary": "Get session summary",
diff --git a/services/mcp/schema/tool-definitions-all.json b/services/mcp/schema/tool-definitions-all.json
index ac521cb4bbf9..97e19b184895 100644
--- a/services/mcp/schema/tool-definitions-all.json
+++ b/services/mcp/schema/tool-definitions-all.json
@@ -5350,7 +5350,7 @@
}
},
"session-recording-get": {
- "description": "Get a specific session recording by ID. Returns full recording metadata including duration, interaction counts, console log counts, person info, and viewing status. Session recordings are reachable from events, errors, and persons via the `$session_id` property on events. Any `$session_id` value from an event can be passed as the `id` parameter to this tool. Note: a `$session_id` on an event does not guarantee a recording exists — session replay may not be enabled for that project or session. A 404 means no recording was captured. If the user wants to understand what happened without watching the recording, offer to use `session-recording-summarize` (note: very slow, ~5 minutes on average). If a recording is missing (404) or the user asks why recordings aren't being captured, diagnose with `execute-sql`: query `$recording_status`, `$session_recording_start_reason`, `$replay_sample_rate`, and `$sdk_debug_recording_script_not_loaded` from the events table (filter by `$session_id` for a specific session, or sample recent events for project-wide issues).",
+ "description": "Get a specific session recording by ID. Returns full recording metadata including duration, interaction counts, console log counts, person info, and viewing status. Session recordings are reachable from events, errors, and persons via the `$session_id` property on events. Any `$session_id` value from an event can be passed as the `id` parameter to this tool. Note: a `$session_id` on an event does not guarantee a recording exists — session replay may not be enabled for that project or session. A 404 means no recording was captured. If the user wants to understand what happened without watching the recording, check `vision-observations-list` for an existing Replay Vision AI summary, or run a summarizer scanner via `vision-scanners-scan-session` (see the investigating-replay skill; scanning is slow). If a recording is missing (404) or the user asks why recordings aren't being captured, diagnose with `execute-sql`: query `$recording_status`, `$session_recording_start_reason`, `$replay_sample_rate`, and `$sdk_debug_recording_script_not_loaded` from the events table (filter by `$session_id` for a specific session, or sample recent events for project-wide issues).",
"category": "Session replays",
"feature": "replay",
"summary": "Get session recording",
@@ -5420,7 +5420,7 @@
}
},
"session-recording-summaries-list": {
- "description": "List stored AI-generated session summaries for the project, one row per session (latest summary kept). Use to discover which sessions have already been summarized and to filter for sessions with specific problems — `has_exceptions=true`, `outcome=failure`, or a `session_ids` narrowing (e.g. the IDs returned by `query-session-recordings-list`). Returns lightweight rows without the full summary JSON — use `session-recording-summary-get` for the per-segment / per-action detail. This reads persisted summaries only; it does not trigger generation, so a session with no stored summary simply won't appear.",
+ "description": "List stored AI-generated session summaries for the project, one row per session (latest summary kept). Use to discover which sessions have already been summarized and to filter for sessions with specific problems — `has_exceptions=true`, `outcome=failure`, or a `session_ids` narrowing (e.g. the IDs returned by `query-session-recordings-list`). Returns lightweight rows without the full summary JSON — use `session-recording-summary-get` for the per-segment / per-action detail. This reads persisted summaries only; it does not trigger generation, so a session with no stored summary simply won't appear. Note: this reads the legacy session-summary store, which is being retired — for new summaries the forward path is Replay Vision summarizer scanners (`vision-observations-list` / `vision-scanners-observations-list`).",
"category": "Session replays",
"feature": "replay",
"summary": "List session summaries",
@@ -5434,7 +5434,7 @@
}
},
"session-recording-summarize": {
- "description": "Generate an AI-powered summary of one or more session recordings. Returns structured analysis including user journey segments, key actions, segment outcomes, overall session outcome, and sentiment analysis (frustration score, rage clicks, confusion signals). Use this instead of asking users to watch full recordings — it provides the key insights in seconds. Accepts up to 300 session IDs and an optional focus_area to guide the summary toward a specific aspect (e.g., \"checkout flow\" or \"error handling\"). The response is a dict keyed by session ID. Successful entries contain the summary fields; failed entries contain an `error` (e.g. `no_events_or_too_short`, `summary_failed`) and an `error_message` so callers can distinguish \"skipped on purpose\" from \"tool broke\". A bad session ID in the batch is reported as a per-session error and does not fail the whole request. WARNING: First-time summaries call an AI model and are very slow — expect around 5 minutes on average. Previously generated summaries are cached and return instantly. Warn the user about the wait before calling this tool.\n\nDEEP LINKS: Key actions include `session_id` and `milliseconds_since_start`. Build deep links as `{posthog_base_url}/replay/{session_id}?t={milliseconds_since_start / 1000}` (the `?t=` parameter is in seconds). Example: 45000ms in session abc123 → `/replay/abc123?t=45`. Always include these links for key actions and frustration signals.",
+ "description": "Generate an AI-powered summary of one or more session recordings. Returns structured analysis including user journey segments, key actions, segment outcomes, overall session outcome, and sentiment analysis (frustration score, rage clicks, confusion signals). This is the legacy summary path, being retired in favor of Replay Vision summarizer scanners — prefer those (`vision-observations-list` to read an existing summary, `vision-scanners-scan-session` to run one) and use this tool only if the user doesn't have Replay Vision enabled (it's in beta). It provides the key insights in seconds without watching the full recording. Accepts up to 300 session IDs and an optional focus_area to guide the summary toward a specific aspect (e.g., \"checkout flow\" or \"error handling\"). The response is a dict keyed by session ID. Successful entries contain the summary fields; failed entries contain an `error` (e.g. `no_events_or_too_short`, `summary_failed`) and an `error_message` so callers can distinguish \"skipped on purpose\" from \"tool broke\". A bad session ID in the batch is reported as a per-session error and does not fail the whole request. WARNING: First-time summaries call an AI model and are very slow — expect around 5 minutes on average. Previously generated summaries are cached and return instantly. Warn the user about the wait before calling this tool.\n\nDEEP LINKS: Key actions include `session_id` and `milliseconds_since_start`. Build deep links as `{posthog_base_url}/replay/{session_id}?t={milliseconds_since_start / 1000}` (the `?t=` parameter is in seconds). Example: 45000ms in session abc123 → `/replay/abc123?t=45`. Always include these links for key actions and frustration signals.",
"category": "Session replays",
"feature": "replay",
"summary": "Generate AI-powered summaries of session recordings via streaming.",
@@ -5450,7 +5450,7 @@
}
},
"session-recording-summary-get": {
- "description": "Get the latest stored AI summary for a single session by `session_id` (any `$session_id` from an event). Returns the full summary JSON — segments with a named timeline, per-action abandonment / confusion / exception flags, segment outcomes, the headline `session_outcome`, and optional sentiment — plus `exception_event_ids`, the `extra_summary_context` used at generation time, and `run_metadata` (LLM model, whether visual confirmation was applied). 404 if no summary has been generated for the session yet — to create one, use `session-recording-summarize` (slow, ~5 min) rather than this read endpoint.",
+ "description": "Get the latest stored AI summary for a single session by `session_id` (any `$session_id` from an event). Returns the full summary JSON — segments with a named timeline, per-action abandonment / confusion / exception flags, segment outcomes, the headline `session_outcome`, and optional sentiment — plus `exception_event_ids`, the `extra_summary_context` used at generation time, and `run_metadata` (LLM model, whether visual confirmation was applied). 404 if no summary has been generated for the session yet. This reads the legacy session-summary store, which is being retired — to create a new summary, use a Replay Vision summarizer scanner via `vision-scanners-scan-session` rather than this read endpoint.",
"category": "Session replays",
"feature": "replay",
"summary": "Get session summary",
diff --git a/services/mcp/schema/tool-definitions.json b/services/mcp/schema/tool-definitions.json
index cc68742ff0fd..bc0c3c8737ec 100644
--- a/services/mcp/schema/tool-definitions.json
+++ b/services/mcp/schema/tool-definitions.json
@@ -409,7 +409,7 @@
}
},
"session-recording-summarize": {
- "description": "Generate an AI-powered summary of one or more session recordings. Returns structured analysis including user journey segments, key actions, segment outcomes, overall session outcome, and sentiment analysis (frustration score, rage clicks, confusion signals). Use this instead of asking users to watch full recordings — it provides the key insights in seconds. Accepts up to 300 session IDs and an optional focus_area to guide the summary toward a specific aspect (e.g., \"checkout flow\" or \"error handling\"). The response is a dict keyed by session ID. Successful entries contain the summary fields; failed entries contain an `error` (e.g. `no_events_or_too_short`, `summary_failed`) and an `error_message` so callers can distinguish \"skipped on purpose\" from \"tool broke\". A bad session ID in the batch is reported as a per-session error and does not fail the whole request. WARNING: First-time summaries call an AI model and are very slow — expect around 5 minutes on average. Previously generated summaries are cached and return instantly. Warn the user about the wait before calling this tool.\n\nDEEP LINKS: Key actions include `session_id` and `milliseconds_since_start`. Build deep links as `{posthog_base_url}/replay/{session_id}?t={milliseconds_since_start / 1000}` (the `?t=` parameter is in seconds). Example: 45000ms in session abc123 → `/replay/abc123?t=45`. Always include these links for key actions and frustration signals.",
+ "description": "Generate an AI-powered summary of one or more session recordings. Returns structured analysis including user journey segments, key actions, segment outcomes, overall session outcome, and sentiment analysis (frustration score, rage clicks, confusion signals). This is the legacy summary path, being retired in favor of Replay Vision summarizer scanners — prefer those (`vision-observations-list` to read an existing summary, `vision-scanners-scan-session` to run one) and use this tool only if the user doesn't have Replay Vision enabled (it's in beta). It provides the key insights in seconds without watching the full recording. Accepts up to 300 session IDs and an optional focus_area to guide the summary toward a specific aspect (e.g., \"checkout flow\" or \"error handling\"). The response is a dict keyed by session ID. Successful entries contain the summary fields; failed entries contain an `error` (e.g. `no_events_or_too_short`, `summary_failed`) and an `error_message` so callers can distinguish \"skipped on purpose\" from \"tool broke\". A bad session ID in the batch is reported as a per-session error and does not fail the whole request. WARNING: First-time summaries call an AI model and are very slow — expect around 5 minutes on average. Previously generated summaries are cached and return instantly. Warn the user about the wait before calling this tool.\n\nDEEP LINKS: Key actions include `session_id` and `milliseconds_since_start`. Build deep links as `{posthog_base_url}/replay/{session_id}?t={milliseconds_since_start / 1000}` (the `?t=` parameter is in seconds). Example: 45000ms in session abc123 → `/replay/abc123?t=45`. Always include these links for key actions and frustration signals.",
"category": "Session replays",
"feature": "replay",
"summary": "Generate AI-powered summaries of session recordings via streaming.",