Fit modules onto a roof polygon
solar-design_module-layout-fitMaximise the number of modules on a roof-face polygon with caller setbacks, orientation, gaps and obstruction polygons. Price $0.04 USDC. POST /api/v1/solar-design/module-layout-fit. An unpaid call returns the x402 payment terms and does not run.
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": {
"roof": "<roof>",
"setback": "<setback>",
"module": "<module>"
},
"name": "solar-design_module-layout-fit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gap | No | gap, number, from 0 to any. Required. | |
| roof | Yes | roof, array. Required. | |
| module | Yes | module, object. Required. | |
| setback | Yes | setback, number, from 0 to any. Required. | |
| gridOffsets | No | gridOffsets, integer, from 1 to 25. Required. | |
| obstructions | No | obstructions, array. Required. | |
| orientations | No | orientations, array. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| best | No | best. Object. | |
| sources | No | sources. Array. | |
| candidates | No | candidates. Array. | |
| placements | No | placements. Array. | |
| limitations | No | limitations. Array. |