REC 00:00:00;00
screencast-mcp Tools Workflows Connect GitHub ↗

SCREENCAST-MCP / TOOLS / CAPTURE

Save Replay

save_replay

Save the last N seconds of a replay buffer (start_recording replayBufferSec) to an mp4; the buffer keeps running.

capturewritesdestructivesince v0.45.0

00:00PARAMETERS
NameTypeDescription
sessionId requiredstringSession id of a replay buffer.
lastSecnumberSeconds back from now (default and max: the buffer length). > 0, ≤ 3600
outputstringOutput .mp4 path (default under SCREENCAST_HOME/recordings).
overwritebooleanAllow replacing an existing file at the output path (default false).
reencodebooleanFrame-exact re-encode. Default: instant stream copy that may hide up to 2 s of earlier frames.
00:05A MINIMAL CALL
save_replay { "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:

FieldType
sessionId alwaysstring
outputPath alwaysstring
durationSec alwaysnumber