Frame breakdown
game_framesInspect recent frame timings, draw calls, and main-thread stalls to explain stutter and catch-up steps in 2D web games; headless mode reflects stepping, not real play.
Instructions
Recent frames, oldest first: intervalMs (what the player feels), updateMs, renderMs, steps (>1 means catching up), quads, drawCalls and longTaskMs (browser-reported main-thread stalls). Use it to explain stutter; in headless mode times reflect stepping, not real play.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "game_frames"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Default 60. |