Price a mirror made to measure
quote_mirrorPrices one mirror exactly as the shop does: product gross price with its option lines, weight, delivery methods with rate-table prices (add postalCode for a delivery estimate), the cheapest total, the delivery window and whether it can be ordered. An estimate: the binding price is shown at checkout on lustrix.eu. Only include paid options the customer asked for.
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": {
"materialSlug": "<materialSlug>",
"shape": "<shape>",
"widthCm": "<widthCm>"
},
"name": "quote_mirror"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edge | No | grind (polished, default) or bevel | grind |
| frame | No | Paid option: a slim matte black aluminium frame (rectangle/square mirrors only). Set ONLY when the customer explicitly asked for a frame; omit otherwise (frameless is the default). Check list_options.frame.available first. With a frame, widthCm × heightCm is the outer frame size, the edge is a hidden technical grind (edge: grind; no bevel), and holes, LED, heating mat, switch and tempering are not available. | |
| holes | No | Mounting holes, at most 4 | |
| shape | Yes | Shape id from list_options | |
| locale | No | Language of every text in the answer: pl (Polish shop, PLN) or de (German shop for DE/AT, EUR). Default pl. | pl |
| country | No | Delivery country. PL with locale pl; DE or AT with locale de. Default: the shop home country. | |
| widthCm | Yes | Width in cm; for a circle the diameter | |
| heightCm | No | Height in cm (not for a circle; a square may omit it) | |
| tempered | No | Tempered safety glass (paid; only when the customer asks) | |
| height2Cm | No | Height of the second vertical side in cm, trapezoid shapes only | |
| backlitLed | No | LED behind the mirror lighting the wall (paid; only when asked). Mirrors only: not for glass | |
| heatingMat | No | Anti-fog heating mat (paid; only when asked). Mirrors only: not for glass | |
| postalCode | No | Delivery postal code (PL 00-000, DE 12345, AT 1234). Only used to estimate delivery; never stored. | |
| safetyFilm | No | Paid option: a safety backing film on the back of the mirror (if the mirror breaks, most fragments stay on the film; it does not make the mirror unbreakable), priced per m² of the mirror; mirrors only. Set ONLY when the customer explicitly asked for it; omit otherwise. Check list_options.safetyFilm.available first, and its note for whether it is available with a frame or with the heating mat. | |
| switchType | No | Switch, only together with an LED (paid). Mirrors only: not for glass | |
| frontlitLed | No | LED shining through a sanded stripe on the mirror face (paid; only when asked). Mirrors only: not for glass. Patterns per shape: list_options | |
| bevelWidthMm | No | Bevel width in mm (5-30); required with edge=bevel | |
| materialSlug | Yes | Material slug from list_materials |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | ||
| lines | Yes | ||
| notes | Yes | ||
| shape | Yes | ||
| locale | Yes | ||
| country | Yes | ||
| currency | Yes | ||
| delivery | Yes | ||
| estimate | Yes | ||
| material | Yes | ||
| weightKg | Yes | ||
| orderable | Yes | ||
| orderBlock | No | ||
| dimensionsCm | Yes | ||
| productBrutto | Yes | ||
| shipmentClass | Yes | ||
| deliveryWindow | Yes | ||
| estimatedTotalBrutto | Yes | ||
| finalPriceAtCheckout | Yes |