Configure a blind
configure_productLock in a full blind specification: product, dimensions, colour, and mount type (inside recess or outside face-fix). Validates that the colour exists and is in stock, then prices the blind. Returns a configuration summary to pass directly into create_cart. Call check_colour_stock first if availability is uncertain. Duo Roller: colour is one blockout and one sheer written "Blockout + Sheer" (get_product returns duo_fabrics).
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": {
"product_id": "<product_id>",
"width_mm": "<width_mm>",
"height_mm": "<height_mm>",
"colour": "<colour>",
"mount_type": "<mount_type>"
},
"name": "configure_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colour | Yes | Colour name (must match available colours) | |
| finish | No | Optional finish for aluminium venetians | |
| no_drill | No | Optional. true for the no-drill option (tension brackets, inside the frame, max 2000mm wide; 1500mm on 25mm venetians). Adds the R65 no-drill kit per blind. Offered on indoor roller blinds, including value rollers, and 25mm aluminium or aluwood venetians. Dedicated no-drill products already include the kit. | |
| province | No | Optional. Customer's South African province or city. Garden Route locations get Duncan's direct contact; other locations get the online shop contact. | |
| quantity | No | Number of blinds (default 1) | |
| width_mm | Yes | Width in millimetres | |
| height_mm | Yes | Height/drop in millimetres | |
| mount_type | Yes | Use inside (recess) or outside (face-fix); handler requires a nonempty value | |
| product_id | Yes | product_id from search_catalog or lookup_catalog |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colour | Yes | ||
| finish | No | ||
| limits | No | ||
| contact | No | ||
| summary | No | ||
| currency | Yes | ||
| delivery | No | ||
| in_stock | No | ||
| quantity | Yes | ||
| width_mm | Yes | ||
| height_mm | Yes | ||
| lead_time | No | ||
| next_step | No | ||
| price_zar | No | ||
| mount_type | Yes | ||
| product_id | Yes | ||
| product_name | No | ||
| vat_included | No | ||
| unit_price_zar | Yes | ||
| total_price_zar | Yes | ||
| effective_width_mm | No | ||
| effective_height_mm | No | ||
| minimum_charge_applied | No |