update event page settings
update_event_page_settingsPatch RPG Maker MZ event page settings such as conditions, image, movement, flags, priority, and trigger; preview the validated change set first, then apply it when clean.
Instructions
Patch page settings. Fields: conditions {switch1|switch2: switchId|null, variable: {variableId, atLeast}|null, selfSwitch: "A".."D"|null, item: itemId|null, actor: actorId|null}; image {characterName, characterIndex 0-7, direction down|left|right|up, pattern 0-2, tileId}; movement {type fixed|random|approach|custom, speed 1-6, frequency 1-5, route {repeat, skippable, wait, commands}}; walkAnime, stepAnime, directionFix, through (booleans); priority below|same|above; trigger action_button|player_touch|event_touch|autorun|parallel. null disables a condition.
Preview-first: returns a change set (semantic + native diff, validation). Pass apply=true to commit immediately when the preview is clean.
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": {
"mapId": "<mapId>",
"eventId": "<eventId>",
"pageIndex": "<pageIndex>",
"settings": "<settings>"
},
"name": "update_event_page_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | Commit right after a successful preview (non-destructive operations only; needs --allow-write; warnings also need acknowledgeWarnings). Default false = preview only. | |
| mapId | Yes | Map ID (from list_maps) | |
| eventId | Yes | Map event ID | |
| settings | Yes | Settings patch | |
| pageIndex | Yes | ZERO-based page index (Page 1 in the editor = pageIndex 0) | |
| allowScript | No | true ONLY if the user explicitly asked to insert JavaScript (script commands, script conditions/operands, route scripts). | |
| description | No | Optional description stored in the transaction log | |
| acknowledgeWarnings | No | Accept validation warnings when apply=true. Review them with the user first. |