Mcps
Mcps
Tool
Export Frames To Json
export_frames_to_jsonExport frames from an open demo as JSON Lines (one frame per line) to a file in DEMO_PATH. Each line is a raw DecodedServerMessage: sequence number, server_time, operations (snapshots, configstrings, server commands, etc.). Use from_frame/from_server_time to set the start, to_frame/to_server_time to set the end, and limit to cap the output. Returns the output path and the number of frames written.
Pricing
Per call
$0.02
Model
time-based
Pay only for what you use. No subscriptions.
Inputs
to_server_time
integernullto_frame
integernulllimit
integernulloutput_filename
stringnullfrom_server_time
integernullsession_id *
stringfrom_frame
integernullTry It
API
MCP Config
Input Parameters
Stop after this server time in milliseconds (inclusive upper bound)
Stop before this frame index (exclusive, 0-based)
Maximum number of frames to write
Output filename written to DEMO_PATH (default: <demo>_frames.jsonl). Use .jsonl extension.
Start at this server time in milliseconds; frames before it are skipped
Analysis session ID (returned by open_demo)
Start at this frame index (0-based); frames before it are skipped

