xpay tools logo
  • Tools
  • Collections
  • Skills
  • Docs
  • xpay.sh
  1. Home
  2. ›
  3. Mcps
  4. ›
  5. Export Frames To Json

Mcps
Mcps
Tool

Export Frames To Json

export_frames_to_json

Export 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

integernull

to_frame

integernull

limit

integernull

output_filename

stringnull

from_server_time

integernull

session_id *

string

from_frame

integernull
Try It
API
MCP Config
Input Parameters
to_server_time
Stop after this server time in milliseconds (inclusive upper bound)
to_frame
Stop before this frame index (exclusive, 0-based)
limit
Maximum number of frames to write
output_filename
Output filename written to DEMO_PATH (default: <demo>_frames.jsonl). Use .jsonl extension.
from_server_time
Start at this server time in milliseconds; frames before it are skipped
session_id *
Analysis session ID (returned by open_demo)
from_frame
Start at this frame index (0-based); frames before it are skipped
Cost per run
Execution cost
$0.02
Deducted from your xPay allowance
xpay tools logo

Marketplace for AI Capabilities. Run agents, tools & prompts with pay-per-use micropayments.

or ask your AI app
Popular Tools
FirecrawlTavilyExaHunterPerplexityRecraftIdeogramFlux
Collections
AI Image & MediaContent & ResearchDev ToolsFinanceLead GenWeb ScrapingCompetitive Intel
Developers
DocumentationAPI ReferenceQuickstartSDKsSkillsskill.mdllms.txt
Resources
The Agentic EconomyAgentic CommerceAgent Frameworksx402 ProtocolBlog
Company
About xpayxpay.shGitHubDiscordTwitter / X

© 2026 Agentically Inc. All rights reserved.
Privacy PolicyTerms of Service