Query CityObjects
cityjson_queryQuery CityObjects by IDs, types, 2D bounding box, and attribute predicates such as eq, neq, gt, gte, lt, lte, contains, and in to filter CityJSON datasets.
Instructions
Query CityObjects natively by IDs, types, 2D bbox and attribute predicates. Attribute predicates support eq, neq, gt, gte, lt, lte, contains and in.
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": {
"dataset_id": "<dataset_id>"
},
"name": "cityjson_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| bbox | No | 2D bbox [minX, minY, maxX, maxY] in the dataset CRS. | |
| limit | No | ||
| types | No | ||
| offset | No | ||
| attributes | No | ||
| dataset_id | Yes | Filename returned by cityjson_open, cityjson_import, or a transformation. Internal dataset handles also work for compatibility. |