apply_building_changes
Atomically upsert or remove whole storey, element and drawing records by ID in one batch. Any unknown field, invalid host or missing opening removal rejects the entire change, keeping revisions restorable.
Instructions
Atomically upsert whole storey/element/drawing records by ID. Unknown fields and invalid hosts fail the entire batch. Wall coordinates are centre lines; opening offset runs from wall start, sill from wall base; all elevations are storey-relative except drawing cut planes, which are absolute. Deleting a host requires removing its openings in the same batch. Historical revisions remain restorable.
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": {
"project_id": "<project_id>",
"expected_revision": "<expected_revision>"
},
"name": "apply_building_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| rooms | No | ||
| storeys | No | ||
| drawings | No | ||
| elements | No | ||
| project_id | Yes | ||
| remove_elements | No | ||
| expected_revision | Yes |