run_playtest
Launch a playtest of your RPG Maker MZ project with options for screenshot timing, new game start, and JavaScript injection. Supports both executable and browser-based execution.
Instructions
Run a playtest of the game. Launches Game.exe if available, otherwise uses browser-based fallback.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectPath": "<projectPath>"
},
"name": "run_playtest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | No | Time to wait before screenshot (ms) | |
| autoClose | No | Automatically close game after screenshot | |
| debugPort | No | Remote debugging port for Puppeteer | |
| projectPath | Yes | ||
| startNewGame | No | Skip title and start new game | |
| postLaunchScript | No | JavaScript code to execute after game launch (e.g. input injection) |