Check blind measurements
validate_measurementCheck a customer's sizes before pricing. Returns ok, problems (must fix), warnings (ask the customer) and advice: size limits for the product, product minimums, centimetre slips, inside-mount reveal depth (single rollers 50mm, no-drill rollers included; Double Roller zebra 90mm; Duo Roller 100mm), no-drill rules (inside only, at least 50mm reveal on rollers and 40mm on 25mm venetians, 2000mm max width, 1500mm on 25mm venetians), face-fix sizing (add 100mm each side and 100mm above and below) and the width we deduct when making an inside mount. Changes nothing and returns no 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": {
"product_id": "<product_id>",
"width_mm": "<width_mm>",
"height_mm": "<height_mm>"
},
"name": "validate_measurement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colour | No | Optional exact colour name, checked for stock and width limits | |
| 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. | |
| width_mm | Yes | Width the customer will enter, in millimetres | |
| height_mm | Yes | Drop the customer will enter, in millimetres | |
| mount_type | No | inside (in the recess) or outside (face fix) | |
| product_id | Yes | product_id from search_catalog or lookup_catalog | |
| opening_drop_mm | No | Optional, face fix only: drop of the opening itself | |
| reveal_depth_mm | No | Optional depth of the recess in mm, needed for inside mounts and no-drill | |
| opening_width_mm | No | Optional, face fix only: width of the opening itself |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| advice | Yes | ||
| limits | No | ||
| no_drill | No | ||
| problems | Yes | ||
| warnings | Yes | ||
| width_mm | Yes | ||
| height_mm | Yes | ||
| next_step | Yes | ||
| mount_type | No | ||
| product_id | Yes | ||
| product_name | No | ||
| reveal_depth_mm | No | ||
| measure_guide_url | Yes | ||
| production_width_mm | No | ||
| inside_mount_min_reveal_mm | No |