List map objects
tiled_list_objectsRetrieve a bounded list of objects from a Tiled map, optionally filtered by a specific object layer, with configurable result limit.
Instructions
Returns a bounded list of objects from all object layers or one selected object layer.
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": {
"mapPath": "<mapPath>"
},
"name": "tiled_list_objects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| layerId | No | ||
| mapPath | Yes | Canonical project-relative POSIX path; absolute paths and .. are forbidden |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |