apply_map_patch
Apply DSL commands to modify RPG world maps, enabling structure placement and terrain changes for game session customization.
Instructions
Apply DSL commands to modify the world map. Use find_valid_poi_location first for structure placement. Example: { "worldId": "id", "script": "ADD_STRUCTURE..." }
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": {
"worldId": "<worldId>",
"script": "<script>"
},
"name": "apply_map_patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| worldId | Yes | The ID of the world to patch | |
| script | Yes | The DSL script containing patch commands. | |
| sessionId | No |