Submit a replacement estimate
submit_roof_estimateSave a full-replacement lead and return the budget price and financing payment. The price is withheld until name, phone, a California address, contact_consent, and sms_consent are present. Email is optional. If the homeowner gives one, it is checked and saved. If they do not, leave it out; do not invent an address. Read this to the homeowner and wait for a clear yes before setting the consent flags: By submitting, you agree to be contacted about your request. We never sell your information. We check that your email and phone are valid, and only use them to follow up about your roof. Privacy Policy: https://www.pacificcoastroofs.com/privacy.html We'll call or text to confirm. Pacific Coast Roofs may call or text you about this estimate and to confirm an inspection. Consent is not a condition of purchase. Message and data rates may apply, and you can reply STOP to opt out of texts. One lead is saved; repeating the same homeowner, address, material, and deck within 24 hours does not create another lead.
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": {
"address": "<address>",
"material": "<material>",
"name": "<name>",
"phone": "<phone>",
"contact_consent": "<contact_consent>",
"sms_consent": "<sms_consent>"
},
"name": "submit_roof_estimate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck | No | Required when the material asks the deck question. no = deck is sound, yes = redeck, unsure = show both prices. | |
| name | Yes | Homeowner's full name | |
| No | Optional, same as the website form. Include it only when the homeowner gives an email that can receive mail. Omit the field when they do not. | ||
| phone | Yes | US phone number that can receive calls and texts | |
| address | Yes | Full street address in California | |
| gutters | No | Include new gutters in the total. Default true, same as the website. | |
| material | Yes | Material id from list_materials | |
| financing | No | Optional payment split. Omit to use the website default from list_materials (cash at signing, remainder on the unsecured loan). | |
| sms_consent | Yes | True only after the homeowner agrees to calls and texts about this request, including inspection confirmation | |
| contact_consent | Yes | True only after the homeowner agrees to be contacted about this request |