compare_qto_with_boq
Cross-check CAD QTO measurements against Excel BoQ items by normalizing construction units and flagging differences beyond tolerance thresholds.
Instructions
[STEP 3D of HITL Workflow] Deterministically cross-check CAD QTO measurements against Excel BoQ items.
Automatically normalizes construction unit synonyms and scale factors:
- Length: `m` == `fm` == `lm` == `folyóméter`, `km` == `1000 m`, `cm` == `0.01 m`, `mm` == `0.001 m`
- Area: `m2` == `m²` == `nm` == `sqm`, `ha` == `10,000 m2`
- Volume: `m3` == `m³` == `lm3` == `bm3` == `tm3` == `cum`
- Count: `pcs` == `db` == `darab` == `akna` == `klt` == `készlet` == `nr` == `ea`
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": {
"file_path_xlsx": "<file_path_xlsx>",
"qto_records": "<qto_records>"
},
"name": "compare_qto_with_boq"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qto_records | Yes | List of deterministic CAD QTO measurements (with qto_id, measured_quantity, measured_unit, and target item_number/row/keyword). | |
| sheet_names | No | Optional list of visible worksheet names to search within the BoQ. | |
| file_path_xlsx | Yes | Path to the .xlsx or .xlsm Bill of Quantities file. | |
| critical_percent | No | Percentage threshold above which a difference is classified as CRITICAL_DISCREPANCY (default 10.0%). | |
| tolerance_percent | No | Percentage threshold within which a difference is classified as WITHIN_TOLERANCE (default 2.0%). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comparisons | No | ||
| discrepancy_count | Yes | ||
| total_comparisons | Yes | ||
| missing_or_incompatible_count | Yes | ||
| exact_or_within_tolerance_count | Yes |