add_choice
Add a choice selection to an RPG Maker MZ event, specifying options, cancel behavior, and insertion position.
Instructions
Add a choice selection to an event
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>",
"insertPosition": "<insertPosition>",
"options": "<options>"
},
"name": "add_choice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapId | Yes | ||
| eventId | Yes | ||
| options | Yes | Choice options | |
| pageIndex | Yes | ||
| cancelType | No | Cancel behavior: -1=disallow, 0-n=branch to option | |
| projectPath | Yes | ||
| insertPosition | Yes |