quotes_comparables
Past prices related to one new line, for you to price it. Every matching quote line is included: signed, sent, draft, and declined, including quotes imported as history. Signed first, then newest. Each row has the description, the size and unit (from the import when the file had a size column, otherwise from the description: sq ft, lf, each, hour, and the same spellings), the unit rate when that size is there, the line total, status, date, customer, whether that customer has another quote here, discount lines, notes, and why it matched. Pass cursor for the next page. Also returns the owner's pricing rules and recent quote lessons. You do the math, apply the shop's rules, and explain the price to the owner. Nothing is priced or sent here.
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": {
"shop_id": "<shop_id>",
"description": "<description>"
},
"name": "quotes_comparables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | The new line's unit, if you measured it: sq ft, lf, each, hour. Not used to filter. | |
| limit | No | How many comparables. Default 20. | |
| cursor | No | From the previous next_cursor. | |
| shop_id | Yes | ||
| quantity | No | The new line's quantity, if you measured it. Not used to filter. | |
| description | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lessons | Yes | ||
| shop_id | Yes | ||
| asked_unit | Yes | ||
| price_book | Yes | ||
| comparables | Yes | ||
| description | Yes | ||
| instruction | Yes | ||
| next_cursor | Yes | ||
| pricing_rules | Yes | ||
| asked_quantity | Yes |