preview_map_patch
Preview DSL patch script changes before applying them to an RPG world. Test modifications safely without affecting the game environment.
Instructions
Previews what a DSL patch script would do without applying it to the world.
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": "preview_map_patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| worldId | Yes | The ID of the world to preview patch on | |
| script | Yes | The DSL script to preview | |
| sessionId | No |