create_roof_structure
Generates parametric watertight solid roof structures (gable, hip, pitched, shed, flat) with adjustable span, rise, thickness, overhang, and optional snapping to existing buildings.
Instructions
Generates a parametric watertight solid roof structure ('GABLE', 'HIP', 'PITCHED', 'SHED', 'FLAT') with specified span, rise height, rafter/slab thickness, eaves overhang, and optional snapping to existing building objects.
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": {
"name": "<name>"
},
"name": "create_roof_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the roof object to create. | ArchitecturalRoof |
| solid | No | Whether to generate closed watertight manifold solid geometry. | |
| width | No | Base roof span along X axis in meters. | |
| height | No | Ridge rise height above base elevation in meters. | |
| length | No | Base roof length along Y axis in meters. | |
| task_id | No | ||
| approved | No | ||
| location | No | ||
| overhang | No | Eaves overhang beyond footprint in meters. | |
| roof_type | No | Roof architecture geometry type. | GABLE |
| thickness | No | Roof slab or rafter thickness in meters. | |
| request_id | No | ||
| approval_token | No | ||
| base_elevation | No | Base elevation Z coordinate where the roof rests. | |
| target_building | No | Optional name of building/enclosure object to automatically snap and match dimensions to. |