update_event_command
Replace an existing event command at a given index within an event page to modify game behavior in RPG Maker MZ projects.
Instructions
Update an event command at specified index
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>",
"mapId": "<mapId>",
"eventId": "<eventId>",
"pageIndex": "<pageIndex>",
"commandIndex": "<commandIndex>",
"newCommand": "<newCommand>"
},
"name": "update_event_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapId | Yes | ||
| eventId | Yes | ||
| pageIndex | Yes | ||
| newCommand | Yes | ||
| projectPath | Yes | ||
| commandIndex | Yes |