Quote prices
quote_pricesWhat these lines would cost this customer on this date under the price rules and the customer's price level — the same evaluator the order, estimate and invoice forms use, so the quote IS the price. Each line names the rule that set it (applied, basis). A line nothing can price comes back with unit_price null, never $0.00 — ask the user for a price.
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": {
"lines": "<lines>"
},
"name": "quote_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ISO date the price is for. Default today — a rule can start and end. | |
| lines | Yes | ||
| entity_id | No | Another entity in the same books (ids from `list_entities`). Leave out to use the entity the person is working in. | |
| customer_id | No | Leave out to price for a customer with no special pricing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| note | No | Why the result was truncated, when it was. | |
| lines | No | ||
| customer | No | ||
| truncated | No | Present and true when the result was too large to return in full. Treat it as a partial answer. | |
| price_level | No | ||
| total_available | No | How many rows existed before truncation. |