SCREENCAST-MCP / TOOLS / CAPTURE
Stop Recording
stop_recording
Stop a recording gracefully so the file is finalized; returns the path and duration.
capturewritesidempotentsince v0.2.0
00:00PARAMETERS
| Name | Type | Description |
|---|---|---|
sessionId required | string | Session id returned by start_recording. |
save | boolean | Replay buffer: write it all to outputPath first (default: discard). |
00:05A MINIMAL CALL
stop_recording { "sessionId": "rec-20260101-120000-ab12" }
The required arguments only, with placeholder values. Everything else takes its default.
00:10WHAT COMES BACK
Structured content (structuredContent), alongside a text summary:
| Field | Type |
|---|---|
sessionId always | string |
status always | string |
outputPath always | string |
durationSec always | number | null |
00:15SEEN IN
- REC 01Bug-repro clip for a PRstart_recording → find_text → redact_region → trim → callout → export_gif
- REC 02README demo GIFstart_recording → contact_sheet → export_gif (webp)
- REC 06Zoom toward every clickstart_recording (events) → stop_recording → read_events → zoom (follow clicks, highlightClicks) → export_gif