List JSON world map members
tiled_list_world_mapsRead a Tiled .world file and return its explicit map members with world coordinates, sizes, existence, pinned revisions, and custom properties. Optionally expand pattern-based members by matching file names.
Instructions
Reads one project-local JSON .world file and returns its explicit map members with world coordinates, declared sizes, per-member existence and pinned revisions, plus world custom properties. Pattern-based members are counted only by default; pass expandPatterns to match them with World::allMaps semantics — every pattern partially matches project-asset file names in exactly the world's own directory, two capture groups become x/y through the multipliers and offsets, sizes default to the absolute multipliers, and expanded members append after explicit ones without deduplication, marked fromPattern with their patternIndex.
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>"
},
"name": "tiled_list_world_maps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| worldPath | Yes | Canonical project-relative POSIX path; absolute paths and .. are forbidden | |
| expandPatterns | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |