Spatial structure
bim_spatial_treeMaps a model’s spatial containment hierarchy to resolve storey names into GlobalIds and count visible elements, with optional element IDs for policy-scoped queries.
Instructions
The containment hierarchy, which is the map an agent needs before it can ask anything storey-shaped: it turns "level 3" into a GlobalId. Element counts are counts of visible elements, so a policy that scopes the model to two storeys shows zero elsewhere rather than hinting at what it is hiding.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "bim_spatial_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_depth | No | Stop descending after this many levels. | |
| with_element_ids | No | Include the GlobalId of every element. |