move_room_relative
Rearrange room order by moving a specified room immediately before or after a target room in your GameMaker project.
Instructions
Move a room immediately before or after another named room in the room order
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": {
"projectDir": "<projectDir>",
"roomName": "<roomName>",
"targetRoomName": "<targetRoomName>",
"position": "<position>"
},
"name": "move_room_relative"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position | Yes | Whether to place it before or after the target room | |
| roomName | Yes | Name of the room to move | |
| projectDir | Yes | Absolute path to the GameMaker project directory | |
| targetRoomName | Yes | Room to position it relative to |