Save the design and get the order link
create_design_linkSaves the priced mirror as a design on lustrix.eu and returns two links: the configurator (to review or change it) and the checkout (to order it), plus the same price block as quote_mirror. The customer orders and pays on lustrix.eu; nothing is ordered by this tool. The design is deleted after 30 days if not ordered.
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": "create_design_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edge | No | grind (polished, default) or bevel | grind |
| name | No | Design name shown in the shop (max 60 characters). No personal data. | |
| 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. While list_options.mdfFrame.available is true the MDF Slim colours (mdf-slim-*) are accepted too: a thin MDF frame for rectangle/square mirrors that keeps the backlit LED and the switch (no frontlit, heating mat, holes, bevel or tempering); not for bathrooms. | |
| holes | No | Mounting holes, at most 4 | |
| notes | No | Notes for the workshop (max 500 characters). No personal data. | |
| shape | Yes | Shape id from list_options | |
| split | No | Paid option: the mirror made of two glass parts with a gap for a cabinet (horizontal split). Set ONLY when the customer explicitly asked for it; omit otherwise (one piece is the default). Check list_options.split.available first. heightCm is the height of the WHOLE including the gap; topCm is the top part, gapCm the gap, the bottom part is the rest. Frame, frontlit LED, heating mat and switches are not available with a split. Holes and the backlit LED are: each hole must lie completely inside one glass part, never in or across the gap, with the usual margin from the cut edge (holes yCm is measured from the top of the whole mirror including the gap). | |
| 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 | ||
| designId | Yes | ||
| estimate | Yes | ||
| material | Yes | ||
| nextStep | Yes | ||
| weightKg | Yes | ||
| orderable | Yes | ||
| orderBlock | No | ||
| checkoutUrl | Yes | ||
| configureUrl | Yes | ||
| dimensionsCm | Yes | ||
| expiresInDays | Yes | ||
| productBrutto | Yes | ||
| shipmentClass | Yes | ||
| deliveryWindow | Yes | ||
| estimatedTotalBrutto | Yes | ||
| finalPriceAtCheckout | Yes |