Create CityJSON subset
cityjson_subsetCreate a derived CityJSON subset by IDs, bounding box, radius, random count, or CityObject types; returns a new filename for the filtered dataset.
Instructions
Create a derived CityJSON subset with cjio using IDs, bbox, radius, random count or CityObject types. Returns a new filename.
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_subset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| bbox | No | 2D bbox [minX, minY, maxX, maxY] in the dataset CRS. | |
| types | No | ||
| radius | No | ||
| random | No | ||
| exclude | No | ||
| dataset_id | Yes | Filename returned by cityjson_open, cityjson_import, or a transformation. Internal dataset handles also work for compatibility. |