Preview world member edits
tiled_preview_world_editsValidate add, move, and remove operations on a world file's map entries and receive an expiring change set without altering any project files.
Instructions
Validates bounded add, move, and remove operations on one JSON world's explicit map members - members addressed by their current array index under the world's revision pin, additions requiring existing project-local .tmj maps - and returns an expiring change set without modifying project assets. Referenced map files are never touched.
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": {
"worldPath": "<worldPath>",
"expectedRevision": "<expectedRevision>",
"operations": "<operations>"
},
"name": "tiled_preview_world_edits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| worldPath | Yes | Canonical project-relative POSIX path; absolute paths and .. are forbidden | |
| operations | Yes | ||
| expectedRevision | Yes | SHA-256 revision returned by a read or preview |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |