delete event page
delete_event_pageDeletes one event page from an RPG Maker MZ map event as a preview; later pages shift down, and applying requires apply_changes with confirm.
Instructions
DESTRUCTIVE: delete one page (later pages shift down). Preview-only; apply with apply_changes + confirm.
Preview-first: returns a change set (semantic + native diff, validation). Destructive: apply only via apply_changes with confirm.
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>"
},
"name": "delete_event_page"
}
}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 | |
| 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. |