retroarch_reset
Perform a hard reset on the currently running game, equivalent to pressing the console's reset button.
Instructions
Hard-reset the running game (equivalent to pressing the console's reset button).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools.ts:112-115 (registration)Tool definition (name, description, schema) registered in the TOOLS array for retroarch_reset
{ name: "retroarch_reset", description: "Hard-reset the running game (equivalent to pressing the console's reset button).", inputSchema: { type: "object", properties: {} }, - src/tools.ts:229-229 (handler)Handler case in CallToolRequestSchema switch — calls ra.reset() and returns 'Game reset'
case "retroarch_reset": await ra.reset(); return ok("Game reset"); - src/retroarch.ts:193-193 (helper)RetroArchClient.reset() method — sends 'RESET' UDP command (fire-and-forget)
async reset(): Promise<void> { await this.send("RESET"); }