build_transfer_player
Builds an RPG Maker MZ Transfer Player event command to move the party to specified map coordinates. Supports direct or variable-based destinations and returns the command for insertion.
Instructions
Build a Transfer Player (201) event command for insertion via insert_event_commands — move the party to (x, y) on a map. With designation "variable", mapId/x/y are variable ids resolved at runtime. Read-only: returns { command }.
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>",
"x": "<x>",
"y": "<y>"
},
"name": "build_transfer_player"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Destination tile x (or a variable id) | |
| y | Yes | Destination tile y (or a variable id) | |
| fade | No | Fade style (default black) | |
| mapId | Yes | Destination map id (or a variable id if designation=variable) | |
| indent | No | Indentation level (default 0) | |
| direction | No | Facing after transfer (default retain) | |
| designation | No | direct: mapId/x/y are literal; variable: they are variable ids (default direct) |