Find elements by cost
find_elementsFind building elements by replacement or maintenance cost and return external IDs for cost analysis; use the results to highlight or isolate elements in the BIM model.
Instructions
Find building elements by a cost criterion; return their externalIds.
Use this to answer cost questions, then pass the returned external_ids to highlight_elements (to show them in place) or isolate. This tool does NOT change the view by itself.
Examples: - Ten most expensive: metric='replacement_cost', op='top', limit=10 - Over $50,000: metric='replacement_cost', op='gt', value=50000 - Highest maintenance: metric='maintenance_cost', op='top', limit=5
Returns: {"metric": str, "count": int, "elements": [{external_id, asset_type, description, metric_value}]}.
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": {
"metric": "<metric>",
"op": "<op>"
},
"name": "find_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | How to select: 'top' for the highest-cost N; gt/gte/lt/lte to compare against a dollar threshold. | |
| limit | No | Max elements to return (1-500). For op='top' this is N. | |
| value | No | Dollar threshold for gt/gte/lt/lte. Ignored when op='top'. | |
| metric | Yes | Which cost to rank/filter by: an asset's replacement_cost, or its summed maintenance_cost from work orders. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||