Add estimate option
Add a named option with its own line items to a draft estimate.
MCP tool housecall_pro_write → add_estimate_option
write
Adds one option, with its own line items and total, to an estimate, the same as + New option on the Estimate details page. It reaches no one: the option stays on the estimate until send_estimate runs. Remove an option in Housecall Pro from the three-dot menu on its tab, Delete. add_estimate_option runs without asking first for that reason.
Parameters
| Name | Type | Description |
|---|---|---|
| estimate_id string required | string | Estimate ID from list_estimates or create_estimate. |
| name string required | string | Option name, for example 'Better'. |
| line_items object[] required | object[] | Lines to add: name, quantity and unit_price, or price_book_id from list_price_book. A line that names a price book item uses its price unless you set unit_price. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "housecall_pro_write",
"arguments": {
"operation": "add_estimate_option",
"arguments": {
"estimate_id": "est_8e41c2",
"name": "Tankless unit",
"line_items": [
{
"name": "Tankless water heater, installed",
"quantity": 1,
"unit_price": 3900
}
]
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"estimate_id": "est_8e41c2",
"option_id": "opt_3",
"name": "Tankless unit",
"line_items": [
{
"name": "Tankless water heater, installed",
"quantity": 1,
"unit_price": 3900
}
],
"total": 3900
},
"isError": false
}