Estimate from a roofline KML
estimate_from_kmlA tighter price range from the person's roofline KML (check it with check_kml first). Needs the ZIP code for the right dealer and sales tax.
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": {
"kml": "<kml>",
"postalCode": "<postalCode>"
},
"name": "estimate_from_kml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kml | Yes | The full text of the KML file (Google Earth export). | |
| city | No | ||
| state | No | ||
| addOns | No | Add-ons from list_products the person wants, with quantities. | |
| dealer | No | Dealer slug from find_dealer. Leave out to use the dealer for the postal code. | |
| street | No | The street address ("123 Main St"), if the person gave it. Only fills in the quote form link. | |
| postalCode | Yes | ||
| productSku | No | Rail product SKU from list_products. Leave out for the dealer's standard rail. | |
| variantStockItemId | No | Color (variant) stockItemId from list_products, if the person picked one. |