add_show_text
Add a message to an RPG Maker XP event page, automatically handling 101/401 codes and splitting long text into multiple message boxes.
Instructions
Add a Show Text message to an event page. Handles XP's 101/401 structure automatically: first line of each box is code 101, continuation lines are 401, and text longer than 4 lines is split into multiple message boxes. Use \n for line breaks.
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>",
"text": "<text>"
},
"name": "add_show_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Message text; newlines split lines (4 per box) | |
| mapId | Yes | ||
| eventId | Yes | ||
| position | No | Insert position in the command list (default: end) | |
| pageIndex | Yes |