Change or withdraw a quote
revise_quoteChange a quote. Send only the fields that change (a list you send, such as materials, replaces that whole list). A draft stays a draft. A quote the customer already has becomes the next revision on the same link, with fresh dates, and any earlier answer is cleared. Accepted quotes cannot change. status "withdrawn" pulls a quote. use_current_settings true re-prices with the trade's latest rates.
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": {
"trade_key": "<trade_key>",
"quote": "<quote>"
},
"name": "revise_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Anything else the customer should read. | |
| other | No | Other costs charged as a set amount in pounds (ex VAT): skip hire, scaffolding, waste disposal, certification or notification fees, parking. qty multiplies the amount (for example scaffold per week). | |
| quote | Yes | Quote number, for example BLE-0007. | |
| start | No | Likely start, for example "w/c 7 December". | |
| title | No | Short job name the customer sees, for example "Full rewire, 3 bedroom semi" or "Replace combi boiler". | |
| trade | No | Which trade this job is, if the business does more than one. Drives the check_before_sending list. | |
| labour | No | Labour lines. Give days OR hours (time on the job, per person) and the server prices it from the trade's saved rate; or give a fixed price in pounds. rate: trade (default, the trade's own rate) or labourer (their mate or apprentice rate). people: how many on site for that time. rate_override: a one-off day or hour rate in pounds. | |
| reason | No | ||
| status | No | ||
| deposit | No | Override the trade's usual deposit rule for this quote only. Deposit rule. basis percent (with percent), fixed (with amount in pounds), materials (deposit equals the materials total), or none. no_deposit_under: no deposit on quotes below this total in pounds. | |
| summary | No | Two to four plain sentences describing the work as found on the visit, written for the customer. No jargon they would not understand. | |
| customer | No | Who the quote is for. type: homeowner, landlord, tenant, business (buying for itself) or contractor (a builder or main contractor buying your work). For business or contractor customers also give vat_registered, cis_registered and end_user, because they decide whether the construction domestic reverse charge applies. | |
| discount | No | Optional discount before VAT: percent OR amount (pounds), with a short reason the customer sees. | |
| duration | No | Time on site, for example "3 working days". | |
| materials | No | Materials. unit_cost is what the TRADE pays per unit in pounds; the server adds their markup. Set cost_includes_vat true if the price came from a receipt or shelf price including VAT (the server strips it for VAT registered trades). Give a saved code instead of description and unit_cost to use the price book. Prices used here are remembered for next time. | |
| trade_key | Yes | The trade's secret key from setup_trade (starts qbk_). | |
| exclusions | No | What is NOT included in this job, one short sentence each. Added to the trade's standard exclusions. | |
| assumptions | No | What the price assumes, for example "Clear access to the loft". | |
| site_address | No | Job address, if different from the customer's address. | |
| validity_days | No | How many days the prices hold. Defaults to the trade's setting (usually 30). | |
| optional_extras | No | Optional upgrades the customer can tick when accepting (for example an EV charger, a smart thermostat, extra sockets). price in pounds before VAT. Up to 6. Not included in the main total. | |
| remember_prices | No | ||
| use_current_settings | No | ||
| include_standard_exclusions | No | Default true. |