retroarch_frame_advance
Advance one frame at a time in retro gaming emulation. Use with pause toggle for frame-by-frame analysis.
Instructions
Step exactly one frame forward. Only effective while paused; pause first with retroarch_pause_toggle.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools.ts:107-111 (registration)Tool definition/registration for retroarch_frame_advance in the TOOLS array with name, description, and empty inputSchema.
{ name: "retroarch_frame_advance", description: "Step exactly one frame forward. Only effective while paused; pause first with `retroarch_pause_toggle`.", inputSchema: { type: "object", properties: {} }, }, - src/tools.ts:228-228 (handler)The switch-case handler that executes retroarch_frame_advance by calling ra.frameAdvance() and returning a success message.
case "retroarch_frame_advance": await ra.frameAdvance(); return ok("Advanced one frame"); - src/retroarch.ts:192-192 (helper)The RetroArchClient.frameAdvance() method that sends the UDP command 'FRAMEADVANCE' via the fire-and-forget send() helper.
async frameAdvance(): Promise<void> { await this.send("FRAMEADVANCE"); }