inspect_game_state
Evaluate game variables and switches in a running RPG Maker MZ project by executing JavaScript code through Puppeteer remote debugging.
Instructions
Inspect game variables and switches via Puppeteer. Requires game running with --remote-debugging-port.
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": {
"script": "<script>"
},
"name": "inspect_game_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Remote debugging port | |
| script | Yes | JavaScript code to evaluate (e.g. '$gameVariables.value(1)') |